Searched refs:num_cells (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/mfd/ |
D | cros_ec_dev.c | 47 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()
|
D | ti-lmu.c | 25 int num_cells; member 126 .num_cells = ARRAY_SIZE(chip##_devices),\ 195 data->num_cells, NULL, 0, NULL); in ti_lmu_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_api_cmd.c | 49 #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 …]
|
D | hinic_hw_api_cmd.h | 129 u32 num_cells; member 176 u32 num_cells; member
|
/kernel/linux/linux-5.10/drivers/mcb/ |
D | mcb-parse.c | 183 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()
|
/kernel/linux/linux-5.10/drivers/clk/at91/ |
D | dt-compat.c | 498 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()
|
/kernel/linux/linux-5.10/net/dccp/ |
D | ackvec.c | 199 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()
|