Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/ixgbe/
Dixgbe_phy.h159 s32 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset,
161 s32 ixgbe_read_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset,
163 s32 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset,
165 s32 ixgbe_write_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset,
167 s32 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset,
169 s32 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset,
171 s32 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset,
Dixgbe_phy.c1943 s32 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_eeprom_generic() argument
1946 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_eeprom_generic()
1959 s32 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_sff8472_generic() argument
1962 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_sff8472_generic()
1975 s32 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_eeprom_generic() argument
1978 return hw->phy.ops.write_i2c_byte(hw, byte_offset, in ixgbe_write_i2c_eeprom_generic()
2009 static s32 ixgbe_read_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_generic_int() argument
2020 if (ixgbe_is_sfp_probe(hw, byte_offset, dev_addr)) in ixgbe_read_i2c_byte_generic_int()
2040 status = ixgbe_clock_out_i2c_byte(hw, byte_offset); in ixgbe_read_i2c_byte_generic_int()
2099 s32 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_generic() argument
[all …]
Dixgbe_82598.c21 static s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
952 u8 byte_offset, u8 *eeprom_data) in ixgbe_read_i2c_phy_82598() argument
975 sfp_addr = (dev_addr << 8) + byte_offset; in ixgbe_read_i2c_phy_82598()
1022 static s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_eeprom_82598() argument
1026 byte_offset, eeprom_data); in ixgbe_read_i2c_eeprom_82598()
1037 static s32 ixgbe_read_i2c_sff8472_82598(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_sff8472_82598() argument
1041 byte_offset, sff8472_data); in ixgbe_read_i2c_sff8472_82598()
Dixgbe_82599.c37 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset,
39 static s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset,
2064 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_82599() argument
2094 status = ixgbe_read_i2c_byte_generic(hw, byte_offset, dev_addr, data); in ixgbe_read_i2c_byte_82599()
2118 static s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_byte_82599() argument
2148 status = ixgbe_write_i2c_byte_generic(hw, byte_offset, dev_addr, data); in ixgbe_write_i2c_byte_82599()
/drivers/net/ethernet/intel/igb/
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,
Digb_main.c10063 s32 igb_read_i2c_byte(struct e1000_hw *hw, u8 byte_offset, in igb_read_i2c_byte() argument
10079 status = i2c_smbus_read_byte_data(this_client, byte_offset); in igb_read_i2c_byte()
10100 s32 igb_write_i2c_byte(struct e1000_hw *hw, u8 byte_offset, in igb_write_i2c_byte() argument
10113 status = i2c_smbus_write_byte_data(this_client, byte_offset, data); in igb_write_i2c_byte()
/drivers/gpu/drm/udl/
Dudl_transfer.c174 u32 byte_offset, u32 device_byte_offset, in udl_render_hline() argument
189 line_start = (u8 *) (front + byte_offset); in udl_render_hline()
Dudl_drv.h87 u32 byte_offset, u32 device_byte_offset, u32 byte_width);
Dudl_modeset.c274 const int byte_offset = line_offset + (clip->x1 << log_bpp); in udl_handle_damage() local
278 &cmd, byte_offset, dev_byte_offset, in udl_handle_damage()
/drivers/media/platform/verisilicon/
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()
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/
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()
Dlantiq_etop.c483 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()
/drivers/input/touchscreen/
Datmel_mxt_ts.c1370 unsigned int type, instance, size, byte_offset; in mxt_prepare_cfg_mem() local
1449 byte_offset = reg + i - cfg->start_ofs; in mxt_prepare_cfg_mem()
1451 if (byte_offset >= 0 && byte_offset < cfg->mem_size) { in mxt_prepare_cfg_mem()
1452 *(cfg->mem + byte_offset) = val; in mxt_prepare_cfg_mem()
1455 reg, object->type, byte_offset); in mxt_prepare_cfg_mem()
1466 unsigned int byte_offset = 0; in mxt_upload_cfg_mem() local
1470 while (byte_offset < cfg->mem_size) { in mxt_upload_cfg_mem()
1471 unsigned int size = cfg->mem_size - byte_offset; in mxt_upload_cfg_mem()
1477 cfg->start_ofs + byte_offset, in mxt_upload_cfg_mem()
1478 size, cfg->mem + byte_offset); in mxt_upload_cfg_mem()
[all …]
/drivers/video/fbdev/
Dudlfb.c542 u32 byte_offset, u32 byte_width, in dlfb_render_hline() argument
546 u32 dev_addr = dlfb->base16 + byte_offset; in dlfb_render_hline()
552 line_start = (u8 *) (front + byte_offset); in dlfb_render_hline()
559 + byte_offset); in dlfb_render_hline()
638 const int byte_offset = line_offset + (x * BPP); in dlfb_handle_damage() local
642 &cmd, byte_offset, width * BPP, in dlfb_handle_damage()
Dsmscufx.c847 const int byte_offset = line_offset + (x * BPP); in ufx_raw_rect() local
849 (char *)dev->info->fix.smem_start + byte_offset, width * BPP); in ufx_raw_rect()
/drivers/crypto/amcc/
Dcrypto4xx_sa.h153 u32 byte_offset:1; member
/drivers/hv/
Dchannel.c350 gpadl_header->range[0].byte_offset = 0; in create_gpadl_header()
431 gpadl_header->range[0].byte_offset = 0; in create_gpadl_header()
/drivers/mtd/nand/onenand/
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/
Dbnxt_ethtool.c3150 int rc, byte_offset = 0; in bnxt_read_sfp_module_eeprom_info() local
3165 req->page_offset = cpu_to_le16(start_addr + byte_offset); in bnxt_read_sfp_module_eeprom_info()
3167 req->enables = cpu_to_le32(start_addr + byte_offset ? in bnxt_read_sfp_module_eeprom_info()
3171 memcpy(buf + byte_offset, output->data, xfer_size); in bnxt_read_sfp_module_eeprom_info()
3172 byte_offset += xfer_size; in bnxt_read_sfp_module_eeprom_info()
/drivers/net/hyperv/
Dnetvsc.c1486 u32 offset = vmxferpage_packet->ranges[i].byte_offset; in netvsc_receive()
/drivers/net/ethernet/qlogic/qed/
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()