/kernel/linux/linux-5.10/include/rdma/ |
D | iba.h | 118 #define IBA_FIELD_BLOC(field_struct, byte_offset, bit_offset, num_bits) \ argument 119 field_struct, byte_offset, \ 122 #define IBA_FIELD8_LOC(field_struct, byte_offset, num_bits) \ argument 123 IBA_FIELD_BLOC(field_struct, byte_offset, 0, num_bits) 125 #define IBA_FIELD16_LOC(field_struct, byte_offset, num_bits) \ argument 126 field_struct, (byte_offset)&0xFFFE, \ 127 GENMASK(15 - (((byte_offset) % 2) * 8), \ 128 15 - (((byte_offset) % 2) * 8) - (num_bits - 1)), \ 131 #define IBA_FIELD32_LOC(field_struct, byte_offset, num_bits) \ argument 132 field_struct, (byte_offset)&0xFFFC, \ [all …]
|
D | ibta_vol1_c12.h | 13 #define CM_FIELD_BLOC(field_struct, byte_offset, bits_offset, width) \ argument 15 (byte_offset + sizeof(struct ib_mad_hdr)), bits_offset, \ 17 #define CM_FIELD8_LOC(field_struct, byte_offset, width) \ argument 19 (byte_offset + sizeof(struct ib_mad_hdr)), width) 20 #define CM_FIELD16_LOC(field_struct, byte_offset, width) \ argument 22 (byte_offset + sizeof(struct ib_mad_hdr)), width) 23 #define CM_FIELD32_LOC(field_struct, byte_offset, width) \ argument 25 (byte_offset + sizeof(struct ib_mad_hdr)), width) 26 #define CM_FIELD64_LOC(field_struct, byte_offset) \ argument 27 IBA_FIELD64_LOC(field_struct, (byte_offset + sizeof(struct ib_mad_hdr))) [all …]
|
/kernel/linux/linux-5.10/tools/power/acpi/tools/ec/ |
D | ec_access.c | 175 void read_ec_val(int fd, int byte_offset) in read_ec_val() argument 180 error = lseek(fd, byte_offset, SEEK_SET); in read_ec_val() 181 if (error != byte_offset) in read_ec_val() 182 err(EXIT_FAILURE, "Cannot set offset to 0x%.2x", byte_offset); in read_ec_val() 187 byte_offset, SYSFS_PATH); in read_ec_val() 192 void write_ec_val(int fd, int byte_offset, uint8_t value) in write_ec_val() argument 196 error = lseek(fd, byte_offset, SEEK_SET); in write_ec_val() 197 if (error != byte_offset) in write_ec_val() 198 err(EXIT_FAILURE, "Cannot set offset to 0x%.2x", byte_offset); in write_ec_val() 203 value, byte_offset); in write_ec_val()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_phy.h | 159 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,
|
D | ixgbe_phy.c | 1936 s32 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_eeprom_generic() argument 1939 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_eeprom_generic() 1952 s32 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_sff8472_generic() argument 1955 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_sff8472_generic() 1968 s32 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_eeprom_generic() argument 1971 return hw->phy.ops.write_i2c_byte(hw, byte_offset, in ixgbe_write_i2c_eeprom_generic() 2002 static s32 ixgbe_read_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_generic_int() argument 2013 if (ixgbe_is_sfp_probe(hw, byte_offset, dev_addr)) in ixgbe_read_i2c_byte_generic_int() 2033 status = ixgbe_clock_out_i2c_byte(hw, byte_offset); in ixgbe_read_i2c_byte_generic_int() 2092 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()
|
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
D | control.c | 147 u8 byte_offset = offset & 0x3; in omap_ctrl_readb() local 151 return (val >> (byte_offset * 8)) & 0xff; in omap_ctrl_readb() 157 u16 byte_offset = offset & 0x2; in omap_ctrl_readw() local 161 return (val >> (byte_offset * 8)) & 0xffff; in omap_ctrl_readw() 174 u8 byte_offset = offset & 0x3; in omap_ctrl_writeb() local 178 tmp &= 0xffffffff ^ (0xff << (byte_offset * 8)); in omap_ctrl_writeb() 179 tmp |= val << (byte_offset * 8); in omap_ctrl_writeb() 187 u8 byte_offset = offset & 0x2; in omap_ctrl_writew() local 191 tmp &= 0xffffffff ^ (0xffff << (byte_offset * 8)); in omap_ctrl_writew() 192 tmp |= val << (byte_offset * 8); in omap_ctrl_writew()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/ |
D | vgic-v3.c | 317 int byte_offset, bit_nr; in vgic_v3_lpi_sync_pending_status() local 331 byte_offset = irq->intid / BITS_PER_BYTE; in vgic_v3_lpi_sync_pending_status() 333 ptr = pendbase + byte_offset; in vgic_v3_lpi_sync_pending_status() 372 int byte_offset, bit_nr; in vgic_v3_save_pending_tables() local 383 byte_offset = irq->intid / BITS_PER_BYTE; in vgic_v3_save_pending_tables() 385 ptr = pendbase + byte_offset; in vgic_v3_save_pending_tables()
|
/kernel/linux/linux-5.10/fs/exfat/ |
D | dir.c | 627 struct exfat_chain *p_dir, unsigned int byte_offset, in exfat_walk_fat_chain() argument 634 clu_offset = EXFAT_B_TO_CLU(byte_offset, sbi); in exfat_walk_fat_chain() 647 EXFAT_B_TO_DEN(byte_offset)); in exfat_walk_fat_chain() 826 unsigned int off, byte_offset, clu = 0; in exfat_get_dentry_set() local 840 byte_offset = EXFAT_DEN_TO_B(entry); in exfat_get_dentry_set() 841 ret = exfat_walk_fat_chain(sb, p_dir, byte_offset, &clu); in exfat_get_dentry_set() 852 byte_offset = EXFAT_CLU_OFFSET(byte_offset, sbi); in exfat_get_dentry_set() 855 off = EXFAT_BLK_OFFSET(byte_offset, sb); in exfat_get_dentry_set() 859 sec = EXFAT_B_TO_BLK(byte_offset, sb); in exfat_get_dentry_set()
|
/kernel/linux/linux-5.10/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,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/udl/ |
D | udl_transfer.c | 214 u32 byte_offset, u32 device_byte_offset, in udl_render_hline() argument 225 line_start = (u8 *) (front + byte_offset); in udl_render_hline()
|
D | udl_drv.h | 83 u32 byte_offset, u32 device_byte_offset, u32 byte_width);
|
D | udl_modeset.c | 314 const int byte_offset = line_offset + (clip.x1 << log_bpp); in udl_handle_damage() local 318 &cmd, byte_offset, dev_byte_offset, in udl_handle_damage()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ |
D | lantiq_xrx200.c | 295 u32 byte_offset; in xrx200_start_xmit() local 320 byte_offset = mapping % 16; in xrx200_start_xmit() 322 desc->addr = mapping - byte_offset; in xrx200_start_xmit() 326 LTQ_DMA_TX_OFFSET(byte_offset) | (len & LTQ_DMA_SIZE_MASK); in xrx200_start_xmit()
|
D | lantiq_etop.c | 464 u32 byte_offset; in ltq_etop_tx() local 476 byte_offset = CPHYSADDR(skb->data) % 16; in ltq_etop_tx() 483 DMA_TO_DEVICE)) - byte_offset; in ltq_etop_tx() 486 LTQ_DMA_TX_OFFSET(byte_offset) | (len & LTQ_DMA_SIZE_MASK); in ltq_etop_tx()
|
/kernel/linux/linux-5.10/drivers/staging/media/hantro/ |
D | hantro_g1_vp8_dec.c | 313 u32 byte_offset = dct_part_offset + dct_size_part_size + count; in cfg_parts() local 314 u32 base_addr = byte_offset + src_dma; in cfg_parts() 320 (byte_offset & DEC_8190_ALIGN_MASK) * 8); in cfg_parts()
|
D | rk3399_vpu_hw_vp8_dec.c | 411 u32 byte_offset = dct_part_offset + dct_size_part_size + count; in cfg_parts() local 412 u32 base_addr = byte_offset + src_dma; in cfg_parts() 418 (byte_offset & DEC_8190_ALIGN_MASK) * 8); in cfg_parts()
|
/kernel/linux/linux-5.10/include/uapi/sound/ |
D | compress_offload.h | 69 __u32 byte_offset; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/sound/ |
D | compress_offload.h | 22 __u32 byte_offset; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/sound/ |
D | compress_offload.h | 35 __u32 byte_offset; member
|
/kernel/linux/linux-5.10/sound/soc/intel/atom/ |
D | sst-mfld-platform-compress.c | 211 tstamp->byte_offset = tstamp->copied_total % in sst_platform_compr_pointer() 213 pr_debug("calc bytes offset/copied bytes as %d\n", tstamp->byte_offset); in sst_platform_compr_pointer()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
D | atmel_mxt_ts.c | 1327 unsigned int type, instance, size, byte_offset; in mxt_prepare_cfg_mem() local 1406 byte_offset = reg + i - cfg->start_ofs; in mxt_prepare_cfg_mem() 1408 if (byte_offset >= 0 && byte_offset < cfg->mem_size) { in mxt_prepare_cfg_mem() 1409 *(cfg->mem + byte_offset) = val; in mxt_prepare_cfg_mem() 1412 reg, object->type, byte_offset); in mxt_prepare_cfg_mem() 1423 unsigned int byte_offset = 0; in mxt_upload_cfg_mem() local 1427 while (byte_offset < cfg->mem_size) { in mxt_upload_cfg_mem() 1428 unsigned int size = cfg->mem_size - byte_offset; in mxt_upload_cfg_mem() 1434 cfg->start_ofs + byte_offset, in mxt_upload_cfg_mem() 1435 size, cfg->mem + byte_offset); in mxt_upload_cfg_mem() [all …]
|
/kernel/linux/linux-5.10/net/netlabel/ |
D | netlabel_kapi.c | 884 u32 byte_offset; in netlbl_bitmap_walk() local 890 byte_offset = offset / 8; in netlbl_bitmap_walk() 891 byte = bitmap[byte_offset]; in netlbl_bitmap_walk() 904 byte = bitmap[++byte_offset]; in netlbl_bitmap_walk()
|