/Linux-v4.19/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-v4.19/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_phy.h | 156 s32 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, 158 s32 ixgbe_read_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, 160 s32 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, 162 s32 ixgbe_write_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, 164 s32 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, 166 s32 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset, 168 s32 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset,
|
D | ixgbe_phy.c | 1638 s32 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_eeprom_generic() argument 1641 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_eeprom_generic() 1654 s32 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_sff8472_generic() argument 1657 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_sff8472_generic() 1670 s32 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_eeprom_generic() argument 1673 return hw->phy.ops.write_i2c_byte(hw, byte_offset, in ixgbe_write_i2c_eeprom_generic() 1704 static s32 ixgbe_read_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_generic_int() argument 1715 if (ixgbe_is_sfp_probe(hw, byte_offset, dev_addr)) in ixgbe_read_i2c_byte_generic_int() 1735 status = ixgbe_clock_out_i2c_byte(hw, byte_offset); in ixgbe_read_i2c_byte_generic_int() 1794 s32 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_generic() argument [all …]
|
D | ixgbe_82598.c | 21 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()
|
D | ixgbe_82599.c | 37 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()
|
/Linux-v4.19/arch/arm/mach-omap2/ |
D | control.c | 150 u8 byte_offset = offset & 0x3; in omap_ctrl_readb() local 154 return (val >> (byte_offset * 8)) & 0xff; in omap_ctrl_readb() 160 u16 byte_offset = offset & 0x2; in omap_ctrl_readw() local 164 return (val >> (byte_offset * 8)) & 0xffff; in omap_ctrl_readw() 177 u8 byte_offset = offset & 0x3; in omap_ctrl_writeb() local 181 tmp &= 0xffffffff ^ (0xff << (byte_offset * 8)); in omap_ctrl_writeb() 182 tmp |= val << (byte_offset * 8); in omap_ctrl_writeb() 190 u8 byte_offset = offset & 0x2; in omap_ctrl_writew() local 194 tmp &= 0xffffffff ^ (0xffff << (byte_offset * 8)); in omap_ctrl_writew() 195 tmp |= val << (byte_offset * 8); in omap_ctrl_writew()
|
/Linux-v4.19/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-v4.19/virt/kvm/arm/vgic/ |
D | vgic-v3.c | 326 int byte_offset, bit_nr; in vgic_v3_lpi_sync_pending_status() local 340 byte_offset = irq->intid / BITS_PER_BYTE; in vgic_v3_lpi_sync_pending_status() 342 ptr = pendbase + byte_offset; in vgic_v3_lpi_sync_pending_status() 381 int byte_offset, bit_nr; in vgic_v3_save_pending_tables() local 392 byte_offset = irq->intid / BITS_PER_BYTE; in vgic_v3_save_pending_tables() 394 ptr = pendbase + byte_offset; in vgic_v3_save_pending_tables() 396 if (byte_offset != last_byte_offset) { in vgic_v3_save_pending_tables() 400 last_byte_offset = byte_offset; in vgic_v3_save_pending_tables()
|
D | vgic-its.c | 444 int byte_offset, bit_nr; in its_sync_lpi_pending_table() local 446 byte_offset = intids[i] / BITS_PER_BYTE; in its_sync_lpi_pending_table() 453 if (byte_offset != last_byte_offset) { in its_sync_lpi_pending_table() 455 pendbase + byte_offset, in its_sync_lpi_pending_table() 461 last_byte_offset = byte_offset; in its_sync_lpi_pending_table() 1905 size_t byte_offset; in scan_its_table() local 1915 byte_offset = next_offset * esz; in scan_its_table() 1917 gpa += byte_offset; in scan_its_table() 1918 len -= byte_offset; in scan_its_table()
|
/Linux-v4.19/drivers/net/ethernet/intel/igb/ |
D | e1000_82575.h | 11 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,
|
/Linux-v4.19/drivers/gpu/drm/udl/ |
D | udl_transfer.c | 221 u32 byte_offset, u32 device_byte_offset, in udl_render_hline() argument 233 line_start = (u8 *) (front + byte_offset); in udl_render_hline()
|
D | udl_drv.h | 118 u32 byte_offset, u32 device_byte_offset, u32 byte_width,
|
D | udl_fb.c | 131 const int byte_offset = line_offset + (x << log_bpp); in udl_handle_damage() local 135 &cmd, byte_offset, dev_byte_offset, in udl_handle_damage()
|
/Linux-v4.19/include/uapi/sound/ |
D | compress_offload.h | 69 __u32 byte_offset; member
|
/Linux-v4.19/sound/soc/intel/atom/ |
D | sst-mfld-platform-compress.c | 217 tstamp->byte_offset = tstamp->copied_total % in sst_platform_compr_pointer() 219 pr_debug("calc bytes offset/copied bytes as %d\n", tstamp->byte_offset); in sst_platform_compr_pointer()
|
/Linux-v4.19/drivers/net/ethernet/ |
D | lantiq_etop.c | 478 u32 byte_offset; in ltq_etop_tx() local 490 byte_offset = CPHYSADDR(skb->data) % 16; in ltq_etop_tx() 497 DMA_TO_DEVICE)) - byte_offset; in ltq_etop_tx() 500 LTQ_DMA_TX_OFFSET(byte_offset) | (len & LTQ_DMA_SIZE_MASK); in ltq_etop_tx()
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | atmel_mxt_ts.c | 1306 unsigned int type, instance, size, byte_offset; in mxt_prepare_cfg_mem() local 1385 byte_offset = reg + i - cfg->start_ofs; in mxt_prepare_cfg_mem() 1387 if (byte_offset >= 0 && byte_offset < cfg->mem_size) { in mxt_prepare_cfg_mem() 1388 *(cfg->mem + byte_offset) = val; in mxt_prepare_cfg_mem() 1391 reg, object->type, byte_offset); in mxt_prepare_cfg_mem() 1402 unsigned int byte_offset = 0; in mxt_upload_cfg_mem() local 1406 while (byte_offset < cfg->mem_size) { in mxt_upload_cfg_mem() 1407 unsigned int size = cfg->mem_size - byte_offset; in mxt_upload_cfg_mem() 1413 cfg->start_ofs + byte_offset, in mxt_upload_cfg_mem() 1414 size, cfg->mem + byte_offset); in mxt_upload_cfg_mem() [all …]
|
/Linux-v4.19/net/netlabel/ |
D | netlabel_kapi.c | 892 u32 byte_offset; in netlbl_bitmap_walk() local 896 byte_offset = offset / 8; in netlbl_bitmap_walk() 897 byte = bitmap[byte_offset]; in netlbl_bitmap_walk() 909 byte = bitmap[++byte_offset]; in netlbl_bitmap_walk()
|
/Linux-v4.19/drivers/video/fbdev/ |
D | udlfb.c | 540 u32 byte_offset, u32 byte_width, in dlfb_render_hline() argument 544 u32 dev_addr = dlfb->base16 + byte_offset; in dlfb_render_hline() 550 line_start = (u8 *) (front + byte_offset); in dlfb_render_hline() 557 + byte_offset); in dlfb_render_hline() 629 const int byte_offset = line_offset + (x * BPP); in dlfb_handle_damage() local 633 &cmd, byte_offset, width * BPP, in dlfb_handle_damage()
|
/Linux-v4.19/drivers/staging/rtlwifi/phydm/ |
D | phydm.c | 1519 u8 byte_offset, bit_offset; in phydm_set_csi_mask_reg() local 1547 byte_offset = (u8)(tone_idx_tmp >> 3); in phydm_set_csi_mask_reg() 1549 target_reg = csi_mask_reg_p + byte_offset; in phydm_set_csi_mask_reg() 1559 byte_offset = (u8)(tone_idx_tmp >> 3); in phydm_set_csi_mask_reg() 1561 target_reg = csi_mask_reg_n + byte_offset; in phydm_set_csi_mask_reg()
|
/Linux-v4.19/drivers/crypto/amcc/ |
D | crypto4xx_sa.h | 162 u32 byte_offset:1; member
|
/Linux-v4.19/sound/soc/intel/baytrail/ |
D | sst-baytrail-ipc.c | 112 u32 byte_offset; member 492 start_stream.byte_offset = start_offset; in sst_byt_stream_start()
|
/Linux-v4.19/drivers/hv/ |
D | channel.c | 312 gpadl_header->range[0].byte_offset = 0; in create_gpadl_header() 393 gpadl_header->range[0].byte_offset = 0; in create_gpadl_header()
|
/Linux-v4.19/include/linux/ |
D | hyperv.h | 287 u32 byte_offset; member 318 u32 byte_offset; member
|
/Linux-v4.19/sound/soc/uniphier/ |
D | aio-compress.c | 269 tstamp->byte_offset = pos; in uniphier_aio_compr_pointer()
|