Home
last modified time | relevance | path

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

/linux/drivers/mfd/
H 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()
H 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()
H 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()
H 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()
H 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()
/linux/drivers/net/ethernet/huawei/hinic/
H 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 …]
H A Dhinic_hw_api_cmd.h129 u32 num_cells; member
176 u32 num_cells; member
/linux/drivers/mcb/
H 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()
/linux/drivers/clk/at91/
H 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()
/linux/net/dccp/
H A Dackvec.c
/linux/drivers/soc/tegra/fuse/
H A Dfuse.h36 unsigned int num_cells; member
H A Dfuse-tegra.c214 nvmem.ncells = fuse->soc->num_cells; in tegra_fuse_probe()