Searched refs:SIZE_8BYTES (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_qp.c | 50 #define SIZE_8BYTES(size) (ALIGN(size, 8) >> 3) macro 481 ctrl_size = SIZE_8BYTES(sizeof(struct hinic_sq_ctrl)); in sq_prepare_ctrl() 482 task_size = SIZE_8BYTES(sizeof(struct hinic_sq_task)); in sq_prepare_ctrl() 484 bufdesc_size = SIZE_8BYTES(bufdesc_size); in sq_prepare_ctrl() 954 HINIC_RQ_CTRL_SET(SIZE_8BYTES(sizeof(*ctrl)), LEN) | in hinic_rq_prepare_wqe() 955 HINIC_RQ_CTRL_SET(SIZE_8BYTES(sizeof(*cqe_sect)), in hinic_rq_prepare_wqe() 957 HINIC_RQ_CTRL_SET(SIZE_8BYTES(sizeof(*buf_desc)), in hinic_rq_prepare_wqe()
|
H A D | hinic_hw_api_cmd.c | 51 #define SIZE_8BYTES(size) (ALIGN((size), 8) >> 3) macro 203 ctrl = HINIC_API_CMD_CELL_CTRL_SET(SIZE_8BYTES(data_size), DATA_SZ) | in prepare_cell_ctrl()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_qp.c | 50 #define SIZE_8BYTES(size) (ALIGN(size, 8) >> 3) macro 479 ctrl_size = SIZE_8BYTES(sizeof(struct hinic_sq_ctrl)); in sq_prepare_ctrl() 480 task_size = SIZE_8BYTES(sizeof(struct hinic_sq_task)); in sq_prepare_ctrl() 482 bufdesc_size = SIZE_8BYTES(bufdesc_size); in sq_prepare_ctrl() 950 HINIC_RQ_CTRL_SET(SIZE_8BYTES(sizeof(*ctrl)), LEN) | in hinic_rq_prepare_wqe() 951 HINIC_RQ_CTRL_SET(SIZE_8BYTES(sizeof(*cqe_sect)), in hinic_rq_prepare_wqe() 953 HINIC_RQ_CTRL_SET(SIZE_8BYTES(sizeof(*buf_desc)), in hinic_rq_prepare_wqe()
|
H A D | hinic_hw_api_cmd.c | 51 #define SIZE_8BYTES(size) (ALIGN((size), 8) >> 3) macro 203 ctrl = HINIC_API_CMD_CELL_CTRL_SET(SIZE_8BYTES(data_size), DATA_SZ) | in prepare_cell_ctrl()
|
Completed in 7 milliseconds