Home
last modified time | relevance | path

Searched refs:HEADER_SIZE (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/drivers/media/usb/as102/
Das10x_cmd_stream.c46 + HEADER_SIZE, (uint8_t *) prsp, in as10x_cmd_add_PID_filter()
48 + HEADER_SIZE); in as10x_cmd_add_PID_filter()
97 + HEADER_SIZE, (uint8_t *) prsp, in as10x_cmd_del_PID_filter()
99 + HEADER_SIZE); in as10x_cmd_del_PID_filter()
140 + HEADER_SIZE, (uint8_t *) prsp, in as10x_cmd_start_streaming()
142 + HEADER_SIZE); in as10x_cmd_start_streaming()
183 + HEADER_SIZE, (uint8_t *) prsp, in as10x_cmd_stop_streaming()
185 + HEADER_SIZE); in as10x_cmd_stop_streaming()
Das10x_cmd.c37 HEADER_SIZE, in as10x_cmd_turn_on()
40 HEADER_SIZE); in as10x_cmd_turn_on()
78 sizeof(pcmd->body.turn_off.req) + HEADER_SIZE, in as10x_cmd_turn_off()
80 sizeof(prsp->body.turn_off.rsp) + HEADER_SIZE); in as10x_cmd_turn_off()
132 + HEADER_SIZE, in as10x_cmd_set_tune()
135 + HEADER_SIZE); in as10x_cmd_set_tune()
177 sizeof(preq->body.get_tune_status.req) + HEADER_SIZE, in as10x_cmd_get_tune_status()
179 sizeof(prsp->body.get_tune_status.rsp) + HEADER_SIZE); in as10x_cmd_get_tune_status()
229 HEADER_SIZE, in as10x_cmd_get_tps()
232 HEADER_SIZE); in as10x_cmd_get_tps()
[all …]
Das10x_cmd_cfg.c46 + HEADER_SIZE, in as10x_cmd_get_context()
49 + HEADER_SIZE); in as10x_cmd_get_context()
104 + HEADER_SIZE, in as10x_cmd_set_context()
107 + HEADER_SIZE); in as10x_cmd_set_context()
155 + HEADER_SIZE, (uint8_t *) prsp, in as10x_cmd_eLNA_change_mode()
157 + HEADER_SIZE); in as10x_cmd_eLNA_change_mode()
Das10x_cmd.h24 #define HEADER_SIZE (sizeof(struct as10x_cmd_header_t)) macro
/linux-6.1.9/drivers/tty/vt/
Dvc_screen.c53 #define HEADER_SIZE 4u macro
221 size = 2 * size + HEADER_SIZE; in vcs_size()
304 if (pos < HEADER_SIZE) { in vcs_read_buf()
318 count -= min(HEADER_SIZE, count); in vcs_read_buf()
319 pos = HEADER_SIZE; in vcs_read_buf()
320 con_buf += HEADER_SIZE; in vcs_read_buf()
337 pos -= HEADER_SIZE; in vcs_read_buf()
526 if (pos < HEADER_SIZE) { in vcs_write_buf()
527 char header[HEADER_SIZE]; in vcs_write_buf()
530 while (pos < HEADER_SIZE && count > 0) { in vcs_write_buf()
[all …]
/linux-6.1.9/drivers/input/touchscreen/
Delants_i2c.c51 #define HEADER_SIZE 4 macro
180 u8 cmd_resp[HEADER_SIZE];
370 u8 resp[HEADER_SIZE]; in elants_i2c_query_hw_version()
395 u8 resp[HEADER_SIZE]; in elants_i2c_query_fw_version()
424 u8 resp[HEADER_SIZE]; in elants_i2c_query_test_version()
445 u8 resp[HEADER_SIZE]; in elants_i2c_query_bc_version()
609 u8 buf[HEADER_SIZE]; in elants_i2c_initialize()
792 u8 buf[HEADER_SIZE]; in elants_i2c_do_update_firmware()
1082 __func__, HEADER_SIZE, ts->buf); in elants_i2c_irq()
1111 HEADER_SIZE, ts->buf); in elants_i2c_irq()
[all …]
/linux-6.1.9/drivers/media/usb/gspca/
Dvicam.c19 #define HEADER_SIZE 64 macro
175 HEADER_SIZE; in vicam_dostream()
197 buffer + HEADER_SIZE, in vicam_dostream()
198 frame_sz - HEADER_SIZE); in vicam_dostream()
/linux-6.1.9/drivers/usb/serial/
Dmxuport.c43 #define HEADER_SIZE 4 macro
198 count = kfifo_out_locked(&port->write_fifo, buf + HEADER_SIZE, in mxuport_prepare_write_buffer()
199 size - HEADER_SIZE, in mxuport_prepare_write_buffer()
208 return count + HEADER_SIZE; in mxuport_prepare_write_buffer()
475 if (data + HEADER_SIZE > end) { in mxuport_process_read_urb_demux_data()
490 if (!rcv_len || data + HEADER_SIZE + rcv_len > end) { in mxuport_process_read_urb_demux_data()
496 ch = data + HEADER_SIZE; in mxuport_process_read_urb_demux_data()
502 data += HEADER_SIZE + rcv_len; in mxuport_process_read_urb_demux_data()
537 ch = data + HEADER_SIZE; in mxuport_process_read_urb_demux_event()
Dio_ti.c1265 #define HEADER_SIZE (sizeof(struct ti_i2c_desc) + \ in do_download_mode() macro
1270 header = kmalloc(HEADER_SIZE, GFP_KERNEL); in do_download_mode()
1277 vheader = kmalloc(HEADER_SIZE, GFP_KERNEL); in do_download_mode()
1314 HEADER_SIZE, in do_download_mode()
1329 HEADER_SIZE, vheader); in do_download_mode()
1340 if (memcmp(vheader, header, HEADER_SIZE)) { in do_download_mode()
/linux-6.1.9/arch/powerpc/platforms/ps3/
Dos-area.c551 HEADER_SIZE = offsetof(struct os_area_db, _db_data), in os_area_db_init() enumerator
564 db->index_64 = HEADER_SIZE; in os_area_db_init()
566 db->index_32 = HEADER_SIZE in os_area_db_init()
570 db->index_16 = HEADER_SIZE in os_area_db_init()
587 BUILD_BUG_ON(HEADER_SIZE in os_area_db_init()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_dp_aux.c383 #define HEADER_SIZE (BARE_ADDRESS_SIZE + 1) macro
386 intel_dp_aux_header(u8 txbuf[HEADER_SIZE], in intel_dp_aux_header() argument
425 txsize = msg->size ? HEADER_SIZE + msg->size : BARE_ADDRESS_SIZE; in intel_dp_aux_transfer()
434 memcpy(txbuf + HEADER_SIZE, msg->buffer, msg->size); in intel_dp_aux_transfer()
453 txsize = msg->size ? HEADER_SIZE : BARE_ADDRESS_SIZE; in intel_dp_aux_transfer()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Datombios_dp.c125 #define HEADER_SIZE (BARE_ADDRESS_SIZE + 1) macro
152 tx_size = HEADER_SIZE + msg->size; in amdgpu_atombios_dp_aux_transfer()
157 memcpy(tx_buf + HEADER_SIZE, msg->buffer, msg->size); in amdgpu_atombios_dp_aux_transfer()
169 tx_size = HEADER_SIZE; in amdgpu_atombios_dp_aux_transfer()
/linux-6.1.9/drivers/gpu/drm/radeon/
Datombios_dp.c156 #define HEADER_SIZE (BARE_ADDRESS_SIZE + 1) macro
191 tx_size = HEADER_SIZE + msg->size; in radeon_dp_aux_transfer_atom()
196 memcpy(tx_buf + HEADER_SIZE, msg->buffer, msg->size); in radeon_dp_aux_transfer_atom()
208 tx_size = HEADER_SIZE; in radeon_dp_aux_transfer_atom()
/linux-6.1.9/drivers/media/platform/st/sti/c8sectpfe/
Dc8sectpfe-core.c51 #define HEADER_SIZE (4) macro
52 #define PACKET_SIZE (TS_PKT_SIZE+HEADER_SIZE)
/linux-6.1.9/fs/cifs/
Dcifsglob.h563 #define HEADER_SIZE(server) (server->vals->header_size) macro
566 #define MID_HEADER_SIZE(server) (HEADER_SIZE(server) - 1 - HEADER_PREAMBLE_SIZE(server))
Dtransport.c1701 HEADER_SIZE(server) + 1; in cifs_readv_receive()
1704 buf + HEADER_SIZE(server) - 1, len); in cifs_readv_receive()
Dconnect.c636 memset(server->bigbuf, 0, HEADER_SIZE(server)); in allocate_buffers()
650 memset(server->smallbuf, 0, HEADER_SIZE(server)); in allocate_buffers()
1064 length = cifs_read_from_socket(server, buf + HEADER_SIZE(server) - 1, in standard_receive3()
1280 HEADER_SIZE(server)); in cifs_demultiplex_thread()
Dsmb2ops.c4862 sizeof(struct smb2_transform_hdr)) - HEADER_SIZE(server) + 1; in receive_encrypted_read()
4864 rc = cifs_read_from_socket(server, buf + HEADER_SIZE(server) - 1, len); in receive_encrypted_read()
4978 length = cifs_read_from_socket(server, buf + HEADER_SIZE(server) - 1, in receive_encrypted_standard()
4979 pdu_length - HEADER_SIZE(server) + 1); in receive_encrypted_standard()
/linux-6.1.9/drivers/i3c/master/mipi-i3c-hci/
Ddma.c45 #define HEADER_SIZE GENMASK(23, 16) /* Ring Header Size */ macro