Searched refs:SIZE_8BYTES (Results 1 – 2 of 2) sorted by relevance
50 #define SIZE_8BYTES(size) (ALIGN(size, 8) >> 3) macro479 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()
51 #define SIZE_8BYTES(size) (ALIGN((size), 8) >> 3) macro203 ctrl = HINIC_API_CMD_CELL_CTRL_SET(SIZE_8BYTES(data_size), DATA_SZ) | in prepare_cell_ctrl()