/openbmc/linux/drivers/mfd/ |
H A D | mt6397-core.c | 240 int cell_size; member 248 .cell_size = ARRAY_SIZE(mt6323_devs), 256 .cell_size = ARRAY_SIZE(mt6357_devs), 264 .cell_size = ARRAY_SIZE(mt6331_mt6332_devs), 272 .cell_size = ARRAY_SIZE(mt6358_devs), 280 .cell_size = ARRAY_SIZE(mt6359_devs), 288 .cell_size = ARRAY_SIZE(mt6397_devs), 336 pmic_core->cells, pmic_core->cell_size, in mt6397_probe()
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_api_cmd.c | 32 #define API_CMD_CELL_SIZE(cell_size) \ argument 33 (((cell_size) >= API_CMD_CELL_SIZE_MIN) ? \ 34 (1 << (fls(cell_size - 1))) : API_CMD_CELL_SIZE_MIN) 473 u16 cell_size; in api_cmd_ctrl_init() local 478 cell_size = API_CMD_CELL_SIZE_VAL(chain->cell_size); in api_cmd_ctrl_init() 490 HINIC_API_CMD_CHAIN_CTRL_SET(cell_size, CELL_SIZE); in api_cmd_ctrl_init() 678 node = dma_alloc_coherent(&pdev->dev, chain->cell_size, &node_paddr, in api_cmd_create_cell() 716 dma_free_coherent(&pdev->dev, chain->cell_size, node, node_paddr); in api_cmd_create_cell() 739 node_size = chain->cell_size; in api_cmd_destroy_cell() 821 chain->cell_size = attr->cell_size; in api_chain_init() [all …]
|
H A D | hinic_hw_api_cmd.h | 130 u16 cell_size; member 177 u16 cell_size; member
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_devlink.c | 526 .cell_size = OCELOT_BUFFER_CELL_SZ, 530 .cell_size = 1, 625 *p_threshold *= ocelot_sb_pool[sb_index].cell_size; in ocelot_sb_port_pool_get() 657 threshold /= ocelot_sb_pool[sb_index].cell_size; in ocelot_sb_port_pool_set() 700 *p_threshold *= ocelot_sb_pool[sb_index].cell_size; in ocelot_sb_tc_pool_bind_get() 747 threshold /= ocelot_sb_pool[sb_index].cell_size; in ocelot_sb_tc_pool_bind_set() 842 *p_cur *= ocelot_sb_pool[sb_index].cell_size; in ocelot_sb_occ_port_pool_get() 843 *p_max *= ocelot_sb_pool[sb_index].cell_size; in ocelot_sb_occ_port_pool_get() 875 *p_cur *= ocelot_sb_pool[sb_index].cell_size; in ocelot_sb_occ_tc_port_bind_get() 876 *p_max *= ocelot_sb_pool[sb_index].cell_size; in ocelot_sb_occ_tc_port_bind_get()
|
/openbmc/linux/arch/arm/boot/compressed/ |
H A D | atags_to_fdt.c | 65 uint32_t cell_size = 1; in get_cell_size() local 69 cell_size = fdt32_to_cpu(*size_len); in get_cell_size() 70 return cell_size; in get_cell_size()
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | qos_headroom.sh | 268 local cell_size=$(devlink_cell_size_get) 269 local size=$((cell_size * 1000)) 360 local cell_size=$(devlink_cell_size_get) 361 local size=$((cell_size * 1000))
|
H A D | qos_max_descriptors.sh | 241 local cell_size=$(devlink_cell_size_get) 265 local pkts_num=$((pkts_bytes / cell_size))
|
/openbmc/linux/net/sched/ |
H A D | sch_netem.c | 101 u32 cell_size; member 360 if (q->cell_size) { in packet_time_ns() 363 if (len > cells * q->cell_size) /* extra cell needed for remainder */ in packet_time_ns() 365 len = cells * (q->cell_size + q->cell_overhead); in packet_time_ns() 880 q->cell_size = r->cell_size; in get_rate() 882 if (q->cell_size) in get_rate() 883 q->cell_size_reciprocal = reciprocal_value(q->cell_size); in get_rate() 1219 rate.cell_size = q->cell_size; in netem_dump()
|
/openbmc/qemu/hw/net/ |
H A D | vmxnet3_defs.h | 36 uint32_t cell_size; member
|
H A D | vmxnet3.c | 145 uint32_t cell_size, in DECLARE_CLASS_CHECKERS() 150 ring->cell_size = cell_size; in DECLARE_CLASS_CHECKERS() 155 vmw_shmem_set(d, pa, 0, size * cell_size); in DECLARE_CLASS_CHECKERS() 162 (r)->pa, (r)->size, (r)->cell_size, (r)->gen, (r)->next) 182 return ring->pa + ring->next * ring->cell_size; in vmxnet3_ring_curr_cell_pa() 188 vmw_shmem_read(d, vmxnet3_ring_curr_cell_pa(ring), buff, ring->cell_size); in vmxnet3_ring_read_curr_cell() 194 vmw_shmem_write(d, vmxnet3_ring_curr_cell_pa(ring), buff, ring->cell_size); in vmxnet3_ring_write_curr_cell() 2320 VMSTATE_UINT32(cell_size, Vmxnet3Ring),
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_buffers.c | 103 u32 cell_size; member 130 return mlxsw_sp->sb->cell_size * cells; in mlxsw_sp_cells_bytes() 135 return DIV_ROUND_UP(bytes, mlxsw_sp->sb->cell_size); in mlxsw_sp_bytes_cells() 751 u32 sb_cells = div_u64(mlxsw_sp->sb->sb_size, mlxsw_sp->sb->cell_size); in mlxsw_sp_sb_prs_init() 1266 mlxsw_sp->sb->cell_size = MLXSW_CORE_RES_GET(mlxsw_sp->core, CELL_SIZE); in mlxsw_sp_buffers_init() 1273 mlxsw_sp->sb->cell_size; in mlxsw_sp_buffers_init() 1367 pool_info->cell_size = mlxsw_sp->sb->cell_size; in mlxsw_sp_sb_pool_get()
|
/openbmc/linux/drivers/of/ |
H A D | fdt.c | 53 int cell_size; in of_fdt_limit_memory() local 69 cell_size = sizeof(uint32_t)*(nr_address_cells + nr_size_cells); in of_fdt_limit_memory() 74 if (len > limit*cell_size) { in of_fdt_limit_memory() 75 len = limit*cell_size; in of_fdt_limit_memory()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_shared_buf.c | 51 pool_info->cell_size = unit_size; in nfp_shared_buf_pool_get()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | pkt_sched.h | 619 __u32 cell_size; member
|
/openbmc/linux/drivers/net/ethernet/ni/ |
H A D | nixge.c | 1238 size_t cell_size; in nixge_get_nvmem_address() local 1245 mac = nvmem_cell_read(cell, &cell_size); in nixge_get_nvmem_address()
|
/openbmc/linux/include/uapi/linux/ |
H A D | pkt_sched.h | 640 __u32 cell_size; member
|
/openbmc/linux/net/devlink/ |
H A D | sb.c | 296 pool_info.cell_size)) in devlink_nl_sb_pool_fill()
|
/openbmc/linux/include/net/ |
H A D | devlink.h | 204 u32 cell_size; member
|