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