Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/clk/at91/
Dclk-pll.c366 u32 num_cells; in of_at91_clk_pll_get_characteristics() local
377 &num_cells)) in of_at91_clk_pll_get_characteristics()
380 if (num_cells < 2 || num_cells > 4) in of_at91_clk_pll_get_characteristics()
385 num_output = tmp / (sizeof(u32) * num_cells); in of_at91_clk_pll_get_characteristics()
395 if (num_cells > 2) { in of_at91_clk_pll_get_characteristics()
401 if (num_cells > 3) { in of_at91_clk_pll_get_characteristics()
408 offset = i * num_cells; in of_at91_clk_pll_get_characteristics()
420 if (num_cells == 2) in of_at91_clk_pll_get_characteristics()
429 if (num_cells == 3) in of_at91_clk_pll_get_characteristics()
/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_api_cmd.c58 #define MASKED_IDX(chain, idx) ((idx) & ((chain)->num_cells - 1))
509 val = chain->num_cells; in api_cmd_set_num_cells()
752 int num_cells) in api_cmd_destroy_cells() argument
756 for (cell_idx = 0; cell_idx < num_cells; cell_idx++) in api_cmd_destroy_cells()
773 for (cell_idx = 0; cell_idx < chain->num_cells; cell_idx++) { in api_cmd_create_cells()
811 chain->num_cells = attr->num_cells; in api_chain_init()
819 cell_ctxt_size = chain->num_cells * sizeof(*chain->cell_ctxt); in api_chain_init()
863 if (attr->num_cells & (attr->num_cells - 1)) { in api_cmd_create_chain()
893 api_cmd_destroy_cells(chain, chain->num_cells); in api_cmd_create_chain()
907 api_cmd_destroy_cells(chain, chain->num_cells); in api_cmd_destroy_chain()
[all …]
Dhinic_hw_api_cmd.h134 u32 num_cells; member
181 u32 num_cells; member
/Linux-v4.19/drivers/mcb/
Dmcb-parse.c182 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()
242 num_cells = -EINVAL; in chameleon_parse_cells()
246 return num_cells; in chameleon_parse_cells()
/Linux-v4.19/drivers/mfd/
Dti-lmu.c29 int num_cells; member
149 .num_cells = ARRAY_SIZE(chip##_devices),\
222 data->num_cells, NULL, 0, NULL); in ti_lmu_probe()
/Linux-v4.19/net/dccp/
Dackvec.c202 u32 num_cells = num_packets; in dccp_ackvec_add_new() local
220 for (num_packets = num_cells = 1; lost_packets; ++num_cells) { in dccp_ackvec_add_new()
230 if (num_cells + dccp_ackvec_buflen(av) >= DCCPAV_MAX_ACKVEC_LEN) { in dccp_ackvec_add_new()