/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/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/arch/arm64/kvm/vgic/ |
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...] |
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;
|
/linux-master/arch/um/drivers/ |
H A D | ubd_kern.c | 1218 unsigned long byte_offset = io_req->offset; local 1236 cowify_req(io_req, &io_req->io_desc[i], byte_offset, 1239 byte_offset += io_req->io_desc[i].length;
|
/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/drivers/gpu/drm/udl/ |
H A D | udl_drv.h | 100 u32 byte_offset, u32 device_byte_offset, u32 byte_width);
|
H A D | udl_modeset.c | 225 const int byte_offset = line_offset + (clip->x1 << log_bpp); local 229 &cmd, byte_offset, dev_byte_offset,
|
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
|
/linux-master/drivers/hv/ |
H A D | channel.c | 347 gpadl_header->range[0].byte_offset = 0;
|
/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/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/mtd/nand/onenand/ |
H A D | onenand_base.c | 846 int byte_offset; local 852 byte_offset = offset + count; 855 word = this->read_word(bufferram + byte_offset); 857 this->write_word(word, bufferram + byte_offset);
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.c | 4132 int rc, byte_offset = 0; local 4147 req->page_offset = cpu_to_le16(start_addr + byte_offset); 4150 cpu_to_le32((start_addr + byte_offset ? 4158 memcpy(buf + byte_offset, output->data, xfer_size); 4159 byte_offset += xfer_size;
|
/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,
|
H A D | igb_main.c | 10045 * @byte_offset: byte offset to read 10052 s32 igb_read_i2c_byte(struct e1000_hw *hw, u8 byte_offset, argument 10068 status = i2c_smbus_read_byte_data(this_client, byte_offset); 10082 * @byte_offset: byte offset to write 10089 s32 igb_write_i2c_byte(struct e1000_hw *hw, u8 byte_offset, argument 10102 status = i2c_smbus_write_byte_data(this_client, byte_offset, data);
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
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);
|
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_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,
|
/linux-master/drivers/net/ethernet/ |
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);
|
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);
|
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_debug.c | 1108 static u32 qed_dump_align(char *dump_buf, bool dump, u32 byte_offset) argument 1112 offset_in_dword = (u8)(byte_offset & 0x3);
|
/linux-master/drivers/net/hyperv/ |
H A D | netvsc.c | 1453 u32 offset = vmxferpage_packet->ranges[i].byte_offset;
|