Searched refs:reg_address (Results 1 - 15 of 15) sorted by relevance

/linux-4.1.27/drivers/staging/iio/meter/
H A Dade7854-i2c.c19 u16 reg_address, ade7854_i2c_write_reg_8()
27 st->tx[0] = (reg_address >> 8) & 0xFF; ade7854_i2c_write_reg_8()
28 st->tx[1] = reg_address & 0xFF; ade7854_i2c_write_reg_8()
38 u16 reg_address, ade7854_i2c_write_reg_16()
46 st->tx[0] = (reg_address >> 8) & 0xFF; ade7854_i2c_write_reg_16()
47 st->tx[1] = reg_address & 0xFF; ade7854_i2c_write_reg_16()
58 u16 reg_address, ade7854_i2c_write_reg_24()
66 st->tx[0] = (reg_address >> 8) & 0xFF; ade7854_i2c_write_reg_24()
67 st->tx[1] = reg_address & 0xFF; ade7854_i2c_write_reg_24()
79 u16 reg_address, ade7854_i2c_write_reg_32()
87 st->tx[0] = (reg_address >> 8) & 0xFF; ade7854_i2c_write_reg_32()
88 st->tx[1] = reg_address & 0xFF; ade7854_i2c_write_reg_32()
101 u16 reg_address, ade7854_i2c_read_reg_8()
109 st->tx[0] = (reg_address >> 8) & 0xFF; ade7854_i2c_read_reg_8()
110 st->tx[1] = reg_address & 0xFF; ade7854_i2c_read_reg_8()
127 u16 reg_address, ade7854_i2c_read_reg_16()
135 st->tx[0] = (reg_address >> 8) & 0xFF; ade7854_i2c_read_reg_16()
136 st->tx[1] = reg_address & 0xFF; ade7854_i2c_read_reg_16()
153 u16 reg_address, ade7854_i2c_read_reg_24()
161 st->tx[0] = (reg_address >> 8) & 0xFF; ade7854_i2c_read_reg_24()
162 st->tx[1] = reg_address & 0xFF; ade7854_i2c_read_reg_24()
179 u16 reg_address, ade7854_i2c_read_reg_32()
187 st->tx[0] = (reg_address >> 8) & 0xFF; ade7854_i2c_read_reg_32()
188 st->tx[1] = reg_address & 0xFF; ade7854_i2c_read_reg_32()
18 ade7854_i2c_write_reg_8(struct device *dev, u16 reg_address, u8 value) ade7854_i2c_write_reg_8() argument
37 ade7854_i2c_write_reg_16(struct device *dev, u16 reg_address, u16 value) ade7854_i2c_write_reg_16() argument
57 ade7854_i2c_write_reg_24(struct device *dev, u16 reg_address, u32 value) ade7854_i2c_write_reg_24() argument
78 ade7854_i2c_write_reg_32(struct device *dev, u16 reg_address, u32 value) ade7854_i2c_write_reg_32() argument
100 ade7854_i2c_read_reg_8(struct device *dev, u16 reg_address, u8 *val) ade7854_i2c_read_reg_8() argument
126 ade7854_i2c_read_reg_16(struct device *dev, u16 reg_address, u16 *val) ade7854_i2c_read_reg_16() argument
152 ade7854_i2c_read_reg_24(struct device *dev, u16 reg_address, u32 *val) ade7854_i2c_read_reg_24() argument
178 ade7854_i2c_read_reg_32(struct device *dev, u16 reg_address, u32 *val) ade7854_i2c_read_reg_32() argument
H A Dade7854-spi.c19 u16 reg_address, ade7854_spi_write_reg_8()
33 st->tx[1] = (reg_address >> 8) & 0xFF; ade7854_spi_write_reg_8()
34 st->tx[2] = reg_address & 0xFF; ade7854_spi_write_reg_8()
44 u16 reg_address, ade7854_spi_write_reg_16()
58 st->tx[1] = (reg_address >> 8) & 0xFF; ade7854_spi_write_reg_16()
59 st->tx[2] = reg_address & 0xFF; ade7854_spi_write_reg_16()
70 u16 reg_address, ade7854_spi_write_reg_24()
84 st->tx[1] = (reg_address >> 8) & 0xFF; ade7854_spi_write_reg_24()
85 st->tx[2] = reg_address & 0xFF; ade7854_spi_write_reg_24()
97 u16 reg_address, ade7854_spi_write_reg_32()
111 st->tx[1] = (reg_address >> 8) & 0xFF; ade7854_spi_write_reg_32()
112 st->tx[2] = reg_address & 0xFF; ade7854_spi_write_reg_32()
125 u16 reg_address, ade7854_spi_read_reg_8()
146 st->tx[1] = (reg_address >> 8) & 0xFF; ade7854_spi_read_reg_8()
147 st->tx[2] = reg_address & 0xFF; ade7854_spi_read_reg_8()
152 reg_address); ade7854_spi_read_reg_8()
163 u16 reg_address, ade7854_spi_read_reg_16()
183 st->tx[1] = (reg_address >> 8) & 0xFF; ade7854_spi_read_reg_16()
184 st->tx[2] = reg_address & 0xFF; ade7854_spi_read_reg_16()
189 reg_address); ade7854_spi_read_reg_16()
200 u16 reg_address, ade7854_spi_read_reg_24()
221 st->tx[1] = (reg_address >> 8) & 0xFF; ade7854_spi_read_reg_24()
222 st->tx[2] = reg_address & 0xFF; ade7854_spi_read_reg_24()
227 reg_address); ade7854_spi_read_reg_24()
238 u16 reg_address, ade7854_spi_read_reg_32()
259 st->tx[1] = (reg_address >> 8) & 0xFF; ade7854_spi_read_reg_32()
260 st->tx[2] = reg_address & 0xFF; ade7854_spi_read_reg_32()
265 reg_address); ade7854_spi_read_reg_32()
18 ade7854_spi_write_reg_8(struct device *dev, u16 reg_address, u8 value) ade7854_spi_write_reg_8() argument
43 ade7854_spi_write_reg_16(struct device *dev, u16 reg_address, u16 value) ade7854_spi_write_reg_16() argument
69 ade7854_spi_write_reg_24(struct device *dev, u16 reg_address, u32 value) ade7854_spi_write_reg_24() argument
96 ade7854_spi_write_reg_32(struct device *dev, u16 reg_address, u32 value) ade7854_spi_write_reg_32() argument
124 ade7854_spi_read_reg_8(struct device *dev, u16 reg_address, u8 *val) ade7854_spi_read_reg_8() argument
162 ade7854_spi_read_reg_16(struct device *dev, u16 reg_address, u16 *val) ade7854_spi_read_reg_16() argument
199 ade7854_spi_read_reg_24(struct device *dev, u16 reg_address, u32 *val) ade7854_spi_read_reg_24() argument
237 ade7854_spi_read_reg_32(struct device *dev, u16 reg_address, u32 *val) ade7854_spi_read_reg_32() argument
H A Dade7753.c27 u8 reg_address, ade7753_spi_write_reg_8()
35 st->tx[0] = ADE7753_WRITE_REG(reg_address); ade7753_spi_write_reg_8()
45 u8 reg_address, ade7753_spi_write_reg_16()
53 st->tx[0] = ADE7753_WRITE_REG(reg_address); ade7753_spi_write_reg_16()
63 u8 reg_address, ade7753_spi_read_reg_8()
70 ret = spi_w8r8(st->us, ADE7753_READ_REG(reg_address)); ade7753_spi_read_reg_8()
73 reg_address); ade7753_spi_read_reg_8()
82 u8 reg_address, ade7753_spi_read_reg_16()
89 ret = spi_w8r16be(st->us, ADE7753_READ_REG(reg_address)); ade7753_spi_read_reg_16()
92 reg_address); ade7753_spi_read_reg_16()
102 u8 reg_address, ade7753_spi_read_reg_24()
121 st->tx[0] = ADE7753_READ_REG(reg_address); ade7753_spi_read_reg_24()
126 reg_address); ade7753_spi_read_reg_24()
26 ade7753_spi_write_reg_8(struct device *dev, u8 reg_address, u8 val) ade7753_spi_write_reg_8() argument
44 ade7753_spi_write_reg_16(struct device *dev, u8 reg_address, u16 value) ade7753_spi_write_reg_16() argument
62 ade7753_spi_read_reg_8(struct device *dev, u8 reg_address, u8 *val) ade7753_spi_read_reg_8() argument
81 ade7753_spi_read_reg_16(struct device *dev, u8 reg_address, u16 *val) ade7753_spi_read_reg_16() argument
101 ade7753_spi_read_reg_24(struct device *dev, u8 reg_address, u32 *val) ade7753_spi_read_reg_24() argument
H A Dade7754.c27 u8 reg_address, ade7754_spi_write_reg_8()
35 st->tx[0] = ADE7754_WRITE_REG(reg_address); ade7754_spi_write_reg_8()
45 u8 reg_address, ade7754_spi_write_reg_16()
53 st->tx[0] = ADE7754_WRITE_REG(reg_address); ade7754_spi_write_reg_16()
63 u8 reg_address, ade7754_spi_read_reg_8()
70 ret = spi_w8r8(st->us, ADE7754_READ_REG(reg_address)); ade7754_spi_read_reg_8()
73 reg_address); ade7754_spi_read_reg_8()
82 u8 reg_address, ade7754_spi_read_reg_16()
89 ret = spi_w8r16be(st->us, ADE7754_READ_REG(reg_address)); ade7754_spi_read_reg_16()
92 reg_address); ade7754_spi_read_reg_16()
102 u8 reg_address, ade7754_spi_read_reg_24()
118 st->tx[0] = ADE7754_READ_REG(reg_address); ade7754_spi_read_reg_24()
126 reg_address); ade7754_spi_read_reg_24()
26 ade7754_spi_write_reg_8(struct device *dev, u8 reg_address, u8 val) ade7754_spi_write_reg_8() argument
44 ade7754_spi_write_reg_16(struct device *dev, u8 reg_address, u16 value) ade7754_spi_write_reg_16() argument
62 ade7754_spi_read_reg_8(struct device *dev, u8 reg_address, u8 *val) ade7754_spi_read_reg_8() argument
81 ade7754_spi_read_reg_16(struct device *dev, u8 reg_address, u16 *val) ade7754_spi_read_reg_16() argument
101 ade7754_spi_read_reg_24(struct device *dev, u8 reg_address, u32 *val) ade7754_spi_read_reg_24() argument
H A Dade7759.c27 u8 reg_address, ade7759_spi_write_reg_8()
35 st->tx[0] = ADE7759_WRITE_REG(reg_address); ade7759_spi_write_reg_8()
45 u8 reg_address, ade7759_spi_write_reg_16()
53 st->tx[0] = ADE7759_WRITE_REG(reg_address); ade7759_spi_write_reg_16()
63 u8 reg_address, ade7759_spi_read_reg_8()
70 ret = spi_w8r8(st->us, ADE7759_READ_REG(reg_address)); ade7759_spi_read_reg_8()
73 reg_address); ade7759_spi_read_reg_8()
82 u8 reg_address, ade7759_spi_read_reg_16()
89 ret = spi_w8r16be(st->us, ADE7759_READ_REG(reg_address)); ade7759_spi_read_reg_16()
92 reg_address); ade7759_spi_read_reg_16()
102 u8 reg_address, ade7759_spi_read_reg_40()
118 st->tx[0] = ADE7759_READ_REG(reg_address); ade7759_spi_read_reg_40()
124 reg_address); ade7759_spi_read_reg_40()
26 ade7759_spi_write_reg_8(struct device *dev, u8 reg_address, u8 val) ade7759_spi_write_reg_8() argument
44 ade7759_spi_write_reg_16(struct device *dev, u8 reg_address, u16 value) ade7759_spi_write_reg_16() argument
62 ade7759_spi_read_reg_8(struct device *dev, u8 reg_address, u8 *val) ade7759_spi_read_reg_8() argument
81 ade7759_spi_read_reg_16(struct device *dev, u8 reg_address, u16 *val) ade7759_spi_read_reg_16() argument
101 ade7759_spi_read_reg_40(struct device *dev, u8 reg_address, u64 *val) ade7759_spi_read_reg_40() argument
H A Dade7758_core.c28 u8 reg_address, ade7758_spi_write_reg_8()
36 st->tx[0] = ADE7758_WRITE_REG(reg_address); ade7758_spi_write_reg_8()
46 u8 reg_address, ade7758_spi_write_reg_16()
61 st->tx[0] = ADE7758_WRITE_REG(reg_address); ade7758_spi_write_reg_16()
72 u8 reg_address, ade7758_spi_write_reg_24()
87 st->tx[0] = ADE7758_WRITE_REG(reg_address); ade7758_spi_write_reg_24()
99 u8 reg_address, ade7758_spi_read_reg_8()
121 st->tx[0] = ADE7758_READ_REG(reg_address); ade7758_spi_read_reg_8()
127 reg_address); ade7758_spi_read_reg_8()
138 u8 reg_address, ade7758_spi_read_reg_16()
161 st->tx[0] = ADE7758_READ_REG(reg_address); ade7758_spi_read_reg_16()
168 reg_address); ade7758_spi_read_reg_16()
180 u8 reg_address, ade7758_spi_read_reg_24()
202 st->tx[0] = ADE7758_READ_REG(reg_address); ade7758_spi_read_reg_24()
210 reg_address); ade7758_spi_read_reg_24()
27 ade7758_spi_write_reg_8(struct device *dev, u8 reg_address, u8 val) ade7758_spi_write_reg_8() argument
45 ade7758_spi_write_reg_16(struct device *dev, u8 reg_address, u16 value) ade7758_spi_write_reg_16() argument
71 ade7758_spi_write_reg_24(struct device *dev, u8 reg_address, u32 value) ade7758_spi_write_reg_24() argument
98 ade7758_spi_read_reg_8(struct device *dev, u8 reg_address, u8 *val) ade7758_spi_read_reg_8() argument
137 ade7758_spi_read_reg_16(struct device *dev, u8 reg_address, u16 *val) ade7758_spi_read_reg_16() argument
179 ade7758_spi_read_reg_24(struct device *dev, u8 reg_address, u32 *val) ade7758_spi_read_reg_24() argument
H A Dade7758.h151 u8 reg_address, u8 val);
153 u8 reg_address, u8 *val);
/linux-4.1.27/drivers/iio/gyro/
H A Dadxrs450.c85 * @reg_address: the address of the lower of the two registers, which should be
86 * an even address, the second register's address is reg_address + 1.
90 u8 reg_address, adxrs450_spi_read_reg_16()
110 tx = ADXRS450_READ_DATA | (reg_address << 17); adxrs450_spi_read_reg_16()
119 reg_address); adxrs450_spi_read_reg_16()
133 * @reg_address: the address of the lower of the two registers,which should be
134 * an even address, the second register's address is reg_address + 1.
138 u8 reg_address, adxrs450_spi_write_reg_16()
146 tx = ADXRS450_WRITE_DATA | (reg_address << 17) | (val << 1); adxrs450_spi_write_reg_16()
155 reg_address); adxrs450_spi_write_reg_16()
89 adxrs450_spi_read_reg_16(struct iio_dev *indio_dev, u8 reg_address, u16 *val) adxrs450_spi_read_reg_16() argument
137 adxrs450_spi_write_reg_16(struct iio_dev *indio_dev, u8 reg_address, u16 val) adxrs450_spi_write_reg_16() argument
H A Ditg3200_core.c36 u8 reg_address, u8 val) itg3200_write_reg_8()
40 return i2c_smbus_write_byte_data(st->i2c, 0x80 | reg_address, val); itg3200_write_reg_8()
44 u8 reg_address, u8 *val) itg3200_read_reg_8()
49 ret = i2c_smbus_read_byte_data(st->i2c, reg_address); itg3200_read_reg_8()
35 itg3200_write_reg_8(struct iio_dev *indio_dev, u8 reg_address, u8 val) itg3200_write_reg_8() argument
43 itg3200_read_reg_8(struct iio_dev *indio_dev, u8 reg_address, u8 *val) itg3200_read_reg_8() argument
/linux-4.1.27/include/linux/iio/gyro/
H A Ditg3200.h118 u8 reg_address, u8 val);
121 u8 reg_address, u8 *val);
/linux-4.1.27/drivers/staging/iio/accel/
H A Dlis3l02dq_core.c49 * @reg_address: the address of the register to be read
53 u8 reg_address, u8 *val) lis3l02dq_spi_read_reg_8()
65 st->tx[0] = LIS3L02DQ_READ_REG(reg_address); lis3l02dq_spi_read_reg_8()
78 * @reg_address: the address of the register to be written
82 u8 reg_address, lis3l02dq_spi_write_reg_8()
89 st->tx[0] = LIS3L02DQ_WRITE_REG(reg_address); lis3l02dq_spi_write_reg_8()
52 lis3l02dq_spi_read_reg_8(struct iio_dev *indio_dev, u8 reg_address, u8 *val) lis3l02dq_spi_read_reg_8() argument
81 lis3l02dq_spi_write_reg_8(struct iio_dev *indio_dev, u8 reg_address, u8 val) lis3l02dq_spi_write_reg_8() argument
H A Dlis3l02dq.h169 u8 reg_address,
173 u8 reg_address,
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/
H A Dixgb_hw.c64 u32 reg_address,
728 * reg_address - Offset of device register being read.
740 u32 reg_address, ixgb_read_phy_reg()
748 ASSERT(reg_address <= IXGB_MAX_PHY_REG_ADDRESS); ixgb_read_phy_reg()
753 command = ((reg_address << IXGB_MSCA_NP_ADDR_SHIFT) | ixgb_read_phy_reg()
780 command = ((reg_address << IXGB_MSCA_NP_ADDR_SHIFT) | ixgb_read_phy_reg()
819 * reg_address - Offset of device register being read.
833 u32 reg_address, ixgb_write_phy_reg()
841 ASSERT(reg_address <= IXGB_MAX_PHY_REG_ADDRESS); ixgb_write_phy_reg()
849 command = ((reg_address << IXGB_MSCA_NP_ADDR_SHIFT) | ixgb_write_phy_reg()
876 command = ((reg_address << IXGB_MSCA_NP_ADDR_SHIFT) | ixgb_write_phy_reg()
739 ixgb_read_phy_reg(struct ixgb_hw *hw, u32 reg_address, u32 phy_address, u32 device_type) ixgb_read_phy_reg() argument
832 ixgb_write_phy_reg(struct ixgb_hw *hw, u32 reg_address, u32 phy_address, u32 device_type, u16 data) ixgb_write_phy_reg() argument
/linux-4.1.27/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_gram.y358 reg_address
376 reg_address: label
826 reg_address
858 reg_address
/linux-4.1.27/drivers/hid/
H A Dhid-logitech-hidpp.c78 u8 reg_address; member in struct:rap
246 u8 report_id, u8 sub_id, u8 reg_address, u8 *params, int param_count, hidpp_send_rap_command_sync()
264 message->rap.reg_address = reg_address; hidpp_send_rap_command_sync()
245 hidpp_send_rap_command_sync(struct hidpp_device *hidpp_dev, u8 report_id, u8 sub_id, u8 reg_address, u8 *params, int param_count, struct hidpp_report *response) hidpp_send_rap_command_sync() argument

Completed in 357 milliseconds