Home
last modified time | relevance | path

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

/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
/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 …]
/drivers/input/touchscreen/
Delants_i2c.c51 #define HEADER_SIZE 4 macro
164 u8 cmd_resp[HEADER_SIZE];
354 u8 resp[HEADER_SIZE]; in elants_i2c_query_hw_version()
379 u8 resp[HEADER_SIZE]; in elants_i2c_query_fw_version()
408 u8 resp[HEADER_SIZE]; in elants_i2c_query_test_version()
429 u8 resp[HEADER_SIZE]; in elants_i2c_query_bc_version()
547 u8 buf[HEADER_SIZE]; in elants_i2c_initialize()
719 u8 buf[HEADER_SIZE]; in elants_i2c_do_update_firmware()
991 __func__, HEADER_SIZE, ts->buf); in elants_i2c_irq()
1021 HEADER_SIZE, ts->buf); in elants_i2c_irq()
[all …]
/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()
/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()
482 if (data + HEADER_SIZE > end) { in mxuport_process_read_urb_demux_data()
497 if (!rcv_len || data + HEADER_SIZE + rcv_len > end) { in mxuport_process_read_urb_demux_data()
503 ch = data + HEADER_SIZE; in mxuport_process_read_urb_demux_data()
509 data += HEADER_SIZE + rcv_len; in mxuport_process_read_urb_demux_data()
544 ch = data + HEADER_SIZE; in mxuport_process_read_urb_demux_event()
Dio_ti.c1268 #define HEADER_SIZE (sizeof(struct ti_i2c_desc) + \ in do_download_mode() macro
1273 header = kmalloc(HEADER_SIZE, GFP_KERNEL); in do_download_mode()
1280 vheader = kmalloc(HEADER_SIZE, GFP_KERNEL); in do_download_mode()
1317 HEADER_SIZE, in do_download_mode()
1332 HEADER_SIZE, vheader); in do_download_mode()
1343 if (memcmp(vheader, header, HEADER_SIZE)) { in do_download_mode()
/drivers/gpu/drm/amd/amdgpu/
Datombios_dp.c124 #define HEADER_SIZE (BARE_ADDRESS_SIZE + 1) macro
151 tx_size = HEADER_SIZE + msg->size; in amdgpu_atombios_dp_aux_transfer()
156 memcpy(tx_buf + HEADER_SIZE, msg->buffer, msg->size); in amdgpu_atombios_dp_aux_transfer()
168 tx_size = HEADER_SIZE; in amdgpu_atombios_dp_aux_transfer()
/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()
/drivers/media/platform/sti/c8sectpfe/
Dc8sectpfe-core.c52 #define HEADER_SIZE (4) macro
53 #define PACKET_SIZE (TS_PKT_SIZE+HEADER_SIZE)
/drivers/gpu/drm/i915/display/
Dintel_dp.c1568 #define HEADER_SIZE (BARE_ADDRESS_SIZE + 1) macro
1571 intel_dp_aux_header(u8 txbuf[HEADER_SIZE], in intel_dp_aux_header() argument
1610 txsize = msg->size ? HEADER_SIZE + msg->size : BARE_ADDRESS_SIZE; in intel_dp_aux_transfer()
1619 memcpy(txbuf + HEADER_SIZE, msg->buffer, msg->size); in intel_dp_aux_transfer()
1638 txsize = msg->size ? HEADER_SIZE : BARE_ADDRESS_SIZE; in intel_dp_aux_transfer()