/linux-4.1.27/tools/power/acpi/tools/ec/ |
D | ec_access.c | 176 void read_ec_val(int fd, int byte_offset) in read_ec_val() argument 181 error = lseek(fd, byte_offset, SEEK_SET); in read_ec_val() 182 if (error != byte_offset) in read_ec_val() 183 err(EXIT_FAILURE, "Cannot set offset to 0x%.2x", byte_offset); in read_ec_val() 188 byte_offset, SYSFS_PATH); in read_ec_val() 193 void write_ec_val(int fd, int byte_offset, uint8_t value) in write_ec_val() argument 197 error = lseek(fd, byte_offset, SEEK_SET); in write_ec_val() 198 if (error != byte_offset) in write_ec_val() 199 err(EXIT_FAILURE, "Cannot set offset to 0x%.2x", byte_offset); in write_ec_val() 204 value, byte_offset); in write_ec_val()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_phy.h | 154 s32 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, 156 s32 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, 158 s32 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, 160 s32 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset, 162 s32 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset,
|
D | ixgbe_82598.c | 46 static s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, 998 u8 byte_offset, u8 *eeprom_data) in ixgbe_read_i2c_phy_82598() argument 1021 sfp_addr = (dev_addr << 8) + byte_offset; in ixgbe_read_i2c_phy_82598() 1068 static s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_eeprom_82598() argument 1072 byte_offset, eeprom_data); in ixgbe_read_i2c_eeprom_82598() 1083 static s32 ixgbe_read_i2c_sff8472_82598(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_sff8472_82598() argument 1087 byte_offset, sff8472_data); in ixgbe_read_i2c_sff8472_82598()
|
D | ixgbe_phy.c | 1603 s32 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_eeprom_generic() argument 1606 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_eeprom_generic() 1619 s32 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_sff8472_generic() argument 1622 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_sff8472_generic() 1635 s32 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_eeprom_generic() argument 1638 return hw->phy.ops.write_i2c_byte(hw, byte_offset, in ixgbe_write_i2c_eeprom_generic() 1652 s32 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_generic() argument 1677 status = ixgbe_clock_out_i2c_byte(hw, byte_offset); in ixgbe_read_i2c_byte_generic() 1733 s32 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_byte_generic() argument 1755 status = ixgbe_clock_out_i2c_byte(hw, byte_offset); in ixgbe_write_i2c_byte_generic()
|
D | ixgbe_82599.c | 63 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, 65 static s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, 2195 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_82599() argument 2225 status = ixgbe_read_i2c_byte_generic(hw, byte_offset, dev_addr, data); in ixgbe_read_i2c_byte_82599() 2248 static s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_byte_82599() argument 2278 status = ixgbe_write_i2c_byte_generic(hw, byte_offset, dev_addr, data); in ixgbe_write_i2c_byte_82599()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | control.c | 149 u8 byte_offset = offset & 0x3; in omap_ctrl_readb() local 153 return (val >> (byte_offset * 8)) & 0xff; in omap_ctrl_readb() 159 u16 byte_offset = offset & 0x2; in omap_ctrl_readw() local 163 return (val >> (byte_offset * 8)) & 0xffff; in omap_ctrl_readw() 183 u8 byte_offset = offset & 0x3; in omap_ctrl_writeb() local 187 tmp &= 0xffffffff ^ (0xff << (byte_offset * 8)); in omap_ctrl_writeb() 188 tmp |= val << (byte_offset * 8); in omap_ctrl_writeb() 196 u8 byte_offset = offset & 0x2; in omap_ctrl_writew() local 200 tmp &= 0xffffffff ^ (0xffff << (byte_offset * 8)); in omap_ctrl_writew() 201 tmp |= val << (byte_offset * 8); in omap_ctrl_writew()
|
/linux-4.1.27/fs/udf/ |
D | truncate.c | 210 loff_t byte_offset; in udf_truncate_extents() local 222 byte_offset = (offset << sb->s_blocksize_bits) + in udf_truncate_extents() 226 WARN_ON(byte_offset); in udf_truncate_extents() 230 extent_trunc(inode, &epos, &eloc, etype, elen, byte_offset); in udf_truncate_extents() 232 if (byte_offset) in udf_truncate_extents()
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | e1000_82575.h | 31 s32 igb_read_i2c_byte(struct e1000_hw *hw, u8 byte_offset, u8 dev_addr, 33 s32 igb_write_i2c_byte(struct e1000_hw *hw, u8 byte_offset, u8 dev_addr,
|
D | igb_main.c | 8071 s32 igb_read_i2c_byte(struct e1000_hw *hw, u8 byte_offset, in igb_read_i2c_byte() argument 8087 status = i2c_smbus_read_byte_data(this_client, byte_offset); in igb_read_i2c_byte() 8108 s32 igb_write_i2c_byte(struct e1000_hw *hw, u8 byte_offset, in igb_write_i2c_byte() argument 8121 status = i2c_smbus_write_byte_data(this_client, byte_offset, data); in igb_write_i2c_byte()
|
/linux-4.1.27/drivers/gpu/drm/udl/ |
D | udl_transfer.c | 223 u32 byte_offset, u32 device_byte_offset, in udl_render_hline() argument 235 line_start = (u8 *) (front + byte_offset); in udl_render_hline()
|
D | udl_drv.h | 115 u32 byte_offset, u32 device_byte_offset, u32 byte_width,
|
D | udl_fb.c | 225 const int byte_offset = line_offset + (x * bpp); in udl_handle_damage() local 229 &cmd, byte_offset, dev_byte_offset, in udl_handle_damage()
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | atmel_mxt_ts.c | 1242 unsigned int type, instance, size, byte_offset; in mxt_prepare_cfg_mem() local 1321 byte_offset = reg + i - cfg_start_ofs; in mxt_prepare_cfg_mem() 1323 if (byte_offset >= 0 && byte_offset < config_mem_size) { in mxt_prepare_cfg_mem() 1324 *(config_mem + byte_offset) = val; in mxt_prepare_cfg_mem() 1327 reg, object->type, byte_offset); in mxt_prepare_cfg_mem() 1339 unsigned int byte_offset = 0; in mxt_upload_cfg_mem() local 1343 while (byte_offset < config_mem_size) { in mxt_upload_cfg_mem() 1344 unsigned int size = config_mem_size - byte_offset; in mxt_upload_cfg_mem() 1350 cfg_start + byte_offset, in mxt_upload_cfg_mem() 1351 size, config_mem + byte_offset); in mxt_upload_cfg_mem() [all …]
|
/linux-4.1.27/include/uapi/sound/ |
D | compress_offload.h | 68 __u32 byte_offset; member
|
/linux-4.1.27/sound/soc/intel/atom/ |
D | sst-mfld-platform-compress.c | 212 tstamp->byte_offset = tstamp->copied_total % in sst_platform_compr_pointer() 214 pr_debug("calc bytes offset/copied bytes as %d\n", tstamp->byte_offset); in sst_platform_compr_pointer()
|
/linux-4.1.27/drivers/net/ethernet/ |
D | lantiq_etop.c | 527 u32 byte_offset; in ltq_etop_tx() local 539 byte_offset = CPHYSADDR(skb->data) % 16; in ltq_etop_tx() 546 DMA_TO_DEVICE)) - byte_offset; in ltq_etop_tx() 549 LTQ_DMA_TX_OFFSET(byte_offset) | (len & LTQ_DMA_SIZE_MASK); in ltq_etop_tx()
|
/linux-4.1.27/drivers/crypto/amcc/ |
D | crypto4xx_sa.h | 155 u32 byte_offset:1; member
|
/linux-4.1.27/drivers/video/fbdev/ |
D | udlfb.c | 520 u32 byte_offset, u32 byte_width, in dlfb_render_hline() argument 524 u32 dev_addr = dev->base16 + byte_offset; in dlfb_render_hline() 529 line_start = (u8 *) (front + byte_offset); in dlfb_render_hline() 536 + byte_offset); in dlfb_render_hline() 608 const int byte_offset = line_offset + (x * BPP); in dlfb_handle_damage() local 612 &cmd, byte_offset, width * BPP, in dlfb_handle_damage()
|
D | smscufx.c | 846 const int byte_offset = line_offset + (x * BPP); in ufx_raw_rect() local 848 (char *)dev->info->fix.smem_start + byte_offset, width * BPP); in ufx_raw_rect()
|
/linux-4.1.27/include/linux/ |
D | hyperv.h | 253 u32 byte_offset; member 284 u32 byte_offset; member
|
/linux-4.1.27/net/ipv4/ |
D | cipso_ipv4.c | 155 u32 byte_offset; in cipso_v4_bitmap_walk() local 160 byte_offset = offset / 8; in cipso_v4_bitmap_walk() 161 byte = bitmap[byte_offset]; in cipso_v4_bitmap_walk() 173 byte = bitmap[++byte_offset]; in cipso_v4_bitmap_walk()
|
/linux-4.1.27/sound/soc/intel/baytrail/ |
D | sst-baytrail-ipc.c | 113 u32 byte_offset; member 499 start_stream.byte_offset = start_offset; in sst_byt_stream_start()
|
/linux-4.1.27/drivers/hv/ |
D | channel.c | 255 gpadl_header->range[0].byte_offset = 0; in create_gpadl_header() 337 gpadl_header->range[0].byte_offset = 0; in create_gpadl_header()
|
/linux-4.1.27/fs/reiserfs/ |
D | inode.c | 2378 loff_t byte_offset = ((loff_t)block << inode->i_sb->s_blocksize_bits)+1; in map_block_for_writepage() local 2398 make_cpu_key(&key, inode, byte_offset, TYPE_ANY, 3); in map_block_for_writepage() 2428 p += (byte_offset - 1) & (PAGE_CACHE_SIZE - 1); in map_block_for_writepage() 2466 (byte_offset + bytes_copied) < inode->i_size) { in map_block_for_writepage()
|
/linux-4.1.27/drivers/mtd/onenand/ |
D | onenand_base.c | 818 int byte_offset; in onenand_write_bufferram() local 824 byte_offset = offset + count; in onenand_write_bufferram() 827 word = this->read_word(bufferram + byte_offset); in onenand_write_bufferram() 829 this->write_word(word, bufferram + byte_offset); in onenand_write_bufferram()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_state.c | 1710 u32 offset, byte_offset; in radeon_cp_dispatch_texture() local 1895 byte_offset = (image->y & ~2047) * blit_width; in radeon_cp_dispatch_texture() 1910 OUT_RING((texpitch << 22) | ((tex->offset >> 10) + (byte_offset >> 10))); in radeon_cp_dispatch_texture()
|
/linux-4.1.27/sound/core/ |
D | compress_offload.c | 175 tstamp->byte_offset, tstamp->copied_total); in snd_compr_update_tstamp()
|
/linux-4.1.27/drivers/net/hyperv/ |
D | netvsc.c | 1031 recv_buf + vmxferpage_packet->ranges[i].byte_offset); in netvsc_receive()
|