Home
last modified time | relevance | path

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

/linux/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()
821 chain->num_cells = attr->num_cells; in api_chain_init()
829 cell_ctxt_size = chain->num_cells * sizeof(*chain->cell_ctxt); in api_chain_init()
873 if (attr->num_cells & (attr->num_cells - 1)) { in api_cmd_create_chain()
903 api_cmd_destroy_cells(chain, chain->num_cells); in api_cmd_create_chain()
917 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
/linux/drivers/mfd/
A Drohm-bd9576.c97 int num_cells; in bd957x_i2c_probe() local
107 num_cells = ARRAY_SIZE(bd9576_mfd_cells); in bd957x_i2c_probe()
112 num_cells = ARRAY_SIZE(bd9573_mfd_cells); in bd957x_i2c_probe()
164 num_cells, NULL, 0, domain); in bd957x_i2c_probe()
A Dcros_ec_dev.c48 unsigned int num_cells; member
99 .num_cells = ARRAY_SIZE(cros_ec_cec_cells),
104 .num_cells = ARRAY_SIZE(cros_ec_rtc_cells),
109 .num_cells = ARRAY_SIZE(cros_usbpd_charger_cells),
205 cros_subdevices[i].num_cells); in ec_device_probe()
A Dbd9571mwv.c216 int ret, num_cells, irq = client->irq; in bd9571mwv_probe() local
230 num_cells = ARRAY_SIZE(bd9571mwv_cells); in bd9571mwv_probe()
236 num_cells = ARRAY_SIZE(bd9574mwf_cells); in bd9571mwv_probe()
260 return devm_mfd_add_devices(dev, PLATFORM_DEVID_AUTO, cells, num_cells, in bd9571mwv_probe()
A Dti-lmu.c25 int num_cells; member
126 .num_cells = ARRAY_SIZE(chip##_devices),\
195 data->num_cells, NULL, 0, NULL); in ti_lmu_probe()
/linux/drivers/mcb/
A Dmcb-parse.c183 int num_cells = 0; in chameleon_parse_cells() local
239 num_cells++; in chameleon_parse_cells()
242 if (num_cells == 0) in chameleon_parse_cells()
243 num_cells = -EINVAL; in chameleon_parse_cells()
247 return num_cells; in chameleon_parse_cells()
/linux/drivers/clk/at91/
A Ddt-compat.c507 u32 num_cells; in of_at91_clk_pll_get_characteristics() local
518 &num_cells)) in of_at91_clk_pll_get_characteristics()
521 if (num_cells < 2 || num_cells > 4) in of_at91_clk_pll_get_characteristics()
526 num_output = tmp / (sizeof(u32) * num_cells); in of_at91_clk_pll_get_characteristics()
536 if (num_cells > 2) { in of_at91_clk_pll_get_characteristics()
542 if (num_cells > 3) { in of_at91_clk_pll_get_characteristics()
549 offset = i * num_cells; in of_at91_clk_pll_get_characteristics()
561 if (num_cells == 2) in of_at91_clk_pll_get_characteristics()
570 if (num_cells == 3) in of_at91_clk_pll_get_characteristics()
/linux/net/dccp/
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()

Completed in 18 milliseconds