Searched refs:cell_size (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/huawei/hinic/ |
| 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) 450 u16 cell_size; in api_cmd_ctrl_init() local 455 cell_size = API_CMD_CELL_SIZE_VAL(chain->cell_size); in api_cmd_ctrl_init() 467 HINIC_API_CMD_CHAIN_CTRL_SET(cell_size, CELL_SIZE); in api_cmd_ctrl_init() 657 node = dma_alloc_coherent(&pdev->dev, chain->cell_size, &node_paddr, in api_cmd_create_cell() 697 dma_free_coherent(&pdev->dev, chain->cell_size, node, node_paddr); in api_cmd_create_cell() 720 node_size = chain->cell_size; in api_cmd_destroy_cell() 803 chain->cell_size = attr->cell_size; in api_chain_init() [all …]
|
| D | hinic_hw_api_cmd.h | 126 u16 cell_size; member 173 u16 cell_size; member
|
| /Linux-v5.4/arch/arm/boot/compressed/ |
| D | atags_to_fdt.c | 62 uint32_t cell_size = 1; in get_cell_size() local 66 cell_size = fdt32_to_cpu(*size_len); in get_cell_size() 67 return cell_size; in get_cell_size()
|
| /Linux-v5.4/net/sched/ |
| D | sch_netem.c | 98 u32 cell_size; member 349 if (q->cell_size) { in packet_time_ns() 352 if (len > cells * q->cell_size) /* extra cell needed for remainder */ in packet_time_ns() 354 len = cells * (q->cell_size + q->cell_overhead); in packet_time_ns() 855 q->cell_size = r->cell_size; in get_rate() 857 if (q->cell_size) in get_rate() 858 q->cell_size_reciprocal = reciprocal_value(q->cell_size); in get_rate() 1184 rate.cell_size = q->cell_size; in netem_dump()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_buffers.c | 102 u32 cell_size; member 125 return mlxsw_sp->sb->cell_size * cells; in mlxsw_sp_cells_bytes() 130 return DIV_ROUND_UP(bytes, mlxsw_sp->sb->cell_size); in mlxsw_sp_bytes_cells() 916 mlxsw_sp->sb->cell_size = MLXSW_CORE_RES_GET(mlxsw_sp->core, CELL_SIZE); in mlxsw_sp_buffers_init() 923 mlxsw_sp->sb->cell_size; in mlxsw_sp_buffers_init() 999 pool_info->cell_size = mlxsw_sp->sb->cell_size; in mlxsw_sp_sb_pool_get()
|
| /Linux-v5.4/drivers/of/ |
| D | fdt.c | 52 int cell_size; in of_fdt_limit_memory() local 68 cell_size = sizeof(uint32_t)*(nr_address_cells + nr_size_cells); in of_fdt_limit_memory() 73 if (len > limit*cell_size) { in of_fdt_limit_memory() 74 len = limit*cell_size; in of_fdt_limit_memory()
|
| /Linux-v5.4/drivers/net/ethernet/netronome/nfp/ |
| D | nfp_shared_buf.c | 51 pool_info->cell_size = unit_size; in nfp_shared_buf_pool_get()
|
| /Linux-v5.4/tools/include/uapi/linux/ |
| D | pkt_sched.h | 618 __u32 cell_size; member
|
| /Linux-v5.4/include/uapi/linux/ |
| D | pkt_sched.h | 619 __u32 cell_size; member
|
| /Linux-v5.4/drivers/net/ethernet/ni/ |
| D | nixge.c | 1221 size_t cell_size; in nixge_get_nvmem_address() local 1228 mac = nvmem_cell_read(cell, &cell_size); in nixge_get_nvmem_address()
|
| /Linux-v5.4/include/net/ |
| D | devlink.h | 96 u32 cell_size; member
|
| /Linux-v5.4/net/core/ |
| D | devlink.c | 962 pool_info.cell_size)) in devlink_nl_sb_pool_fill()
|