Home
last modified time | relevance | path

Searched refs:num_cells (Results 1 – 13 of 13) sorted by relevance

/drivers/mfd/
A Dcros_ec_dev.c47 unsigned int num_cells; member
122 .num_cells = ARRAY_SIZE(cros_ec_cec_cells),
127 .num_cells = ARRAY_SIZE(cros_ec_gpio_cells),
132 .num_cells = ARRAY_SIZE(cros_ec_rtc_cells),
137 .num_cells = ARRAY_SIZE(cros_ec_ucsi_cells),
142 .num_cells = ARRAY_SIZE(cros_ec_wdt_cells),
147 .num_cells = ARRAY_SIZE(cros_ec_led_cells),
152 .num_cells = ARRAY_SIZE(cros_ec_keyboard_leds_cells),
157 .num_cells = ARRAY_SIZE(cros_ec_charge_control_cells),
258 cros_subdevices[i].num_cells); in ec_device_probe()
A Drohm-bd9576.c96 int num_cells; in bd957x_i2c_probe() local
106 num_cells = ARRAY_SIZE(bd9576_mfd_cells); in bd957x_i2c_probe()
111 num_cells = ARRAY_SIZE(bd9573_mfd_cells); in bd957x_i2c_probe()
162 num_cells, NULL, 0, domain); in bd957x_i2c_probe()
A Dbd9571mwv.c215 int ret, num_cells, irq = client->irq; in bd9571mwv_probe() local
229 num_cells = ARRAY_SIZE(bd9571mwv_cells); in bd9571mwv_probe()
235 num_cells = ARRAY_SIZE(bd9574mwf_cells); in bd9571mwv_probe()
259 return devm_mfd_add_devices(dev, PLATFORM_DEVID_AUTO, cells, num_cells, in bd9571mwv_probe()
A Dti-lmu.c24 int num_cells; member
125 .num_cells = ARRAY_SIZE(chip##_devices),\
195 data->num_cells, NULL, 0, NULL); in ti_lmu_probe()
A Drohm-bd96801.c53 int num_cells; member
592 .num_cells = ARRAY_SIZE(bd96801_cells),
606 .num_cells = ARRAY_SIZE(bd96802_cells),
620 .num_cells = ARRAY_SIZE(bd96805_cells),
634 .num_cells = ARRAY_SIZE(bd96806_cells),
753 ddata->num_cells, NULL, 0, NULL); in bd96801_i2c_probe()
A Dtwl-core.c870 int num_cells; in twl_probe() local
874 num_cells = ARRAY_SIZE(twl6032_cells); in twl_probe()
877 num_cells = ARRAY_SIZE(twl6030_cells); in twl_probe()
881 cells, num_cells, NULL, 0, NULL); in twl_probe()
/drivers/net/ethernet/huawei/hinic/
A Dhinic_hw_api_cmd.c49 #define MASKED_IDX(chain, idx) ((idx) & ((chain)->num_cells - 1))
523 val = chain->num_cells; in api_cmd_set_num_cells()
762 int num_cells) in api_cmd_destroy_cells() argument
766 for (cell_idx = 0; cell_idx < num_cells; cell_idx++) in api_cmd_destroy_cells()
783 for (cell_idx = 0; cell_idx < chain->num_cells; cell_idx++) { in api_cmd_create_cells()
820 chain->num_cells = attr->num_cells; in api_chain_init()
828 chain->cell_ctxt = devm_kcalloc(&pdev->dev, chain->num_cells, in api_chain_init()
872 if (attr->num_cells & (attr->num_cells - 1)) { in api_cmd_create_chain()
902 api_cmd_destroy_cells(chain, chain->num_cells); in api_cmd_create_chain()
916 api_cmd_destroy_cells(chain, chain->num_cells); in api_cmd_destroy_chain()
[all …]
A Dhinic_hw_api_cmd.h129 u32 num_cells; member
176 u32 num_cells; member
/drivers/mcb/
A Dmcb-parse.c176 int num_cells = 0; in chameleon_parse_cells() local
233 num_cells++; in chameleon_parse_cells()
236 if (num_cells == 0) { in chameleon_parse_cells()
242 pr_debug("%d cell(s) found. Chameleon table size: 0x%04x bytes\n", num_cells, table_size); in chameleon_parse_cells()
/drivers/clk/at91/
A Ddt-compat.c549 u32 num_cells; in of_at91_clk_pll_get_characteristics() local
560 &num_cells)) in of_at91_clk_pll_get_characteristics()
563 if (num_cells < 2 || num_cells > 4) in of_at91_clk_pll_get_characteristics()
569 num_output /= num_cells; in of_at91_clk_pll_get_characteristics()
579 if (num_cells > 2) { in of_at91_clk_pll_get_characteristics()
585 if (num_cells > 3) { in of_at91_clk_pll_get_characteristics()
592 offset = i * num_cells; in of_at91_clk_pll_get_characteristics()
604 if (num_cells == 2) in of_at91_clk_pll_get_characteristics()
613 if (num_cells == 3) in of_at91_clk_pll_get_characteristics()
/drivers/soc/tegra/fuse/
A Dfuse-tegra30.c289 .num_cells = ARRAY_SIZE(tegra124_fuse_cells),
459 .num_cells = ARRAY_SIZE(tegra210_fuse_cells),
517 .num_cells = ARRAY_SIZE(tegra186_fuse_cells),
610 .num_cells = ARRAY_SIZE(tegra194_fuse_cells),
680 .num_cells = ARRAY_SIZE(tegra234_fuse_cells),
A Dfuse.h36 unsigned int num_cells; member
A Dfuse-tegra.c216 nvmem.ncells = fuse->soc->num_cells; in tegra_fuse_probe()

Completed in 27 milliseconds