/linux-master/include/rdma/ |
H A D | iba.h | 118 #define IBA_FIELD_BLOC(field_struct, byte_offset, bit_offset, num_bits) \ 119 field_struct, byte_offset, \ 122 #define IBA_FIELD8_LOC(field_struct, byte_offset, num_bits) \ 123 IBA_FIELD_BLOC(field_struct, byte_offset, 0, num_bits) 125 #define IBA_FIELD16_LOC(field_struct, byte_offset, num_bits) \ 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) \ 132 field_struct, (byte_offset) [all...] |
H A D | ibta_vol1_c12.h | 13 #define CM_FIELD_BLOC(field_struct, byte_offset, bits_offset, width) \ 15 (byte_offset + sizeof(struct ib_mad_hdr)), bits_offset, \ 17 #define CM_FIELD8_LOC(field_struct, byte_offset, width) \ 19 (byte_offset + sizeof(struct ib_mad_hdr)), width) 20 #define CM_FIELD16_LOC(field_struct, byte_offset, width) \ 22 (byte_offset + sizeof(struct ib_mad_hdr)), width) 23 #define CM_FIELD32_LOC(field_struct, byte_offset, width) \ 25 (byte_offset + sizeof(struct ib_mad_hdr)), width) 26 #define CM_FIELD64_LOC(field_struct, byte_offset) \ 27 IBA_FIELD64_LOC(field_struct, (byte_offset [all...] |
/linux-master/tools/power/acpi/tools/ec/ |
H A D | ec_access.c | 39 printf("2) %s -b byte_offset\n", basename(progname)); 40 printf("3) %s -w byte_offset -v value\n\n", basename(progname)); 45 puts("\t-b offset : Read value at byte_offset (in hex)"); 46 puts("\t-w offset -v value : Write value at byte_offset"); 175 void read_ec_val(int fd, int byte_offset) argument 180 error = lseek(fd, byte_offset, SEEK_SET); 181 if (error != byte_offset) 182 err(EXIT_FAILURE, "Cannot set offset to 0x%.2x", byte_offset); 187 byte_offset, SYSFS_PATH); 192 void write_ec_val(int fd, int byte_offset, uint8_ argument [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_parse_tcp_hdr_opt.c | 32 __u8 byte_offset; member in struct:hdr_opt_state 42 tcp_opt = (__u8 *)(data + state->byte_offset); 53 state->byte_offset++; 77 state->byte_offset += hdr_len; 102 opt_state.byte_offset = sizeof(struct tcphdr) + tcp_offset;
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_phy.h | 161 int ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, 163 int ixgbe_read_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, 165 int ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, 167 int ixgbe_write_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, 169 int ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, 171 int ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset, 173 int ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset,
|
H A D | ixgbe_phy.c | 2087 * @byte_offset: EEPROM byte offset to read 2092 int ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, argument 2095 return hw->phy.ops.read_i2c_byte(hw, byte_offset, 2103 * @byte_offset: byte offset at address 0xA2 2108 int ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset, argument 2111 return hw->phy.ops.read_i2c_byte(hw, byte_offset, 2119 * @byte_offset: EEPROM byte offset to write 2124 int ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, argument 2127 return hw->phy.ops.write_i2c_byte(hw, byte_offset, 2150 * @byte_offset 2158 ixgbe_read_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data, bool lock) argument 2248 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument 2265 ixgbe_read_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument 2283 ixgbe_write_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data, bool lock) argument 2351 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument 2368 ixgbe_write_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument [all...] |
H A D | ixgbe_82598.c | 21 static int ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, 946 * @byte_offset: byte offset to read from dev_addr 952 u8 byte_offset, u8 *eeprom_data) 975 sfp_addr = (dev_addr << 8) + byte_offset; 1017 * @byte_offset: EEPROM byte offset to read 1022 static int ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, argument 1026 byte_offset, eeprom_data); 1032 * @byte_offset: byte offset at address 0xA2 1037 static int ixgbe_read_i2c_sff8472_82598(struct ixgbe_hw *hw, u8 byte_offset, argument 1041 byte_offset, sff8472_dat 951 ixgbe_read_i2c_phy_82598(struct ixgbe_hw *hw, u8 dev_addr, u8 byte_offset, u8 *eeprom_data) argument [all...] |
H A D | ixgbe_82599.c | 37 static int ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, 39 static int ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, 2060 * @byte_offset: byte offset to read 2067 static int ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, argument 2097 status = ixgbe_read_i2c_byte_generic(hw, byte_offset, dev_addr, data); 2114 * @byte_offset: byte offset to write 2121 static int ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, argument 2151 status = ixgbe_write_i2c_byte_generic(hw, byte_offset, dev_addr, data);
|
/linux-master/fs/udf/ |
H A D | truncate.c | 188 loff_t byte_offset; local 200 byte_offset = (offset << sb->s_blocksize_bits) + 204 WARN_ON(byte_offset); 208 extent_trunc(inode, &epos, &eloc, etype, elen, byte_offset); 210 if (byte_offset)
|
/linux-master/arch/arm/mach-omap2/ |
H A D | control.c | 142 u8 byte_offset = offset & 0x3; local 146 return (val >> (byte_offset * 8)) & 0xff; 152 u16 byte_offset = offset & 0x2; local 156 return (val >> (byte_offset * 8)) & 0xffff; 169 u8 byte_offset = offset & 0x3; local 173 tmp &= 0xffffffff ^ (0xff << (byte_offset * 8)); 174 tmp |= val << (byte_offset * 8); 182 u8 byte_offset = offset & 0x2; local 186 tmp &= 0xffffffff ^ (0xffff << (byte_offset * 8)); 187 tmp |= val << (byte_offset * [all...] |
/linux-master/drivers/gpu/drm/udl/ |
H A D | udl_transfer.c | 175 u32 byte_offset, u32 device_byte_offset, 190 line_start = (u8 *) (front + byte_offset); 173 udl_render_hline(struct drm_device *dev, int log_bpp, struct urb **urb_ptr, const char *front, char **urb_buf_ptr, u32 byte_offset, u32 device_byte_offset, u32 byte_width) argument
|
H A D | udl_drv.h | 100 u32 byte_offset, u32 device_byte_offset, u32 byte_width);
|
/linux-master/include/uapi/sound/ |
H A D | compress_offload.h | 42 * @byte_offset: Byte offset in ring buffer to DSP 52 __u32 byte_offset; member in struct:snd_compr_tstamp
|
/linux-master/arch/arm64/kvm/vgic/ |
H A D | vgic-v3.c | 308 int byte_offset, bit_nr; local 322 byte_offset = irq->intid / BITS_PER_BYTE; 324 ptr = pendbase + byte_offset; 401 int byte_offset, bit_nr; local 413 byte_offset = irq->intid / BITS_PER_BYTE; 415 ptr = pendbase + byte_offset;
|
H A D | vgic-its.c | 462 int byte_offset, bit_nr; local 464 byte_offset = intids[i] / BITS_PER_BYTE; 471 if (byte_offset != last_byte_offset) { 473 pendbase + byte_offset, 479 last_byte_offset = byte_offset; 2205 size_t byte_offset; local 2215 byte_offset = next_offset * esz; 2216 if (byte_offset >= len) 2220 gpa += byte_offset; 2221 len -= byte_offset; [all...] |
/linux-master/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,
|
/linux-master/sound/soc/intel/atom/ |
H A D | sst-mfld-platform-compress.c | 211 tstamp->byte_offset = tstamp->copied_total % 213 pr_debug("calc bytes offset/copied bytes as %d\n", tstamp->byte_offset);
|
/linux-master/drivers/media/platform/verisilicon/ |
H A D | hantro_g1_vp8_dec.c | 312 u32 byte_offset = dct_part_offset + dct_size_part_size + count; local 313 u32 base_addr = byte_offset + src_dma; 319 (byte_offset & DEC_8190_ALIGN_MASK) * 8);
|
H A D | rockchip_vpu2_hw_vp8_dec.c | 410 u32 byte_offset = dct_part_offset + dct_size_part_size + count; local 411 u32 base_addr = byte_offset + src_dma; 417 (byte_offset & DEC_8190_ALIGN_MASK) * 8);
|
/linux-master/drivers/net/ethernet/ |
H A D | lantiq_xrx200.c | 363 u32 byte_offset; local 388 byte_offset = mapping % (XRX200_DMA_BURST_LEN * 4); 390 desc->addr = mapping - byte_offset; 394 LTQ_DMA_TX_OFFSET(byte_offset) | (len & LTQ_DMA_SIZE_MASK);
|
H A D | lantiq_etop.c | 483 u32 byte_offset; local 494 byte_offset = CPHYSADDR(skb->data) % (priv->tx_burst_len * 4); 501 DMA_TO_DEVICE)) - byte_offset; 505 LTQ_DMA_TX_OFFSET(byte_offset) | (len & LTQ_DMA_SIZE_MASK);
|
/linux-master/drivers/input/touchscreen/ |
H A D | atmel_mxt_ts.c | 1403 unsigned int type, instance, size, byte_offset; local 1482 byte_offset = reg + i - cfg->start_ofs; 1484 if (byte_offset >= 0 && byte_offset < cfg->mem_size) { 1485 *(cfg->mem + byte_offset) = val; 1488 reg, object->type, byte_offset); 1499 unsigned int byte_offset = 0; local 1503 while (byte_offset < cfg->mem_size) { 1504 unsigned int size = cfg->mem_size - byte_offset; 1510 cfg->start_ofs + byte_offset, [all...] |
/linux-master/drivers/crypto/amcc/ |
H A D | crypto4xx_sa.h | 153 u32 byte_offset:1; member in struct:sa_command_1::__anon175
|
/linux-master/net/netlabel/ |
H A D | netlabel_kapi.c | 885 u32 byte_offset; local 891 byte_offset = offset / 8; 892 byte = bitmap[byte_offset]; 905 byte = bitmap[++byte_offset];
|
/linux-master/drivers/video/fbdev/ |
H A D | udlfb.c | 544 u32 byte_offset, u32 byte_width, 548 u32 dev_addr = dlfb->base16 + byte_offset; 554 line_start = (u8 *) (front + byte_offset); 561 + byte_offset); 640 const int byte_offset = line_offset + (x * BPP); local 644 &cmd, byte_offset, width * BPP, 542 dlfb_render_hline(struct dlfb_data *dlfb, struct urb **urb_ptr, const char *front, char **urb_buf_ptr, u32 byte_offset, u32 byte_width, int *ident_ptr, int *sent_ptr) argument
|