Home
last modified time | relevance | path

Searched refs:SIZE_8BYTES (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp.c50 #define SIZE_8BYTES(size) (ALIGN(size, 8) >> 3) macro
476 ctrl_size = SIZE_8BYTES(sizeof(struct hinic_sq_ctrl)); in sq_prepare_ctrl()
477 task_size = SIZE_8BYTES(sizeof(struct hinic_sq_task)); in sq_prepare_ctrl()
479 bufdesc_size = SIZE_8BYTES(bufdesc_size); in sq_prepare_ctrl()
948 HINIC_RQ_CTRL_SET(SIZE_8BYTES(sizeof(*ctrl)), LEN) | in hinic_rq_prepare_wqe()
949 HINIC_RQ_CTRL_SET(SIZE_8BYTES(sizeof(*cqe_sect)), in hinic_rq_prepare_wqe()
951 HINIC_RQ_CTRL_SET(SIZE_8BYTES(sizeof(*buf_desc)), in hinic_rq_prepare_wqe()
Dhinic_hw_api_cmd.c51 #define SIZE_8BYTES(size) (ALIGN((size), 8) >> 3) macro
181 ctrl = HINIC_API_CMD_CELL_CTRL_SET(SIZE_8BYTES(data_size), DATA_SZ) | in prepare_cell_ctrl()