Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 46 files:
- arch/arm/mach-dove/common.c, line 76
- arch/powerpc/platforms/512x/clock-commonclk.c, line 265
- drivers/acpi/x86/lpss.c
- drivers/clk/clk-gate.c, line 198
- drivers/clk/davinci/pll.c, line 545
- drivers/clk/hisilicon/clk.c, line 260
- drivers/clk/mmp/clk.c, line 78
- drivers/clk/mvebu/common.c, line 278
- drivers/clk/mxs/clk-imx23.c, line 153
- drivers/clk/mxs/clk-imx28.c
- drivers/clk/mxs/clk.h, line 41
- drivers/clk/nxp/clk-lpc18xx-cgu.c, line 612
- drivers/clk/pistachio/clk.c, line 65
- drivers/clk/pxa/clk-pxa3xx.c, line 431
- drivers/clk/renesas/clk-emev2.c, line 90
- drivers/clk/rockchip/clk.c, line 605
- drivers/clk/rockchip/gate-link.c, line 21
- drivers/clk/spear/clk-aux-synth.c, line 179
- drivers/clk/spear/clk-vco-pll.c, line 316
-
drivers/clk/spear/spear1310_clock.c
- line 403
- line 477
- line 514
- line 524
- line 534
- line 544
- line 563
- line 574
- line 585
- line 604
- line 649
- line 673
- line 686
- line 691
- line 697
- line 702
- line 707
- line 712
- line 717
- line 723
- line 729
- line 734
- line 740
- line 746
- line 752
- line 757
- line 768
- line 774
- line 779
- line 784
- line 789
- line 794
- line 799
- line 839
- line 844
- line 849
- line 854
- line 859
- line 864
- line 871
- line 878
- line 883
- line 888
- line 898
- line 903
- line 908
- line 913
- line 918
- line 923
- line 950
- line 961
- line 972
- line 983
- line 994
- line 1005
- line 1016
- line 1027
- line 1038
- line 1049
- line 1060
- line 1071
- line 1082
- line 1093
- line 1104
- line 1115
-
drivers/clk/spear/spear1340_clock.c
- line 460
- line 534
- line 593
- line 603
- line 613
- line 623
- line 642
- line 659
- line 670
- line 681
- line 700
- line 745
- line 770
- line 783
- line 788
- line 793
- line 799
- line 804
- line 809
- line 814
- line 820
- line 826
- line 831
- line 837
- line 842
- line 853
- line 859
- line 864
- line 869
- line 874
- line 879
- line 884
- line 924
- line 929
- line 934
- line 946
- line 958
- line 963
- line 968
- line 973
- line 978
- line 983
- line 988
- line 993
- line 998
- line 1003
- line 1008
- drivers/clk/spear/spear3xx_clock.c
- drivers/clk/spear/spear6xx_clock.c
- drivers/clk/sunxi/clk-a10-codec.c, line 27
- drivers/clk/sunxi/clk-simple-gates.c, line 55
- drivers/clk/sunxi/clk-sun6i-apb0-gates.c, line 78
- drivers/clk/sunxi/clk-sun8i-bus-gates.c, line 79
- drivers/clk/sunxi/clk-sun9i-mmc.c, line 147
- drivers/clk/sunxi/clk-usb.c, line 130
- drivers/clk/tegra/clk-tegra-audio.c, line 156
- drivers/clk/tegra/clk-tegra-periph.c
- drivers/clk/tegra/clk-tegra-super-gen4.c
- drivers/clk/tegra/clk-tegra114.c, line 952
- drivers/clk/tegra/clk-tegra124.c
- drivers/clk/tegra/clk-tegra20.c, line 732
- drivers/clk/tegra/clk-tegra210.c
- drivers/clk/tegra/clk-tegra30.c
- drivers/clk/ti/adpll.c, line 309
-
drivers/clk/zynq/clkc.c
- line 147
- line 197
- line 200
- line 285
- line 291
- line 297
- line 304
- line 328
- line 334
- line 345
- line 401
- line 426
- line 451
- line 454
- line 490
- line 493
- line 507
- line 510
- line 513
- line 516
- line 519
- line 522
- line 525
- line 528
- line 531
- line 534
- line 537
- line 540
- line 543
- line 546
- line 549
- line 552
- line 555
- line 558
- drivers/mfd/intel-lpss.c
- drivers/rtc/rtc-stm32.c, line 341
- drivers/rtc/rtc-sun6i.c, line 306
- sound/soc/mediatek/mt8186/mt8186-audsys-clk.c, line 127
- sound/soc/mediatek/mt8188/mt8188-audsys-clk.c, line 185
- sound/soc/mediatek/mt8195/mt8195-audsys-clk.c, line 191
- sound/soc/samsung/i2s.c, line 1303
Smatch caller information:
drivers/acpi/x86/lpss.c register_device_clock() -> clk_register_gate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0 |
| PARAM_VALUE | 2 | parent_name | 0,8036705243577405440 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | reg | 4096-ptr_max |
| PARAM_VALUE | 5 | bit_idx | 0 |
| PARAM_VALUE | 6 | clk_gate_flags | 0 |
| PARAM_VALUE | 7 | lock | 0 |
| BUF_SIZE | 1 | name | 1-s32max |
| BUF_SIZE | 1 | name | 1-s32max |
| BUF_SIZE | 2 | parent_name | 9 |
| BUF_SIZE | 2 | parent_name | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &acpi_scan_lock |
drivers/acpi/x86/lpss.c register_device_clock() -> clk_register_gate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0 |
| PARAM_VALUE | 1 | name | 1-u64max |
| PARAM_VALUE | 2 | parent_name | 1-u64max |
| PARAM_VALUE | 3 | flags | 5 |
| PARAM_VALUE | 4 | reg | 4096-ptr_max |
| PARAM_VALUE | 5 | bit_idx | 31 |
| PARAM_VALUE | 6 | clk_gate_flags | 0 |
| PARAM_VALUE | 7 | lock | 0 |
| BUF_SIZE | 1 | name | 0-s32max |
| BUF_SIZE | 1 | name | 0-s32max |
| BUF_SIZE | 2 | parent_name | 0-s32max |
| BUF_SIZE | 2 | parent_name | 0-s32max |
| CAPPED_DATA | 1 | name | 1 |
| DATA_SOURCE | 1 | name | r kasprintf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &acpi_scan_lock |
drivers/clk/ti/adpll.c ti_adpll_init_gate() -> clk_register_gate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | reg | 4 |
| PARAM_VALUE | 5 | bit_idx | 19,29 |
| PARAM_VALUE | 6 | clk_gate_flags | 0 |
| PARAM_VALUE | 7 | lock | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 2 | parent_name | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 2 | parent_name | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 1 | name | r ti_adpll_clk_get_name |
| DATA_SOURCE | 2 | parent_name | r __clk_get_name |
| DATA_SOURCE | 4 | reg | $5 |
| DATA_SOURCE | 5 | bit_idx | $6 |
| DATA_SOURCE | 6 | clk_gate_flags | $7 |
| HARD_MAX | 5 | bit_idx | 29 |
| MEM_ZERO | 7 | lock | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/rtc/rtc-stm32.c stm32_rtc_pinmux_action_lsco() -> clk_register_gate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 6921636881228402688 |
| PARAM_VALUE | 3 | flags | 2056 |
| PARAM_VALUE | 4 | reg | 4096-ptr_max |
| PARAM_VALUE | 5 | bit_idx | 1-2 |
| PARAM_VALUE | 6 | clk_gate_flags | 0 |
| PARAM_VALUE | 7 | lock | 0 |
| BUF_SIZE | 1 | name | 9 |
| BUF_SIZE | 2 | parent_name | s32min,(-10),(-1),1-s32max |
| FUZZY_MAX | 5 | bit_idx | 2 |
| STR_LEN | 0 | dev | 8 |
| TERMINATED | 1 | name | 1 |
| HARD_MAX | 5 | bit_idx | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
sound/soc/mediatek/mt8195/mt8195-audsys-clk.c mt8195_audsys_clk_register() -> clk_register_gate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 7 | lock | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/clk/rockchip/gate-link.c rk_clk_gate_link_register() -> clk_register_gate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.last_status | (-1) |
| PARAM_VALUE | 0 | dev->power.subsys_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->power.subsys_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | flags | 0,4-u64max |
| PARAM_VALUE | 4 | reg | 4096-ptr_max |
| PARAM_VALUE | 7 | lock | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 3 | flags | 0x4,0xffffffffffffffff |
| BIT_INFO | 3 | flags | 0x4,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mfd/intel-lpss.c intel_lpss_register_clock_divider() -> clk_register_gate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0 |
| PARAM_VALUE | 1 | name | 8851814583015321600 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | reg | 4096-ptr_max |
| PARAM_VALUE | 5 | bit_idx | 0 |
| PARAM_VALUE | 6 | clk_gate_flags | 0 |
| PARAM_VALUE | 7 | lock | 0 |
| BUF_SIZE | 1 | name | 32 |
| BUF_SIZE | 2 | parent_name | s32min,(-10),(-1),1-s32max |
| STR_LEN | 0 | dev | 31 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mfd/intel-lpss.c intel_lpss_register_clock_divider() -> clk_register_gate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0 |
| PARAM_VALUE | 1 | name | 8851814583015321600 |
| PARAM_VALUE | 3 | flags | 4 |
| PARAM_VALUE | 4 | reg | 4096-ptr_max |
| PARAM_VALUE | 5 | bit_idx | 31 |
| PARAM_VALUE | 6 | clk_gate_flags | 0 |
| PARAM_VALUE | 7 | lock | 0 |
| BUF_SIZE | 1 | name | 32 |
| BUF_SIZE | 2 | parent_name | s32min,(-10),(-1),1-s32max |
| STR_LEN | 0 | dev | 31 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/clk/pistachio/clk.c pistachio_clk_register_gate() -> clk_register_gate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0 |
| PARAM_VALUE | 3 | flags | 4 |
| PARAM_VALUE | 6 | clk_gate_flags | 0 |
| PARAM_VALUE | 7 | lock | 0 |
drivers/clk/rockchip/clk.c rockchip_clk_register_branches() -> clk_register_gate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0 |
| PARAM_VALUE | 3 | flags | 0,4-u64max |
| PARAM_VALUE | 4 | reg | 4096-ptr_max |
| PARAM_VALUE | 7 | lock | 4096-ptr_max |
| BIT_INFO | 3 | flags | 0x4,0xffffffffffffffff |
| BIT_INFO | 3 | flags | 0x4,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/mediatek/mt8188/mt8188-audsys-clk.c mt8188_audsys_clk_register() -> clk_register_gate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 7 | lock | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/samsung/i2s.c i2s_register_clock_provider() -> clk_register_gate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_ops->dma_supported | 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888 |
| PARAM_VALUE | 0 | dev->dma_ops->map_phys | 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696 |
| PARAM_VALUE | 0 | dev->dma_ops->map_sg | 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488 |
| PARAM_VALUE | 0 | dev->dma_ops->mmap | 0,5761417605877342208,7694740394750603264 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_phys | 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_sg | 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440 |
| PARAM_VALUE | 3 | flags | 4 |
| PARAM_VALUE | 5 | bit_idx | 0,12,22 |
| PARAM_VALUE | 6 | clk_gate_flags | 1 |
| PARAM_VALUE | 7 | lock | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| MEM_ZERO | 7 | lock | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/mediatek/mt8186/mt8186-audsys-clk.c mt8186_audsys_clk_register() -> clk_register_gate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 7 | lock | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/clk/renesas/clk-emev2.c emev2_smu_gclk_init() -> clk_register_gate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 6 | clk_gate_flags | 0 |
| PARAM_VALUE | 7 | lock | 6933983188758597632 |
| BUF_SIZE | 1 | name | 7 |
| BUF_SIZE | 2 | parent_name | s32min,(-10),(-1)-s32max |
| BUF_SIZE | 2 | parent_name | s32min,(-10),(-1)-s32max |
| DATA_SOURCE | 2 | parent_name | r of_clk_get_parent_name |
drivers/rtc/rtc-sun6i.c sun6i_rtc_clk_init() -> clk_register_gate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0 |
| PARAM_VALUE | 1 | *name | 0-255 |
| PARAM_VALUE | 2 | *parent_name | 0-255 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | reg | 4096-ptr_max |
| PARAM_VALUE | 5 | bit_idx | 0 |
| PARAM_VALUE | 6 | clk_gate_flags | 0 |
| PARAM_VALUE | 7 | lock | 4096-ptr_max |
| STR_LEN | 0 | dev | (-1) |
| STR_LEN | 1 | name | (-1) |
| STR_LEN | 1 | name | (-1) |
| STR_LEN | 2 | parent_name | (-1) |
| TERMINATED | 1 | name | 1 |
| TERMINATED | 2 | parent_name | 1 |