Home
last modified time | relevance | path

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

/openbmc/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 Dcros_ec_dev.c47 unsigned int num_cells; member
98 .num_cells = ARRAY_SIZE(cros_ec_cec_cells),
103 .num_cells = ARRAY_SIZE(cros_ec_rtc_cells),
108 .num_cells = ARRAY_SIZE(cros_usbpd_charger_cells),
208 cros_subdevices[i].num_cells); in ec_device_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()
/openbmc/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
/openbmc/linux/drivers/mcb/
H A Dmcb-parse.c181 int num_cells = 0; in chameleon_parse_cells() local
238 num_cells++; in chameleon_parse_cells()
241 if (num_cells == 0) { in chameleon_parse_cells()
247 pr_debug("%d cell(s) found. Chameleon table size: 0x%04x bytes\n", num_cells, table_size); in chameleon_parse_cells()
/openbmc/linux/drivers/soc/tegra/fuse/
H A Dfuse-tegra30.c288 .num_cells = ARRAY_SIZE(tegra124_fuse_cells),
458 .num_cells = ARRAY_SIZE(tegra210_fuse_cells),
516 .num_cells = ARRAY_SIZE(tegra186_fuse_cells),
609 .num_cells = ARRAY_SIZE(tegra194_fuse_cells),
674 .num_cells = ARRAY_SIZE(tegra234_fuse_cells),
H A Dfuse.h36 unsigned int num_cells; member
H A Dfuse-tegra.c161 nvmem.ncells = fuse->soc->num_cells; in tegra_fuse_probe()
/openbmc/linux/net/dccp/
H A Dackvec.c199 u32 num_cells = num_packets; in dccp_ackvec_add_new() local
217 for (num_packets = num_cells = 1; lost_packets; ++num_cells) { in dccp_ackvec_add_new()
227 if (num_cells + dccp_ackvec_buflen(av) >= DCCPAV_MAX_ACKVEC_LEN) { in dccp_ackvec_add_new()
/openbmc/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()
568 num_output = tmp / (sizeof(u32) * num_cells); in of_at91_clk_pll_get_characteristics()
578 if (num_cells > 2) { in of_at91_clk_pll_get_characteristics()
584 if (num_cells > 3) { in of_at91_clk_pll_get_characteristics()
591 offset = i * num_cells; in of_at91_clk_pll_get_characteristics()
603 if (num_cells == 2) in of_at91_clk_pll_get_characteristics()
612 if (num_cells == 3) in of_at91_clk_pll_get_characteristics()
/openbmc/qemu/hw/misc/
H A Dmips_itu.c162 uint32_t num_cells = get_num_cells(s); in get_cell() local
164 if (cell_idx >= num_cells) { in get_cell()
165 cell_idx = num_cells - 1; in get_cell()