Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/mfd/
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),
200 cros_subdevices[i].num_cells); in ec_device_probe()
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-v5.10/drivers/net/ethernet/huawei/hinic/
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()
766 int num_cells) in api_cmd_destroy_cells() argument
770 for (cell_idx = 0; cell_idx < num_cells; cell_idx++) in api_cmd_destroy_cells()
787 for (cell_idx = 0; cell_idx < chain->num_cells; cell_idx++) { in api_cmd_create_cells()
825 chain->num_cells = attr->num_cells; in api_chain_init()
833 cell_ctxt_size = chain->num_cells * sizeof(*chain->cell_ctxt); in api_chain_init()
877 if (attr->num_cells & (attr->num_cells - 1)) { in api_cmd_create_chain()
907 api_cmd_destroy_cells(chain, chain->num_cells); in api_cmd_create_chain()
921 api_cmd_destroy_cells(chain, chain->num_cells); in api_cmd_destroy_chain()
[all …]
Dhinic_hw_api_cmd.h129 u32 num_cells; member
176 u32 num_cells; member
/Linux-v5.10/drivers/mcb/
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-v5.10/drivers/clk/at91/
Ddt-compat.c498 u32 num_cells; in of_at91_clk_pll_get_characteristics() local
509 &num_cells)) in of_at91_clk_pll_get_characteristics()
512 if (num_cells < 2 || num_cells > 4) in of_at91_clk_pll_get_characteristics()
517 num_output = tmp / (sizeof(u32) * num_cells); in of_at91_clk_pll_get_characteristics()
527 if (num_cells > 2) { in of_at91_clk_pll_get_characteristics()
533 if (num_cells > 3) { in of_at91_clk_pll_get_characteristics()
540 offset = i * num_cells; in of_at91_clk_pll_get_characteristics()
552 if (num_cells == 2) in of_at91_clk_pll_get_characteristics()
561 if (num_cells == 3) in of_at91_clk_pll_get_characteristics()
/Linux-v5.10/net/dccp/
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()