Home
last modified time | relevance | path

Searched refs:MEI_SLOT_SIZE (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/misc/mei/
Dmei_dev.h19 #define MEI_SLOT_SIZE sizeof(u32) macro
20 #define MEI_RD_MSG_BUF_SIZE (128 * MEI_SLOT_SIZE)
634 return DIV_ROUND_UP(length, MEI_SLOT_SIZE); in mei_data2slots()
647 return DIV_ROUND_UP(sizeof(struct mei_msg_hdr) + length, MEI_SLOT_SIZE); in mei_hbm2slots()
659 return slots * MEI_SLOT_SIZE; in mei_slots2data()
Dhw-txe.c24 #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()
Dinterrupt.c308 expected_len += MEI_SLOT_SIZE; in hdr_is_valid()
310 expected_len += MEI_SLOT_SIZE; in hdr_is_valid()
Dhw-me.c609 for (i = 0; i < hdr_len / MEI_SLOT_SIZE; i++) in mei_me_hbuf_write()
613 for (i = 0; i < data_len / MEI_SLOT_SIZE; i++) in mei_me_hbuf_write()
672 for (; buffer_length >= MEI_SLOT_SIZE; buffer_length -= MEI_SLOT_SIZE) in mei_me_read_slots()
Dclient.c498 cb->buf.data = kmalloc(roundup(length, MEI_SLOT_SIZE), GFP_KERNEL); in mei_cl_alloc_cb()