/openbmc/linux/include/rdma/ |
H A D | iba.h | 118 #define IBA_FIELD_BLOC(field_struct, byte_offset, bit_offset, num_bits) \ argument 119 field_struct, byte_offset, \ 123 IBA_FIELD_BLOC(field_struct, byte_offset, 0, num_bits) 126 field_struct, (byte_offset)&0xFFFE, \ 127 GENMASK(15 - (((byte_offset) % 2) * 8), \ 128 15 - (((byte_offset) % 2) * 8) - (num_bits - 1)), \ 132 field_struct, (byte_offset)&0xFFFC, \ 133 GENMASK(31 - (((byte_offset) % 4) * 8), \ 134 31 - (((byte_offset) % 4) * 8) - (num_bits - 1)), \ 138 field_struct, byte_offset, GENMASK_ULL(63, 0), 64 [all …]
|
H A 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 …]
|
/openbmc/u-boot/fs/ |
H A D | fs_internal.c | 14 lbaint_t sector, int byte_offset, int byte_len, char *buf) in fs_devread() argument 26 if ((sector + ((byte_offset + byte_len - 1) >> log2blksz)) in fs_devread() 34 sector += byte_offset >> log2blksz; in fs_devread() 35 byte_offset &= blk->blksz - 1; in fs_devread() 37 debug(" <" LBAFU ", %d, %d>\n", sector, byte_offset, byte_len); in fs_devread() 39 if (byte_offset != 0) { in fs_devread() 47 readlen = min((int)blk->blksz - byte_offset, in fs_devread() 49 memcpy(buf, sec_buf + byte_offset, readlen); in fs_devread()
|
/openbmc/linux/tools/power/acpi/tools/ec/ |
H A 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()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_parse_tcp_hdr_opt.c | 32 __u8 byte_offset; member 42 tcp_opt = (__u8 *)(data + state->byte_offset); in parse_hdr_opt() 53 state->byte_offset++; in parse_hdr_opt() 77 state->byte_offset += hdr_len; in parse_hdr_opt() 102 opt_state.byte_offset = sizeof(struct tcphdr) + tcp_offset; in xdp_ingress_v6()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A 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,
|
H A D | ixgbe_phy.c | 2071 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_eeprom_generic() 2087 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_sff8472_generic() 2103 return hw->phy.ops.write_i2c_byte(hw, byte_offset, in ixgbe_write_i2c_eeprom_generic() 2145 if (ixgbe_is_sfp_probe(hw, byte_offset, dev_addr)) in ixgbe_read_i2c_byte_generic_int() 2165 status = ixgbe_clock_out_i2c_byte(hw, byte_offset); in ixgbe_read_i2c_byte_generic_int() 2224 s32 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_generic() argument 2227 return ixgbe_read_i2c_byte_generic_int(hw, byte_offset, dev_addr, in ixgbe_read_i2c_byte_generic() 2244 return ixgbe_read_i2c_byte_generic_int(hw, byte_offset, dev_addr, in ixgbe_read_i2c_byte_generic_unlocked() 2281 status = ixgbe_clock_out_i2c_byte(hw, byte_offset); in ixgbe_write_i2c_byte_generic_int() 2330 return ixgbe_write_i2c_byte_generic_int(hw, byte_offset, dev_addr, in ixgbe_write_i2c_byte_generic() [all …]
|
H A 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()
|
/openbmc/u-boot/fs/btrfs/ |
H A D | dev.c | 18 int byte_offset; in btrfs_devread() local 21 byte_offset = address % btrfs_blk_desc->blksz; in btrfs_devread() 23 return fs_devread(btrfs_blk_desc, btrfs_part_info, sector, byte_offset, in btrfs_devread()
|
/openbmc/u-boot/fs/zfs/ |
H A D | dev.c | 26 int zfs_devread(int sector, int byte_offset, int byte_len, char *buf) in zfs_devread() argument 28 return fs_devread(zfs_blk_desc, part_info, sector, byte_offset, in zfs_devread()
|
/openbmc/u-boot/fs/reiserfs/ |
H A D | dev.c | 24 int reiserfs_devread(int sector, int byte_offset, int byte_len, char *buf) in reiserfs_devread() argument 26 return fs_devread(reiserfs_blk_desc, part_info, sector, byte_offset, in reiserfs_devread()
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | control.c | 142 u8 byte_offset = offset & 0x3; in omap_ctrl_readb() local 146 return (val >> (byte_offset * 8)) & 0xff; in omap_ctrl_readb() 152 u16 byte_offset = offset & 0x2; in omap_ctrl_readw() local 156 return (val >> (byte_offset * 8)) & 0xffff; in omap_ctrl_readw() 169 u8 byte_offset = offset & 0x3; in omap_ctrl_writeb() local 173 tmp &= 0xffffffff ^ (0xff << (byte_offset * 8)); in omap_ctrl_writeb() 174 tmp |= val << (byte_offset * 8); in omap_ctrl_writeb() 182 u8 byte_offset = offset & 0x2; in omap_ctrl_writew() local 186 tmp &= 0xffffffff ^ (0xffff << (byte_offset * 8)); in omap_ctrl_writew() 187 tmp |= val << (byte_offset * 8); in omap_ctrl_writew()
|
/openbmc/u-boot/fs/ext4/ |
H A D | dev.c | 49 int ext4fs_devread(lbaint_t sector, int byte_offset, int byte_len, in ext4fs_devread() argument 52 return fs_devread(get_fs()->dev_desc, part_info, sector, byte_offset, in ext4fs_devread()
|
/openbmc/linux/fs/udf/ |
H A D | truncate.c | 205 loff_t byte_offset; in udf_truncate_extents() local 220 byte_offset = (offset << sb->s_blocksize_bits) + in udf_truncate_extents() 224 WARN_ON(byte_offset); in udf_truncate_extents() 228 extent_trunc(inode, &epos, &eloc, etype, elen, byte_offset); in udf_truncate_extents() 230 if (byte_offset) in udf_truncate_extents()
|
/openbmc/qemu/migration/ |
H A D | ram.h | 69 bool ramblock_recv_bitmap_test_byte_offset(RAMBlock *rb, uint64_t byte_offset); 72 void ramblock_recv_bitmap_set_offset(RAMBlock *rb, uint64_t byte_offset);
|
/openbmc/linux/arch/arm64/kvm/vgic/ |
H A D | vgic-v3.c | 308 int byte_offset, bit_nr; in vgic_v3_lpi_sync_pending_status() local 322 byte_offset = irq->intid / BITS_PER_BYTE; in vgic_v3_lpi_sync_pending_status() 324 ptr = pendbase + byte_offset; in vgic_v3_lpi_sync_pending_status() 400 int byte_offset, bit_nr; in vgic_v3_save_pending_tables() local 412 byte_offset = irq->intid / BITS_PER_BYTE; in vgic_v3_save_pending_tables() 414 ptr = pendbase + byte_offset; in vgic_v3_save_pending_tables()
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A 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,
|
/openbmc/qemu/include/hw/hyperv/ |
H A D | vmbus-proto.h | 126 uint32_t byte_offset; member 211 uint32_t byte_offset; member
|
/openbmc/linux/drivers/gpu/drm/udl/ |
H A D | udl_transfer.c | 175 u32 byte_offset, u32 device_byte_offset, in udl_render_hline() argument 190 line_start = (u8 *) (front + byte_offset); in udl_render_hline()
|
H A D | udl_drv.h | 100 u32 byte_offset, u32 device_byte_offset, u32 byte_width);
|
/openbmc/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_g1_vp8_dec.c | 312 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()
|
/openbmc/u-boot/include/ |
H A D | zfs_common.h | 100 int zfs_devread(int sector, int byte_offset, int byte_len, char *buf);
|
/openbmc/linux/include/uapi/sound/ |
H A D | compress_offload.h | 52 __u32 byte_offset; member
|
/openbmc/linux/sound/soc/intel/atom/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/ |
H A D | lantiq_xrx200.c | 363 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()
|