/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phytbl_lcn.c | 1510 ARRAY_SIZE(dot11lcn_gain_tbl_rev0), 18, 1514 ARRAY_SIZE(dot11lcn_aux_gain_idx_tbl_rev0), 14, 0, 16} 1517 ARRAY_SIZE(dot11lcn_gain_idx_tbl_rev0), 13, 0, 32} 1523 ARRAY_SIZE(dot11lcn_gain_tbl_rev1), 18, 1527 ARRAY_SIZE(dot11lcn_aux_gain_idx_tbl_rev0), 14, 0, 16} 1530 ARRAY_SIZE(dot11lcn_gain_idx_tbl_rev0), 13, 0, 32} 1536 ARRAY_SIZE(dot11lcn_gain_tbl_2G), 18, 0, 1540 ARRAY_SIZE(dot11lcn_aux_gain_idx_tbl_2G), 14, 0, 16} 1543 ARRAY_SIZE(dot11lcn_gain_idx_tbl_2G), 1547 ARRAY_SIZE(dot11lcn_gain_val_tbl_2G), [all …]
|
/linux-4.4.14/drivers/media/tuners/ |
D | tuner-types.c | 73 .count = ARRAY_SIZE(tuner_temic_pal_ranges), 89 .count = ARRAY_SIZE(tuner_philips_pal_i_ranges), 105 .count = ARRAY_SIZE(tuner_philips_ntsc_ranges), 122 .count = ARRAY_SIZE(tuner_philips_secam_ranges), 139 .count = ARRAY_SIZE(tuner_philips_pal_ranges), 156 .count = ARRAY_SIZE(tuner_temic_ntsc_ranges), 172 .count = ARRAY_SIZE(tuner_temic_pal_i_ranges), 188 .count = ARRAY_SIZE(tuner_temic_4036fy5_ntsc_ranges), 204 .count = ARRAY_SIZE(tuner_alps_tsb_1_ranges), 215 .count = ARRAY_SIZE(tuner_alps_tsb_1_ranges), [all …]
|
/linux-4.4.14/drivers/pinctrl/spear/ |
D | pinctrl-spear1340.c | 256 .nmuxregs = ARRAY_SIZE(pads_as_gpio_muxreg), 263 .npins = ARRAY_SIZE(pads_as_gpio_pins), 265 .nmodemuxs = ARRAY_SIZE(pads_as_gpio_modemux), 272 .ngroups = ARRAY_SIZE(pads_as_gpio_grps), 289 .nmuxregs = ARRAY_SIZE(fsmc_8bit_muxreg), 296 .npins = ARRAY_SIZE(fsmc_8bit_pins), 298 .nmodemuxs = ARRAY_SIZE(fsmc_8bit_modemux), 318 .nmuxregs = ARRAY_SIZE(fsmc_16bit_muxreg), 325 .npins = ARRAY_SIZE(fsmc_16bit_pins), 327 .nmodemuxs = ARRAY_SIZE(fsmc_16bit_modemux), [all …]
|
D | pinctrl-spear3xx.c | 35 .nmuxregs = ARRAY_SIZE(firda_muxreg), 42 .npins = ARRAY_SIZE(firda_pins), 44 .nmodemuxs = ARRAY_SIZE(firda_modemux), 51 .ngroups = ARRAY_SIZE(firda_grps), 68 .nmuxregs = ARRAY_SIZE(i2c_muxreg), 75 .npins = ARRAY_SIZE(i2c_pins), 77 .nmodemuxs = ARRAY_SIZE(i2c_modemux), 84 .ngroups = ARRAY_SIZE(i2c_grps), 101 .nmuxregs = ARRAY_SIZE(ssp_cs_muxreg), 108 .npins = ARRAY_SIZE(ssp_cs_pins), [all …]
|
D | pinctrl-spear320.c | 496 .nmuxregs = ARRAY_SIZE(clcd_muxreg), 503 .npins = ARRAY_SIZE(clcd_pins), 505 .nmodemuxs = ARRAY_SIZE(clcd_modemux), 512 .ngroups = ARRAY_SIZE(clcd_grps), 575 .nmuxregs = ARRAY_SIZE(emi_muxreg), 579 .nmuxregs = ARRAY_SIZE(emi_ext_muxreg), 586 .npins = ARRAY_SIZE(emi_pins), 588 .nmodemuxs = ARRAY_SIZE(emi_modemux), 595 .ngroups = ARRAY_SIZE(emi_grps), 625 .nmuxregs = ARRAY_SIZE(fsmc_8bit_muxreg), [all …]
|
D | pinctrl-spear310.c | 37 .nmuxregs = ARRAY_SIZE(emi_cs_0_to_5_muxreg), 44 .npins = ARRAY_SIZE(emi_cs_0_to_5_pins), 46 .nmodemuxs = ARRAY_SIZE(emi_cs_0_to_5_modemux), 53 .ngroups = ARRAY_SIZE(emi_cs_0_to_5_grps), 69 .nmuxregs = ARRAY_SIZE(uart1_muxreg), 76 .npins = ARRAY_SIZE(uart1_pins), 78 .nmodemuxs = ARRAY_SIZE(uart1_modemux), 85 .ngroups = ARRAY_SIZE(uart1_grps), 101 .nmuxregs = ARRAY_SIZE(uart2_muxreg), 108 .npins = ARRAY_SIZE(uart2_pins), [all …]
|
D | pinctrl-spear1310.c | 254 .nmuxregs = ARRAY_SIZE(i2c0_muxreg), 261 .npins = ARRAY_SIZE(i2c0_pins), 263 .nmodemuxs = ARRAY_SIZE(i2c0_modemux), 270 .ngroups = ARRAY_SIZE(i2c0_grps), 290 .nmuxregs = ARRAY_SIZE(ssp0_muxreg), 297 .npins = ARRAY_SIZE(ssp0_pins), 299 .nmodemuxs = ARRAY_SIZE(ssp0_modemux), 319 .nmuxregs = ARRAY_SIZE(ssp0_cs0_muxreg), 326 .npins = ARRAY_SIZE(ssp0_cs0_pins), 328 .nmodemuxs = ARRAY_SIZE(ssp0_cs0_modemux), [all …]
|
D | pinctrl-spear300.c | 175 .nmuxregs = ARRAY_SIZE(fsmc_2chips_muxreg), 182 .npins = ARRAY_SIZE(fsmc_2chips_pins), 184 .nmodemuxs = ARRAY_SIZE(fsmc_2chips_modemux), 202 .nmuxregs = ARRAY_SIZE(fsmc_4chips_muxreg), 209 .npins = ARRAY_SIZE(fsmc_4chips_pins), 211 .nmodemuxs = ARRAY_SIZE(fsmc_4chips_modemux), 219 .ngroups = ARRAY_SIZE(fsmc_grps), 237 .nmuxregs = ARRAY_SIZE(clcd_lcdmode_muxreg), 244 .npins = ARRAY_SIZE(clcd_lcdmode_pins), 246 .nmodemuxs = ARRAY_SIZE(clcd_lcdmode_modemux), [all …]
|
/linux-4.4.14/drivers/mfd/ |
D | wm831x-core.c | 1021 .num_resources = ARRAY_SIZE(wm831x_dcdc1_resources), 1027 .num_resources = ARRAY_SIZE(wm831x_dcdc2_resources), 1033 .num_resources = ARRAY_SIZE(wm831x_dcdc3_resources), 1039 .num_resources = ARRAY_SIZE(wm831x_dcdc4_resources), 1055 .num_resources = ARRAY_SIZE(wm831x_gpio_resources), 1064 .num_resources = ARRAY_SIZE(wm831x_isink1_resources), 1070 .num_resources = ARRAY_SIZE(wm831x_isink2_resources), 1076 .num_resources = ARRAY_SIZE(wm831x_ldo1_resources), 1082 .num_resources = ARRAY_SIZE(wm831x_ldo2_resources), 1088 .num_resources = ARRAY_SIZE(wm831x_ldo3_resources), [all …]
|
D | timberdale.c | 81 .num_devices = ARRAY_SIZE(timberdale_i2c_board_info) 89 .num_devices = ARRAY_SIZE(timberdale_i2c_board_info) 380 .num_resources = ARRAY_SIZE(timberdale_dma_resources), 387 .num_resources = ARRAY_SIZE(timberdale_uart_resources), 392 .num_resources = ARRAY_SIZE(timberdale_xiic_resources), 399 .num_resources = ARRAY_SIZE(timberdale_gpio_resources), 406 .num_resources = ARRAY_SIZE(timberdale_video_resources), 413 .num_resources = ARRAY_SIZE(timberdale_radio_resources), 420 .num_resources = ARRAY_SIZE(timberdale_spi_resources), 427 .num_resources = ARRAY_SIZE(timberdale_eth_resources), [all …]
|
D | sun6i-prcm.c | 64 .num_resources = ARRAY_SIZE(sun6i_a31_ar100_clk_res), 70 .num_resources = ARRAY_SIZE(sun6i_a31_apb0_clk_res), 76 .num_resources = ARRAY_SIZE(sun6i_a31_apb0_gates_clk_res), 82 .num_resources = ARRAY_SIZE(sun6i_a31_ir_clk_res), 88 .num_resources = ARRAY_SIZE(sun6i_a31_apb0_rstc_res), 97 .num_resources = ARRAY_SIZE(sun6i_a31_apb0_clk_res), 103 .num_resources = ARRAY_SIZE(sun6i_a31_apb0_gates_clk_res), 109 .num_resources = ARRAY_SIZE(sun6i_a31_apb0_rstc_res), 115 .nsubdevs = ARRAY_SIZE(sun6i_a31_prcm_subdevs), 120 .nsubdevs = ARRAY_SIZE(sun8i_a23_prcm_subdevs),
|
D | 88pm860x-core.c | 175 .num_resources = ARRAY_SIZE(bk0_resources), 180 .num_resources = ARRAY_SIZE(bk1_resources), 185 .num_resources = ARRAY_SIZE(bk2_resources), 194 .num_resources = ARRAY_SIZE(led0_resources), 199 .num_resources = ARRAY_SIZE(led1_resources), 204 .num_resources = ARRAY_SIZE(led2_resources), 209 .num_resources = ARRAY_SIZE(led3_resources), 214 .num_resources = ARRAY_SIZE(led4_resources), 219 .num_resources = ARRAY_SIZE(led5_resources), 228 .num_resources = ARRAY_SIZE(buck1_resources), [all …]
|
D | max8925-core.c | 33 .num_resources = ARRAY_SIZE(bk_resources), 212 .num_resources = ARRAY_SIZE(sd1_resources), 217 .num_resources = ARRAY_SIZE(sd2_resources), 222 .num_resources = ARRAY_SIZE(sd3_resources), 227 .num_resources = ARRAY_SIZE(ldo1_resources), 232 .num_resources = ARRAY_SIZE(ldo2_resources), 237 .num_resources = ARRAY_SIZE(ldo3_resources), 242 .num_resources = ARRAY_SIZE(ldo4_resources), 247 .num_resources = ARRAY_SIZE(ldo5_resources), 252 .num_resources = ARRAY_SIZE(ldo6_resources), [all …]
|
D | axp20x.c | 53 .n_yes_ranges = ARRAY_SIZE(axp152_writeable_ranges), 58 .n_yes_ranges = ARRAY_SIZE(axp152_volatile_ranges), 78 .n_yes_ranges = ARRAY_SIZE(axp20x_writeable_ranges), 83 .n_yes_ranges = ARRAY_SIZE(axp20x_volatile_ranges), 97 .n_yes_ranges = ARRAY_SIZE(axp22x_writeable_ranges), 102 .n_yes_ranges = ARRAY_SIZE(axp22x_volatile_ranges), 116 .n_yes_ranges = ARRAY_SIZE(axp288_writeable_ranges), 121 .n_yes_ranges = ARRAY_SIZE(axp288_volatile_ranges), 413 .num_irqs = ARRAY_SIZE(axp152_regmap_irqs), 425 .num_irqs = ARRAY_SIZE(axp20x_regmap_irqs), [all …]
|
D | intel_soc_pmic_crc.c | 86 .num_resources = ARRAY_SIZE(pwrsrc_resources), 91 .num_resources = ARRAY_SIZE(adc_resources), 96 .num_resources = ARRAY_SIZE(thermal_resources), 101 .num_resources = ARRAY_SIZE(bcu_resources), 106 .num_resources = ARRAY_SIZE(gpio_resources), 152 .num_irqs = ARRAY_SIZE(crystal_cove_irqs), 161 .n_cell_devs = ARRAY_SIZE(crystal_cove_dev),
|
D | si476x-cmd.c | 421 resp, ARRAY_SIZE(resp), in si476x_core_cmd_func_info() 457 args, ARRAY_SIZE(args), in si476x_core_cmd_set_property() 458 resp, ARRAY_SIZE(resp), in si476x_core_cmd_set_property() 482 args, ARRAY_SIZE(args), in si476x_core_cmd_get_property() 483 resp, ARRAY_SIZE(resp), in si476x_core_cmd_get_property() 544 args, ARRAY_SIZE(args), in si476x_core_cmd_dig_audio_pin_cfg() 545 resp, ARRAY_SIZE(resp), in si476x_core_cmd_dig_audio_pin_cfg() 593 args, ARRAY_SIZE(args), in si476x_core_cmd_zif_pin_cfg() 594 resp, ARRAY_SIZE(resp), in si476x_core_cmd_zif_pin_cfg() 650 args, ARRAY_SIZE(args), in si476x_core_cmd_ic_link_gpo_ctl_pin_cfg() [all …]
|
D | ab8500-core.c | 1022 .num_resources = ARRAY_SIZE(ab8500_charger_resources), 1030 .num_resources = ARRAY_SIZE(ab8500_btemp_resources), 1038 .num_resources = ARRAY_SIZE(ab8500_fg_resources), 1046 .num_resources = ARRAY_SIZE(ab8500_chargalg_resources), 1058 .num_resources = ARRAY_SIZE(ab8500_debug_resources), 1081 .num_resources = ARRAY_SIZE(ab8500_gpadc_resources), 1087 .num_resources = ARRAY_SIZE(ab8500_rtc_resources), 1093 .num_resources = ARRAY_SIZE(ab8500_av_acc_detect_resources), 1100 .num_resources = ARRAY_SIZE(ab8500_poweronkey_db_resources), 1129 .num_resources = ARRAY_SIZE(ab8500_temp_resources), [all …]
|
D | intel_msic.c | 128 .num_resources = ARRAY_SIZE(msic_touch_resources), 133 .num_resources = ARRAY_SIZE(msic_adc_resources), 138 .num_resources = ARRAY_SIZE(msic_battery_resources), 143 .num_resources = ARRAY_SIZE(msic_gpio_resources), 148 .num_resources = ARRAY_SIZE(msic_audio_resources), 153 .num_resources = ARRAY_SIZE(msic_hdmi_resources), 158 .num_resources = ARRAY_SIZE(msic_thermal_resources), 163 .num_resources = ARRAY_SIZE(msic_power_btn_resources), 168 .num_resources = ARRAY_SIZE(msic_ocd_resources), 343 for (i = 0; i < ARRAY_SIZE(msic_devs); i++) { in intel_msic_init_devices() [all …]
|
D | wm8994-core.c | 68 .num_resources = ARRAY_SIZE(wm8994_codec_resources), 74 .num_resources = ARRAY_SIZE(wm8994_gpio_resources), 279 ARRAY_SIZE(pdata->gpio_defaults)) >= 0) { in wm8994_set_pdata_from_of() 280 for (i = 0; i < ARRAY_SIZE(pdata->gpio_defaults); i++) { in wm8994_set_pdata_from_of() 288 ARRAY_SIZE(pdata->micbias)); in wm8994_set_pdata_from_of() 349 ARRAY_SIZE(wm8994_regulator_devs), in wm8994_device_init() 358 wm8994->num_supplies = ARRAY_SIZE(wm1811_main_supplies); in wm8994_device_init() 361 wm8994->num_supplies = ARRAY_SIZE(wm8994_main_supplies); in wm8994_device_init() 364 wm8994->num_supplies = ARRAY_SIZE(wm8958_main_supplies); in wm8994_device_init() 381 for (i = 0; i < ARRAY_SIZE(wm1811_main_supplies); i++) in wm8994_device_init() [all …]
|
/linux-4.4.14/drivers/clk/hisilicon/ |
D | clk-hi6220.c | 82 ARRAY_SIZE(hi6220_fixed_rate_clks), clk_data_ao); in hi6220_clk_ao_init() 85 ARRAY_SIZE(hi6220_fixed_factor_clks), clk_data_ao); in hi6220_clk_ao_init() 88 ARRAY_SIZE(hi6220_separated_gate_clks_ao), clk_data_ao); in hi6220_clk_ao_init() 149 …{ HI6220_MMC0_SRC, "mmc0_src", mmc0_src_p, ARRAY_SIZE(mmc0_src_p), CLK_SET_RATE_PARE… 150 …{ HI6220_MMC0_SMP_IN, "mmc0_smp_in", mmc0_sample_in, ARRAY_SIZE(mmc0_sample_in), CLK_SET_RATE_PARE… 151 …{ HI6220_MMC1_SRC, "mmc1_src", mmc1_src_p, ARRAY_SIZE(mmc1_src_p), CLK_SET_RATE_PARE… 152 …{ HI6220_MMC1_SMP_IN, "mmc1_smp_in", mmc1_sample_in, ARRAY_SIZE(mmc1_sample_in), CLK_SET_RATE_PARE… 153 …{ HI6220_MMC2_SRC, "mmc2_src", mmc2_src_p, ARRAY_SIZE(mmc2_src_p), CLK_SET_RATE_PARE… 154 …{ HI6220_MMC2_SMP_IN, "mmc2_smp_in", mmc2_sample_in, ARRAY_SIZE(mmc2_sample_in), CLK_SET_RATE_PARE… 155 …{ HI6220_HIFI_SRC, "hifi_src", hifi_src, ARRAY_SIZE(hifi_src), CLK_SET_RATE_PARE… [all …]
|
D | clk-hi3620.c | 100 …{ HI3620_TIMER0_MUX, "timer0_mux", timer0_mux_p, ARRAY_SIZE(timer0_mux_p), CLK_SET_RATE_PARENT, 0,… 101 …{ HI3620_TIMER1_MUX, "timer1_mux", timer1_mux_p, ARRAY_SIZE(timer1_mux_p), CLK_SET_RATE_PARENT, 0,… 102 …{ HI3620_TIMER2_MUX, "timer2_mux", timer2_mux_p, ARRAY_SIZE(timer2_mux_p), CLK_SET_RATE_PARENT, 0,… 103 …{ HI3620_TIMER3_MUX, "timer3_mux", timer3_mux_p, ARRAY_SIZE(timer3_mux_p), CLK_SET_RATE_PARENT, 0,… 104 …{ HI3620_TIMER4_MUX, "timer4_mux", timer4_mux_p, ARRAY_SIZE(timer4_mux_p), CLK_SET_RATE_PARENT, 0x… 105 …{ HI3620_TIMER5_MUX, "timer5_mux", timer5_mux_p, ARRAY_SIZE(timer5_mux_p), CLK_SET_RATE_PARENT, 0x… 106 …{ HI3620_TIMER6_MUX, "timer6_mux", timer6_mux_p, ARRAY_SIZE(timer6_mux_p), CLK_SET_RATE_PARENT, 0x… 107 …{ HI3620_TIMER7_MUX, "timer7_mux", timer7_mux_p, ARRAY_SIZE(timer7_mux_p), CLK_SET_RATE_PARENT, 0x… 108 …{ HI3620_TIMER8_MUX, "timer8_mux", timer8_mux_p, ARRAY_SIZE(timer8_mux_p), CLK_SET_RATE_PARENT, 0x… 109 …{ HI3620_TIMER9_MUX, "timer9_mux", timer9_mux_p, ARRAY_SIZE(timer9_mux_p), CLK_SET_RATE_PARENT, 0x… [all …]
|
/linux-4.4.14/drivers/power/ |
D | ab8500_bmdata.c | 33 const int ab8500_temp_tbl_a_size = ARRAY_SIZE(ab8500_temp_tbl_a_thermistor); 55 const int ab8500_temp_tbl_b_size = ARRAY_SIZE(ab8500_temp_tbl_b_thermistor); 214 .n_temp_tbl_elements = ARRAY_SIZE(temp_tbl), 216 .n_v_cap_tbl_elements = ARRAY_SIZE(cap_tbl), 218 .n_batres_tbl_elements = ARRAY_SIZE(temp_to_batres_tbl_thermistor), 241 .n_temp_tbl_elements = ARRAY_SIZE(ab8500_temp_tbl_a_thermistor), 243 .n_v_cap_tbl_elements = ARRAY_SIZE(cap_tbl_a_thermistor), 245 .n_batres_tbl_elements = ARRAY_SIZE(temp_to_batres_tbl_thermistor), 269 .n_temp_tbl_elements = ARRAY_SIZE(ab8500_temp_tbl_b_thermistor), 271 .n_v_cap_tbl_elements = ARRAY_SIZE(cap_tbl_b_thermistor), [all …]
|
/linux-4.4.14/drivers/bus/ |
D | omap_l3_noc.h | 143 .num_targ_data = ARRAY_SIZE(omap_l3_target_data_clk1), 174 .num_targ_data = ARRAY_SIZE(omap_l3_target_data_clk2), 185 .num_targ_data = ARRAY_SIZE(omap4_l3_target_data_clk3), 224 .num_modules = ARRAY_SIZE(omap4_l3_flagmux), 226 .num_masters = ARRAY_SIZE(omap_l3_masters), 241 .num_targ_data = ARRAY_SIZE(omap5_l3_target_data_clk3), 252 .num_modules = ARRAY_SIZE(omap5_l3_flagmux), 254 .num_masters = ARRAY_SIZE(omap_l3_masters), 298 .num_targ_data = ARRAY_SIZE(dra_l3_target_data_clk1), 329 .num_targ_data = ARRAY_SIZE(dra_l3_target_data_clk2), [all …]
|
/linux-4.4.14/drivers/clk/imx/ |
D | clk-imx6sl.c | 212 …mx_clk_mux("pll1_bypass_src", base + 0x00, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6sl_clocks_init() 213 …mx_clk_mux("pll2_bypass_src", base + 0x30, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6sl_clocks_init() 214 …mx_clk_mux("pll3_bypass_src", base + 0x10, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6sl_clocks_init() 215 …mx_clk_mux("pll4_bypass_src", base + 0x70, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6sl_clocks_init() 216 …mx_clk_mux("pll5_bypass_src", base + 0xa0, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6sl_clocks_init() 217 …mx_clk_mux("pll6_bypass_src", base + 0xe0, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6sl_clocks_init() 218 …mx_clk_mux("pll7_bypass_src", base + 0x20, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6sl_clocks_init() 229 …imx_clk_mux_flags("pll1_bypass", base + 0x00, 16, 1, pll1_bypass_sels, ARRAY_SIZE(pll1_bypass_sels… in imx6sl_clocks_init() 230 …imx_clk_mux_flags("pll2_bypass", base + 0x30, 16, 1, pll2_bypass_sels, ARRAY_SIZE(pll2_bypass_sels… in imx6sl_clocks_init() 231 …imx_clk_mux_flags("pll3_bypass", base + 0x10, 16, 1, pll3_bypass_sels, ARRAY_SIZE(pll3_bypass_sels… in imx6sl_clocks_init() [all …]
|
D | clk-imx7d.c | 390 …mx_clk_mux("pll_arm_main_src", base + 0x60, 14, 2, pll_bypass_src_sel, ARRAY_SIZE(pll_bypass_src_s… in imx7d_clocks_init() 391 …x_clk_mux("pll_dram_main_src", base + 0x70, 14, 2, pll_bypass_src_sel, ARRAY_SIZE(pll_bypass_src_s… in imx7d_clocks_init() 392 …mx_clk_mux("pll_sys_main_src", base + 0xb0, 14, 2, pll_bypass_src_sel, ARRAY_SIZE(pll_bypass_src_s… in imx7d_clocks_init() 393 …x_clk_mux("pll_enet_main_src", base + 0xe0, 14, 2, pll_bypass_src_sel, ARRAY_SIZE(pll_bypass_src_s… in imx7d_clocks_init() 394 …_clk_mux("pll_audio_main_src", base + 0xf0, 14, 2, pll_bypass_src_sel, ARRAY_SIZE(pll_bypass_src_s… in imx7d_clocks_init() 395 …clk_mux("pll_video_main_src", base + 0x130, 14, 2, pll_bypass_src_sel, ARRAY_SIZE(pll_bypass_src_s… in imx7d_clocks_init() 404 …x_flags("pll_arm_main_bypass", base + 0x60, 16, 1, pll_arm_bypass_sel, ARRAY_SIZE(pll_arm_bypass_s… in imx7d_clocks_init() 405 …flags("pll_dram_main_bypass", base + 0x70, 16, 1, pll_dram_bypass_sel, ARRAY_SIZE(pll_dram_bypass_… in imx7d_clocks_init() 406 …x_flags("pll_sys_main_bypass", base + 0xb0, 16, 1, pll_sys_bypass_sel, ARRAY_SIZE(pll_sys_bypass_s… in imx7d_clocks_init() 407 …flags("pll_enet_main_bypass", base + 0xe0, 16, 1, pll_enet_bypass_sel, ARRAY_SIZE(pll_enet_bypass_… in imx7d_clocks_init() [all …]
|
D | clk-imx6sx.c | 166 …mx_clk_mux("pll1_bypass_src", base + 0x00, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6sx_clocks_init() 167 …mx_clk_mux("pll2_bypass_src", base + 0x30, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6sx_clocks_init() 168 …mx_clk_mux("pll3_bypass_src", base + 0x10, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6sx_clocks_init() 169 …mx_clk_mux("pll4_bypass_src", base + 0x70, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6sx_clocks_init() 170 …mx_clk_mux("pll5_bypass_src", base + 0xa0, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6sx_clocks_init() 171 …mx_clk_mux("pll6_bypass_src", base + 0xe0, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6sx_clocks_init() 172 …mx_clk_mux("pll7_bypass_src", base + 0x20, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6sx_clocks_init() 183 …imx_clk_mux_flags("pll1_bypass", base + 0x00, 16, 1, pll1_bypass_sels, ARRAY_SIZE(pll1_bypass_sels… in imx6sx_clocks_init() 184 …imx_clk_mux_flags("pll2_bypass", base + 0x30, 16, 1, pll2_bypass_sels, ARRAY_SIZE(pll2_bypass_sels… in imx6sx_clocks_init() 185 …imx_clk_mux_flags("pll3_bypass", base + 0x10, 16, 1, pll3_bypass_sels, ARRAY_SIZE(pll3_bypass_sels… in imx6sx_clocks_init() [all …]
|
D | clk-imx6q.c | 167 …mx_clk_mux("pll1_bypass_src", base + 0x00, 14, 2, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6q_clocks_init() 168 …mx_clk_mux("pll2_bypass_src", base + 0x30, 14, 2, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6q_clocks_init() 169 …mx_clk_mux("pll3_bypass_src", base + 0x10, 14, 2, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6q_clocks_init() 170 …mx_clk_mux("pll4_bypass_src", base + 0x70, 14, 2, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6q_clocks_init() 171 …mx_clk_mux("pll5_bypass_src", base + 0xa0, 14, 2, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6q_clocks_init() 172 …mx_clk_mux("pll6_bypass_src", base + 0xe0, 14, 2, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6q_clocks_init() 173 …mx_clk_mux("pll7_bypass_src", base + 0x20, 14, 2, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6q_clocks_init() 184 …imx_clk_mux_flags("pll1_bypass", base + 0x00, 16, 1, pll1_bypass_sels, ARRAY_SIZE(pll1_bypass_sels… in imx6q_clocks_init() 185 …imx_clk_mux_flags("pll2_bypass", base + 0x30, 16, 1, pll2_bypass_sels, ARRAY_SIZE(pll2_bypass_sels… in imx6q_clocks_init() 186 …imx_clk_mux_flags("pll3_bypass", base + 0x10, 16, 1, pll3_bypass_sels, ARRAY_SIZE(pll3_bypass_sels… in imx6q_clocks_init() [all …]
|
D | clk-imx51-imx53.c | 156 periph_apm_sel, ARRAY_SIZE(periph_apm_sel)); in mx5_clocks_common_init() 158 main_bus_sel, ARRAY_SIZE(main_bus_sel)); in mx5_clocks_common_init() 160 per_lp_apm_sel, ARRAY_SIZE(per_lp_apm_sel)); in mx5_clocks_common_init() 165 per_root_sel, ARRAY_SIZE(per_root_sel)); in mx5_clocks_common_init() 178 standard_pll_sel, ARRAY_SIZE(standard_pll_sel)); in mx5_clocks_common_init() 183 standard_pll_sel, ARRAY_SIZE(standard_pll_sel)); in mx5_clocks_common_init() 185 standard_pll_sel, ARRAY_SIZE(standard_pll_sel)); in mx5_clocks_common_init() 190 …C_C_SEL] = imx_clk_mux("esdhc_c_sel", MXC_CCM_CSCMR1, 19, 1, esdhc_c_sel, ARRAY_SIZE(esdhc_c_sel)); in mx5_clocks_common_init() 191 …C_D_SEL] = imx_clk_mux("esdhc_d_sel", MXC_CCM_CSCMR1, 18, 1, esdhc_d_sel, ARRAY_SIZE(esdhc_d_sel)); in mx5_clocks_common_init() 194 emi_slow_sel, ARRAY_SIZE(emi_slow_sel)); in mx5_clocks_common_init() [all …]
|
D | clk-imx6ul.c | 125 …mx_clk_mux("pll1_bypass_src", base + 0x00, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6ul_clocks_init() 126 …mx_clk_mux("pll2_bypass_src", base + 0x30, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6ul_clocks_init() 127 …mx_clk_mux("pll3_bypass_src", base + 0x10, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6ul_clocks_init() 128 …mx_clk_mux("pll4_bypass_src", base + 0x70, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6ul_clocks_init() 129 …mx_clk_mux("pll5_bypass_src", base + 0xa0, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6ul_clocks_init() 130 …mx_clk_mux("pll6_bypass_src", base + 0xe0, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6ul_clocks_init() 131 …mx_clk_mux("pll7_bypass_src", base + 0x20, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in imx6ul_clocks_init() 141 …imx_clk_mux_flags("pll1_bypass", base + 0x00, 16, 1, pll1_bypass_sels, ARRAY_SIZE(pll1_bypass_sels… in imx6ul_clocks_init() 142 …imx_clk_mux_flags("pll2_bypass", base + 0x30, 16, 1, pll2_bypass_sels, ARRAY_SIZE(pll2_bypass_sels… in imx6ul_clocks_init() 143 …imx_clk_mux_flags("pll3_bypass", base + 0x10, 16, 1, pll3_bypass_sels, ARRAY_SIZE(pll3_bypass_sels… in imx6ul_clocks_init() [all …]
|
D | clk-imx25.c | 109 …clk[cpu_sel] = imx_clk_mux("cpu_sel", ccm(CCM_CCTL), 14, 1, cpu_sel_clks, ARRAY_SIZE(cpu_sel_clks)… in __mx25_clocks_init() 114 …clk[per0_sel] = imx_clk_mux("per0_sel", ccm(CCM_MCR), 0, 1, per_sel_clks, ARRAY_SIZE(per_sel_clks)… in __mx25_clocks_init() 115 …clk[per1_sel] = imx_clk_mux("per1_sel", ccm(CCM_MCR), 1, 1, per_sel_clks, ARRAY_SIZE(per_sel_clks)… in __mx25_clocks_init() 116 …clk[per2_sel] = imx_clk_mux("per2_sel", ccm(CCM_MCR), 2, 1, per_sel_clks, ARRAY_SIZE(per_sel_clks)… in __mx25_clocks_init() 117 …clk[per3_sel] = imx_clk_mux("per3_sel", ccm(CCM_MCR), 3, 1, per_sel_clks, ARRAY_SIZE(per_sel_clks)… in __mx25_clocks_init() 118 …clk[per4_sel] = imx_clk_mux("per4_sel", ccm(CCM_MCR), 4, 1, per_sel_clks, ARRAY_SIZE(per_sel_clks)… in __mx25_clocks_init() 119 …clk[per5_sel] = imx_clk_mux("per5_sel", ccm(CCM_MCR), 5, 1, per_sel_clks, ARRAY_SIZE(per_sel_clks)… in __mx25_clocks_init() 120 …clk[per6_sel] = imx_clk_mux("per6_sel", ccm(CCM_MCR), 6, 1, per_sel_clks, ARRAY_SIZE(per_sel_clks)… in __mx25_clocks_init() 121 …clk[per7_sel] = imx_clk_mux("per7_sel", ccm(CCM_MCR), 7, 1, per_sel_clks, ARRAY_SIZE(per_sel_clks)… in __mx25_clocks_init() 122 …clk[per8_sel] = imx_clk_mux("per8_sel", ccm(CCM_MCR), 8, 1, per_sel_clks, ARRAY_SIZE(per_sel_clks)… in __mx25_clocks_init() [all …]
|
D | clk-vf610.c | 163 …clk[VF610_CLK_SLOW_CLK_SEL] = imx_clk_mux("slow_clk_sel", CCM_CCSR, 4, 1, slow_sels, ARRAY_SIZE(sl… in vf610_clocks_init() 164 …clk[VF610_CLK_FASK_CLK_SEL] = imx_clk_mux("fast_clk_sel", CCM_CCSR, 5, 1, fast_sels, ARRAY_SIZE(fa… in vf610_clocks_init() 166 … imx_clk_mux("pll1_bypass_src", PLL1_CTRL, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in vf610_clocks_init() 167 … imx_clk_mux("pll2_bypass_src", PLL2_CTRL, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in vf610_clocks_init() 168 … imx_clk_mux("pll3_bypass_src", PLL3_CTRL, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in vf610_clocks_init() 169 … imx_clk_mux("pll4_bypass_src", PLL4_CTRL, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in vf610_clocks_init() 170 … imx_clk_mux("pll5_bypass_src", PLL5_CTRL, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in vf610_clocks_init() 171 … imx_clk_mux("pll6_bypass_src", PLL6_CTRL, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in vf610_clocks_init() 172 … imx_clk_mux("pll7_bypass_src", PLL7_CTRL, 14, 1, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_s… in vf610_clocks_init() 182 …= imx_clk_mux_flags("pll1_bypass", PLL1_CTRL, 16, 1, pll1_bypass_sels, ARRAY_SIZE(pll1_bypass_sels… in vf610_clocks_init() [all …]
|
/linux-4.4.14/arch/arm/mach-ux500/ |
D | board-mop500-regulators.c | 29 .num_consumer_supplies = ARRAY_SIZE(gpio_en_3v3_consumers), 53 .num_consumer_supplies = ARRAY_SIZE(tps61052_vaudio_consumers), 372 .num_consumer_supplies = ARRAY_SIZE(ab8500_vaux1_consumers), 388 .num_consumer_supplies = ARRAY_SIZE(ab8500_vaux2_consumers), 404 .num_consumer_supplies = ARRAY_SIZE(ab8500_vaux3_consumers), 413 .num_consumer_supplies = ARRAY_SIZE(ab8500_vtvout_consumers), 422 .num_consumer_supplies = ARRAY_SIZE(ab8500_vaud_consumers), 431 .num_consumer_supplies = ARRAY_SIZE(ab8500_vamic1_consumers), 440 .num_consumer_supplies = ARRAY_SIZE(ab8500_vamic2_consumers), 449 .num_consumer_supplies = ARRAY_SIZE(ab8500_vdmic_consumers), [all …]
|
/linux-4.4.14/drivers/net/wireless/b43/ |
D | tables.c | 355 BUILD_BUG_ON(B43_TAB_ROTOR_SIZE != ARRAY_SIZE(b43_tab_rotor)); in assert_sizes() 356 BUILD_BUG_ON(B43_TAB_RETARD_SIZE != ARRAY_SIZE(b43_tab_retard)); in assert_sizes() 357 BUILD_BUG_ON(B43_TAB_FINEFREQA_SIZE != ARRAY_SIZE(b43_tab_finefreqa)); in assert_sizes() 358 BUILD_BUG_ON(B43_TAB_FINEFREQG_SIZE != ARRAY_SIZE(b43_tab_finefreqg)); in assert_sizes() 359 BUILD_BUG_ON(B43_TAB_NOISEA2_SIZE != ARRAY_SIZE(b43_tab_noisea2)); in assert_sizes() 360 BUILD_BUG_ON(B43_TAB_NOISEA3_SIZE != ARRAY_SIZE(b43_tab_noisea3)); in assert_sizes() 361 BUILD_BUG_ON(B43_TAB_NOISEG1_SIZE != ARRAY_SIZE(b43_tab_noiseg1)); in assert_sizes() 362 BUILD_BUG_ON(B43_TAB_NOISEG2_SIZE != ARRAY_SIZE(b43_tab_noiseg2)); in assert_sizes() 364 ARRAY_SIZE(b43_tab_noisescalea2)); in assert_sizes() 366 ARRAY_SIZE(b43_tab_noisescalea3)); in assert_sizes() [all …]
|
/linux-4.4.14/drivers/clk/mmp/ |
D | clk-of-pxa168.c | 100 ARRAY_SIZE(fixed_rate_clks)); in pxa168_pll_init() 103 ARRAY_SIZE(fixed_factor_clks)); in pxa168_pll_init() 109 ARRAY_SIZE(uart_factor_tbl), NULL); in pxa168_pll_init() 131 …{0, "uart0_mux", uart_parent_names, ARRAY_SIZE(uart_parent_names), CLK_SET_RATE_PARENT, APBC_UART0… 132 …{0, "uart1_mux", uart_parent_names, ARRAY_SIZE(uart_parent_names), CLK_SET_RATE_PARENT, APBC_UART1… 133 …{0, "uart2_mux", uart_parent_names, ARRAY_SIZE(uart_parent_names), CLK_SET_RATE_PARENT, APBC_UART2… 134 …{0, "ssp0_mux", ssp_parent_names, ARRAY_SIZE(ssp_parent_names), CLK_SET_RATE_PARENT, APBC_SSP0, 4,… 135 …{0, "ssp1_mux", ssp_parent_names, ARRAY_SIZE(ssp_parent_names), CLK_SET_RATE_PARENT, APBC_SSP1, 4,… 136 …{0, "ssp2_mux", ssp_parent_names, ARRAY_SIZE(ssp_parent_names), CLK_SET_RATE_PARENT, APBC_SSP2, 4,… 137 …{0, "ssp3_mux", ssp_parent_names, ARRAY_SIZE(ssp_parent_names), CLK_SET_RATE_PARENT, APBC_SSP3, 4,… [all …]
|
D | clk-of-pxa910.c | 100 ARRAY_SIZE(fixed_rate_clks)); in pxa910_pll_init() 103 ARRAY_SIZE(fixed_factor_clks)); in pxa910_pll_init() 109 ARRAY_SIZE(uart_factor_tbl), NULL); in pxa910_pll_init() 129 …{0, "uart0_mux", uart_parent_names, ARRAY_SIZE(uart_parent_names), CLK_SET_RATE_PARENT, APBC_UART0… 130 …{0, "uart1_mux", uart_parent_names, ARRAY_SIZE(uart_parent_names), CLK_SET_RATE_PARENT, APBC_UART1… 131 …{0, "ssp0_mux", ssp_parent_names, ARRAY_SIZE(ssp_parent_names), CLK_SET_RATE_PARENT, APBC_SSP0, 4,… 132 …{0, "ssp1_mux", ssp_parent_names, ARRAY_SIZE(ssp_parent_names), CLK_SET_RATE_PARENT, APBC_SSP1, 4,… 133 …{0, "timer0_mux", timer_parent_names, ARRAY_SIZE(timer_parent_names), CLK_SET_RATE_PARENT, APBC_TI… 134 …{0, "timer1_mux", timer_parent_names, ARRAY_SIZE(timer_parent_names), CLK_SET_RATE_PARENT, APBC_TI… 138 …{0, "uart2_mux", uart_parent_names, ARRAY_SIZE(uart_parent_names), CLK_SET_RATE_PARENT, APBCP_UART… [all …]
|
D | clk-of-mmp2.c | 112 ARRAY_SIZE(fixed_rate_clks)); in mmp2_pll_init() 115 ARRAY_SIZE(fixed_factor_clks)); in mmp2_pll_init() 121 ARRAY_SIZE(uart_factor_tbl), NULL); in mmp2_pll_init() 142 …{0, "uart0_mux", uart_parent_names, ARRAY_SIZE(uart_parent_names), CLK_SET_RATE_PARENT, APBC_UART0… 143 …{0, "uart1_mux", uart_parent_names, ARRAY_SIZE(uart_parent_names), CLK_SET_RATE_PARENT, APBC_UART1… 144 …{0, "uart2_mux", uart_parent_names, ARRAY_SIZE(uart_parent_names), CLK_SET_RATE_PARENT, APBC_UART2… 145 …{0, "uart3_mux", uart_parent_names, ARRAY_SIZE(uart_parent_names), CLK_SET_RATE_PARENT, APBC_UART3… 146 …{0, "ssp0_mux", ssp_parent_names, ARRAY_SIZE(ssp_parent_names), CLK_SET_RATE_PARENT, APBC_SSP0, 4,… 147 …{0, "ssp1_mux", ssp_parent_names, ARRAY_SIZE(ssp_parent_names), CLK_SET_RATE_PARENT, APBC_SSP1, 4,… 148 …{0, "ssp2_mux", ssp_parent_names, ARRAY_SIZE(ssp_parent_names), CLK_SET_RATE_PARENT, APBC_SSP2, 4,… [all …]
|
D | clk-of-pxa1928.c | 75 ARRAY_SIZE(fixed_rate_clks)); in pxa1928_pll_init() 78 ARRAY_SIZE(fixed_factor_clks)); in pxa1928_pll_init() 84 ARRAY_SIZE(uart_factor_tbl), NULL); in pxa1928_pll_init() 100 …{0, "uart0_mux", uart_parent_names, ARRAY_SIZE(uart_parent_names), CLK_SET_RATE_PARENT, PXA1928_CL… 101 …{0, "uart1_mux", uart_parent_names, ARRAY_SIZE(uart_parent_names), CLK_SET_RATE_PARENT, PXA1928_CL… 102 …{0, "uart2_mux", uart_parent_names, ARRAY_SIZE(uart_parent_names), CLK_SET_RATE_PARENT, PXA1928_CL… 103 …{0, "uart3_mux", uart_parent_names, ARRAY_SIZE(uart_parent_names), CLK_SET_RATE_PARENT, PXA1928_CL… 104 …{0, "ssp0_mux", ssp_parent_names, ARRAY_SIZE(ssp_parent_names), CLK_SET_RATE_PARENT, PXA1928_CLK_S… 105 …{0, "ssp1_mux", ssp_parent_names, ARRAY_SIZE(ssp_parent_names), CLK_SET_RATE_PARENT, PXA1928_CLK_S… 136 ARRAY_SIZE(apbc_mux_clks)); in pxa1928_apb_periph_clk_init() [all …]
|
D | clk-pxa168.c | 162 ARRAY_SIZE(uart_factor_tbl), &clk_lock); in pxa168_clk_init() 203 ARRAY_SIZE(uart_parent), in pxa168_clk_init() 214 ARRAY_SIZE(uart_parent), in pxa168_clk_init() 225 ARRAY_SIZE(uart_parent), in pxa168_clk_init() 236 ARRAY_SIZE(ssp_parent), in pxa168_clk_init() 246 ARRAY_SIZE(ssp_parent), in pxa168_clk_init() 256 ARRAY_SIZE(ssp_parent), in pxa168_clk_init() 266 ARRAY_SIZE(ssp_parent), in pxa168_clk_init() 276 ARRAY_SIZE(ssp_parent), in pxa168_clk_init() 290 ARRAY_SIZE(sdh_parent), in pxa168_clk_init() [all …]
|
D | clk-pxa910.c | 167 ARRAY_SIZE(uart_factor_tbl), &clk_lock); in pxa910_clk_init() 208 ARRAY_SIZE(uart_parent), in pxa910_clk_init() 219 ARRAY_SIZE(uart_parent), in pxa910_clk_init() 230 ARRAY_SIZE(uart_parent), in pxa910_clk_init() 241 ARRAY_SIZE(ssp_parent), in pxa910_clk_init() 251 ARRAY_SIZE(ssp_parent), in pxa910_clk_init() 265 ARRAY_SIZE(sdh_parent), in pxa910_clk_init() 275 ARRAY_SIZE(sdh_parent), in pxa910_clk_init() 293 ARRAY_SIZE(disp_parent), in pxa910_clk_init() 303 ARRAY_SIZE(ccic_parent), in pxa910_clk_init() [all …]
|
/linux-4.4.14/drivers/clk/zte/ |
D | clk-zx296702.c | 242 ARRAY_SIZE(pll_a9_config), ®_lock); in zx296702_top_clocks_init() 288 ARRAY_SIZE(matrix_aclk_sel), CLK_MUX, 2, 2); in zx296702_top_clocks_init() 312 zx_mux("a9_wclk", a9_wclk_sel, ARRAY_SIZE(a9_wclk_sel), CLK_MUX, in zx296702_top_clocks_init() 316 ARRAY_SIZE(a9_as1_aclk_sel), CLK_MUX, 4, 2); in zx296702_top_clocks_init() 319 ARRAY_SIZE(a9_trace_clkin_sel), CLK_MUX1, 0, 2); in zx296702_top_clocks_init() 333 ARRAY_SIZE(decppu_aclk_sel), CLK_MUX, 6, 2); in zx296702_top_clocks_init() 336 ARRAY_SIZE(decppu_aclk_sel), CLK_MUX, 8, 2); in zx296702_top_clocks_init() 339 ARRAY_SIZE(decppu_aclk_sel), CLK_MUX, 12, 2); in zx296702_top_clocks_init() 342 ARRAY_SIZE(decppu_aclk_sel), CLK_MUX, 10, 2); in zx296702_top_clocks_init() 345 ARRAY_SIZE(vou_main_wclk_sel), CLK_MUX, 14, 2); in zx296702_top_clocks_init() [all …]
|
/linux-4.4.14/drivers/pinctrl/sirf/ |
D | pinctrl-prima2.c | 149 .muxmask_counts = ARRAY_SIZE(lcd_16bits_sirfsoc_muxmask), 176 .muxmask_counts = ARRAY_SIZE(lcd_18bits_muxmask), 204 .muxmask_counts = ARRAY_SIZE(lcd_24bits_muxmask), 232 .muxmask_counts = ARRAY_SIZE(lcdrom_muxmask), 253 .muxmask_counts = ARRAY_SIZE(uart0_muxmask), 270 .muxmask_counts = ARRAY_SIZE(uart0_nostreamctrl_muxmask), 284 .muxmask_counts = ARRAY_SIZE(uart1_muxmask), 298 .muxmask_counts = ARRAY_SIZE(uart2_muxmask), 315 .muxmask_counts = ARRAY_SIZE(uart2_nostreamctrl_muxmask), 332 .muxmask_counts = ARRAY_SIZE(sdmmc3_muxmask), [all …]
|
D | pinctrl-atlas6.c | 145 .muxmask_counts = ARRAY_SIZE(lcd_16bits_sirfsoc_muxmask), 172 .muxmask_counts = ARRAY_SIZE(lcd_18bits_muxmask), 200 .muxmask_counts = ARRAY_SIZE(lcd_24bits_muxmask), 228 .muxmask_counts = ARRAY_SIZE(lcdrom_muxmask), 252 .muxmask_counts = ARRAY_SIZE(uart0_muxmask), 269 .muxmask_counts = ARRAY_SIZE(uart0_nostreamctrl_muxmask), 283 .muxmask_counts = ARRAY_SIZE(uart1_muxmask), 300 .muxmask_counts = ARRAY_SIZE(uart2_muxmask), 317 .muxmask_counts = ARRAY_SIZE(uart2_nostreamctrl_muxmask), 334 .muxmask_counts = ARRAY_SIZE(sdmmc3_muxmask), [all …]
|
D | pinctrl-atlas7.c | 279 .num_pins = ARRAY_SIZE(p), \ 293 .num_groups = ARRAY_SIZE(g), \ 1554 .pad_mux_count = ARRAY_SIZE(gnss_gpio_grp_pad_mux), 1594 .pad_mux_count = ARRAY_SIZE(lcd_vip_gpio_grp_pad_mux), 1631 .pad_mux_count = ARRAY_SIZE(sdio_i2s_gpio_grp_pad_mux), 1666 .pad_mux_count = ARRAY_SIZE(sp_rgmii_gpio_grp_pad_mux), 1684 .pad_mux_count = ARRAY_SIZE(lvds_gpio_grp_pad_mux), 1721 .pad_mux_count = ARRAY_SIZE(jtag_uart_nand_gpio_grp_pad_mux), 1743 .pad_mux_count = ARRAY_SIZE(rtc_gpio_grp_pad_mux), 1755 .pad_mux_count = ARRAY_SIZE(audio_ac97_grp_pad_mux), [all …]
|
/linux-4.4.14/drivers/net/wireless/zd1211rw/ |
D | zd_rf_al7230b.c | 85 r = zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in zd1211b_al7230b_finalize() 170 r = zd_iowrite16a_locked(chip, ioreqs_1, ARRAY_SIZE(ioreqs_1)); in zd1211_al7230b_init_hw() 174 r = zd_rfwritev_cr_locked(chip, chan_rv[0], ARRAY_SIZE(chan_rv[0])); in zd1211_al7230b_init_hw() 178 r = zd_rfwritev_cr_locked(chip, std_rv, ARRAY_SIZE(std_rv)); in zd1211_al7230b_init_hw() 182 r = zd_rfwritev_cr_locked(chip, rv_init1, ARRAY_SIZE(rv_init1)); in zd1211_al7230b_init_hw() 186 r = zd_iowrite16a_locked(chip, ioreqs_2, ARRAY_SIZE(ioreqs_2)); in zd1211_al7230b_init_hw() 190 r = zd_rfwritev_cr_locked(chip, rv_init2, ARRAY_SIZE(rv_init2)); in zd1211_al7230b_init_hw() 285 r = zd_iowrite16a_locked(chip, ioreqs_1, ARRAY_SIZE(ioreqs_1)); in zd1211b_al7230b_init_hw() 291 ARRAY_SIZE(ioreqs_new_phy)); in zd1211b_al7230b_init_hw() 294 ARRAY_SIZE(ioreqs_old_phy)); in zd1211b_al7230b_init_hw() [all …]
|
D | zd_rf_al2230.c | 90 r = zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in zd1211b_al2230_finalize_rf() 179 r = zd_iowrite16a_locked(chip, ioreqs_init, ARRAY_SIZE(ioreqs_init)); in zd1211_al2230_init_hw() 185 ARRAY_SIZE(ioreqs_init_al2230s)); in zd1211_al2230_init_hw() 190 r = zd_rfwritev_locked(chip, rv1, ARRAY_SIZE(rv1), RF_RV_BITS); in zd1211_al2230_init_hw() 202 r = zd_rfwritev_locked(chip, rv2, ARRAY_SIZE(rv2), RF_RV_BITS); in zd1211_al2230_init_hw() 206 r = zd_iowrite16a_locked(chip, ioreqs_pll, ARRAY_SIZE(ioreqs_pll)); in zd1211_al2230_init_hw() 210 r = zd_rfwritev_locked(chip, rv3, ARRAY_SIZE(rv3), RF_RV_BITS); in zd1211_al2230_init_hw() 316 ARRAY_SIZE(zd1211b_ioreqs_shared_1)); in zd1211b_al2230_init_hw() 319 r = zd_iowrite16a_locked(chip, ioreqs1, ARRAY_SIZE(ioreqs1)); in zd1211b_al2230_init_hw() 325 ARRAY_SIZE(ioreqs_init_al2230s)); in zd1211b_al2230_init_hw() [all …]
|
/linux-4.4.14/arch/arm/mach-pxa/ |
D | devices.c | 82 .num_resources = ARRAY_SIZE(pxamci_resources), 120 .num_resources = ARRAY_SIZE(pxa2xx_udc_resources), 131 .num_resources = ARRAY_SIZE(pxa2xx_udc_resources), 156 .num_resources = ARRAY_SIZE(pxa3xx_u2d_resources), 187 .num_resources = ARRAY_SIZE(pxafb_resources), 213 .num_resources = ARRAY_SIZE(pxa_resource_ffuart), 237 .num_resources = ARRAY_SIZE(pxa_resource_btuart), 261 .num_resources = ARRAY_SIZE(pxa_resource_stuart), 285 .num_resources = ARRAY_SIZE(pxa_resource_hwuart), 312 .num_resources = ARRAY_SIZE(pxai2c_resources), [all …]
|
/linux-4.4.14/sound/soc/codecs/ |
D | isabelle.c | 144 ARRAY_SIZE(isabelle_rx1_texts), isabelle_rx1_texts), 146 ARRAY_SIZE(isabelle_rx1_texts), isabelle_rx1_texts), 151 ARRAY_SIZE(isabelle_rx2_texts), isabelle_rx2_texts), 153 ARRAY_SIZE(isabelle_rx2_texts), isabelle_rx2_texts), 169 ARRAY_SIZE(isabelle_atx_texts), isabelle_atx_texts), 171 ARRAY_SIZE(isabelle_atx_texts), isabelle_atx_texts), 176 ARRAY_SIZE(isabelle_vtx_texts), isabelle_vtx_texts), 178 ARRAY_SIZE(isabelle_vtx_texts), isabelle_vtx_texts), 214 ARRAY_SIZE(isabelle_st_audio_texts), 217 ARRAY_SIZE(isabelle_st_audio_texts), [all …]
|
D | wm8523.c | 158 for (i = 0; i < ARRAY_SIZE(lrclk_ratios); i++) { in wm8523_hw_params() 165 if (i == ARRAY_SIZE(lrclk_ratios)) { in wm8523_hw_params() 176 for (i = 0; i < ARRAY_SIZE(bclk_ratios); i++) in wm8523_hw_params() 180 if (i == ARRAY_SIZE(bclk_ratios)) { in wm8523_hw_params() 223 for (i = 0; i < ARRAY_SIZE(lrclk_ratios); i++) { in wm8523_set_dai_sysclk() 338 ret = regulator_bulk_enable(ARRAY_SIZE(wm8523->supplies), in wm8523_set_bias_level() 369 regulator_bulk_disable(ARRAY_SIZE(wm8523->supplies), in wm8523_set_bias_level() 406 ARRAY_SIZE(wm8523->rate_constraint_list); in wm8523_probe() 422 .num_controls = ARRAY_SIZE(wm8523_controls), 424 .num_dapm_widgets = ARRAY_SIZE(wm8523_dapm_widgets), [all …]
|
D | wm8741.c | 114 .count = ARRAY_SIZE(rates_11289), 123 .count = ARRAY_SIZE(rates_12288), 132 .count = ARRAY_SIZE(rates_16384), 141 .count = ARRAY_SIZE(rates_16934), 150 .count = ARRAY_SIZE(rates_18432), 159 .count = ARRAY_SIZE(rates_22579), 168 .count = ARRAY_SIZE(rates_24576), 177 .count = ARRAY_SIZE(rates_36864), 433 ARRAY_SIZE(wm8741_snd_controls_stereo)); in wm8741_add_controls() 438 ARRAY_SIZE(wm8741_snd_controls_mono_left)); in wm8741_add_controls() [all …]
|
D | max9877.c | 62 SOC_ENUM_SINGLE(MAX9877_OUTPUT_MODE, 0, ARRAY_SIZE(max9877_out_mode), 65 ARRAY_SIZE(max9877_osc_mode), max9877_osc_mode), 124 .num_controls = ARRAY_SIZE(max9877_controls), 127 .num_dapm_widgets = ARRAY_SIZE(max9877_dapm_widgets), 129 .num_dapm_routes = ARRAY_SIZE(max9877_dapm_routes), 137 .num_reg_defaults = ARRAY_SIZE(max9877_regs), 152 for (i = 0; i < ARRAY_SIZE(max9877_regs); i++) in max9877_i2c_probe()
|
D | ak5386.c | 28 struct regulator_bulk_data supplies[ARRAY_SIZE(supply_names)]; 44 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_probe() 50 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_remove() 58 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_suspend() 65 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_resume() 78 .num_dapm_widgets = ARRAY_SIZE(ak5386_dapm_widgets), 80 .num_dapm_routes = ARRAY_SIZE(ak5386_dapm_routes), 175 for (i = 0; i < ARRAY_SIZE(supply_names); i++) in ak5386_probe() 178 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(priv->supplies), in ak5386_probe()
|
D | cs42l56.c | 162 ARRAY_SIZE(beep_config_text), beep_config_text); 171 ARRAY_SIZE(beep_pitch_text), beep_pitch_text); 181 ARRAY_SIZE(beep_ontime_text), beep_ontime_text); 190 ARRAY_SIZE(beep_offtime_text), beep_offtime_text); 198 ARRAY_SIZE(beep_treble_text), beep_treble_text); 206 ARRAY_SIZE(beep_bass_text), beep_bass_text); 214 ARRAY_SIZE(adc_swap_text), adc_swap_text); 221 ARRAY_SIZE(pgaa_mux_text), 232 ARRAY_SIZE(pgab_mux_text), 243 ARRAY_SIZE(adca_mux_text), [all …]
|
D | ssm2602.c | 72 SOC_ENUM_SINGLE(SSM2602_APANA, 2, ARRAY_SIZE(ssm2602_input_select), 74 SOC_ENUM_SINGLE(SSM2602_APDIGI, 1, ARRAY_SIZE(ssm2602_deemph), 137 ARRAY_SIZE(ssm260x_output_mixer_controls)), 150 ARRAY_SIZE(ssm260x_output_mixer_controls) - 1), /* Last element is the mic */ 190 .count = ARRAY_SIZE(ssm2602_rates_12288000), 199 .count = ARRAY_SIZE(ssm2602_rates_11289600), 264 for (i = 0; i < ARRAY_SIZE(ssm2602_coeff_table); i++) { in ssm2602_get_coeff() 535 ARRAY_SIZE(ssm2602_snd_controls)); in ssm2602_codec_probe() 540 ARRAY_SIZE(ssm2602_dapm_widgets)); in ssm2602_codec_probe() 545 ARRAY_SIZE(ssm2602_routes)); in ssm2602_codec_probe() [all …]
|
D | wm8770.c | 257 vout1_mix_controls, ARRAY_SIZE(vout1_mix_controls)), 259 vout2_mix_controls, ARRAY_SIZE(vout2_mix_controls)), 261 vout3_mix_controls, ARRAY_SIZE(vout3_mix_controls)), 263 vout4_mix_controls, ARRAY_SIZE(vout4_mix_controls)), 454 for (; i < ARRAY_SIZE(mclk_ratios); ++i) { in wm8770_hw_params() 460 if (i == ARRAY_SIZE(mclk_ratios)) { in wm8770_hw_params() 514 ret = regulator_bulk_enable(ARRAY_SIZE(wm8770->supplies), in wm8770_set_bias_level() 532 regulator_bulk_disable(ARRAY_SIZE(wm8770->supplies), in wm8770_set_bias_level() 578 ret = regulator_bulk_enable(ARRAY_SIZE(wm8770->supplies), in wm8770_probe() 607 regulator_bulk_disable(ARRAY_SIZE(wm8770->supplies), wm8770->supplies); in wm8770_probe() [all …]
|
D | tlv320aic3x.c | 135 .num_reg_defaults = ARRAY_SIZE(aic3x_reg), 681 ARRAY_SIZE(aic3x_left_pga_mixer_controls)), 688 ARRAY_SIZE(aic3x_right_pga_mixer_controls)), 716 ARRAY_SIZE(aic3x_left_line_mixer_controls)), 719 ARRAY_SIZE(aic3x_right_line_mixer_controls)), 722 ARRAY_SIZE(aic3x_left_hp_mixer_controls)), 725 ARRAY_SIZE(aic3x_right_hp_mixer_controls)), 728 ARRAY_SIZE(aic3x_left_hpcom_mixer_controls)), 731 ARRAY_SIZE(aic3x_right_hpcom_mixer_controls)), 744 ARRAY_SIZE(aic3104_left_pga_mixer_controls)), [all …]
|
D | wm9090.c | 352 spkmix, ARRAY_SIZE(spkmix)), 354 mixoutl, ARRAY_SIZE(mixoutl)), 356 mixoutr, ARRAY_SIZE(mixoutr)), 363 spkout, ARRAY_SIZE(spkout)), 429 ARRAY_SIZE(wm9090_dapm_widgets)); in wm9090_add_controls() 431 snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map)); in wm9090_add_controls() 434 ARRAY_SIZE(wm9090_controls)); in wm9090_add_controls() 438 ARRAY_SIZE(audio_map_in1_diff)); in wm9090_add_controls() 441 ARRAY_SIZE(audio_map_in1_se)); in wm9090_add_controls() 443 ARRAY_SIZE(wm9090_in1_se_controls)); in wm9090_add_controls() [all …]
|
D | cs42xx8.c | 260 for (i = 0; i < ARRAY_SIZE(cs42xx8_ratios); i++) { in cs42xx8_hw_params() 265 if (i == ARRAY_SIZE(cs42xx8_ratios)) { in cs42xx8_hw_params() 373 .num_reg_defaults = ARRAY_SIZE(cs42xx8_reg), 388 ARRAY_SIZE(cs42xx8_adc3_snd_controls)); in cs42xx8_codec_probe() 390 ARRAY_SIZE(cs42xx8_adc3_dapm_widgets)); in cs42xx8_codec_probe() 392 ARRAY_SIZE(cs42xx8_adc3_dapm_routes)); in cs42xx8_codec_probe() 409 .num_controls = ARRAY_SIZE(cs42xx8_snd_controls), 411 .num_dapm_widgets = ARRAY_SIZE(cs42xx8_dapm_widgets), 413 .num_dapm_routes = ARRAY_SIZE(cs42xx8_dapm_routes), 473 for (i = 0; i < ARRAY_SIZE(cs42xx8->supplies); i++) in cs42xx8_probe() [all …]
|
D | wm8737.c | 337 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in wm8737_hw_params() 350 if (i == ARRAY_SIZE(coeff_div)) { in wm8737_hw_params() 389 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in wm8737_set_dai_sysclk() 472 ret = regulator_bulk_enable(ARRAY_SIZE(wm8737->supplies), in wm8737_set_bias_level() 509 regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies), in wm8737_set_bias_level() 545 ret = regulator_bulk_enable(ARRAY_SIZE(wm8737->supplies), in wm8737_probe() 566 regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies), wm8737->supplies); in wm8737_probe() 571 regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies), wm8737->supplies); in wm8737_probe() 582 .num_controls = ARRAY_SIZE(wm8737_snd_controls), 584 .num_dapm_widgets = ARRAY_SIZE(wm8737_dapm_widgets), [all …]
|
D | es8328.c | 109 for (i = 1; i < ARRAY_SIZE(deemph_settings); i++) { in es8328_set_deemph() 203 ARRAY_SIZE(es8328_line_texts), 210 ARRAY_SIZE(es8328_line_texts), 237 ARRAY_SIZE(es8328_pga_sel), 245 ARRAY_SIZE(es8328_pga_sel), 322 ARRAY_SIZE(es8328_left_mixer_controls)), 325 ARRAY_SIZE(es8328_right_mixer_controls)), 471 for (i = 1; i < ARRAY_SIZE(mclk_ratios); i++) in es8328_hw_params() 615 ret = regulator_bulk_disable(ARRAY_SIZE(es8328->supplies), in es8328_suspend() 638 ret = regulator_bulk_enable(ARRAY_SIZE(es8328->supplies), in es8328_resume() [all …]
|
D | wm8960.c | 172 for (i = 2; i < ARRAY_SIZE(deemph_settings); i++) { in wm8960_set_deemph() 348 wm8960_lin_boost, ARRAY_SIZE(wm8960_lin_boost)), 350 wm8960_rin_boost, ARRAY_SIZE(wm8960_rin_boost)), 353 wm8960_lin, ARRAY_SIZE(wm8960_lin)), 355 wm8960_rin, ARRAY_SIZE(wm8960_rin)), 365 ARRAY_SIZE(wm8960_loutput_mixer)), 368 ARRAY_SIZE(wm8960_routput_mixer)), 391 ARRAY_SIZE(wm8960_mono_out)), 470 ARRAY_SIZE(wm8960_dapm_widgets)); in wm8960_add_widgets() 472 snd_soc_dapm_add_routes(dapm, audio_paths, ARRAY_SIZE(audio_paths)); in wm8960_add_widgets() [all …]
|
D | rt5640.c | 178 for (i = 0; i < ARRAY_SIZE(rt5640_ranges); i++) in rt5640_volatile_register() 213 for (i = 0; i < ARRAY_SIZE(rt5640_ranges); i++) in rt5640_readable_register() 1102 rt5640_rec_l_mix, ARRAY_SIZE(rt5640_rec_l_mix)), 1104 rt5640_rec_r_mix, ARRAY_SIZE(rt5640_rec_r_mix)), 1131 rt5640_sto_adc_l_mix, ARRAY_SIZE(rt5640_sto_adc_l_mix)), 1133 rt5640_sto_adc_r_mix, ARRAY_SIZE(rt5640_sto_adc_r_mix)), 1137 rt5640_mono_adc_l_mix, ARRAY_SIZE(rt5640_mono_adc_l_mix)), 1141 rt5640_mono_adc_r_mix, ARRAY_SIZE(rt5640_mono_adc_r_mix)), 1180 rt5640_dac_l_mix, ARRAY_SIZE(rt5640_dac_l_mix)), 1182 rt5640_dac_r_mix, ARRAY_SIZE(rt5640_dac_r_mix)), [all …]
|
D | adau1761.c | 514 ARRAY_SIZE(adau1761_jack_detect_controls)); in adau1761_setup_digmic_jackdetect() 519 ARRAY_SIZE(adau1761_no_dmic_routes)); in adau1761_setup_digmic_jackdetect() 525 ARRAY_SIZE(adau1761_dmic_widgets)); in adau1761_setup_digmic_jackdetect() 530 ARRAY_SIZE(adau1761_dmic_routes)); in adau1761_setup_digmic_jackdetect() 580 ARRAY_SIZE(adau1761_capless_dapm_widgets)); in adau1761_setup_headphone_mode() 585 ARRAY_SIZE(adau1761_capless_dapm_routes)); in adau1761_setup_headphone_mode() 588 ARRAY_SIZE(adau1761_mono_controls)); in adau1761_setup_headphone_mode() 593 ARRAY_SIZE(adau1761_mono_dapm_widgets)); in adau1761_setup_headphone_mode() 598 ARRAY_SIZE(adau1761_mono_dapm_routes)); in adau1761_setup_headphone_mode() 659 ARRAY_SIZE(adau1761_differential_mode_controls)); in adau1761_codec_probe() [all …]
|
D | tas5086.c | 228 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in tas5086_reg_read() 231 else if (ret != ARRAY_SIZE(msgs)) in tas5086_reg_read() 259 struct regulator_bulk_data supplies[ARRAY_SIZE(supply_names)]; 270 for (i = 0; i < ARRAY_SIZE(tas5086_deemph); i++) { in tas5086_set_deemph() 373 ARRAY_SIZE(tas5086_sample_rates), priv->rate); in tas5086_hw_params() 387 val = index_in_array(tas5086_ratios, ARRAY_SIZE(tas5086_ratios), in tas5086_hw_params() 511 ARRAY_SIZE(tas5086_charge_period), in tas5086_init() 786 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in tas5086_soc_suspend() 796 ret = regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in tas5086_soc_resume() 831 ret = regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in tas5086_probe() [all …]
|
D | lm49453.c | 702 ARRAY_SIZE(lm49453_sidetone_mixer_controls)), 707 ARRAY_SIZE(lm49453_headset_left_mixer)), 710 ARRAY_SIZE(lm49453_headset_right_mixer)), 713 ARRAY_SIZE(lm49453_lineout_left_mixer)), 716 ARRAY_SIZE(lm49453_lineout_right_mixer)), 719 ARRAY_SIZE(lm49453_speaker_left_mixer)), 722 ARRAY_SIZE(lm49453_speaker_right_mixer)), 725 ARRAY_SIZE(lm49453_haptic_left_mixer)), 728 ARRAY_SIZE(lm49453_haptic_right_mixer)), 733 ARRAY_SIZE(lm49453_port1_tx1_mixer)), [all …]
|
D | alc5623.c | 271 ARRAY_SIZE(alc5623_hp_mixer_controls)), 274 ARRAY_SIZE(alc5623_hpr_mixer_controls)), 277 ARRAY_SIZE(alc5623_hpl_mixer_controls)), 281 ARRAY_SIZE(alc5623_mono_mixer_controls)), 284 ARRAY_SIZE(alc5623_speaker_mixer_controls)), 289 ARRAY_SIZE(alc5623_captureL_mixer_controls)), 292 ARRAY_SIZE(alc5623_captureR_mixer_controls)), 551 for (i = 0; i < ARRAY_SIZE(codec_master_pll_div); i++) { in alc5623_set_dai_pll() 561 for (i = 0; i < ARRAY_SIZE(codec_slave_pll_div); i++) { in alc5623_set_dai_pll() 612 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff() [all …]
|
D | wm8985.c | 435 2, 0, left_out_mixer, ARRAY_SIZE(left_out_mixer)), 437 3, 0, right_out_mixer, ARRAY_SIZE(right_out_mixer)), 440 2, 0, left_input_mixer, ARRAY_SIZE(left_input_mixer)), 442 3, 0, right_input_mixer, ARRAY_SIZE(right_input_mixer)), 445 4, 0, left_boost_mixer, ARRAY_SIZE(left_boost_mixer)), 447 5, 0, right_boost_mixer, ARRAY_SIZE(right_boost_mixer)), 729 for (i = 1; i < ARRAY_SIZE(srates); ++i) { in wm8985_hw_params() 743 for (i = 0; i < ARRAY_SIZE(fs_ratios); ++i) { in wm8985_hw_params() 749 if (i == ARRAY_SIZE(fs_ratios)) { in wm8985_hw_params() 761 for (i = 0; i < ARRAY_SIZE(bclk_divs); ++i) { in wm8985_hw_params() [all …]
|
/linux-4.4.14/drivers/scsi/ |
D | constants.c | 116 #define MAINT_IN_SZ ARRAY_SIZE(maint_in_arr) 127 #define MAINT_OUT_SZ ARRAY_SIZE(maint_out_arr) 132 #define SERV_IN12_SZ ARRAY_SIZE(serv_in12_arr) 137 #define SERV_OUT12_SZ ARRAY_SIZE(serv_out12_arr) 142 #define SERV_BIDI_SZ ARRAY_SIZE(serv_bidi_arr) 150 #define SERV_IN16_SZ ARRAY_SIZE(serv_in16_arr) 156 #define SERV_OUT16_SZ ARRAY_SIZE(serv_out16_arr) 164 #define PR_IN_SZ ARRAY_SIZE(pr_in_arr) 176 #define PR_OUT_SZ ARRAY_SIZE(pr_out_arr) 188 #define TPC_OUT_SZ ARRAY_SIZE(tpc_out_arr) [all …]
|
/linux-4.4.14/drivers/iio/adc/ |
D | max1363.c | 523 MAX1363_4X_CHANS(10, max1363_events, ARRAY_SIZE(max1363_events)); 525 MAX1363_4X_CHANS(12, max1363_events, ARRAY_SIZE(max1363_events)); 701 for (i = 0; i < ARRAY_SIZE(max1363_monitor_speeds); i++) in max1363_monitor_store_freq() 1051 .num_modes = ARRAY_SIZE(max1363_mode_list), 1054 .num_channels = ARRAY_SIZE(max1361_channels), 1061 .num_modes = ARRAY_SIZE(max1363_mode_list), 1064 .num_channels = ARRAY_SIZE(max1361_channels), 1071 .num_modes = ARRAY_SIZE(max1363_mode_list), 1074 .num_channels = ARRAY_SIZE(max1363_channels), 1081 .num_modes = ARRAY_SIZE(max1363_mode_list), [all …]
|
/linux-4.4.14/drivers/media/usb/gspca/ |
D | ov534_9.c | 1437 gspca_dev->cam.nmodes = ARRAY_SIZE(ov965x_mode); in sd_init() 1440 ARRAY_SIZE(bridge_init)); in sd_init() 1442 ARRAY_SIZE(ov965x_init)); in sd_init() 1444 ARRAY_SIZE(bridge_init_2)); in sd_init() 1446 ARRAY_SIZE(ov965x_init_2)); in sd_init() 1458 gspca_dev->cam.nmodes = ARRAY_SIZE(ov971x_mode); in sd_init() 1465 ARRAY_SIZE(ov971x_init)); in sd_init() 1486 gspca_dev->cam.nmodes = ARRAY_SIZE(ov562x_mode); in sd_init() 1489 ARRAY_SIZE(ov562x_init)); in sd_init() 1491 ARRAY_SIZE(ov562x_init_2)); in sd_init() [all …]
|
D | sq930x.c | 646 for (i = 0; i < ARRAY_SIZE(probe_order); i++) { in cmos_probe() 656 if (i >= ARRAY_SIZE(probe_order)) { in cmos_probe() 687 for (i = 0; i < ARRAY_SIZE(cmd_011b); i++) { in mt9v111_init() 689 ARRAY_SIZE(cmd_011b[0])); in mt9v111_init() 733 ARRAY_SIZE(mi0360_start_0), in global_init() 755 ucbus_write(&sd->gspca_dev, cmds, ARRAY_SIZE(cmds), 2); in lz24bp_ppl() 823 cam->nmodes = ARRAY_SIZE(vga_mode); in sd_config() 927 ARRAY_SIZE(icx098bq_start_0), in sd_start() 930 ARRAY_SIZE(icx098bq_start_1), in sd_start() 933 ARRAY_SIZE(icx098bq_start_2), in sd_start() [all …]
|
D | topro.c | 182 .nrates = ARRAY_SIZE(rates) 186 .nrates = ARRAY_SIZE(rates) 193 .nrates = ARRAY_SIZE(rates_6810) 197 .nrates = ARRAY_SIZE(rates_6810) 1243 reg_w_buf(gspca_dev, reg_init_1, ARRAY_SIZE(reg_init_1)); in cx0342_6810_init() 1245 ARRAY_SIZE(tp6810_cx_init_common)); in cx0342_6810_init() 1246 reg_w_buf(gspca_dev, reg_init_2, ARRAY_SIZE(reg_init_2)); in cx0342_6810_init() 1249 i2c_w_buf(gspca_dev, sensor_init, ARRAY_SIZE(sensor_init)); in cx0342_6810_init() 1250 i2c_w_buf(gspca_dev, cx0342_timing_seq, ARRAY_SIZE(cx0342_timing_seq)); in cx0342_6810_init() 1398 reg_w_buf(gspca_dev, reg_init_1, ARRAY_SIZE(reg_init_1)); in soi763a_6810_init() [all …]
|
/linux-4.4.14/drivers/clk/samsung/ |
D | clk-s3c2410.c | 63 ARRAY_SIZE(s3c2410_clk_regs)); in s3c2410_clk_suspend() 71 ARRAY_SIZE(s3c2410_clk_regs)); in s3c2410_clk_resume() 82 ARRAY_SIZE(s3c2410_clk_regs)); in s3c2410_clk_sleep_init() 358 ARRAY_SIZE(s3c2410_common_frate_clks)); in s3c2410_common_clk_register_fixed_ext() 392 ARRAY_SIZE(s3c2410_plls), reg_base); in s3c2410_common_clk_init() 408 ARRAY_SIZE(s3c244x_common_plls), reg_base); in s3c2410_common_clk_init() 413 ARRAY_SIZE(s3c2410_common_muxes)); in s3c2410_common_clk_init() 415 ARRAY_SIZE(s3c2410_common_dividers)); in s3c2410_common_clk_init() 417 ARRAY_SIZE(s3c2410_common_gates)); in s3c2410_common_clk_init() 421 ARRAY_SIZE(s3c244x_common_dividers)); in s3c2410_common_clk_init() [all …]
|
D | clk-exynos7.c | 192 .nr_pll_clks = ARRAY_SIZE(topc_pll_clks), 194 .nr_mux_clks = ARRAY_SIZE(topc_mux_clks), 196 .nr_div_clks = ARRAY_SIZE(topc_div_clks), 198 .nr_gate_clks = ARRAY_SIZE(topc_gate_clks), 200 .nr_fixed_factor_clks = ARRAY_SIZE(topc_fixed_factor_clks), 203 .nr_clk_regs = ARRAY_SIZE(topc_clk_regs), 386 .nr_mux_clks = ARRAY_SIZE(top0_mux_clks), 388 .nr_div_clks = ARRAY_SIZE(top0_div_clks), 390 .nr_gate_clks = ARRAY_SIZE(top0_gate_clks), 392 .nr_fixed_factor_clks = ARRAY_SIZE(top0_fixed_factor_clks), [all …]
|
D | clk-exynos5260.c | 139 cmu.nr_mux_clks = ARRAY_SIZE(aud_mux_clks); in exynos5260_clk_aud_init() 141 cmu.nr_div_clks = ARRAY_SIZE(aud_div_clks); in exynos5260_clk_aud_init() 143 cmu.nr_gate_clks = ARRAY_SIZE(aud_gate_clks); in exynos5260_clk_aud_init() 146 cmu.nr_clk_regs = ARRAY_SIZE(aud_clk_regs); in exynos5260_clk_aud_init() 329 cmu.nr_mux_clks = ARRAY_SIZE(disp_mux_clks); in exynos5260_clk_disp_init() 331 cmu.nr_div_clks = ARRAY_SIZE(disp_div_clks); in exynos5260_clk_disp_init() 333 cmu.nr_gate_clks = ARRAY_SIZE(disp_gate_clks); in exynos5260_clk_disp_init() 336 cmu.nr_clk_regs = ARRAY_SIZE(disp_clk_regs); in exynos5260_clk_disp_init() 393 cmu.nr_pll_clks = ARRAY_SIZE(egl_pll_clks); in exynos5260_clk_egl_init() 395 cmu.nr_mux_clks = ARRAY_SIZE(egl_mux_clks); in exynos5260_clk_egl_init() [all …]
|
D | clk-s3c2443.c | 76 ARRAY_SIZE(s3c2443_clk_regs)); in s3c2443_clk_suspend() 84 ARRAY_SIZE(s3c2443_clk_regs)); in s3c2443_clk_resume() 95 ARRAY_SIZE(s3c2443_clk_regs)); in s3c2443_clk_sleep_init() 385 ARRAY_SIZE(s3c2443_common_frate_clks)); in s3c2443_common_clk_register_fixed_ext() 413 ARRAY_SIZE(s3c2416_pll_clks), reg_base); in s3c2443_common_clk_init() 416 ARRAY_SIZE(s3c2443_pll_clks), reg_base); in s3c2443_common_clk_init() 420 ARRAY_SIZE(s3c2443_common_muxes)); in s3c2443_common_clk_init() 422 ARRAY_SIZE(s3c2443_common_dividers)); in s3c2443_common_clk_init() 424 ARRAY_SIZE(s3c2443_common_gates)); in s3c2443_common_clk_init() 426 ARRAY_SIZE(s3c2443_common_aliases)); in s3c2443_common_clk_init() [all …]
|
D | clk-s3c64xx.c | 100 ARRAY_SIZE(s3c64xx_clk_regs)); in s3c64xx_clk_suspend() 104 ARRAY_SIZE(s3c6410_clk_regs)); in s3c64xx_clk_suspend() 112 ARRAY_SIZE(s3c64xx_clk_regs)); in s3c64xx_clk_resume() 116 ARRAY_SIZE(s3c6410_clk_regs)); in s3c64xx_clk_resume() 127 ARRAY_SIZE(s3c64xx_clk_regs)); in s3c64xx_clk_sleep_init() 133 ARRAY_SIZE(s3c6410_clk_regs)); in s3c64xx_clk_sleep_init() 454 ARRAY_SIZE(s3c64xx_fixed_rate_ext_clks)); in s3c64xx_clk_register_fixed_ext() 483 ARRAY_SIZE(s3c64xx_pll_clks), reg_base); in s3c64xx_clk_init() 487 ARRAY_SIZE(s3c64xx_fixed_rate_clks)); in s3c64xx_clk_init() 489 ARRAY_SIZE(s3c64xx_mux_clks)); in s3c64xx_clk_init() [all …]
|
D | clk-s3c2412.c | 56 ARRAY_SIZE(s3c2412_clk_regs)); in s3c2412_clk_suspend() 64 ARRAY_SIZE(s3c2412_clk_regs)); in s3c2412_clk_resume() 75 ARRAY_SIZE(s3c2412_clk_regs)); in s3c2412_clk_sleep_init() 249 ARRAY_SIZE(s3c2412_common_frate_clks)); in s3c2412_common_clk_register_fixed_ext() 276 samsung_clk_register_pll(ctx, s3c2412_plls, ARRAY_SIZE(s3c2412_plls), in s3c2412_common_clk_init() 280 samsung_clk_register_mux(ctx, s3c2412_muxes, ARRAY_SIZE(s3c2412_muxes)); in s3c2412_common_clk_init() 282 ARRAY_SIZE(s3c2412_dividers)); in s3c2412_common_clk_init() 284 ARRAY_SIZE(s3c2412_gates)); in s3c2412_common_clk_init() 286 ARRAY_SIZE(s3c2412_ffactor)); in s3c2412_common_clk_init() 288 ARRAY_SIZE(s3c2412_aliases)); in s3c2412_common_clk_init()
|
D | clk-exynos4.c | 314 ARRAY_SIZE(exynos4_clk_regs)); in exynos4_clk_suspend() 316 ARRAY_SIZE(exynos4_clk_pll_regs)); in exynos4_clk_suspend() 320 ARRAY_SIZE(exynos4210_clk_save)); in exynos4_clk_suspend() 322 ARRAY_SIZE(src_mask_suspend_e4210)); in exynos4_clk_suspend() 325 ARRAY_SIZE(exynos4x12_clk_save)); in exynos4_clk_suspend() 329 ARRAY_SIZE(src_mask_suspend)); in exynos4_clk_suspend() 337 ARRAY_SIZE(exynos4_clk_pll_regs)); in exynos4_clk_resume() 343 ARRAY_SIZE(exynos4_clk_regs)); in exynos4_clk_resume() 347 ARRAY_SIZE(exynos4210_clk_save)); in exynos4_clk_resume() 350 ARRAY_SIZE(exynos4x12_clk_save)); in exynos4_clk_resume() [all …]
|
/linux-4.4.14/drivers/video/backlight/ |
D | hx8357.c | 351 ARRAY_SIZE(hx8357_seq_power)); in hx8357_lcd_init() 356 ARRAY_SIZE(hx8357_seq_vcom)); in hx8357_lcd_init() 361 ARRAY_SIZE(hx8357_seq_power_normal)); in hx8357_lcd_init() 366 ARRAY_SIZE(hx8357_seq_panel_driving)); in hx8357_lcd_init() 371 ARRAY_SIZE(hx8357_seq_display_frame)); in hx8357_lcd_init() 376 ARRAY_SIZE(hx8357_seq_panel_related)); in hx8357_lcd_init() 381 ARRAY_SIZE(hx8357_seq_undefined1)); in hx8357_lcd_init() 386 ARRAY_SIZE(hx8357_seq_undefined2)); in hx8357_lcd_init() 391 ARRAY_SIZE(hx8357_seq_gamma)); in hx8357_lcd_init() 396 ARRAY_SIZE(hx8357_seq_address_mode)); in hx8357_lcd_init() [all …]
|
D | lms501kf03.c | 178 ARRAY_SIZE(seq_password), in lms501kf03_ldi_init() 179 ARRAY_SIZE(seq_power), in lms501kf03_ldi_init() 180 ARRAY_SIZE(seq_display), in lms501kf03_ldi_init() 181 ARRAY_SIZE(seq_rgb_if), in lms501kf03_ldi_init() 182 ARRAY_SIZE(seq_display_inv), in lms501kf03_ldi_init() 183 ARRAY_SIZE(seq_vcom), in lms501kf03_ldi_init() 184 ARRAY_SIZE(seq_gate), in lms501kf03_ldi_init() 185 ARRAY_SIZE(seq_panel), in lms501kf03_ldi_init() 186 ARRAY_SIZE(seq_col_mod), in lms501kf03_ldi_init() 187 ARRAY_SIZE(seq_w_gamma), in lms501kf03_ldi_init() [all …]
|
/linux-4.4.14/arch/arm/mach-w90x900/ |
D | dev.c | 74 .nr_parts = ARRAY_SIZE(nuc900_flash_partitions), 92 .num_resources = ARRAY_SIZE(nuc900_flash_resources), 115 .num_resources = ARRAY_SIZE(nuc900_usb_ehci_resource), 142 .num_resources = ARRAY_SIZE(nuc900_usb_ohci_resource), 168 .num_resources = ARRAY_SIZE(nuc900_usbgadget_resource), 196 .num_resources = ARRAY_SIZE(nuc900_emc_resource), 234 .num_resources = ARRAY_SIZE(nuc900_spi_resource), 254 .nr_parts = ARRAY_SIZE(nuc900_spi_flash_partitions), 287 .num_resources = ARRAY_SIZE(nuc900_wdt_resource), 318 .num_resources = ARRAY_SIZE(nuc900_rtc_resource), [all …]
|
/linux-4.4.14/arch/arm/plat-samsung/ |
D | devs.c | 89 .num_resources = ARRAY_SIZE(s3c_ac97_resource), 111 .num_resources = ARRAY_SIZE(s3c_adc_resource), 126 .num_resources = ARRAY_SIZE(s3c_adc_resource), 143 .num_resources = ARRAY_SIZE(s3c_camif_resource), 165 .num_resources = ARRAY_SIZE(s3c_fb_resource), 213 .num_resources = ARRAY_SIZE(s3c_hsmmc_resource), 243 .num_resources = ARRAY_SIZE(s3c_hsmmc1_resource), 275 .num_resources = ARRAY_SIZE(s3c_hsmmc2_resource), 305 .num_resources = ARRAY_SIZE(s3c_hsmmc3_resource), 330 .num_resources = ARRAY_SIZE(s3c_i2c0_resource), [all …]
|
/linux-4.4.14/drivers/clk/sirf/ |
D | clk-common.c | 201 .num_parents = ARRAY_SIZE(pll_clk_parents), 208 .num_parents = ARRAY_SIZE(pll_clk_parents), 215 .num_parents = ARRAY_SIZE(pll_clk_parents), 278 .num_parents = ARRAY_SIZE(pll_clk_parents), 452 .num_parents = ARRAY_SIZE(dmn_clk_parents), 466 .num_parents = ARRAY_SIZE(dmn_clk_parents), 481 .num_parents = ARRAY_SIZE(dmn_clk_parents), 503 .num_parents = ARRAY_SIZE(dmn_clk_parents), 531 .num_parents = ARRAY_SIZE(dmn_clk_parents), 546 .num_parents = ARRAY_SIZE(dmn_clk_parents), [all …]
|
D | clk-atlas7.c | 399 .num_parents = ARRAY_SIZE(pll_clk_parents), 413 .num_parents = ARRAY_SIZE(pll_clk_parents), 427 .num_parents = ARRAY_SIZE(pll_clk_parents), 441 .num_parents = ARRAY_SIZE(pll_clk_parents), 455 .num_parents = ARRAY_SIZE(pll_clk_parents), 469 .num_parents = ARRAY_SIZE(pll_clk_parents), 603 .num_parents = ARRAY_SIZE(audiodto_clk_parents), 624 .num_parents = ARRAY_SIZE(disp0dto_clk_parents), 645 .num_parents = ARRAY_SIZE(disp1dto_clk_parents), 1023 { "i2s_mux", i2s_clk_parents, ARRAY_SIZE(i2s_clk_parents), 0, 0, SIRFSOC_CLKC_I2S_CLK_SEL, 0, 2 }, [all …]
|
/linux-4.4.14/drivers/media/usb/gspca/gl860/ |
D | gl860-ov9655.c | 190 ARRAY_SIZE(tbl_init_at_startup)); in ov9655_init_at_startup() 191 fetch_validx(gspca_dev, tbl_commmon, ARRAY_SIZE(tbl_commmon)); in ov9655_init_at_startup() 204 fetch_validx(gspca_dev, tbl_commmon, ARRAY_SIZE(tbl_commmon)); in ov9655_init_pre_alt() 231 ARRAY_SIZE(tbl_init_post_alt)); in ov9655_init_post_alt() 235 ARRAY_SIZE(tbl_init_post_alt), n); in ov9655_init_post_alt() 238 ARRAY_SIZE(tbl_init_post_alt), n); in ov9655_init_post_alt() 241 ARRAY_SIZE(tbl_init_post_alt), n); in ov9655_init_post_alt() 244 ARRAY_SIZE(tbl_init_post_alt), n); in ov9655_init_post_alt() 247 ARRAY_SIZE(tbl_init_post_alt), n); in ov9655_init_post_alt() 251 ARRAY_SIZE(tbl_init_post_alt), n); in ov9655_init_post_alt() [all …]
|
/linux-4.4.14/drivers/clk/spear/ |
D | spear1310_clock.c | 418 ARRAY_SIZE(vco_parents), CLK_SET_RATE_NO_REPARENT, in spear1310_clk_init() 424 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1310_clk_init() 429 ARRAY_SIZE(vco_parents), CLK_SET_RATE_NO_REPARENT, in spear1310_clk_init() 435 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1310_clk_init() 440 ARRAY_SIZE(vco_parents), CLK_SET_RATE_NO_REPARENT, in spear1310_clk_init() 446 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1310_clk_init() 452 ARRAY_SIZE(pll4_rtbl), &_lock, &clk1, NULL); in spear1310_clk_init() 517 ARRAY_SIZE(gpt_parents), CLK_SET_RATE_NO_REPARENT, in spear1310_clk_init() 527 ARRAY_SIZE(gpt_parents), CLK_SET_RATE_NO_REPARENT, in spear1310_clk_init() 537 ARRAY_SIZE(gpt_parents), CLK_SET_RATE_NO_REPARENT, in spear1310_clk_init() [all …]
|
D | spear1340_clock.c | 475 ARRAY_SIZE(vco_parents), CLK_SET_RATE_NO_REPARENT, in spear1340_clk_init() 481 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1340_clk_init() 486 ARRAY_SIZE(vco_parents), CLK_SET_RATE_NO_REPARENT, in spear1340_clk_init() 492 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1340_clk_init() 497 ARRAY_SIZE(vco_parents), CLK_SET_RATE_NO_REPARENT, in spear1340_clk_init() 503 ARRAY_SIZE(pll_rtbl), &_lock, &clk1, NULL); in spear1340_clk_init() 509 ARRAY_SIZE(pll4_rtbl), &_lock, &clk1, NULL); in spear1340_clk_init() 554 ARRAY_SIZE(sys_synth_rtbl), &_lock); in spear1340_clk_init() 559 ARRAY_SIZE(amba_synth_rtbl), &_lock); in spear1340_clk_init() 563 ARRAY_SIZE(sys_parents), CLK_SET_RATE_NO_REPARENT, in spear1340_clk_init() [all …]
|
D | spear3xx_clock.c | 298 ARRAY_SIZE(i2s_ref_parents), in spear320_clk_init() 318 ARRAY_SIZE(uartx_parents), in spear320_clk_init() 325 ARRAY_SIZE(sdhci_parents), in spear320_clk_init() 332 ARRAY_SIZE(smii0_parents), CLK_SET_RATE_NO_REPARENT, in spear320_clk_init() 341 ARRAY_SIZE(uartx_parents), in spear320_clk_init() 350 ARRAY_SIZE(uartx_parents), in spear320_clk_init() 359 ARRAY_SIZE(uartx_parents), in spear320_clk_init() 366 ARRAY_SIZE(uartx_parents), in spear320_clk_init() 373 ARRAY_SIZE(uartx_parents), in spear320_clk_init() 380 ARRAY_SIZE(uartx_parents), in spear320_clk_init() [all …]
|
D | spear6xx_clock.c | 139 0, PLL1_CTR, PLL1_FRQ, pll_rtbl, ARRAY_SIZE(pll_rtbl), in spear6xx_clk_init() 145 0, PLL2_CTR, PLL2_FRQ, pll_rtbl, ARRAY_SIZE(pll_rtbl), in spear6xx_clk_init() 165 UART_CLK_SYNT, NULL, aux_rtbl, ARRAY_SIZE(aux_rtbl), in spear6xx_clk_init() 171 ARRAY_SIZE(uart_parents), CLK_SET_RATE_NO_REPARENT, in spear6xx_clk_init() 185 0, FIRDA_CLK_SYNT, NULL, aux_rtbl, ARRAY_SIZE(aux_rtbl), in spear6xx_clk_init() 191 ARRAY_SIZE(firda_parents), CLK_SET_RATE_NO_REPARENT, in spear6xx_clk_init() 201 0, CLCD_CLK_SYNT, NULL, aux_rtbl, ARRAY_SIZE(aux_rtbl), in spear6xx_clk_init() 207 ARRAY_SIZE(clcd_parents), CLK_SET_RATE_NO_REPARENT, in spear6xx_clk_init() 218 gpt_rtbl, ARRAY_SIZE(gpt_rtbl), &_lock); in spear6xx_clk_init() 222 ARRAY_SIZE(gpt0_1_parents), CLK_SET_RATE_NO_REPARENT, in spear6xx_clk_init() [all …]
|
/linux-4.4.14/arch/arm/mach-s3c24xx/ |
D | irq-pm.c | 77 for (i = 0; i < ARRAY_SIZE(save_extint); i++) in s3c24xx_irq_suspend() 80 for (i = 0; i < ARRAY_SIZE(save_eintflt); i++) in s3c24xx_irq_suspend() 83 s3c_pm_do_save(irq_save, ARRAY_SIZE(irq_save)); in s3c24xx_irq_suspend() 93 for (i = 0; i < ARRAY_SIZE(save_extint); i++) in s3c24xx_irq_resume() 96 for (i = 0; i < ARRAY_SIZE(save_eintflt); i++) in s3c24xx_irq_resume() 99 s3c_pm_do_restore(irq_save, ARRAY_SIZE(irq_save)); in s3c24xx_irq_resume() 115 s3c_pm_do_save(s3c2416_irq_save, ARRAY_SIZE(s3c2416_irq_save)); in s3c2416_irq_suspend() 122 s3c_pm_do_restore(s3c2416_irq_save, ARRAY_SIZE(s3c2416_irq_save)); in s3c2416_irq_resume()
|
D | mach-anubis.c | 182 .nr_partitions = ARRAY_SIZE(anubis_default_nand_part), 189 .nr_partitions = ARRAY_SIZE(anubis_default_nand_part), 196 .nr_partitions = ARRAY_SIZE(anubis_default_nand_part), 223 .nr_sets = ARRAY_SIZE(anubis_nand_sets), 243 .num_resources = ARRAY_SIZE(anubis_ide0_resource), 260 .num_resources = ARRAY_SIZE(anubis_ide1_resource), 285 .num_resources = ARRAY_SIZE(anubis_asix_resource), 338 .gpio_i2c_nr = ARRAY_SIZE(anubis_sm501_gpio_i2c), 344 .num_resources = ARRAY_SIZE(anubis_sm501_resource), 389 s3c24xx_init_io(anubis_iodesc, ARRAY_SIZE(anubis_iodesc)); in anubis_map_io() [all …]
|
D | mach-osiris.c | 196 .nr_partitions = ARRAY_SIZE(osiris_default_nand_part), 203 .nr_partitions = ARRAY_SIZE(osiris_default_nand_part), 211 .nr_partitions = ARRAY_SIZE(osiris_default_nand_part), 238 .nr_sets = ARRAY_SIZE(osiris_nand_sets), 253 .num_resources = ARRAY_SIZE(osiris_pcmcia_resource), 363 s3c24xx_init_io(osiris_iodesc, ARRAY_SIZE(osiris_iodesc)); in osiris_map_io() 364 s3c24xx_init_uarts(osiris_uartcfgs, ARRAY_SIZE(osiris_uartcfgs)); in osiris_map_io() 373 osiris_nand_sets[0].nr_partitions = ARRAY_SIZE(osiris_default_nand_part_large); in osiris_map_io() 403 ARRAY_SIZE(osiris_i2c_devs)); in osiris_init() 405 platform_add_devices(osiris_devices, ARRAY_SIZE(osiris_devices)); in osiris_init()
|
D | mach-bast.c | 248 .nr_partitions = ARRAY_SIZE(bast_default_nand_part), 255 .nr_partitions = ARRAY_SIZE(bast_default_nand_part), 263 .nr_partitions = ARRAY_SIZE(bast_default_nand_part), 271 .nr_partitions = ARRAY_SIZE(bast_default_nand_part), 299 .nr_sets = ARRAY_SIZE(bast_nand_sets), 324 .num_resources = ARRAY_SIZE(bast_dm9k_resource), 393 .num_resources = ARRAY_SIZE(bast_asix_resource), 410 .num_resources = ARRAY_SIZE(bast_asixpp_resource), 478 .num_displays = ARRAY_SIZE(bast_lcd_info), 555 s3c24xx_init_io(bast_iodesc, ARRAY_SIZE(bast_iodesc)); in bast_map_io() [all …]
|
D | mach-vstms.c | 105 .nr_partitions = ARRAY_SIZE(vstms_nand_part), 118 .nr_sets = ARRAY_SIZE(vstms_nand_sets), 141 s3c24xx_init_io(vstms_iodesc, ARRAY_SIZE(vstms_iodesc)); in vstms_map_io() 142 s3c24xx_init_uarts(vstms_uartcfgs, ARRAY_SIZE(vstms_uartcfgs)); in vstms_map_io() 157 platform_add_devices(vstms_devices, ARRAY_SIZE(vstms_devices)); in vstms_init()
|
D | mach-at2440evb.c | 106 .nr_partitions = ARRAY_SIZE(at2440evb_default_nand_part), 115 .nr_sets = ARRAY_SIZE(at2440evb_nand_sets), 135 .num_resources = ARRAY_SIZE(at2440evb_dm9k_resource), 193 s3c24xx_init_io(at2440evb_iodesc, ARRAY_SIZE(at2440evb_iodesc)); in at2440evb_map_io() 194 s3c24xx_init_uarts(at2440evb_uartcfgs, ARRAY_SIZE(at2440evb_uartcfgs)); in at2440evb_map_io() 211 platform_add_devices(at2440evb_devices, ARRAY_SIZE(at2440evb_devices)); in at2440evb_init()
|
D | mach-qt2410.c | 175 .num_displays = ARRAY_SIZE(qt2410_lcd_cfg), 190 .num_resources = ARRAY_SIZE(qt2410_cs89x0_resources), 272 .nr_partitions = ARRAY_SIZE(qt2410_nand_part), 285 .nr_sets = ARRAY_SIZE(qt2410_nand_sets), 306 s3c24xx_init_io(qt2410_iodesc, ARRAY_SIZE(qt2410_iodesc)); in qt2410_map_io() 307 s3c24xx_init_uarts(smdk2410_uartcfgs, ARRAY_SIZE(smdk2410_uartcfgs)); in qt2410_map_io() 345 platform_add_devices(qt2410_devices, ARRAY_SIZE(qt2410_devices)); in qt2410_machine_init()
|
/linux-4.4.14/drivers/pinctrl/intel/ |
D | pinctrl-broxton.c | 182 .npins = ARRAY_SIZE(bxt_north_pins), 184 .ngroups = ARRAY_SIZE(bxt_north_groups), 186 .nfunctions = ARRAY_SIZE(bxt_north_functions), 188 .ncommunities = ARRAY_SIZE(bxt_north_communities), 299 .npins = ARRAY_SIZE(bxt_northwest_pins), 301 .ngroups = ARRAY_SIZE(bxt_northwest_groups), 303 .nfunctions = ARRAY_SIZE(bxt_northwest_functions), 305 .ncommunities = ARRAY_SIZE(bxt_northwest_communities), 406 .npins = ARRAY_SIZE(bxt_west_pins), 408 .ngroups = ARRAY_SIZE(bxt_west_groups), [all …]
|
/linux-4.4.14/arch/mips/jz4740/ |
D | platform.c | 56 .num_resources = ARRAY_SIZE(jz4740_usb_ohci_resources), 87 .num_resources = ARRAY_SIZE(jz4740_udc_resources), 112 .num_resources = ARRAY_SIZE(jz4740_mmc_resources), 133 .num_resources = ARRAY_SIZE(jz4740_rtc_resources), 154 .num_resources = ARRAY_SIZE(jz4740_i2c_resources), 194 .num_resources = ARRAY_SIZE(jz4740_nand_resources), 210 .num_resources = ARRAY_SIZE(jz4740_framebuffer_resources), 230 .num_resources = ARRAY_SIZE(jz4740_i2s_resources), 252 .num_resources = ARRAY_SIZE(jz4740_codec_resources), 278 .num_resources = ARRAY_SIZE(jz4740_adc_resources), [all …]
|
D | board-qi_lb60.c | 133 *num_partitions = ARRAY_SIZE(qi_lb60_partitions_2gb); in qi_lb60_nand_ident() 137 *num_partitions = ARRAY_SIZE(qi_lb60_partitions_1gb); in qi_lb60_nand_ident() 228 .keymap_size = ARRAY_SIZE(qi_lb60_keymap), 257 .num_col_gpios = ARRAY_SIZE(qi_lb60_keypad_cols), 258 .num_row_gpios = ARRAY_SIZE(qi_lb60_keypad_rows), 294 .num_modes = ARRAY_SIZE(qi_lb60_video_modes), 351 .nbuttons = ARRAY_SIZE(qi_lb60_gpio_keys_buttons), 423 .num_supplicants = ARRAY_SIZE(qi_lb60_batteries), 488 ARRAY_SIZE(qi_lb60_spi_board_info)); in qi_lb60_init_platform_devices() 495 pwm_add_table(qi_lb60_pwm_lookup, ARRAY_SIZE(qi_lb60_pwm_lookup)); in qi_lb60_init_platform_devices() [all …]
|
/linux-4.4.14/arch/blackfin/mach-bf548/boards/ |
D | cm_bf548.c | 64 .num_resources = ARRAY_SIZE(bf54x_lq043_resources), 96 .keymapsize = ARRAY_SIZE(bf548_keymap), 114 .num_resources = ARRAY_SIZE(bf54x_kpad_resources), 171 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 235 .num_resources = ARRAY_SIZE(bfin_uart1_resources), 283 .num_resources = ARRAY_SIZE(bfin_uart2_resources), 347 .num_resources = ARRAY_SIZE(bfin_uart3_resources), 378 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 403 .num_resources = ARRAY_SIZE(bfin_sir1_resources), 428 .num_resources = ARRAY_SIZE(bfin_sir2_resources), [all …]
|
D | ezkit.c | 74 .num_resources = ARRAY_SIZE(bfin_isp1760_resources), 103 .num_resources = ARRAY_SIZE(bf54x_lq043_resources), 135 .keymapsize = ARRAY_SIZE(bf548_keymap), 153 .num_resources = ARRAY_SIZE(bf54x_kpad_resources), 190 .num_resources = ARRAY_SIZE(bfin_rotary_resources), 293 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 364 .num_resources = ARRAY_SIZE(bfin_uart1_resources), 419 .num_resources = ARRAY_SIZE(bfin_uart2_resources), 490 .num_resources = ARRAY_SIZE(bfin_uart3_resources), 521 .num_resources = ARRAY_SIZE(bfin_sir0_resources), [all …]
|
/linux-4.4.14/arch/blackfin/mach-bf527/boards/ |
D | cm_bf527.c | 70 .num_resources = ARRAY_SIZE(bfin_isp1760_resources), 132 .num_resources = ARRAY_SIZE(musb_resources), 154 .nr_partitions = ARRAY_SIZE(partition_info), 175 .num_resources = ARRAY_SIZE(bf5xx_nand_resources), 207 .num_resources = ARRAY_SIZE(bfin_pcmcia_cf_resources), 244 .num_resources = ARRAY_SIZE(smc91x_resources), 274 .num_resources = ARRAY_SIZE(dm9000_resources), 328 .num_resources = ARRAY_SIZE(net2272_bfin_resources), 350 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 474 .num_resources = ARRAY_SIZE(bfin_spi0_resource), [all …]
|
D | ezkit.c | 75 .num_resources = ARRAY_SIZE(bfin_isp1760_resources), 137 .num_resources = ARRAY_SIZE(musb_resources), 155 .num_resources = ARRAY_SIZE(bf52x_t350mcqb_resources), 179 .num_resources = ARRAY_SIZE(bfin_lq035q1_resources), 207 .nr_parts = ARRAY_SIZE(ezkit_partitions), 248 .nr_partitions = ARRAY_SIZE(partition_info), 269 .num_resources = ARRAY_SIZE(bf5xx_nand_resources), 301 .num_resources = ARRAY_SIZE(bfin_pcmcia_cf_resources), 338 .num_resources = ARRAY_SIZE(smc91x_resources), 368 .num_resources = ARRAY_SIZE(dm9000_resources), [all …]
|
D | ad7160eval.c | 95 .num_resources = ARRAY_SIZE(musb_resources), 112 .num_resources = ARRAY_SIZE(bf52x_ra158z_resources), 137 .nr_parts = ARRAY_SIZE(ad7160eval_partitions), 174 .nr_partitions = ARRAY_SIZE(partition_info), 195 .num_resources = ARRAY_SIZE(bf5xx_nand_resources), 261 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 356 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 406 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 466 .num_resources = ARRAY_SIZE(bfin_uart1_resources), 498 .num_resources = ARRAY_SIZE(bfin_sir0_resources), [all …]
|
D | ezbrd.c | 96 .num_resources = ARRAY_SIZE(musb_resources), 121 .nr_parts = ARRAY_SIZE(ezbrd_partitions), 162 .nr_partitions = ARRAY_SIZE(partition_info), 183 .num_resources = ARRAY_SIZE(bf5xx_nand_resources), 249 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 402 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 452 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 512 .num_resources = ARRAY_SIZE(bfin_uart1_resources), 544 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 570 .num_resources = ARRAY_SIZE(bfin_sir1_resources), [all …]
|
D | tll6527m.c | 101 .num_resources = ARRAY_SIZE(musb_resources), 127 .num_resources = ARRAY_SIZE(bfin_lq035q1_resources), 155 .nr_parts = ARRAY_SIZE(tll6527m_partitions), 168 .end = ARRAY_SIZE(tll6527m_flash_gpios), 179 .num_resources = ARRAY_SIZE(tll6527m_flash_resource), 199 .nr_input_addrs = ARRAY_SIZE(gpio_addr_inputs), 309 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 477 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 527 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 588 .num_resources = ARRAY_SIZE(bfin_uart1_resources), [all …]
|
/linux-4.4.14/drivers/video/fbdev/exynos/ |
D | s6e8ax0.c | 81 ret = regulator_bulk_enable(ARRAY_SIZE(supplies), supplies); in s6e8ax0_regulator_enable() 98 ret = regulator_bulk_disable(ARRAY_SIZE(supplies), supplies); in s6e8ax0_regulator_disable() 306 ARRAY_SIZE(data_to_send_panel_reverse)); in s6e8ax0_panel_cond() 309 data_to_send, ARRAY_SIZE(data_to_send)); in s6e8ax0_panel_cond() 320 data_to_send, ARRAY_SIZE(data_to_send)); in s6e8ax0_display_cond() 343 ARRAY_SIZE(data_to_send)); in s6e8ax0_gamma_update() 355 data_to_send, ARRAY_SIZE(data_to_send)); in s6e8ax0_etc_cond1() 367 data_to_send, ARRAY_SIZE(data_to_send)); in s6e8ax0_etc_cond2() 378 data_to_send, ARRAY_SIZE(data_to_send)); in s6e8ax0_etc_cond3() 389 data_to_send, ARRAY_SIZE(data_to_send)); in s6e8ax0_etc_cond4() [all …]
|
/linux-4.4.14/arch/sh/boards/mach-highlander/ |
D | setup.c | 62 .num_resources = ARRAY_SIZE(r8a66597_usb_host_resources), 94 .num_resources = ARRAY_SIZE(m66592_usb_peripheral_resources), 122 .num_resources = ARRAY_SIZE(cf_ide_resources), 142 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos), 156 .num_resources = ARRAY_SIZE(heartbeat_resources), 193 .num_resources = ARRAY_SIZE(ax88796_resources), 223 .nr_parts = ARRAY_SIZE(nor_flash_partitions), 240 .num_resources = ARRAY_SIZE(nor_flash_resources), 260 .num_resources = ARRAY_SIZE(smbus_resources), 302 ARRAY_SIZE(r7780rp_devices)); in r7780rp_devices_setup() [all …]
|
/linux-4.4.14/arch/blackfin/mach-bf537/boards/ |
D | tcm_bf537.c | 60 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 140 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 185 .num_resources = ARRAY_SIZE(smc91x_resources), 227 .num_resources = ARRAY_SIZE(isp1362_hcd_resources), 248 .num_resources = ARRAY_SIZE(net2272_bfin_resources), 273 .nr_parts = ARRAY_SIZE(cm_partitions), 286 .end = ARRAY_SIZE(cm_flash_gpios), 297 .num_resources = ARRAY_SIZE(cm_flash_resource), 344 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 392 .num_resources = ARRAY_SIZE(bfin_uart1_resources), [all …]
|
D | cm_bf537u.c | 60 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 140 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 185 .num_resources = ARRAY_SIZE(smc91x_resources), 227 .num_resources = ARRAY_SIZE(isp1362_hcd_resources), 248 .num_resources = ARRAY_SIZE(net2272_bfin_resources), 273 .nr_parts = ARRAY_SIZE(cm_partitions), 286 .end = ARRAY_SIZE(cm_flash_gpios), 297 .num_resources = ARRAY_SIZE(cm_flash_resource), 344 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 392 .num_resources = ARRAY_SIZE(bfin_uart1_resources), [all …]
|
D | cm_bf537e.c | 60 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 140 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 174 .num_resources = ARRAY_SIZE(bfin_sport_spi0_resource), 204 .num_resources = ARRAY_SIZE(bfin_sport_spi1_resource), 250 .num_resources = ARRAY_SIZE(smc91x_resources), 292 .num_resources = ARRAY_SIZE(isp1362_hcd_resources), 313 .num_resources = ARRAY_SIZE(net2272_bfin_resources), 338 .nr_parts = ARRAY_SIZE(cm_partitions), 351 .end = ARRAY_SIZE(cm_flash_gpios), 362 .num_resources = ARRAY_SIZE(cm_flash_resource), [all …]
|
D | minotaur.c | 58 .num_resources = ARRAY_SIZE(bfin_pcmcia_cf_resources), 119 .num_resources = ARRAY_SIZE(net2272_bfin_resources), 154 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 224 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 274 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 322 .num_resources = ARRAY_SIZE(bfin_uart1_resources), 354 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 380 .num_resources = ARRAY_SIZE(bfin_sir1_resources), 405 .num_resources = ARRAY_SIZE(bfin_twi0_resource), 441 .num_resources = ARRAY_SIZE(bfin_sport0_uart_resources), [all …]
|
D | pnav10.c | 57 .num_resources = ARRAY_SIZE(bfin_pcmcia_cf_resources), 94 .num_resources = ARRAY_SIZE(smc91x_resources), 151 .num_resources = ARRAY_SIZE(net2272_bfin_resources), 180 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 286 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 342 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 390 .num_resources = ARRAY_SIZE(bfin_uart1_resources), 422 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 448 .num_resources = ARRAY_SIZE(bfin_sir1_resources), 506 platform_add_devices(stamp_devices, ARRAY_SIZE(stamp_devices)); in pnav_init() [all …]
|
D | dnp5370.c | 105 .nr_parts = ARRAY_SIZE(asmb_flash_partitions), 158 .nr_parts = ARRAY_SIZE(bfin_spi_dataflash_partitions), 223 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 273 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 322 .num_resources = ARRAY_SIZE(bfin_uart1_resources), 350 .num_resources = ARRAY_SIZE(bfin_twi0_resource), 395 platform_add_devices(dnp5370_devices, ARRAY_SIZE(dnp5370_devices)); in dnp5370_init() 397 ARRAY_SIZE(bfin_spi_board_info)); in dnp5370_init() 398 spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); in dnp5370_init()
|
/linux-4.4.14/drivers/clk/berlin/ |
D | bg2q.c | 92 .num_parents = ARRAY_SIZE(default_parent_ids), 107 .num_parents = ARRAY_SIZE(default_parent_ids), 122 .num_parents = ARRAY_SIZE(default_parent_ids), 137 .num_parents = ARRAY_SIZE(default_parent_ids), 152 .num_parents = ARRAY_SIZE(default_parent_ids), 167 .num_parents = ARRAY_SIZE(default_parent_ids), 182 .num_parents = ARRAY_SIZE(default_parent_ids), 197 .num_parents = ARRAY_SIZE(default_parent_ids), 212 .num_parents = ARRAY_SIZE(default_parent_ids), 227 .num_parents = ARRAY_SIZE(default_parent_ids), [all …]
|
D | bg2.c | 194 .num_parents = ARRAY_SIZE(default_parent_ids), 209 .num_parents = ARRAY_SIZE(default_parent_ids), 224 .num_parents = ARRAY_SIZE(default_parent_ids), 239 .num_parents = ARRAY_SIZE(default_parent_ids), 254 .num_parents = ARRAY_SIZE(default_parent_ids), 269 .num_parents = ARRAY_SIZE(default_parent_ids), 284 .num_parents = ARRAY_SIZE(default_parent_ids), 299 .num_parents = ARRAY_SIZE(default_parent_ids), 314 .num_parents = ARRAY_SIZE(default_parent_ids), 329 .num_parents = ARRAY_SIZE(default_parent_ids), [all …]
|
/linux-4.4.14/arch/blackfin/mach-bf538/boards/ |
D | ezkit.c | 97 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 145 .num_resources = ARRAY_SIZE(bfin_uart1_resources), 193 .num_resources = ARRAY_SIZE(bfin_uart2_resources), 224 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 249 .num_resources = ARRAY_SIZE(bfin_sir1_resources), 274 .num_resources = ARRAY_SIZE(bfin_sir2_resources), 308 .num_resources = ARRAY_SIZE(bfin_sport0_uart_resources), 342 .num_resources = ARRAY_SIZE(bfin_sport1_uart_resources), 376 .num_resources = ARRAY_SIZE(bfin_sport2_uart_resources), 410 .num_resources = ARRAY_SIZE(bfin_sport3_uart_resources), [all …]
|
/linux-4.4.14/drivers/pinctrl/samsung/ |
D | pinctrl-exynos.c | 688 .nr_banks = ARRAY_SIZE(s5pv210_pin_bank), 735 .nr_banks = ARRAY_SIZE(exynos3250_pin_banks0), 742 .nr_banks = ARRAY_SIZE(exynos3250_pin_banks1), 807 .nr_banks = ARRAY_SIZE(exynos4210_pin_banks0), 814 .nr_banks = ARRAY_SIZE(exynos4210_pin_banks1), 822 .nr_banks = ARRAY_SIZE(exynos4210_pin_banks2), 892 .nr_banks = ARRAY_SIZE(exynos4x12_pin_banks0), 899 .nr_banks = ARRAY_SIZE(exynos4x12_pin_banks1), 907 .nr_banks = ARRAY_SIZE(exynos4x12_pin_banks2), 914 .nr_banks = ARRAY_SIZE(exynos4x12_pin_banks3), [all …]
|
/linux-4.4.14/scripts/coccinelle/misc/ |
D | array_size.cocci | 1 /// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element 3 //# This makes an effort to find cases where ARRAY_SIZE can be used such as 6 //# division of the two sizeofs by ARRAY_SIZE. 49 + ARRAY_SIZE(E) 52 + ARRAY_SIZE(E) 55 + ARRAY_SIZE(E) 79 coccilib.org.print_todo(p[0], "WARNING should use ARRAY_SIZE") 85 msg="WARNING: Use ARRAY_SIZE"
|
/linux-4.4.14/drivers/staging/vt6656/ |
D | mac.c | 84 MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data); in vnt_mac_set_bb_type() 153 reg_ofs, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data); in vnt_mac_reg_bits_off() 164 reg_ofs, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data); in vnt_mac_reg_bits_on() 175 reg_ofs, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data); in vnt_mac_write_word() 192 MAC_REG_ENCFG0, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data); in vnt_mac_enable_protect_mode() 203 MAC_REG_ENCFG0, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data); in vnt_mac_disable_protect_mode() 214 MAC_REG_ENCFG2, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data); in vnt_mac_enable_barker_preamble_mode() 225 MAC_REG_ENCFG2, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data); in vnt_mac_disable_barker_preamble_mode() 236 MAC_REG_BI, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data); in vnt_mac_set_beacon_interval() 247 MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data); in vnt_mac_set_led()
|
/linux-4.4.14/arch/arm/mach-s3c64xx/ |
D | mach-crag6410-module.c | 136 .num_retune_mobile_cfgs = ARRAY_SIZE(wm8996_retune), 309 .num_spi_devs = ARRAY_SIZE(wm5110_spi_devs) }, 318 .num_i2c_devs = ARRAY_SIZE(wm6230_i2c_devs) }, 322 .spi_devs = wm1253_devs, .num_spi_devs = ARRAY_SIZE(wm1253_devs) }, 327 .num_spi_devs = ARRAY_SIZE(balblair_devs) }, 329 .i2c_devs = wm1254_devs, .num_i2c_devs = ARRAY_SIZE(wm1254_devs) }, 331 .i2c_devs = wm1259_devs, .num_i2c_devs = ARRAY_SIZE(wm1259_devs) }, 333 .i2c_devs = wm1255_devs, .num_i2c_devs = ARRAY_SIZE(wm1255_devs) }, 336 .i2c_devs = wm1277_devs, .num_i2c_devs = ARRAY_SIZE(wm1277_devs) }, 339 .num_spi_devs = ARRAY_SIZE(wm5102_reva_spi_devs) }, [all …]
|
D | mach-smdk6410.c | 205 .num_resources = ARRAY_SIZE(smdk6410_smsc911x_resources), 222 .num_consumer_supplies = ARRAY_SIZE(smdk6410_b_pwr_5v_consumers), 256 .keymap_size = ARRAY_SIZE(smdk6410_keymap), 311 .num_consumer_supplies = ARRAY_SIZE(smdk6410_vddarm_consumers), 447 .num_consumer_supplies = ARRAY_SIZE(wm8350_dcdc4_consumers), 484 for (i = 0; i < ARRAY_SIZE(wm1190_regulators); i++) in smdk6410_wm8350_init() 509 .num_leds = ARRAY_SIZE(wm1192_pmic_leds), 557 .num_consumer_supplies = ARRAY_SIZE(wm1192_ldo1_consumers), 642 s3c64xx_init_io(smdk6410_iodesc, ARRAY_SIZE(smdk6410_iodesc)); in smdk6410_map_io() 644 s3c24xx_init_uarts(smdk6410_uartcfgs, ARRAY_SIZE(smdk6410_uartcfgs)); in smdk6410_map_io() [all …]
|
D | mach-crag6410.c | 205 .keymap_size = ARRAY_SIZE(crag6410_keymap), 231 .nbuttons = ARRAY_SIZE(crag6410_gpio_keys), 254 .num_resources = ARRAY_SIZE(crag6410_dm9k_resource), 267 .num_resources = ARRAY_SIZE(crag6410_mmgpio_resource), 351 .num_consumer_supplies = ARRAY_SIZE(wallvdd_consumers), 421 .num_consumer_supplies = ARRAY_SIZE(vddarm_consumers), 439 .num_consumer_supplies = ARRAY_SIZE(vddint_consumers), 469 .num_consumer_supplies = ARRAY_SIZE(vddmmc_consumers), 632 .num_consumer_supplies = ARRAY_SIZE(pvdd_1v2_consumers), 666 .num_consumer_supplies = ARRAY_SIZE(pvdd_1v8_consumers), [all …]
|
D | dev-uart.c | 57 .nr_resources = ARRAY_SIZE(s3c64xx_uart0_resource), 61 .nr_resources = ARRAY_SIZE(s3c64xx_uart1_resource), 65 .nr_resources = ARRAY_SIZE(s3c6xx_uart2_resource), 69 .nr_resources = ARRAY_SIZE(s3c64xx_uart3_resource),
|
D | mach-hmt.c | 195 .nr_partitions = ARRAY_SIZE(hmt_nand_part), 204 .nr_sets = ARRAY_SIZE(hmt_nand_sets), 230 .num_leds = ARRAY_SIZE(hmt_leds), 254 s3c64xx_init_io(hmt_iodesc, ARRAY_SIZE(hmt_iodesc)); in hmt_map_io() 256 s3c24xx_init_uarts(hmt_uartcfgs, ARRAY_SIZE(hmt_uartcfgs)); in hmt_map_io() 275 pwm_add_table(hmt_pwm_lookup, ARRAY_SIZE(hmt_pwm_lookup)); in hmt_machine_init() 276 platform_add_devices(hmt_devices, ARRAY_SIZE(hmt_devices)); in hmt_machine_init()
|
D | mach-smdk6400.c | 66 s3c64xx_init_io(smdk6400_iodesc, ARRAY_SIZE(smdk6400_iodesc)); in smdk6400_map_io() 68 s3c24xx_init_uarts(smdk6400_uartcfgs, ARRAY_SIZE(smdk6400_uartcfgs)); in smdk6400_map_io() 84 i2c_register_board_info(0, i2c_devs, ARRAY_SIZE(i2c_devs)); in smdk6400_machine_init() 85 platform_add_devices(smdk6400_devices, ARRAY_SIZE(smdk6400_devices)); in smdk6400_machine_init()
|
/linux-4.4.14/drivers/clk/mxs/ |
D | clk-imx28.c | 184 clks[saif0_sel] = mxs_clk_mux("saif0_sel", CLKSEQ, 0, 1, sel_pll0, ARRAY_SIZE(sel_pll0)); in mx28_clocks_init() 185 clks[saif1_sel] = mxs_clk_mux("saif1_sel", CLKSEQ, 1, 1, sel_pll0, ARRAY_SIZE(sel_pll0)); in mx28_clocks_init() 186 clks[gpmi_sel] = mxs_clk_mux("gpmi_sel", CLKSEQ, 2, 1, sel_gpmi, ARRAY_SIZE(sel_gpmi)); in mx28_clocks_init() 187 clks[ssp0_sel] = mxs_clk_mux("ssp0_sel", CLKSEQ, 3, 1, sel_io0, ARRAY_SIZE(sel_io0)); in mx28_clocks_init() 188 clks[ssp1_sel] = mxs_clk_mux("ssp1_sel", CLKSEQ, 4, 1, sel_io0, ARRAY_SIZE(sel_io0)); in mx28_clocks_init() 189 clks[ssp2_sel] = mxs_clk_mux("ssp2_sel", CLKSEQ, 5, 1, sel_io1, ARRAY_SIZE(sel_io1)); in mx28_clocks_init() 190 clks[ssp3_sel] = mxs_clk_mux("ssp3_sel", CLKSEQ, 6, 1, sel_io1, ARRAY_SIZE(sel_io1)); in mx28_clocks_init() 191 clks[emi_sel] = mxs_clk_mux("emi_sel", CLKSEQ, 7, 1, emi_sels, ARRAY_SIZE(emi_sels)); in mx28_clocks_init() 192 clks[etm_sel] = mxs_clk_mux("etm_sel", CLKSEQ, 8, 1, sel_cpu, ARRAY_SIZE(sel_cpu)); in mx28_clocks_init() 193 clks[lcdif_sel] = mxs_clk_mux("lcdif_sel", CLKSEQ, 14, 1, sel_pix, ARRAY_SIZE(sel_pix)); in mx28_clocks_init() [all …]
|
D | clk-imx23.c | 124 clks[saif_sel] = mxs_clk_mux("saif_sel", CLKSEQ, 0, 1, sel_pll, ARRAY_SIZE(sel_pll)); in mx23_clocks_init() 125 clks[lcdif_sel] = mxs_clk_mux("lcdif_sel", CLKSEQ, 1, 1, sel_pix, ARRAY_SIZE(sel_pix)); in mx23_clocks_init() 126 clks[gpmi_sel] = mxs_clk_mux("gpmi_sel", CLKSEQ, 4, 1, sel_io, ARRAY_SIZE(sel_io)); in mx23_clocks_init() 127 clks[ssp_sel] = mxs_clk_mux("ssp_sel", CLKSEQ, 5, 1, sel_io, ARRAY_SIZE(sel_io)); in mx23_clocks_init() 128 clks[emi_sel] = mxs_clk_mux("emi_sel", CLKSEQ, 6, 1, emi_sels, ARRAY_SIZE(emi_sels)); in mx23_clocks_init() 129 clks[cpu] = mxs_clk_mux("cpu", CLKSEQ, 7, 1, cpu_sels, ARRAY_SIZE(cpu_sels)); in mx23_clocks_init() 130 clks[etm_sel] = mxs_clk_mux("etm_sel", CLKSEQ, 8, 1, sel_cpu, ARRAY_SIZE(sel_cpu)); in mx23_clocks_init() 161 for (i = 0; i < ARRAY_SIZE(clks); i++) in mx23_clocks_init() 169 clk_data.clk_num = ARRAY_SIZE(clks); in mx23_clocks_init() 172 for (i = 0; i < ARRAY_SIZE(clks_init_on); i++) in mx23_clocks_init()
|
/linux-4.4.14/arch/blackfin/mach-bf533/boards/ |
D | cm_bf533.c | 55 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 135 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 173 .num_resources = ARRAY_SIZE(smc91x_resources), 207 .num_resources = ARRAY_SIZE(smsc911x_resources), 257 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 289 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 323 .num_resources = ARRAY_SIZE(bfin_sport0_uart_resources), 357 .num_resources = ARRAY_SIZE(bfin_sport1_uart_resources), 400 .num_resources = ARRAY_SIZE(isp1362_hcd_resources), 422 .num_resources = ARRAY_SIZE(net2272_bfin_resources), [all …]
|
D | blackstamp.c | 70 .num_resources = ARRAY_SIZE(smc91x_resources), 99 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 180 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 230 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 262 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 296 .num_resources = ARRAY_SIZE(bfin_sport0_uart_resources), 330 .num_resources = ARRAY_SIZE(bfin_sport1_uart_resources), 351 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table), 402 .tabsize = ARRAY_SIZE(cclk_vlev_datasheet), 467 ARRAY_SIZE(bfin_i2c_board_info)); in blackstamp_init() [all …]
|
D | ezkit.c | 67 .num_resources = ARRAY_SIZE(smc91x_resources), 91 .nr_parts = ARRAY_SIZE(ezkit_partitions_a), 121 .nr_parts = ARRAY_SIZE(ezkit_partitions_b), 206 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 278 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 328 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 360 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 379 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table), 426 .tabsize = ARRAY_SIZE(cclk_vlev_datasheet), 519 platform_add_devices(ezkit_devices, ARRAY_SIZE(ezkit_devices)); in ezkit_init() [all …]
|
D | H8606.c | 66 .num_resources = ARRAY_SIZE(dm9000_resources), 99 .num_resources = ARRAY_SIZE(smc91x_resources), 123 .num_resources = ARRAY_SIZE(net2272_bfin_resources), 156 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 224 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 274 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 306 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 380 .num_resources = ARRAY_SIZE(opencores_kbd_resources), 430 platform_add_devices(h8606_devices, ARRAY_SIZE(h8606_devices)); in H8606_init() 432 spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); in H8606_init() [all …]
|
D | stamp.c | 70 .num_resources = ARRAY_SIZE(smc91x_resources), 97 .num_resources = ARRAY_SIZE(net2272_bfin_resources), 122 .nr_parts = ARRAY_SIZE(stamp_partitions), 147 .num_resources = ARRAY_SIZE(stamp_flash_resource), 173 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 286 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 336 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 368 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 402 .num_resources = ARRAY_SIZE(bfin_sport0_uart_resources), 436 .num_resources = ARRAY_SIZE(bfin_sport1_uart_resources), [all …]
|
D | ip0x.c | 82 .num_resources = ARRAY_SIZE(dm9000_resource1), 96 .num_resources = ARRAY_SIZE(dm9000_resource2), 187 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 219 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 259 .num_resources = ARRAY_SIZE(isp1362_hcd_resources), 297 platform_add_devices(ip0x_devices, ARRAY_SIZE(ip0x_devices)); in ip0x_init() 299 spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); in ip0x_init() 318 ARRAY_SIZE(ip0x_early_devices)); in native_machine_early_platform_add_devices()
|
/linux-4.4.14/arch/blackfin/mach-bf561/boards/ |
D | cm_bf561.c | 57 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 129 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 169 .num_resources = ARRAY_SIZE(smc91x_resources), 204 .num_resources = ARRAY_SIZE(smsc911x_resources), 228 .num_resources = ARRAY_SIZE(net2272_bfin_resources), 267 .num_resources = ARRAY_SIZE(isp1362_hcd_resources), 314 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 346 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 380 .num_resources = ARRAY_SIZE(bfin_pata_resources), 408 .nr_parts = ARRAY_SIZE(para_partitions), [all …]
|
D | acvilon.c | 95 .num_resources = ARRAY_SIZE(bfin_isp1760_resources), 124 .num_resources = ARRAY_SIZE(bfin_i2c_pca_resources), 190 .num_resources = ARRAY_SIZE(smsc911x_resources), 240 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 292 .nr_partitions = ARRAY_SIZE(bfin_plat_nand_partitions), 364 .nr_parts = ARRAY_SIZE(bfin_spi_dataflash_partitions), 403 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 462 .tabsize = ARRAY_SIZE(cclk_vlev_datasheet), 512 platform_add_devices(acvilon_devices, ARRAY_SIZE(acvilon_devices)); in acvilon_init() 517 ARRAY_SIZE(acvilon_i2c_devs)); in acvilon_init() [all …]
|
D | ezkit.c | 59 .num_resources = ARRAY_SIZE(bfin_isp1760_resources), 100 .num_resources = ARRAY_SIZE(isp1362_hcd_resources), 124 .num_resources = ARRAY_SIZE(net2272_bfin_resources), 159 .num_resources = ARRAY_SIZE(smc91x_resources), 209 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 241 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 275 .nr_parts = ARRAY_SIZE(ezkit_partitions), 325 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 367 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table), 414 .tabsize = ARRAY_SIZE(cclk_vlev_datasheet), [all …]
|
/linux-4.4.14/arch/blackfin/mach-bf609/boards/ |
D | ezkit.c | 72 .num_resources = ARRAY_SIZE(bfin_isp1760_resources), 105 .num_resources = ARRAY_SIZE(bfin_rotary_resources), 283 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 354 .num_resources = ARRAY_SIZE(bfin_uart1_resources), 385 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 410 .num_resources = ARRAY_SIZE(bfin_sir1_resources), 467 .num_resources = ARRAY_SIZE(musb_resources), 500 .num_resources = ARRAY_SIZE(bfin_sport0_uart_resources), 534 .num_resources = ARRAY_SIZE(bfin_sport1_uart_resources), 568 .num_resources = ARRAY_SIZE(bfin_sport2_uart_resources), [all …]
|
/linux-4.4.14/arch/blackfin/mach-bf518/boards/ |
D | tcm-bf518.c | 56 .nr_parts = ARRAY_SIZE(tcm_partitions), 133 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 258 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 293 .num_resources = ARRAY_SIZE(bfin_spi1_resource), 343 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 391 .num_resources = ARRAY_SIZE(bfin_uart1_resources), 423 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 449 .num_resources = ARRAY_SIZE(bfin_sir1_resources), 474 .num_resources = ARRAY_SIZE(bfin_twi0_resource), 524 .num_resources = ARRAY_SIZE(bfin_sport0_uart_resources), [all …]
|
D | ezbrd.c | 59 .nr_parts = ARRAY_SIZE(ezbrd_partitions), 185 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 323 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 358 .num_resources = ARRAY_SIZE(bfin_spi1_resource), 408 .num_resources = ARRAY_SIZE(bfin_uart0_resources), 456 .num_resources = ARRAY_SIZE(bfin_uart1_resources), 488 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 514 .num_resources = ARRAY_SIZE(bfin_sir1_resources), 547 .num_resources = ARRAY_SIZE(bfin_twi0_resource), 602 .num_resources = ARRAY_SIZE(bfin_sport0_uart_resources), [all …]
|
/linux-4.4.14/arch/sh/kernel/cpu/sh5/ |
D | setup-sh5.c | 36 .num_resources = ARRAY_SIZE(scif0_resources), 68 .num_resources = ARRAY_SIZE(rtc_resources), 93 .num_resources = ARRAY_SIZE(tmu0_resources), 110 ARRAY_SIZE(sh5_early_devices)); in sh5_devices_setup() 115 ARRAY_SIZE(sh5_devices)); in sh5_devices_setup() 122 ARRAY_SIZE(sh5_early_devices)); in plat_early_device_setup()
|
/linux-4.4.14/arch/sh/boards/mach-kfr2r09/ |
D | lcd_wqvga.c | 149 write_data(sohandle, so, data_frame_if, ARRAY_SIZE(data_frame_if)); in display_on() 157 write_data(sohandle, so, data_panel, ARRAY_SIZE(data_panel)); in display_on() 161 write_data(sohandle, so, data_timing, ARRAY_SIZE(data_timing)); in display_on() 165 write_data(sohandle, so, data_timing, ARRAY_SIZE(data_timing)); in display_on() 169 write_data(sohandle, so, data_timing, ARRAY_SIZE(data_timing)); in display_on() 173 write_data(sohandle, so, data_timing_src, ARRAY_SIZE(data_timing_src)); in display_on() 177 write_data(sohandle, so, data_gamma, ARRAY_SIZE(data_gamma)); in display_on() 181 write_data(sohandle, so, data_gamma, ARRAY_SIZE(data_gamma)); in display_on() 185 write_data(sohandle, so, data_gamma, ARRAY_SIZE(data_gamma)); in display_on() 189 write_data(sohandle, so, data_power, ARRAY_SIZE(data_power)); in display_on()
|
/linux-4.4.14/arch/arm/mach-clps711x/ |
D | board-cdb89712.c | 64 .nr_parts = ARRAY_SIZE(cdb89712_flash_partitions), 75 .num_resources = ARRAY_SIZE(cdb89712_flash_resources), 93 .nr_parts = ARRAY_SIZE(cdb89712_bootrom_partitions), 105 .num_resources = ARRAY_SIZE(cdb89712_bootrom_resources), 123 .num_resources = ARRAY_SIZE(cdb89712_sram_resources), 136 ARRAY_SIZE(cdb89712_cs8900_resource)); in cdb89712_init()
|
D | board-autcpu12.c | 130 .num_parts = ARRAY_SIZE(autcpu12_nand_parts), 138 .num_resources = ARRAY_SIZE(autcpu12_nand_resource), 157 .num_resources = ARRAY_SIZE(autcpu12_mmgpio_resource), 180 .nr_parts = ARRAY_SIZE(autcpu12_flash_partitions), 191 .num_resources = ARRAY_SIZE(autcpu12_flash_resources), 209 .num_resources = ARRAY_SIZE(autcpu12_nvram_resource), 254 ARRAY_SIZE(autcpu12_cs8900_resource)); in autcpu12_init() 261 gpio_request_array(autcpu12_gpios, ARRAY_SIZE(autcpu12_gpios)); in autcpu12_init_late()
|
/linux-4.4.14/arch/unicore32/kernel/ |
D | puv3-core.c | 261 puv3_rtc_resources, ARRAY_SIZE(puv3_rtc_resources)); in puv3_core_init() 263 puv3_umal_resources, ARRAY_SIZE(puv3_umal_resources)); in puv3_core_init() 265 puv3_mmc_resources, ARRAY_SIZE(puv3_mmc_resources)); in puv3_core_init() 267 puv3_unigfx_resources, ARRAY_SIZE(puv3_unigfx_resources)); in puv3_core_init() 269 puv3_pwm_resources, ARRAY_SIZE(puv3_pwm_resources)); in puv3_core_init() 271 puv3_uart0_resources, ARRAY_SIZE(puv3_uart0_resources)); in puv3_core_init() 273 puv3_uart1_resources, ARRAY_SIZE(puv3_uart1_resources)); in puv3_core_init() 276 puv3_usb_resources, ARRAY_SIZE(puv3_usb_resources), in puv3_core_init()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | r600_blit_shaders.c | 716 const u32 r6xx_ps_size = ARRAY_SIZE(r6xx_ps); 717 const u32 r6xx_vs_size = ARRAY_SIZE(r6xx_vs); 718 const u32 r6xx_default_size = ARRAY_SIZE(r6xx_default_state); 719 const u32 r7xx_default_size = ARRAY_SIZE(r7xx_default_state);
|
/linux-4.4.14/arch/arm/mach-imx/ |
D | mach-mx27_3ds.c | 196 .keymap_size = ARRAY_SIZE(mx27_3ds_keymap), 284 .num_consumer_supplies = ARRAY_SIZE(vmmc1_consumers), 298 .num_consumer_supplies = ARRAY_SIZE(vgen_consumers), 314 .num_consumer_supplies = ARRAY_SIZE(vvib_consumers), 346 .num_regulators = ARRAY_SIZE(mx27_3ds_regulators), 363 .num_chipselect = ARRAY_SIZE(spi1_chipselect), 370 .num_chipselect = ARRAY_SIZE(spi2_chipselect), 407 .num_regulators = ARRAY_SIZE(mx27_3ds_camera_regs), 444 .num_modes = ARRAY_SIZE(mx27_3ds_modes), 491 mxc_gpio_setup_multiple_pins(mx27pdk_pins, ARRAY_SIZE(mx27pdk_pins), in mx27pdk_init() [all …]
|
D | mach-mx31_3ds.c | 245 .num_regulators = ARRAY_SIZE(mx31_3ds_camera_regs), 281 .num_modes = ARRAY_SIZE(fb_modedb), 308 ARRAY_SIZE(mx31_3ds_sdhc1_gpios)); in mx31_3ds_sdhc1_init() 327 ARRAY_SIZE(mx31_3ds_sdhc1_gpios)); in mx31_3ds_sdhc1_init() 335 ARRAY_SIZE(mx31_3ds_sdhc1_gpios)); in mx31_3ds_sdhc1_exit() 378 .keymap_size = ARRAY_SIZE(mx31_3ds_keymap), 407 .num_consumer_supplies = ARRAY_SIZE(vmmc2_consumers), 424 .num_consumer_supplies = ARRAY_SIZE(vmmc1_consumers), 440 .num_consumer_supplies = ARRAY_SIZE(vgen_consumers), 456 .num_consumer_supplies = ARRAY_SIZE(vvib_consumers), [all …]
|
/linux-4.4.14/arch/arm/mach-davinci/ |
D | board-mityomapl138.c | 95 for (i = 0; partnum && i < ARRAY_SIZE(mityomapl138_pn_info); i++) { in mityomapl138_cpufreq_init() 234 .num_consumer_supplies = ARRAY_SIZE(tps65023_dcdc1_consumers), 245 .num_consumer_supplies = ARRAY_SIZE(tps65023_dcdc2_consumers), 256 .num_consumer_supplies = ARRAY_SIZE(tps65023_dcdc3_consumers), 267 .num_consumer_supplies = ARRAY_SIZE(tps65023_ldo1_consumers), 279 .num_consumer_supplies = ARRAY_SIZE(tps65023_ldo2_consumers), 298 ARRAY_SIZE(mityomap_tps65023_info)); in pmic_tps65023_init() 355 .nr_parts = ARRAY_SIZE(spi_flash_partitions), 398 .nr_parts = ARRAY_SIZE(mityomapl138_nandflash_partition), 424 .num_resources = ARRAY_SIZE(mityomapl138_nandflash_resource), [all …]
|
D | board-dm355-evm.c | 81 .nr_parts = ARRAY_SIZE(davinci_nand_partitions), 103 .num_resources = ARRAY_SIZE(davinci_nand_resources), 153 ARRAY_SIZE(dm355evm_i2c_info)); in evm_init_i2c() 177 .num_resources = ARRAY_SIZE(dm355evm_dm9000_rsrc), 223 .num_inputs = ARRAY_SIZE(tvp5146_inputs), 240 .num_subdevs = ARRAY_SIZE(vpfe_sub_devs), 295 .num_modes = ARRAY_SIZE(dm355evm_enc_preset_timing), 310 .num_outputs = ARRAY_SIZE(dm355evm_vpbe_outputs), 393 ARRAY_SIZE(davinci_evm_devices)); in dm355_evm_init() 413 ARRAY_SIZE(dm355_evm_spi_info)); in dm355_evm_init()
|
D | devices-da8xx.c | 221 .num_res = ARRAY_SIZE(da8xx_edma0_resources), 231 .num_res = ARRAY_SIZE(da850_edma1_resources), 280 .num_resources = ARRAY_SIZE(da8xx_i2c_resources0), 300 .num_resources = ARRAY_SIZE(da8xx_i2c_resources1), 331 .num_resources = ARRAY_SIZE(da8xx_watchdog_resources), 395 .num_resources = ARRAY_SIZE(da8xx_emac_resources), 410 .num_resources = ARRAY_SIZE(da8xx_mdio_resources), 456 .num_resources = ARRAY_SIZE(da830_mcasp1_resources), 491 .num_resources = ARRAY_SIZE(da830_mcasp2_resources), 526 .num_resources = ARRAY_SIZE(da850_mcasp_resources), [all …]
|
/linux-4.4.14/sound/soc/intel/boards/ |
D | byt-max98090.c | 104 hs_jack_pins, ARRAY_SIZE(hs_jack_pins)); in byt_max98090_init() 109 ARRAY_SIZE(hs_jack_gpios), in byt_max98090_init() 131 .num_links = ARRAY_SIZE(byt_max98090_dais), 133 .num_dapm_widgets = ARRAY_SIZE(byt_max98090_widgets), 135 .num_dapm_routes = ARRAY_SIZE(byt_max98090_audio_map), 137 .num_controls = ARRAY_SIZE(byt_max98090_controls), 169 snd_soc_jack_free_gpios(&priv->jack, ARRAY_SIZE(hs_jack_gpios), in byt_max98090_remove()
|
D | byt-rt5640.c | 142 ARRAY_SIZE(byt_rt5640_controls)); in byt_rt5640_init() 152 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in1_map); in byt_rt5640_init() 156 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic2_map); in byt_rt5640_init() 160 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic1_map); in byt_rt5640_init() 202 .num_links = ARRAY_SIZE(byt_rt5640_dais), 204 .num_dapm_widgets = ARRAY_SIZE(byt_rt5640_widgets), 206 .num_dapm_routes = ARRAY_SIZE(byt_rt5640_audio_map),
|
/linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
D | initvals.c | 1451 ARRAY_SIZE(ar5212_ini_mode_start), in ath5k_hw_write_initvals() 1457 ath5k_hw_ini_registers(ah, ARRAY_SIZE(ar5212_ini_common_start), in ath5k_hw_write_initvals() 1465 ARRAY_SIZE(rf5111_ini_mode_end), in ath5k_hw_write_initvals() 1469 ARRAY_SIZE(rf5111_ini_common_end), in ath5k_hw_write_initvals() 1474 ARRAY_SIZE(rf5111_ini_bbgain), in ath5k_hw_write_initvals() 1481 ARRAY_SIZE(rf5112_ini_mode_end), in ath5k_hw_write_initvals() 1485 ARRAY_SIZE(rf5112_ini_common_end), in ath5k_hw_write_initvals() 1489 ARRAY_SIZE(rf5112_ini_bbgain), in ath5k_hw_write_initvals() 1496 ARRAY_SIZE(rf5413_ini_mode_end), in ath5k_hw_write_initvals() 1500 ARRAY_SIZE(rf5413_ini_common_end), in ath5k_hw_write_initvals() [all …]
|
/linux-4.4.14/drivers/media/usb/pvrusb2/ |
D | pvrusb2-devattr.c | 66 .client_table.cnt = ARRAY_SIZE(pvr2_cli_29xxx), 68 .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_29xxx), 100 .client_table.cnt = ARRAY_SIZE(pvr2_cli_24xxx), 102 .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_24xxx), 130 .client_table.cnt = ARRAY_SIZE(pvr2_cli_gotview_2), 151 .client_table.cnt = ARRAY_SIZE(pvr2_cli_gotview_2), 174 .client_table.cnt = ARRAY_SIZE(pvr2_cli_av400), 229 .client_table.cnt = ARRAY_SIZE(pvr2_cli_onair_creator), 289 .client_table.cnt = ARRAY_SIZE(pvr2_cli_onair_usb2), 383 .client_table.cnt = ARRAY_SIZE(pvr2_cli_73xxx), [all …]
|
/linux-4.4.14/arch/arm/mach-omap1/ |
D | gpio7xx.c | 71 .num_resources = ARRAY_SIZE(omap7xx_mpu_gpio_resources), 110 .num_resources = ARRAY_SIZE(omap7xx_gpio1_resources), 138 .num_resources = ARRAY_SIZE(omap7xx_gpio2_resources), 166 .num_resources = ARRAY_SIZE(omap7xx_gpio3_resources), 194 .num_resources = ARRAY_SIZE(omap7xx_gpio4_resources), 222 .num_resources = ARRAY_SIZE(omap7xx_gpio5_resources), 250 .num_resources = ARRAY_SIZE(omap7xx_gpio6_resources), 276 for (i = 0; i < ARRAY_SIZE(omap7xx_gpio_dev); i++) in omap7xx_gpio_init()
|
D | board-h3.c | 135 .nr_parts = ARRAY_SIZE(nor_partitions), 197 .nr_partitions = ARRAY_SIZE(nand_partitions), 245 .num_resources = ARRAY_SIZE(smc91x_resources), 278 .num_resources = ARRAY_SIZE(intlat_resources), 292 .keymap_size = ARRAY_SIZE(h3_keymap), 310 .num_resources = ARRAY_SIZE(h3_kp_resources), 344 .num_leds = ARRAY_SIZE(h3_gpio_led_pins), 435 platform_add_devices(devices, ARRAY_SIZE(devices)); in h3_init() 438 ARRAY_SIZE(h3_spi_board_info)); in h3_init() 442 ARRAY_SIZE(h3_i2c_board_info)); in h3_init()
|
D | board-osk.c | 103 .nr_parts = ARRAY_SIZE(osk_partitions), 144 .num_resources = ARRAY_SIZE(osk5912_smc91x_resources), 160 .num_resources = ARRAY_SIZE(osk5912_cf_resources), 343 .keymap_size = ARRAY_SIZE(osk_keymap), 367 .num_resources = ARRAY_SIZE(osk5912_kp_resources), 403 .num_leds = ARRAY_SIZE(mistral_gpio_led_pins), 502 ARRAY_SIZE(mistral_boardinfo)); in osk_mistral_init() 550 ARRAY_SIZE(mistral_i2c_board_info)); in osk_mistral_init() 552 platform_add_devices(mistral_devices, ARRAY_SIZE(mistral_devices)); in osk_mistral_init() 582 platform_add_devices(osk5912_devices, ARRAY_SIZE(osk5912_devices)); in osk_init() [all …]
|
D | board-innovator.c | 103 .nr_parts = ARRAY_SIZE(innovator_partitions), 132 .keymap_size = ARRAY_SIZE(innovator_keymap), 148 .num_resources = ARRAY_SIZE(innovator_kp_resources), 193 .num_resources = ARRAY_SIZE(innovator1510_smc91x_resources), 260 .num_resources = ARRAY_SIZE(innovator1610_smc91x_resources), 402 platform_add_devices(innovator1510_devices, ARRAY_SIZE(innovator1510_devices)); in innovator_init() 404 ARRAY_SIZE(innovator1510_boardinfo)); in innovator_init() 411 platform_add_devices(innovator1610_devices, ARRAY_SIZE(innovator1610_devices)); in innovator_init() 442 iotable_init(innovator1510_io_desc, ARRAY_SIZE(innovator1510_io_desc)); in innovator_map_io()
|
/linux-4.4.14/arch/arm/mach-sa1100/ |
D | generic.c | 132 .num_resources = ARRAY_SIZE(sa11x0udc_resources), 144 .num_resources = ARRAY_SIZE(sa11x0uart1_resources), 156 .num_resources = ARRAY_SIZE(sa11x0uart3_resources), 175 .num_resources = ARRAY_SIZE(sa11x0mcp_resources), 208 .num_resources = ARRAY_SIZE(sa11x0ssp_resources), 223 .num_resources = ARRAY_SIZE(sa11x0fb_resources), 261 .num_resources = ARRAY_SIZE(sa11x0ir_resources), 279 .num_resources = ARRAY_SIZE(sa1100_rtc_resources), 302 .num_resources = ARRAY_SIZE(sa11x0dma_resources), 319 return platform_add_devices(sa11x0_devices, ARRAY_SIZE(sa11x0_devices)); in sa1100_init() [all …]
|
D | h3xxx.c | 79 .nr_parts = ARRAY_SIZE(h3xxx_partitions), 103 rc = gpio_request_array(h3xxx_uart_gpio, ARRAY_SIZE(h3xxx_uart_gpio)); in h3xxx_uart_request_gpios() 200 .num_chips = ARRAY_SIZE(egpio_chips), 207 .num_resources = ARRAY_SIZE(egpio_resources), 237 .nbuttons = ARRAY_SIZE(h3xxx_button_table), 258 .num_resources = ARRAY_SIZE(h3xxx_micro_resources), 271 platform_add_devices(h3xxx_devices, ARRAY_SIZE(h3xxx_devices)); in h3xxx_mach_init() 300 iotable_init(h3600_io_desc, ARRAY_SIZE(h3600_io_desc)); in h3xxx_map_io()
|
/linux-4.4.14/sound/soc/pxa/ |
D | e750_wm9705.c | 97 .num_links = ARRAY_SIZE(e750_dai), 100 .num_dapm_widgets = ARRAY_SIZE(e750_dapm_widgets), 102 .num_dapm_routes = ARRAY_SIZE(audio_map), 117 ARRAY_SIZE(e750_audio_gpios)); in e750_probe() 127 gpio_free_array(e750_audio_gpios, ARRAY_SIZE(e750_audio_gpios)); in e750_probe() 134 gpio_free_array(e750_audio_gpios, ARRAY_SIZE(e750_audio_gpios)); in e750_remove()
|
D | e800_wm9712.c | 97 .num_links = ARRAY_SIZE(e800_dai), 100 .num_dapm_widgets = ARRAY_SIZE(e800_dapm_widgets), 102 .num_dapm_routes = ARRAY_SIZE(audio_map), 116 ARRAY_SIZE(e800_audio_gpios)); in e800_probe() 126 gpio_free_array(e800_audio_gpios, ARRAY_SIZE(e800_audio_gpios)); in e800_probe() 133 gpio_free_array(e800_audio_gpios, ARRAY_SIZE(e800_audio_gpios)); in e800_remove()
|
D | e740_wm9705.c | 114 .num_links = ARRAY_SIZE(e740_dai), 117 .num_dapm_widgets = ARRAY_SIZE(e740_dapm_widgets), 119 .num_dapm_routes = ARRAY_SIZE(audio_map), 135 ARRAY_SIZE(e740_audio_gpios)); in e740_probe() 145 gpio_free_array(e740_audio_gpios, ARRAY_SIZE(e740_audio_gpios)); in e740_probe() 152 gpio_free_array(e740_audio_gpios, ARRAY_SIZE(e740_audio_gpios)); in e740_remove()
|
D | palm27x.c | 83 ARRAY_SIZE(hs_jack_pins)); in palm27x_ac97_init() 87 err = snd_soc_jack_add_gpios(&hs_jack, ARRAY_SIZE(hs_jack_gpios), in palm27x_ac97_init() 117 .num_links = ARRAY_SIZE(palm27x_dai), 119 .num_dapm_widgets = ARRAY_SIZE(palm27x_dapm_widgets), 121 .num_dapm_routes = ARRAY_SIZE(audio_map),
|
/linux-4.4.14/arch/sh/boards/ |
D | board-polaris.c | 58 .num_resources = ARRAY_SIZE(smsc911x_resources), 69 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos), 99 regulator_register_fixed(0, dummy_supplies, ARRAY_SIZE(dummy_supplies)); in polaris_initialise() 113 ARRAY_SIZE(polaris_devices)); in polaris_initialise() 129 .nr_offsets = ARRAY_SIZE(ipr_offsets), 132 .nr_irqs = ARRAY_SIZE(ipr_irq_table),
|
D | board-edosk7760.c | 69 .nr_parts = ARRAY_SIZE(edosk7760_nor_flash_partitions), 84 .num_resources = ARRAY_SIZE(edosk7760_nor_flash_resources), 115 .num_resources = ARRAY_SIZE(sh7760_i2c1_res), 137 .num_resources = ARRAY_SIZE(sh7760_i2c0_res), 161 .num_resources = ARRAY_SIZE(smc91x_res), 182 ARRAY_SIZE(edosk7760_devices)); in init_edosk7760_devices()
|
D | board-sh7785lcr.c | 77 .nr_parts = ARRAY_SIZE(nor_flash_partitions), 93 .num_resources = ARRAY_SIZE(nor_flash_resources), 123 .num_resources = ARRAY_SIZE(r8a66597_usb_host_resources), 216 .num_resources = ARRAY_SIZE(sm501_resources), 258 .num_resources = ARRAY_SIZE(i2c_resources), 279 ARRAY_SIZE(sh7785lcr_i2c_devices)); in sh7785lcr_devices_setup() 283 i2c_device.num_resources = ARRAY_SIZE(i2c_proto_resources); in sh7785lcr_devices_setup() 287 ARRAY_SIZE(sh7785lcr_devices)); in sh7785lcr_devices_setup()
|
/linux-4.4.14/drivers/clk/pistachio/ |
D | clk-pistachio.c | 183 ARRAY_SIZE(pistachio_plls)); in pistachio_clk_init() 185 ARRAY_SIZE(pistachio_muxes)); in pistachio_clk_init() 187 ARRAY_SIZE(pistachio_divs)); in pistachio_clk_init() 189 ARRAY_SIZE(pistachio_ffs)); in pistachio_clk_init() 191 ARRAY_SIZE(pistachio_gates)); in pistachio_clk_init() 194 ARRAY_SIZE(mux_debug), in pistachio_clk_init() 203 ARRAY_SIZE(pistachio_critical_clks_core)); in pistachio_clk_init() 265 ARRAY_SIZE(pistachio_periph_divs)); in pistachio_clk_periph_init() 267 ARRAY_SIZE(pistachio_periph_gates)); in pistachio_clk_periph_init() 272 ARRAY_SIZE(pistachio_critical_clks_sys)); in pistachio_clk_periph_init() [all …]
|
/linux-4.4.14/drivers/pinctrl/mvebu/ |
D | pinctrl-kirkwood.c | 402 .ncontrols = ARRAY_SIZE(mv88f6180_mpp_controls), 404 .nmodes = ARRAY_SIZE(mv88f6xxx_mpp_modes), 406 .ngpioranges = ARRAY_SIZE(mv88f6180_gpio_ranges), 412 .ncontrols = ARRAY_SIZE(mv88f619x_mpp_controls), 414 .nmodes = ARRAY_SIZE(mv88f6xxx_mpp_modes), 416 .ngpioranges = ARRAY_SIZE(mv88f619x_gpio_ranges), 422 .ncontrols = ARRAY_SIZE(mv88f619x_mpp_controls), 424 .nmodes = ARRAY_SIZE(mv88f6xxx_mpp_modes), 426 .ngpioranges = ARRAY_SIZE(mv88f619x_gpio_ranges), 432 .ncontrols = ARRAY_SIZE(mv88f628x_mpp_controls), [all …]
|
D | pinctrl-orion.c | 183 .ncontrols = ARRAY_SIZE(orion_mpp_controls), 185 .nmodes = ARRAY_SIZE(orion_mpp_modes), 187 .ngpioranges = ARRAY_SIZE(mv88f5181l_gpio_ranges), 193 .ncontrols = ARRAY_SIZE(orion_mpp_controls), 195 .nmodes = ARRAY_SIZE(orion_mpp_modes), 197 .ngpioranges = ARRAY_SIZE(mv88f5182_gpio_ranges), 203 .ncontrols = ARRAY_SIZE(orion_mpp_controls), 205 .nmodes = ARRAY_SIZE(orion_mpp_modes), 207 .ngpioranges = ARRAY_SIZE(mv88f5281_gpio_ranges),
|
/linux-4.4.14/arch/sh/kernel/cpu/sh4a/ |
D | setup-sh7786.c | 49 .num_resources = ARRAY_SIZE(scif0_resources), 83 .num_resources = ARRAY_SIZE(scif1_resources), 105 .num_resources = ARRAY_SIZE(scif2_resources), 127 .num_resources = ARRAY_SIZE(scif3_resources), 149 .num_resources = ARRAY_SIZE(scif4_resources), 171 .num_resources = ARRAY_SIZE(scif5_resources), 195 .num_resources = ARRAY_SIZE(tmu0_resources), 216 .num_resources = ARRAY_SIZE(tmu1_resources), 237 .num_resources = ARRAY_SIZE(tmu2_resources), 258 .num_resources = ARRAY_SIZE(tmu3_resources), [all …]
|
D | setup-sh7723.c | 42 .num_resources = ARRAY_SIZE(scif0_resources), 65 .num_resources = ARRAY_SIZE(scif1_resources), 88 .num_resources = ARRAY_SIZE(scif2_resources), 111 .num_resources = ARRAY_SIZE(scif3_resources), 134 .num_resources = ARRAY_SIZE(scif4_resources), 157 .num_resources = ARRAY_SIZE(scif5_resources), 188 .num_resources = ARRAY_SIZE(vpu_resources), 216 .num_resources = ARRAY_SIZE(veu0_resources), 244 .num_resources = ARRAY_SIZE(veu1_resources), 263 .num_resources = ARRAY_SIZE(cmt_resources), [all …]
|
D | setup-sh7722.c | 125 .slave_num = ARRAY_SIZE(sh7722_dmae_slaves), 127 .channel_num = ARRAY_SIZE(sh7722_dmae_channels), 133 .ts_shift_num = ARRAY_SIZE(ts_shift), 174 .num_resources = ARRAY_SIZE(sh7722_dmae_resources), 198 .num_resources = ARRAY_SIZE(scif0_resources), 221 .num_resources = ARRAY_SIZE(scif1_resources), 244 .num_resources = ARRAY_SIZE(scif2_resources), 276 .num_resources = ARRAY_SIZE(rtc_resources), 306 .num_resources = ARRAY_SIZE(usbf_resources), 327 .num_resources = ARRAY_SIZE(iic_resources), [all …]
|
D | setup-sh7343.c | 35 .num_resources = ARRAY_SIZE(scif0_resources), 56 .num_resources = ARRAY_SIZE(scif1_resources), 77 .num_resources = ARRAY_SIZE(scif2_resources), 98 .num_resources = ARRAY_SIZE(scif3_resources), 121 .num_resources = ARRAY_SIZE(iic0_resources), 142 .num_resources = ARRAY_SIZE(iic1_resources), 171 .num_resources = ARRAY_SIZE(vpu_resources), 199 .num_resources = ARRAY_SIZE(veu_resources), 227 .num_resources = ARRAY_SIZE(jpu_resources), 246 .num_resources = ARRAY_SIZE(cmt_resources), [all …]
|
/linux-4.4.14/arch/sh/boards/mach-migor/ |
D | lcd_qvga.c | 123 migor_lcd_qvga_seq(sohandle, so, sync_data, ARRAY_SIZE(sync_data)); in migor_lcd_qvga_setup() 130 migor_lcd_qvga_seq(sohandle, so, sync_data, ARRAY_SIZE(sync_data)); in migor_lcd_qvga_setup() 134 migor_lcd_qvga_seq(sohandle, so, magic0_data, ARRAY_SIZE(magic0_data)); in migor_lcd_qvga_setup() 137 migor_lcd_qvga_seq(sohandle, so, magic1_data, ARRAY_SIZE(magic1_data)); in migor_lcd_qvga_setup() 143 migor_lcd_qvga_seq(sohandle, so, magic2_data, ARRAY_SIZE(magic2_data)); in migor_lcd_qvga_setup() 146 migor_lcd_qvga_seq(sohandle, so, magic3_data, ARRAY_SIZE(magic3_data)); in migor_lcd_qvga_setup()
|
/linux-4.4.14/sound/soc/samsung/ |
D | bells.c | 371 .num_links = ARRAY_SIZE(bells_dai_wm2200), 373 .num_configs = ARRAY_SIZE(bells_codec_conf), 378 .num_dapm_widgets = ARRAY_SIZE(bells_widgets), 380 .num_dapm_routes = ARRAY_SIZE(bells_routes), 391 .num_links = ARRAY_SIZE(bells_dai_wm5102), 393 .num_configs = ARRAY_SIZE(bells_codec_conf), 398 .num_dapm_widgets = ARRAY_SIZE(bells_widgets), 400 .num_dapm_routes = ARRAY_SIZE(bells_routes), 411 .num_links = ARRAY_SIZE(bells_dai_wm5110), 413 .num_configs = ARRAY_SIZE(bells_codec_conf), [all …]
|
D | smartq_wm8987.c | 153 ARRAY_SIZE(smartq_jack_pins)); in smartq_wm8987_init() 158 ARRAY_SIZE(smartq_jack_gpios), in smartq_wm8987_init() 166 snd_soc_jack_free_gpios(&smartq_jack, ARRAY_SIZE(smartq_jack_gpios), in smartq_wm8987_card_remove() 192 .num_links = ARRAY_SIZE(smartq_dai), 195 .num_dapm_widgets = ARRAY_SIZE(wm8987_dapm_widgets), 197 .num_dapm_routes = ARRAY_SIZE(audio_map), 199 .num_controls = ARRAY_SIZE(wm8987_smartq_controls),
|
D | h1940_uda1380.c | 36 .count = ARRAY_SIZE(rates), 165 &hp_jack, hp_jack_pins, ARRAY_SIZE(hp_jack_pins)); in h1940_uda1380_init() 167 snd_soc_jack_add_gpios(&hp_jack, ARRAY_SIZE(hp_jack_gpios), in h1940_uda1380_init() 175 snd_soc_jack_free_gpios(&hp_jack, ARRAY_SIZE(hp_jack_gpios), in h1940_uda1380_card_remove() 202 .num_links = ARRAY_SIZE(h1940_uda1380_dai), 205 .num_dapm_widgets = ARRAY_SIZE(uda1380_dapm_widgets), 207 .num_dapm_routes = ARRAY_SIZE(audio_map),
|
D | lowland.c | 62 ARRAY_SIZE(lowland_headset_pins)); in lowland_wm5100_init() 165 .num_links = ARRAY_SIZE(lowland_dai), 167 .num_configs = ARRAY_SIZE(lowland_codec_conf), 170 .num_controls = ARRAY_SIZE(controls), 172 .num_dapm_widgets = ARRAY_SIZE(widgets), 174 .num_dapm_routes = ARRAY_SIZE(audio_paths),
|
D | neo1973_wm8753.c | 322 .num_links = ARRAY_SIZE(neo1973_dai), 324 .num_aux_devs = ARRAY_SIZE(neo1973_aux_devs), 326 .num_configs = ARRAY_SIZE(neo1973_codec_conf), 329 .num_controls = ARRAY_SIZE(neo1973_wm8753_controls), 331 .num_dapm_widgets = ARRAY_SIZE(neo1973_wm8753_dapm_widgets), 333 .num_dapm_routes = ARRAY_SIZE(neo1973_wm8753_routes), 351 ARRAY_SIZE(neo1973_gta02_gpios)); in neo1973_init() 375 ARRAY_SIZE(neo1973_gta02_gpios)); in neo1973_init() 387 ARRAY_SIZE(neo1973_gta02_gpios)); in neo1973_exit()
|
D | rx1950_uda1380.c | 48 .count = ARRAY_SIZE(rates), 123 .num_links = ARRAY_SIZE(rx1950_uda1380_dai), 126 .num_dapm_widgets = ARRAY_SIZE(uda1380_dapm_widgets), 128 .num_dapm_routes = ARRAY_SIZE(audio_map), 214 &hp_jack, hp_jack_pins, ARRAY_SIZE(hp_jack_pins)); in rx1950_uda1380_init() 216 snd_soc_jack_add_gpios(&hp_jack, ARRAY_SIZE(hp_jack_gpios), in rx1950_uda1380_init() 224 snd_soc_jack_free_gpios(&hp_jack, ARRAY_SIZE(hp_jack_gpios), in rx1950_uda1380_card_remove()
|
/linux-4.4.14/arch/mips/alchemy/devboards/ |
D | db1550.c | 96 .nr_parts = ARRAY_SIZE(db1550_spiflash_parts), 173 .nr_partitions = ARRAY_SIZE(db1550_nand_parts), 193 .num_resources = ARRAY_SIZE(db1550_nand_res), 203 .num_parts = ARRAY_SIZE(db1550_nand_parts), 211 .num_resources = ARRAY_SIZE(db1550_nand_res), 283 .num_resources = ARRAY_SIZE(au1550_psc0_res), 315 .num_resources = ARRAY_SIZE(au1550_psc1_res), 346 .num_resources = ARRAY_SIZE(au1550_psc2_res), 378 .num_resources = ARRAY_SIZE(au1550_psc3_res), 473 .num_resources = ARRAY_SIZE(alchemy_pci_host_res), [all …]
|
/linux-4.4.14/arch/mips/mti-sead3/ |
D | sead3-platform.c | 67 .num_resources = ARRAY_SIZE(sead3_net_resources), 86 .nr_parts = ARRAY_SIZE(sead3_mtd_partitions), 126 .num_leds = ARRAY_SIZE(led_data_info), 144 .num_resources = ARRAY_SIZE(pled_resources), 163 .num_resources = ARRAY_SIZE(fled_resources), 191 .num_resources = ARRAY_SIZE(ehci_resources), 220 ARRAY_SIZE(sead3_platform_devices)); in sead3_platforms_device_init()
|
/linux-4.4.14/arch/sh/boards/mach-se/7724/ |
D | setup.c | 104 .num_resources = ARRAY_SIZE(smc91x_eth_resources), 132 .nr_parts = ARRAY_SIZE(nor_flash_partitions), 147 .num_resources = ARRAY_SIZE(nor_flash_resources), 212 .num_resources = ARRAY_SIZE(lcdc_resources), 243 .num_resources = ARRAY_SIZE(ceu0_resources), 274 .num_resources = ARRAY_SIZE(ceu1_resources), 299 .num_resources = ARRAY_SIZE(fsi_resources), 356 .num_resources = ARRAY_SIZE(keysc_resources), 388 .num_resources = ARRAY_SIZE(sh_eth_resources), 417 .num_resources = ARRAY_SIZE(sh7724_usb0_host_resources), [all …]
|
/linux-4.4.14/arch/sh/boards/mach-x3proto/ |
D | setup.c | 39 .num_resources = ARRAY_SIZE(heartbeat_resources), 63 .num_resources = ARRAY_SIZE(smc91x_resources), 94 .num_resources = ARRAY_SIZE(r8a66597_usb_host_resources), 125 .num_resources = ARRAY_SIZE(m66592_usb_peripheral_resources), 201 .nbuttons = ARRAY_SIZE(baseboard_buttons), 248 for (i = 0; i < ARRAY_SIZE(baseboard_buttons); i++) in x3proto_devices_setup() 261 ARRAY_SIZE(x3proto_devices)); in x3proto_devices_setup()
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | board-ldp.c | 79 .keymap_size = ARRAY_SIZE(board_keymap), 157 .nbuttons = ARRAY_SIZE(ldp_gpio_keys_buttons), 234 r = gpio_request_array(gpios, ARRAY_SIZE(gpios)); in ldp_display_init() 279 .num_consumer_supplies = ARRAY_SIZE(ldp_vmmc1_supply), 299 .num_consumer_supplies = ARRAY_SIZE(ldp_vaux1_supplies), 320 .num_consumer_supplies = ARRAY_SIZE(ldp_vpll2_supplies), 402 regulator_register_fixed(0, dummy_supplies, ARRAY_SIZE(dummy_supplies)); in omap_ldp_init() 406 platform_add_devices(ldp_devices, ARRAY_SIZE(ldp_devices)); in omap_ldp_init() 412 board_nand_init(ldp_nand_partitions, ARRAY_SIZE(ldp_nand_partitions), in omap_ldp_init()
|
D | twl-common.c | 116 .tblsize = ARRAY_SIZE(omap3_batt_table), 143 .num_consumer_supplies = ARRAY_SIZE(omap3_vdda_dac_supplies), 162 .num_consumer_supplies = ARRAY_SIZE(omap3_vpll2_supplies), 182 .num_consumer_supplies = ARRAY_SIZE(omap3_vdd1_supply), 194 .num_consumer_supplies = ARRAY_SIZE(omap3_vdd2_supply), 261 .num_consumer_supplies = ARRAY_SIZE(omap4_vdda_hdmi_dac_supplies), 308 .num_consumer_supplies = ARRAY_SIZE(omap4_vmmc_supply), 352 .num_consumer_supplies = ARRAY_SIZE(omap4_vcxio_supply), 394 .num_consumer_supplies = ARRAY_SIZE(omap4_vdd1_supply), 406 .num_consumer_supplies = ARRAY_SIZE(omap4_vdd2_supply), [all …]
|
/linux-4.4.14/arch/sh/kernel/cpu/sh3/ |
D | setup-sh7720.c | 47 .num_resources = ARRAY_SIZE(rtc_resources), 71 .num_resources = ARRAY_SIZE(scif0_resources), 94 .num_resources = ARRAY_SIZE(scif1_resources), 125 .num_resources = ARRAY_SIZE(usb_ohci_resources), 151 .num_resources = ARRAY_SIZE(usbf_resources), 171 .num_resources = ARRAY_SIZE(cmt_resources), 192 .num_resources = ARRAY_SIZE(tmu0_resources), 208 ARRAY_SIZE(sh7720_devices)); in sh7720_devices_setup() 222 ARRAY_SIZE(sh7720_early_devices)); in plat_early_device_setup()
|
/linux-4.4.14/tools/perf/tests/ |
D | hists_link.c | 78 for (k = 0; k < ARRAY_SIZE(fake_common_samples); k++) { in add_hist_entries() 104 for (k = 0; k < ARRAY_SIZE(fake_samples[i]); k++) { in add_hist_entries() 173 ARRAY_SIZE(fake_common_samples), in __validate_match() 185 if (count != ARRAY_SIZE(fake_common_samples)) { in __validate_match() 187 count, ARRAY_SIZE(fake_common_samples)); in __validate_match() 225 ARRAY_SIZE(fake_common_samples), in __validate_link() 228 ARRAY_SIZE(fake_samples[idx]), in __validate_link() 246 if (count_dummy != ARRAY_SIZE(fake_samples[1]) - 1) { in __validate_link() 248 count_dummy, ARRAY_SIZE(fake_samples[1]) - 1); in __validate_link() 251 if (count != count_pair + ARRAY_SIZE(fake_samples[0])) { in __validate_link() [all …]
|
/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
D | dss_features.c | 624 .num_reg_fields = ARRAY_SIZE(omap2_dss_reg_fields), 627 .num_features = ARRAY_SIZE(omap2_dss_feat_list), 645 .num_reg_fields = ARRAY_SIZE(omap3_dss_reg_fields), 648 .num_features = ARRAY_SIZE(omap3430_dss_feat_list), 669 .num_reg_fields = ARRAY_SIZE(omap3_dss_reg_fields), 672 .num_features = ARRAY_SIZE(am35xx_dss_feat_list), 689 .num_reg_fields = ARRAY_SIZE(am43xx_dss_reg_fields), 692 .num_features = ARRAY_SIZE(am43xx_dss_feat_list), 709 .num_reg_fields = ARRAY_SIZE(omap3_dss_reg_fields), 712 .num_features = ARRAY_SIZE(omap3630_dss_feat_list), [all …]
|
/linux-4.4.14/arch/sh/boards/mach-ap325rxa/ |
D | setup.c | 69 .num_resources = ARRAY_SIZE(smsc9118_resources), 109 .nr_parts = ARRAY_SIZE(ap325rxa_nor_flash_partitions), 124 .num_resources = ARRAY_SIZE(ap325rxa_nor_flash_resources), 148 .nr_parts = ARRAY_SIZE(nand_partition_info), 156 .num_resources = ARRAY_SIZE(nand_flash_resources), 220 .num_modes = ARRAY_SIZE(ap325rxa_lcdc_modes), 250 .num_resources = ARRAY_SIZE(lcdc_resources), 318 for (i = 0; i < ARRAY_SIZE(camera_ncm03j_magic); i += 2) { in camera_set_capture() 422 .num_resources = ARRAY_SIZE(ceu_resources), 458 .num_resources = ARRAY_SIZE(sdhi0_cn3_resources), [all …]
|
/linux-4.4.14/arch/x86/mm/kmemcheck/ |
D | error.c | 58 if (error_count == ARRAY_SIZE(error_fifo)) { in error_next_wr() 64 if (++error_wr == ARRAY_SIZE(error_fifo)) in error_next_wr() 78 if (++error_rd == ARRAY_SIZE(error_fifo)) in error_next_rd() 110 8 * e->size, e->state < ARRAY_SIZE(desc) ? in kmemcheck_error_recall() 121 if (e->shadow_copy[i] < ARRAY_SIZE(short_desc)) in kmemcheck_error_recall() 186 e->trace.max_entries = ARRAY_SIZE(e->trace_entries); in kmemcheck_error_save() 222 e->trace.max_entries = ARRAY_SIZE(e->trace_entries); in kmemcheck_error_save_bug()
|
/linux-4.4.14/arch/arm/mach-rpc/ |
D | riscpc.c | 89 iotable_init(rpc_io_desc, ARRAY_SIZE(rpc_io_desc)); in rpc_map_io() 114 .num_resources = ARRAY_SIZE(acornfb_resources), 125 .num_resources = ARRAY_SIZE(iomd_resources), 140 .num_resources = ARRAY_SIZE(iomd_kart_resources), 177 .num_resources = ARRAY_SIZE(pata_resources), 200 return platform_add_devices(devs, ARRAY_SIZE(devs)); in rpc_init()
|
/linux-4.4.14/arch/x86/mm/ |
D | pf_in.c | 99 for (i = 0; i < ARRAY_SIZE(prefix_codes); i++) { in skip_prefix() 136 for (i = 0; i < ARRAY_SIZE(array); i++) { \ 175 for (i = 0; i < ARRAY_SIZE(rw8); i++) in get_ins_reg_width() 179 for (i = 0; i < ARRAY_SIZE(rw32); i++) in get_ins_reg_width() 198 for (i = 0; i < ARRAY_SIZE(mw8); i++) in get_ins_mem_width() 202 for (i = 0; i < ARRAY_SIZE(mw16); i++) in get_ins_mem_width() 206 for (i = 0; i < ARRAY_SIZE(mw32); i++) in get_ins_mem_width() 210 for (i = 0; i < ARRAY_SIZE(mw64); i++) in get_ins_mem_width() 421 for (i = 0; i < ARRAY_SIZE(reg_rop); i++) in get_ins_reg_val() 425 for (i = 0; i < ARRAY_SIZE(reg_wop); i++) in get_ins_reg_val() [all …]
|
/linux-4.4.14/drivers/clk/ |
D | clk-asm9260.c | 255 ARRAY_SIZE(main_mux_p), HW_MAINCLKSEL, }, 257 ARRAY_SIZE(main_mux_p), HW_UARTCLKSEL, }, 259 ARRAY_SIZE(main_mux_p), HW_WDTCLKSEL, }, 261 ARRAY_SIZE(i2s0_mux_p), HW_I2S0CLKSEL, }, 263 ARRAY_SIZE(i2s1_mux_p), HW_I2S1CLKSEL, }, 265 ARRAY_SIZE(clkout_mux_p), HW_CLKOUTCLKSEL, }, 291 for (n = 0; n < ARRAY_SIZE(asm9260_mux_clks); n++) { in asm9260_acc_init() 302 for (n = 0; n < ARRAY_SIZE(asm9260_mux_gates); n++) { in asm9260_acc_init() 311 for (n = 0; n < ARRAY_SIZE(asm9260_div_clks); n++) { in asm9260_acc_init() 321 for (n = 0; n < ARRAY_SIZE(asm9260_ahb_gates); n++) { in asm9260_acc_init()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_cmd_parser.c | 365 { common_cmds, ARRAY_SIZE(common_cmds) }, 366 { render_cmds, ARRAY_SIZE(render_cmds) }, 370 { common_cmds, ARRAY_SIZE(common_cmds) }, 371 { render_cmds, ARRAY_SIZE(render_cmds) }, 372 { hsw_render_cmds, ARRAY_SIZE(hsw_render_cmds) }, 376 { common_cmds, ARRAY_SIZE(common_cmds) }, 377 { video_cmds, ARRAY_SIZE(video_cmds) }, 381 { common_cmds, ARRAY_SIZE(common_cmds) }, 382 { vecs_cmds, ARRAY_SIZE(vecs_cmds) }, 386 { common_cmds, ARRAY_SIZE(common_cmds) }, [all …]
|
/linux-4.4.14/arch/avr32/boards/favr-32/ |
D | setup.c | 125 .modedb_len = ARRAY_SIZE(lb104v03_modes), 158 .num_leds = ARRAY_SIZE(favr32_leds), 183 if (i < ARRAY_SIZE(hw_addr)) in parse_tag_ethernet() 200 if (pdev->id >= ARRAY_SIZE(hw_addr)) in set_hw_addr() 229 for (i = 0; i < ARRAY_SIZE(favr32_leds); i++) in favr32_setup_leds() 260 pwm_add_table(pwm_lookup, ARRAY_SIZE(pwm_lookup)); in favr32_setup_atmel_pwm_bl() 262 ARRAY_SIZE(fixed_power_consumers), 3300000); in favr32_setup_atmel_pwm_bl() 355 at32_add_device_spi(1, spi1_board_info, ARRAY_SIZE(spi1_board_info)); in favr32_init()
|
/linux-4.4.14/arch/sh/boards/mach-r2d/ |
D | setup.c | 55 .num_resources = ARRAY_SIZE(cf_ide_resources), 92 .num_resources = ARRAY_SIZE(spi_sh_sci_resources), 110 .num_resources = ARRAY_SIZE(heartbeat_resources), 183 .num_resources = ARRAY_SIZE(sm501_resources), 211 .nr_parts = ARRAY_SIZE(r2d_partitions), 256 spi_register_board_info(spi_bus, ARRAY_SIZE(spi_bus)); in rts7751r2d_devices_setup() 259 ARRAY_SIZE(rts7751r2d_devices)); in rts7751r2d_devices_setup()
|
/linux-4.4.14/arch/sh/kernel/cpu/sh2/ |
D | setup-sh7619.c | 78 .num_resources = ARRAY_SIZE(scif0_resources), 99 .num_resources = ARRAY_SIZE(scif1_resources), 120 .num_resources = ARRAY_SIZE(scif2_resources), 151 .num_resources = ARRAY_SIZE(eth_resources), 172 .num_resources = ARRAY_SIZE(cmt_resources), 186 ARRAY_SIZE(sh7619_devices)); in sh7619_devices_setup() 210 ARRAY_SIZE(sh7619_early_devices)); in plat_early_device_setup()
|