Searched refs:HDR_SIZE (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/nouveau/nvkm/falcon/ |
D | msgqueue.c | 30 #define HDR_SIZE sizeof(struct nvkm_msgqueue_hdr) macro 122 err = msg_queue_pop(priv, queue, hdr, HDR_SIZE); in msg_queue_read() 123 if (err >= 0 && err != HDR_SIZE) in msg_queue_read() 136 if (hdr->size > HDR_SIZE) { in msg_queue_read() 137 u32 read_size = hdr->size - HDR_SIZE; in msg_queue_read() 168 free -= HDR_SIZE; in cmd_queue_has_room() 413 nvkm_falcon_read_dmem(falcon, tail, HDR_SIZE, 0, hdr); in msgqueue_handle_init_msg() 420 nvkm_falcon_read_dmem(falcon, tail + HDR_SIZE, hdr->size - HDR_SIZE, 0, in msgqueue_handle_init_msg()
|
/drivers/media/usb/dvb-usb-v2/ |
D | af9035.c | 600 #define HDR_SIZE 7 in af9035_download_firmware_old() macro 614 for (i = fw->size; i > HDR_SIZE;) { in af9035_download_firmware_old() 639 for (j = HDR_SIZE + hdr_data_len; j > 0; j -= MAX_DATA) { in af9035_download_firmware_old() 645 HDR_SIZE + hdr_data_len - j]; in af9035_download_firmware_old() 657 i -= hdr_data_len + HDR_SIZE; in af9035_download_firmware_old() 680 #define HDR_SIZE 7 in af9035_download_firmware_new() macro 694 for (i = HDR_SIZE, i_prev = 0; i <= fw->size; i++) { in af9035_download_firmware_new()
|