Searched refs:MEI_SLOT_SIZE (Results 1 – 6 of 6) sorted by relevance
24 #define MEI_SLOT_SIZE sizeof(u32) macro25 #define MEI_RD_MSG_BUF_SIZE (128 * MEI_SLOT_SIZE)674 return DIV_ROUND_UP(length, MEI_SLOT_SIZE); in mei_data2slots()687 return DIV_ROUND_UP(sizeof(struct mei_msg_hdr) + length, MEI_SLOT_SIZE); in mei_hbm2slots()699 return slots * MEI_SLOT_SIZE; in mei_slots2data()
173 return MEI_VSC_MAX_MSG_SIZE / MEI_SLOT_SIZE; in mei_vsc_hbuf_empty_slots()178 return MEI_VSC_MAX_MSG_SIZE / MEI_SLOT_SIZE; in mei_vsc_hbuf_depth()224 return MEI_VSC_MAX_MSG_SIZE / MEI_SLOT_SIZE; in mei_vsc_count_full_read_slots()
24 #define TXE_HBUF_DEPTH (PAYLOAD_SIZE / MEI_SLOT_SIZE)732 for (i = 0; i < hdr_len / MEI_SLOT_SIZE; i++) in mei_txe_write()736 for (j = 0; j < data_len / MEI_SLOT_SIZE; j++) in mei_txe_write()834 for (i = 0; i < len / MEI_SLOT_SIZE; i++) { in mei_txe_read()
664 for (i = 0; i < hdr_len / MEI_SLOT_SIZE; i++) in mei_me_hbuf_write()668 for (i = 0; i < data_len / MEI_SLOT_SIZE; i++) in mei_me_hbuf_write()727 for (; buffer_length >= MEI_SLOT_SIZE; buffer_length -= MEI_SLOT_SIZE) in mei_me_read_slots()
341 expected_len += MEI_SLOT_SIZE; in hdr_is_valid()343 expected_len += MEI_SLOT_SIZE; in hdr_is_valid()
500 cb->buf.data = kvmalloc(roundup(length, MEI_SLOT_SIZE), GFP_KERNEL); in mei_cl_alloc_cb()