Home
last modified time | relevance | path

Searched refs:byte_offset (Results 1 – 25 of 25) sorted by relevance

/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_phy.h161 int ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset,
163 int ixgbe_read_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset,
165 int ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset,
167 int ixgbe_write_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset,
169 int ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset,
171 int ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset,
173 int ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset,
A Dixgbe_phy.c2096 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_eeprom_generic()
2112 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_sff8472_generic()
2128 return hw->phy.ops.write_i2c_byte(hw, byte_offset, in ixgbe_write_i2c_eeprom_generic()
2170 if (ixgbe_is_sfp_probe(hw, byte_offset, dev_addr)) in ixgbe_read_i2c_byte_generic_int()
2190 status = ixgbe_clock_out_i2c_byte(hw, byte_offset); in ixgbe_read_i2c_byte_generic_int()
2249 int ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_generic() argument
2252 return ixgbe_read_i2c_byte_generic_int(hw, byte_offset, dev_addr, in ixgbe_read_i2c_byte_generic()
2269 return ixgbe_read_i2c_byte_generic_int(hw, byte_offset, dev_addr, in ixgbe_read_i2c_byte_generic_unlocked()
2306 status = ixgbe_clock_out_i2c_byte(hw, byte_offset); in ixgbe_write_i2c_byte_generic_int()
2355 return ixgbe_write_i2c_byte_generic_int(hw, byte_offset, dev_addr, in ixgbe_write_i2c_byte_generic()
[all …]
A Dixgbe_82598.c22 static int ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
953 u8 byte_offset, u8 *eeprom_data) in ixgbe_read_i2c_phy_82598() argument
976 sfp_addr = (dev_addr << 8) + byte_offset; in ixgbe_read_i2c_phy_82598()
1023 static int ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_eeprom_82598() argument
1027 byte_offset, eeprom_data); in ixgbe_read_i2c_eeprom_82598()
1038 static int ixgbe_read_i2c_sff8472_82598(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_sff8472_82598() argument
1042 byte_offset, sff8472_data); in ixgbe_read_i2c_sff8472_82598()
A Dixgbe_82599.c37 static int ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset,
39 static int ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset,
2068 static int ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_82599() argument
2098 status = ixgbe_read_i2c_byte_generic(hw, byte_offset, dev_addr, data); in ixgbe_read_i2c_byte_82599()
2122 static int ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_byte_82599() argument
2152 status = ixgbe_write_i2c_byte_generic(hw, byte_offset, dev_addr, data); in ixgbe_write_i2c_byte_82599()
/drivers/nvmem/
A Dqfprom.c342 unsigned int byte_offset = cell->offset % sizeof(u32); in qfprom_fixup_dt_cell_info() local
344 cell->bit_offset += byte_offset * BITS_PER_BYTE; in qfprom_fixup_dt_cell_info()
345 cell->offset -= byte_offset; in qfprom_fixup_dt_cell_info()
346 if (byte_offset && !cell->nbits) in qfprom_fixup_dt_cell_info()
/drivers/hid/bpf/progs/
A DWacom__ArtPen.bpf.c89 static inline void *get_bits(__u8 *data, unsigned int byte_offset) in get_bits() argument
91 return data + byte_offset; in get_bits()
/drivers/net/ethernet/intel/igb/
A De1000_82575.h11 s32 igb_read_i2c_byte(struct e1000_hw *hw, u8 byte_offset, u8 dev_addr,
13 s32 igb_write_i2c_byte(struct e1000_hw *hw, u8 byte_offset, u8 dev_addr,
A Digb_main.c10197 s32 igb_read_i2c_byte(struct e1000_hw *hw, u8 byte_offset, in igb_read_i2c_byte() argument
10213 status = i2c_smbus_read_byte_data(this_client, byte_offset); in igb_read_i2c_byte()
10234 s32 igb_write_i2c_byte(struct e1000_hw *hw, u8 byte_offset, in igb_write_i2c_byte() argument
10247 status = i2c_smbus_write_byte_data(this_client, byte_offset, data); in igb_write_i2c_byte()
/drivers/gpu/drm/udl/
A Dudl_transfer.c175 u32 byte_offset, u32 device_byte_offset, in udl_render_hline() argument
190 line_start = (u8 *) (front + byte_offset); in udl_render_hline()
A Dudl_drv.h85 u32 byte_offset, u32 device_byte_offset, u32 byte_width);
A Dudl_modeset.c227 const int byte_offset = line_offset + (clip->x1 << log_bpp); in udl_handle_damage() local
231 &cmd, byte_offset, dev_byte_offset, in udl_handle_damage()
/drivers/media/platform/verisilicon/
A Dhantro_g1_vp8_dec.c312 u32 byte_offset = dct_part_offset + dct_size_part_size + count; in cfg_parts() local
313 u32 base_addr = byte_offset + src_dma; in cfg_parts()
319 (byte_offset & DEC_8190_ALIGN_MASK) * 8); in cfg_parts()
A Drockchip_vpu2_hw_vp8_dec.c410 u32 byte_offset = dct_part_offset + dct_size_part_size + count; in cfg_parts() local
411 u32 base_addr = byte_offset + src_dma; in cfg_parts()
417 (byte_offset & DEC_8190_ALIGN_MASK) * 8); in cfg_parts()
/drivers/net/ethernet/
A Dlantiq_etop.c481 u32 byte_offset; in ltq_etop_tx() local
494 byte_offset = CPHYSADDR(skb->data) % (priv->tx_burst_len * 4); in ltq_etop_tx()
501 DMA_TO_DEVICE)) - byte_offset; in ltq_etop_tx()
505 LTQ_DMA_TX_OFFSET(byte_offset) | (len & LTQ_DMA_SIZE_MASK); in ltq_etop_tx()
A Dlantiq_xrx200.c363 u32 byte_offset; in xrx200_start_xmit() local
388 byte_offset = mapping % (XRX200_DMA_BURST_LEN * 4); in xrx200_start_xmit()
390 desc->addr = mapping - byte_offset; in xrx200_start_xmit()
394 LTQ_DMA_TX_OFFSET(byte_offset) | (len & LTQ_DMA_SIZE_MASK); in xrx200_start_xmit()
/drivers/input/touchscreen/
A Datmel_mxt_ts.c1403 unsigned int type, instance, size, byte_offset; in mxt_prepare_cfg_mem() local
1482 byte_offset = reg + i - cfg->start_ofs; in mxt_prepare_cfg_mem()
1484 if (byte_offset >= 0 && byte_offset < cfg->mem_size) { in mxt_prepare_cfg_mem()
1485 *(cfg->mem + byte_offset) = val; in mxt_prepare_cfg_mem()
1488 reg, object->type, byte_offset); in mxt_prepare_cfg_mem()
1499 unsigned int byte_offset = 0; in mxt_upload_cfg_mem() local
1503 while (byte_offset < cfg->mem_size) { in mxt_upload_cfg_mem()
1504 unsigned int size = cfg->mem_size - byte_offset; in mxt_upload_cfg_mem()
1510 cfg->start_ofs + byte_offset, in mxt_upload_cfg_mem()
1511 size, cfg->mem + byte_offset); in mxt_upload_cfg_mem()
[all …]
/drivers/video/fbdev/
A Dudlfb.c544 u32 byte_offset, u32 byte_width, in dlfb_render_hline() argument
548 u32 dev_addr = dlfb->base16 + byte_offset; in dlfb_render_hline()
554 line_start = (u8 *) (front + byte_offset); in dlfb_render_hline()
561 + byte_offset); in dlfb_render_hline()
640 const int byte_offset = line_offset + (x * BPP); in dlfb_handle_damage() local
644 &cmd, byte_offset, width * BPP, in dlfb_handle_damage()
A Dsmscufx.c849 const int byte_offset = line_offset + (x * BPP); in ufx_raw_rect() local
851 (char *)dev->info->fix.smem_start + byte_offset, width * BPP); in ufx_raw_rect()
/drivers/crypto/amcc/
A Dcrypto4xx_sa.h153 u32 byte_offset:1; member
/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Ddefiner.c1914 u8 byte_offset; in hws_definer_find_byte_in_tag() local
1921 byte_offset = hl_byte_off % DW_SIZE; in hws_definer_find_byte_in_tag()
1924 *tag_byte_off = byte_offset + DW_SIZE * (DW_SELECTORS - i - 1); in hws_definer_find_byte_in_tag()
1930 byte_offset = DW_SIZE * DW_SELECTORS; in hws_definer_find_byte_in_tag()
1934 *tag_byte_off = byte_offset + (BYTE_SELECTORS - i - 1); in hws_definer_find_byte_in_tag()
/drivers/mtd/nand/onenand/
A Donenand_base.c846 int byte_offset; in onenand_write_bufferram() local
852 byte_offset = offset + count; in onenand_write_bufferram()
855 word = this->read_word(bufferram + byte_offset); in onenand_write_bufferram()
857 this->write_word(word, bufferram + byte_offset); in onenand_write_bufferram()
/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ethtool.c4425 int rc, byte_offset = 0; in bnxt_read_sfp_module_eeprom_info() local
4440 req->page_offset = cpu_to_le16(start_addr + byte_offset); in bnxt_read_sfp_module_eeprom_info()
4443 cpu_to_le32((start_addr + byte_offset ? in bnxt_read_sfp_module_eeprom_info()
4451 memcpy(buf + byte_offset, output->data, xfer_size); in bnxt_read_sfp_module_eeprom_info()
4452 byte_offset += xfer_size; in bnxt_read_sfp_module_eeprom_info()
/drivers/hv/
A Dchannel.c348 gpadl_header->range[0].byte_offset = 0; in create_gpadl_header()
/drivers/net/hyperv/
A Dnetvsc.c1498 u32 offset = vmxferpage_packet->ranges[i].byte_offset; in netvsc_receive()
/drivers/net/ethernet/qlogic/qed/
A Dqed_debug.c1108 static u32 qed_dump_align(char *dump_buf, bool dump, u32 byte_offset) in qed_dump_align() argument
1112 offset_in_dword = (u8)(byte_offset & 0x3); in qed_dump_align()

Completed in 141 milliseconds