Searched refs:num_cells (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/mfd/ |
D | rohm-bd9576.c | 97 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()
|
D | cros_ec_dev.c | 48 unsigned int num_cells; member 104 .num_cells = ARRAY_SIZE(cros_ec_cec_cells), 109 .num_cells = ARRAY_SIZE(cros_ec_rtc_cells), 114 .num_cells = ARRAY_SIZE(cros_usbpd_charger_cells), 214 cros_subdevices[i].num_cells); in ec_device_probe()
|
D | bd9571mwv.c | 216 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()
|
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()
|
/linux-6.1.9/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() 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 …]
|
D | hinic_hw_api_cmd.h | 129 u32 num_cells; member 176 u32 num_cells; member
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/clk/at91/ |
D | dt-compat.c | 538 u32 num_cells; in of_at91_clk_pll_get_characteristics() local 549 &num_cells)) in of_at91_clk_pll_get_characteristics() 552 if (num_cells < 2 || num_cells > 4) in of_at91_clk_pll_get_characteristics() 557 num_output = tmp / (sizeof(u32) * num_cells); in of_at91_clk_pll_get_characteristics() 567 if (num_cells > 2) { in of_at91_clk_pll_get_characteristics() 573 if (num_cells > 3) { in of_at91_clk_pll_get_characteristics() 580 offset = i * num_cells; in of_at91_clk_pll_get_characteristics() 592 if (num_cells == 2) in of_at91_clk_pll_get_characteristics() 601 if (num_cells == 3) in of_at91_clk_pll_get_characteristics()
|
/linux-6.1.9/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()
|