Home
last modified time | relevance | path

Searched refs:buffer_offset (Results 1 – 20 of 20) sorted by relevance

/drivers/acpi/acpica/
Dexfldio.c686 u32 buffer_offset = 0; in acpi_ex_extract_from_field() local
796 memcpy(((char *)buffer) + buffer_offset, &merged_datum, in acpi_ex_extract_from_field()
798 buffer_length - buffer_offset)); in acpi_ex_extract_from_field()
800 buffer_offset += obj_desc->common_field.access_byte_width; in acpi_ex_extract_from_field()
814 memcpy(((char *)buffer) + buffer_offset, &merged_datum, in acpi_ex_extract_from_field()
816 buffer_length - buffer_offset)); in acpi_ex_extract_from_field()
846 u32 buffer_offset = 0; in acpi_ex_insert_into_field() local
923 buffer_length - buffer_offset)); in acpi_ex_insert_into_field()
972 buffer_offset += obj_desc->common_field.access_byte_width; in acpi_ex_insert_into_field()
973 memcpy(&raw_datum, ((char *)buffer) + buffer_offset, in acpi_ex_insert_into_field()
[all …]
Dacinterp.h172 u32 byte_granularity, u32 buffer_offset);
178 u32 byte_granularity, u32 buffer_offset);
/drivers/gpu/drm/amd/amdgpu/
Datombios_i2c.c109 int i, remaining, current_count, buffer_offset, max_bytes, ret; in amdgpu_atombios_i2c_xfer() local
127 buffer_offset = 0; in amdgpu_atombios_i2c_xfer()
143 &p->buf[buffer_offset], current_count); in amdgpu_atombios_i2c_xfer()
147 buffer_offset += current_count; in amdgpu_atombios_i2c_xfer()
/drivers/gpu/drm/radeon/
Datombios_i2c.c110 int i, remaining, current_count, buffer_offset, max_bytes, ret; in radeon_atom_hw_i2c_xfer() local
128 buffer_offset = 0; in radeon_atom_hw_i2c_xfer()
144 &p->buf[buffer_offset], current_count); in radeon_atom_hw_i2c_xfer()
148 buffer_offset += current_count; in radeon_atom_hw_i2c_xfer()
Dradeon_i2c.c586 int i, j, remaining, current_count, buffer_offset, ret = num; in r500_hw_i2c_xfer() local
706 buffer_offset = 0; in r500_hw_i2c_xfer()
743 p->buf[buffer_offset + j] = RREG32(AVIVO_DC_I2C_DATA) & 0xff; in r500_hw_i2c_xfer()
745 buffer_offset += current_count; in r500_hw_i2c_xfer()
762 WREG32(AVIVO_DC_I2C_DATA, p->buf[buffer_offset + j]); in r500_hw_i2c_xfer()
786 buffer_offset += current_count; in r500_hw_i2c_xfer()
/drivers/media/pci/ivtv/
Divtv-udma.c75 void ivtv_udma_fill_sg_array (struct ivtv_user_dma *dma, u32 buffer_offset, u32 buffer_offset_2, u3… in ivtv_udma_fill_sg_array() argument
82 dma->SGarray[i].dst = cpu_to_le32(buffer_offset); in ivtv_udma_fill_sg_array()
83 buffer_offset += sg_dma_len(sg); in ivtv_udma_fill_sg_array()
87 buffer_offset = buffer_offset_2; in ivtv_udma_fill_sg_array()
Divtv-udma.h27 void ivtv_udma_fill_sg_array(struct ivtv_user_dma *dma, u32 buffer_offset, u32 buffer_offset_2, u32…
/drivers/media/usb/b2c2/
Dflexcop-usb.c404 int buffer_offset = 0; in flexcop_usb_transfer_init() local
433 "(buf_offset: %d).\n", i, buffer_offset); in flexcop_usb_transfer_init()
443 urb->transfer_buffer = fc_usb->iso_buffer + buffer_offset; in flexcop_usb_transfer_init()
445 buffer_offset += frame_size * B2C2_USB_FRAMES_PER_ISO; in flexcop_usb_transfer_init()
/drivers/net/wan/
Dhd64572.c103 static inline u32 buffer_offset(port_t *port, u16 desc, int transmit) in buffer_offset() function
145 u32 buff_off = buffer_offset(port, i, transmit); in sca_init_port()
217 buff = buffer_offset(port, rxin, 0); in sca_rx()
583 buff = buffer_offset(port, port->txin, 1); in sca_xmit()
Dhd64570.c125 static inline u32 buffer_offset(port_t *port, u16 desc, int transmit) in buffer_offset() function
171 u32 buff_off = buffer_offset(port, i, transmit); in sca_init_port()
260 buff = buffer_offset(port, rxin, 0); in sca_rx()
640 buff = buffer_offset(port, port->txin, 1); in sca_xmit()
/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c89 u32 buffer_offset = 0; in bnx2i_setup_write_cmd_bd_info() local
99 buffer_offset += task->imm_count; in bnx2i_setup_write_cmd_bd_info()
104 bnx2i_get_write_cmd_bd_idx(cmd, buffer_offset, in bnx2i_setup_write_cmd_bd_info()
108 buffer_offset += task->unsol_r2t.data_length; in bnx2i_setup_write_cmd_bd_info()
111 if (buffer_offset != cmd_len) { in bnx2i_setup_write_cmd_bd_info()
112 bnx2i_get_write_cmd_bd_idx(cmd, buffer_offset, in bnx2i_setup_write_cmd_bd_info()
121 buffer_offset, cmd->io_tbl.bd_valid, in bnx2i_setup_write_cmd_bd_info()
/drivers/staging/wilc1000/
Dwilc_wlan.c1040 u32 header, buffer_offset; in wilc_wlan_handle_txq() local
1058 buffer_offset = ETH_CONFIG_PKT_HDR_OFFSET; in wilc_wlan_handle_txq()
1063 buffer_offset = ETH_ETHERNET_HDR_OFFSET; in wilc_wlan_handle_txq()
1068 buffer_offset = HOST_HDR_OFFSET; in wilc_wlan_handle_txq()
1071 memcpy(&txb[offset + buffer_offset], tqe->buffer, tqe->buffer_size); in wilc_wlan_handle_txq()
/drivers/media/usb/ttusb-budget/
Ddvb-ttusb-budget.c845 int i, j, err, buffer_offset = 0; in ttusb_start_iso_xfer() local
869 urb->transfer_buffer = ttusb->iso_buffer + buffer_offset; in ttusb_start_iso_xfer()
870 buffer_offset += ISO_FRAME_SIZE * FRAMES_PER_ISO_BUF; in ttusb_start_iso_xfer()
/drivers/media/usb/ttusb-dec/
Dttusb_dec.c800 int i, j, buffer_offset = 0; in ttusb_dec_setup_urbs() local
817 urb->transfer_buffer = dec->iso_buffer + buffer_offset; in ttusb_dec_setup_urbs()
818 buffer_offset += ISO_FRAME_SIZE * FRAMES_PER_ISO_BUF; in ttusb_dec_setup_urbs()
/drivers/net/usb/
Dhso.c869 unsigned short buffer_offset = 0; in packetizeRx() local
888 odev->rx_buf_size, ip_pkt + buffer_offset, in packetizeRx()
892 buffer_offset += temp_bytes; in packetizeRx()
945 memcpy(tmp_rx_buf, ip_pkt + buffer_offset, temp_bytes); in packetizeRx()
949 buffer_offset += temp_bytes; in packetizeRx()
/drivers/nvme/host/
Dscsi.c2312 u32 buffer_offset, parm_list_length; in nvme_trans_write_buffer() local
2331 buffer_offset = get_unaligned_be24(&cmd[3]); in nvme_trans_write_buffer()
2336 parm_list_length, buffer_offset, in nvme_trans_write_buffer()
2344 parm_list_length, buffer_offset, in nvme_trans_write_buffer()
/drivers/usb/misc/
Dusbtest.c350 static inline unsigned long buffer_offset(void *buf) in buffer_offset() function
358 u8 *guard = buf - buffer_offset(buf); in check_guard_bytes()
412 unsigned long offset = buffer_offset(urb->transfer_buffer); in simple_free_urb()
/drivers/scsi/be2iscsi/
Dbe_main.h488 u8 buffer_offset[32]; member
/drivers/firewire/
Dohci.c731 unsigned int *buffer_offset) in ar_search_last_active_buffer() argument
778 *buffer_offset = PAGE_SIZE - le16_to_cpu(res_count); in ar_search_last_active_buffer()
779 if (*buffer_offset > PAGE_SIZE) { in ar_search_last_active_buffer()
780 *buffer_offset = 0; in ar_search_last_active_buffer()
/drivers/net/ethernet/broadcom/
Dcnic_defs.h4689 u32 buffer_offset; member