/drivers/mfd/ |
D | sky81452.c | 29 struct mfd_cell cells[2]; in sky81452_probe() local 47 memset(cells, 0, sizeof(cells)); in sky81452_probe() 48 cells[0].name = "sky81452-backlight"; in sky81452_probe() 49 cells[0].of_compatible = "skyworks,sky81452-backlight"; in sky81452_probe() 50 cells[1].name = "sky81452-regulator"; in sky81452_probe() 51 cells[1].platform_data = pdata->regulator_init_data; in sky81452_probe() 52 cells[1].pdata_size = sizeof(*pdata->regulator_init_data); in sky81452_probe() 54 ret = devm_mfd_add_devices(dev, -1, cells, ARRAY_SIZE(cells), in sky81452_probe()
|
D | lpc_sch.c | 137 unsigned int cells = 0; in lpc_sch_probe() local 142 id->device, &lpc_sch_cells[cells]); in lpc_sch_probe() 146 cells++; in lpc_sch_probe() 150 id->device, &lpc_sch_cells[cells]); in lpc_sch_probe() 154 cells++; in lpc_sch_probe() 158 id->device, &lpc_sch_cells[cells]); in lpc_sch_probe() 162 cells++; in lpc_sch_probe() 164 if (cells == 0) { in lpc_sch_probe() 169 return mfd_add_devices(&dev->dev, 0, lpc_sch_cells, cells, NULL, 0, NULL); in lpc_sch_probe()
|
D | rsmu_core.c | 54 struct mfd_cell *cells; in rsmu_core_init() local 59 cells = rsmu_cm_devs; in rsmu_core_init() 62 cells = rsmu_sabre_devs; in rsmu_core_init() 65 cells = rsmu_sl_devs; in rsmu_core_init() 74 ret = devm_mfd_add_devices(rsmu->dev, PLATFORM_DEVID_AUTO, cells, in rsmu_core_init()
|
D | wm97xx-core.c | 256 struct mfd_cell *cells; in wm97xx_ac97_probe() local 282 cells = wm9705_cells; in wm97xx_ac97_probe() 287 cells = wm9712_cells; in wm97xx_ac97_probe() 292 cells = wm9713_cells; in wm97xx_ac97_probe() 300 cells[i].platform_data = codec_pdata; in wm97xx_ac97_probe() 301 cells[i].pdata_size = sizeof(*codec_pdata); in wm97xx_ac97_probe() 311 cells, nb_cells, NULL, 0, NULL); in wm97xx_ac97_probe()
|
D | mt6397-core.c | 238 const struct mfd_cell *cells; member 246 .cells = mt6323_devs, 254 .cells = mt6357_devs, 262 .cells = mt6331_mt6332_devs, 270 .cells = mt6358_devs, 278 .cells = mt6359_devs, 286 .cells = mt6397_devs, 335 pmic_core->cells, pmic_core->cell_size, in mt6397_probe()
|
D | sun4i-gpadc.c | 99 const struct mfd_cell *cells; in sun4i_gpadc_probe() local 109 cells = sun4i_gpadc_cells; in sun4i_gpadc_probe() 113 cells = sun5i_gpadc_cells; in sun4i_gpadc_probe() 117 cells = sun6i_gpadc_cells; in sun4i_gpadc_probe() 157 ret = devm_mfd_add_devices(dev->dev, 0, cells, size, NULL, 0, NULL); in sun4i_gpadc_probe()
|
/drivers/of/unittest-data/ |
D | tests-address.dtsi | 4 #address-cells = <1>; 5 #size-cells = <1>; 8 #address-cells = <1>; 9 #size-cells = <1>; 13 #address-cells = <1>; 14 #size-cells = <1>; 26 #address-cells = <2>; 27 #size-cells = <2>; 38 #address-cells = <3>; 39 #size-cells = <2>;
|
D | tests-interrupts.dtsi | 6 #address-cells = <1>; 7 #size-cells = <1>; 10 #interrupt-cells = <1>; 15 #interrupt-cells = <3>; 20 #interrupt-cells = <2>; 24 #interrupt-cells = <1>; 25 #address-cells = <0>; 33 #interrupt-cells = <2>; 35 * #address-cells is required 41 * Not having #address-cells will result in a [all …]
|
D | tests-overlay.dtsi | 10 #address-cells = <1>; 11 #size-cells = <0>; 78 #address-cells = <1>; 79 #size-cells = <0>; 98 #address-cells = <1>; 99 #size-cells = <0>; 102 #address-cells = <1>; 103 #size-cells = <0>;
|
D | overlay_15.dts | 8 #address-cells = <1>; 9 #size-cells = <0>; 15 #address-cells = <1>; 16 #size-cells = <0>; 19 #address-cells = <1>; 20 #size-cells = <0>;
|
D | tests-platform.dtsi | 6 #address-cells = <1>; 7 #size-cells = <0>; 13 #address-cells = <1>; 14 #size-cells = <0>; 26 #address-cells = <1>; 27 #size-cells = <0>;
|
D | overlay.dts | 18 #address-cells = <1>; 19 #size-cells = <1>; 23 #address-cells = <1>; 24 #size-cells = <1>; 36 #address-cells = <1>; 37 #size-cells = <1>;
|
D | tests-phandle.dtsi | 14 #phandle-cells = <0>; 18 #phandle-cells = <1>; 22 #phandle-cells = <2>; 26 #phandle-cells = <3>; 30 #phandle-cells = <2>; 42 #phandle-cells = <2>;
|
D | overlay_common.dtsi | 14 #address-cells = <1>; 15 #size-cells = <1>; 40 #address-cells = <1>; 41 #size-cells = <1>; 47 #address-cells = <1>; 48 #size-cells = <1>;
|
D | overlay_11.dts | 10 #address-cells = <1>; 11 #size-cells = <0>; 18 #address-cells = <1>; 19 #size-cells = <0>;
|
D | overlay_10.dts | 10 #address-cells = <1>; 11 #size-cells = <0>; 18 #address-cells = <1>; 19 #size-cells = <0>;
|
/drivers/platform/x86/intel/int3472/ |
D | tps68470.c | 148 struct mfd_cell *cells; in skl_int3472_tps68470_probe() local 180 cells = kcalloc(TPS68470_WIN_MFD_CELL_COUNT, sizeof(*cells), GFP_KERNEL); in skl_int3472_tps68470_probe() 181 if (!cells) in skl_int3472_tps68470_probe() 190 cells[0].name = "tps68470-clk"; in skl_int3472_tps68470_probe() 191 cells[0].platform_data = clk_pdata; in skl_int3472_tps68470_probe() 192 cells[0].pdata_size = struct_size(clk_pdata, consumers, n_consumers); in skl_int3472_tps68470_probe() 193 cells[1].name = "tps68470-regulator"; in skl_int3472_tps68470_probe() 194 cells[1].platform_data = (void *)board_data->tps68470_regulator_pdata; in skl_int3472_tps68470_probe() 195 cells[1].pdata_size = sizeof(struct tps68470_regulator_platform_data); in skl_int3472_tps68470_probe() 196 cells[2].name = "tps68470-gpio"; in skl_int3472_tps68470_probe() [all …]
|
/drivers/nvmem/ |
D | brcm_nvram.c | 20 struct nvmem_cell_info *cells; member 58 priv->cells = devm_kcalloc(dev, priv->ncells, sizeof(*priv->cells), GFP_KERNEL); in brcm_nvram_add_cells() 59 if (!priv->cells) in brcm_nvram_add_cells() 71 priv->cells[idx].name = devm_kstrdup(dev, var, GFP_KERNEL); in brcm_nvram_add_cells() 72 if (!priv->cells[idx].name) in brcm_nvram_add_cells() 74 priv->cells[idx].offset = value - (char *)data; in brcm_nvram_add_cells() 75 priv->cells[idx].bytes = strlen(value); in brcm_nvram_add_cells() 76 priv->cells[idx].np = of_get_child_by_name(dev->of_node, priv->cells[idx].name); in brcm_nvram_add_cells() 143 config.cells = priv->cells; in brcm_nvram_probe()
|
D | u-boot-env.c | 28 struct nvmem_cell_info *cells; member 77 priv->cells = devm_kcalloc(dev, priv->ncells, sizeof(*priv->cells), GFP_KERNEL); in u_boot_env_add_cells() 78 if (!priv->cells) in u_boot_env_add_cells() 90 priv->cells[idx].name = devm_kstrdup(dev, var, GFP_KERNEL); in u_boot_env_add_cells() 91 if (!priv->cells[idx].name) in u_boot_env_add_cells() 93 priv->cells[idx].offset = data_offset + value - data; in u_boot_env_add_cells() 94 priv->cells[idx].bytes = strlen(value); in u_boot_env_add_cells() 95 priv->cells[idx].np = of_get_child_by_name(dev->of_node, priv->cells[idx].name); in u_boot_env_add_cells() 193 config.cells = priv->cells; in u_boot_env_probe()
|
/drivers/clk/mmp/ |
D | clk-of-pxa910.c | 234 struct mmp_clk_reset_cell *cells; in pxa910_clk_reset_init() local 240 cells = kcalloc(nr_resets, sizeof(*cells), GFP_KERNEL); in pxa910_clk_reset_init() 241 if (!cells) in pxa910_clk_reset_init() 246 cells[base + i].clk_id = apbc_gate_clks[i].id; in pxa910_clk_reset_init() 247 cells[base + i].reg = in pxa910_clk_reset_init() 249 cells[base + i].flags = 0; in pxa910_clk_reset_init() 250 cells[base + i].lock = apbc_gate_clks[i].lock; in pxa910_clk_reset_init() 251 cells[base + i].bits = 0x4; in pxa910_clk_reset_init() 256 cells[base + i].clk_id = apbcp_gate_clks[i].id; in pxa910_clk_reset_init() 257 cells[base + i].reg = in pxa910_clk_reset_init() [all …]
|
D | clk-of-pxa1928.c | 183 struct mmp_clk_reset_cell *cells; in pxa1928_clk_reset_init() local 187 cells = kcalloc(nr_resets, sizeof(*cells), GFP_KERNEL); in pxa1928_clk_reset_init() 188 if (!cells) in pxa1928_clk_reset_init() 193 cells[base + i].clk_id = apbc_gate_clks[i].id; in pxa1928_clk_reset_init() 194 cells[base + i].reg = in pxa1928_clk_reset_init() 196 cells[base + i].flags = 0; in pxa1928_clk_reset_init() 197 cells[base + i].lock = apbc_gate_clks[i].lock; in pxa1928_clk_reset_init() 198 cells[base + i].bits = 0x4; in pxa1928_clk_reset_init() 201 mmp_clk_reset_register(np, cells, nr_resets); in pxa1928_clk_reset_init()
|
D | reset.c | 23 cell = &unit->cells[i]; in mmp_of_reset_xlate() 42 cell = &unit->cells[id]; in mmp_clk_reset_assert() 64 cell = &unit->cells[id]; in mmp_clk_reset_deassert() 84 struct mmp_clk_reset_cell *cells, int nr_resets) in mmp_clk_reset_register() argument 92 unit->cells = cells; in mmp_clk_reset_register()
|
D | clk-of-pxa168.c | 279 struct mmp_clk_reset_cell *cells; in pxa168_clk_reset_init() local 283 cells = kcalloc(nr_resets, sizeof(*cells), GFP_KERNEL); in pxa168_clk_reset_init() 284 if (!cells) in pxa168_clk_reset_init() 288 cells[i].clk_id = apbc_gate_clks[i].id; in pxa168_clk_reset_init() 289 cells[i].reg = pxa_unit->apbc_base + apbc_gate_clks[i].offset; in pxa168_clk_reset_init() 290 cells[i].flags = 0; in pxa168_clk_reset_init() 291 cells[i].lock = apbc_gate_clks[i].lock; in pxa168_clk_reset_init() 292 cells[i].bits = 0x4; in pxa168_clk_reset_init() 295 mmp_clk_reset_register(np, cells, nr_resets); in pxa168_clk_reset_init()
|
/drivers/staging/pi433/Documentation/devicetree/ |
D | pi433-overlay.dts | 10 #address-cells = <1>; 11 #size-cells = <0>; 33 #address-cells = <1>; 34 #size-cells = <0>;
|
/drivers/mux/ |
D | adg792a.c | 66 u32 cells; in adg792a_probe() local 73 ret = device_property_read_u32(dev, "#mux-control-cells", &cells); in adg792a_probe() 76 if (cells >= 2) in adg792a_probe() 79 mux_chip = devm_mux_chip_alloc(dev, cells ? 3 : 1, 0); in adg792a_probe() 119 if (cells) in adg792a_probe()
|