Home
last modified time | relevance | path

Searched refs:reg_address (Results 1 – 22 of 22) sorted by relevance

/drivers/staging/iio/meter/
Dade7854-i2c.c19 u16 reg_address, in ade7854_i2c_write_reg_8() argument
27 st->tx[0] = (reg_address >> 8) & 0xFF; in ade7854_i2c_write_reg_8()
28 st->tx[1] = reg_address & 0xFF; in ade7854_i2c_write_reg_8()
38 u16 reg_address, in ade7854_i2c_write_reg_16() argument
46 st->tx[0] = (reg_address >> 8) & 0xFF; in ade7854_i2c_write_reg_16()
47 st->tx[1] = reg_address & 0xFF; in ade7854_i2c_write_reg_16()
58 u16 reg_address, in ade7854_i2c_write_reg_24() argument
66 st->tx[0] = (reg_address >> 8) & 0xFF; in ade7854_i2c_write_reg_24()
67 st->tx[1] = reg_address & 0xFF; in ade7854_i2c_write_reg_24()
79 u16 reg_address, in ade7854_i2c_write_reg_32() argument
[all …]
Dade7854-spi.c19 u16 reg_address, in ade7854_spi_write_reg_8() argument
34 st->tx[1] = (reg_address >> 8) & 0xFF; in ade7854_spi_write_reg_8()
35 st->tx[2] = reg_address & 0xFF; in ade7854_spi_write_reg_8()
47 u16 reg_address, in ade7854_spi_write_reg_16() argument
62 st->tx[1] = (reg_address >> 8) & 0xFF; in ade7854_spi_write_reg_16()
63 st->tx[2] = reg_address & 0xFF; in ade7854_spi_write_reg_16()
76 u16 reg_address, in ade7854_spi_write_reg_24() argument
91 st->tx[1] = (reg_address >> 8) & 0xFF; in ade7854_spi_write_reg_24()
92 st->tx[2] = reg_address & 0xFF; in ade7854_spi_write_reg_24()
106 u16 reg_address, in ade7854_spi_write_reg_32() argument
[all …]
Dade7759.c27 u8 reg_address, in ade7759_spi_write_reg_8() argument
35 st->tx[0] = ADE7759_WRITE_REG(reg_address); in ade7759_spi_write_reg_8()
45 u8 reg_address, in ade7759_spi_write_reg_16() argument
53 st->tx[0] = ADE7759_WRITE_REG(reg_address); in ade7759_spi_write_reg_16()
63 u8 reg_address, in ade7759_spi_read_reg_8() argument
70 ret = spi_w8r8(st->us, ADE7759_READ_REG(reg_address)); in ade7759_spi_read_reg_8()
73 reg_address); in ade7759_spi_read_reg_8()
82 u8 reg_address, in ade7759_spi_read_reg_16() argument
89 ret = spi_w8r16(st->us, ADE7759_READ_REG(reg_address)); in ade7759_spi_read_reg_16()
92 reg_address); in ade7759_spi_read_reg_16()
[all …]
Dade7753.c27 u8 reg_address, in ade7753_spi_write_reg_8() argument
35 st->tx[0] = ADE7753_WRITE_REG(reg_address); in ade7753_spi_write_reg_8()
45 u8 reg_address, in ade7753_spi_write_reg_16() argument
53 st->tx[0] = ADE7753_WRITE_REG(reg_address); in ade7753_spi_write_reg_16()
63 u8 reg_address, in ade7753_spi_read_reg_8() argument
70 ret = spi_w8r8(st->us, ADE7753_READ_REG(reg_address)); in ade7753_spi_read_reg_8()
73 reg_address); in ade7753_spi_read_reg_8()
82 u8 reg_address, in ade7753_spi_read_reg_16() argument
89 ret = spi_w8r16(st->us, ADE7753_READ_REG(reg_address)); in ade7753_spi_read_reg_16()
92 reg_address); in ade7753_spi_read_reg_16()
[all …]
Dade7754.c27 u8 reg_address, in ade7754_spi_write_reg_8() argument
35 st->tx[0] = ADE7754_WRITE_REG(reg_address); in ade7754_spi_write_reg_8()
45 u8 reg_address, in ade7754_spi_write_reg_16() argument
53 st->tx[0] = ADE7754_WRITE_REG(reg_address); in ade7754_spi_write_reg_16()
63 u8 reg_address, in ade7754_spi_read_reg_8() argument
70 ret = spi_w8r8(st->us, ADE7754_READ_REG(reg_address)); in ade7754_spi_read_reg_8()
73 reg_address); in ade7754_spi_read_reg_8()
82 u8 reg_address, in ade7754_spi_read_reg_16() argument
89 ret = spi_w8r16(st->us, ADE7754_READ_REG(reg_address)); in ade7754_spi_read_reg_16()
92 reg_address); in ade7754_spi_read_reg_16()
[all …]
Dade7758_core.c28 u8 reg_address, in ade7758_spi_write_reg_8() argument
36 st->tx[0] = ADE7758_WRITE_REG(reg_address); in ade7758_spi_write_reg_8()
46 u8 reg_address, in ade7758_spi_write_reg_16() argument
62 st->tx[0] = ADE7758_WRITE_REG(reg_address); in ade7758_spi_write_reg_16()
75 u8 reg_address, in ade7758_spi_write_reg_24() argument
91 st->tx[0] = ADE7758_WRITE_REG(reg_address); in ade7758_spi_write_reg_24()
105 u8 reg_address, in ade7758_spi_read_reg_8() argument
128 st->tx[0] = ADE7758_READ_REG(reg_address); in ade7758_spi_read_reg_8()
137 reg_address); in ade7758_spi_read_reg_8()
148 u8 reg_address, in ade7758_spi_read_reg_16() argument
[all …]
Dade7758.h157 u8 reg_address, u8 val);
159 u8 reg_address, u8 *val);
/drivers/staging/iio/gyro/
Dadxrs450_core.c34 u8 reg_address, in adxrs450_spi_read_reg_16() argument
41 st->tx[0] = ADXRS450_READ_DATA | (reg_address >> 7); in adxrs450_spi_read_reg_16()
42 st->tx[1] = reg_address << 1; in adxrs450_spi_read_reg_16()
52 reg_address); in adxrs450_spi_read_reg_16()
58 reg_address); in adxrs450_spi_read_reg_16()
77 u8 reg_address, in adxrs450_spi_write_reg_16() argument
84 st->tx[0] = ADXRS450_WRITE_DATA | reg_address >> 7; in adxrs450_spi_write_reg_16()
85 st->tx[1] = reg_address << 1 | val >> 15; in adxrs450_spi_write_reg_16()
95 reg_address); in adxrs450_spi_write_reg_16()
Dadis16260_core.c38 u8 reg_address, in adis16260_spi_write_reg_8() argument
45 st->tx[0] = ADIS16260_WRITE_REG(reg_address); in adis16260_spi_write_reg_8()
/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.c63 u32 reg_address,
739 u32 reg_address, in ixgb_read_phy_reg() argument
747 ASSERT(reg_address <= IXGB_MAX_PHY_REG_ADDRESS); in ixgb_read_phy_reg()
752 command = ((reg_address << IXGB_MSCA_NP_ADDR_SHIFT) | in ixgb_read_phy_reg()
779 command = ((reg_address << IXGB_MSCA_NP_ADDR_SHIFT) | in ixgb_read_phy_reg()
832 u32 reg_address, in ixgb_write_phy_reg() argument
840 ASSERT(reg_address <= IXGB_MAX_PHY_REG_ADDRESS); in ixgb_write_phy_reg()
848 command = ((reg_address << IXGB_MSCA_NP_ADDR_SHIFT) | in ixgb_write_phy_reg()
875 command = ((reg_address << IXGB_MSCA_NP_ADDR_SHIFT) | in ixgb_write_phy_reg()
/drivers/staging/iio/accel/
Dlis3l02dq.h168 u8 reg_address,
172 u8 reg_address,
Dlis3l02dq_core.c52 u8 reg_address, u8 *val) in lis3l02dq_spi_read_reg_8() argument
65 st->tx[0] = LIS3L02DQ_READ_REG(reg_address); in lis3l02dq_spi_read_reg_8()
84 u8 reg_address, in lis3l02dq_spi_write_reg_8() argument
91 st->tx[0] = LIS3L02DQ_WRITE_REG(reg_address); in lis3l02dq_spi_write_reg_8()
Dadis16203_core.c33 u8 reg_address, in adis16203_spi_write_reg_8() argument
40 st->tx[0] = ADIS16203_WRITE_REG(reg_address); in adis16203_spi_write_reg_8()
Dadis16201_core.c41 u8 reg_address, in adis16201_spi_write_reg_8() argument
48 st->tx[0] = ADIS16201_WRITE_REG(reg_address); in adis16201_spi_write_reg_8()
Dadis16209_core.c34 u8 reg_address, in adis16209_spi_write_reg_8() argument
41 st->tx[0] = ADIS16209_WRITE_REG(reg_address); in adis16209_spi_write_reg_8()
Dadis16240_core.c39 u8 reg_address, in adis16240_spi_write_reg_8() argument
46 st->tx[0] = ADIS16240_WRITE_REG(reg_address); in adis16240_spi_write_reg_8()
Dadis16204_core.c36 u8 reg_address, in adis16204_spi_write_reg_8() argument
43 st->tx[0] = ADIS16204_WRITE_REG(reg_address); in adis16204_spi_write_reg_8()
Dadis16220_core.c32 u8 reg_address, in adis16220_spi_write_reg_8() argument
39 st->tx[0] = ADIS16220_WRITE_REG(reg_address); in adis16220_spi_write_reg_8()
/drivers/scsi/aic7xxx/aicasm/
Daicasm_gram.y358 reg_address
376 reg_address:
826 reg_address
858 reg_address
/drivers/media/video/cx25821/
Dcx25821-video.c1911 data_from_user->reg_data = cx_read(data_from_user->reg_address); in video_ioctl_set()
1914 cx_write(data_from_user->reg_address, data_from_user->reg_data); in video_ioctl_set()
1918 (u16) data_from_user->reg_address, in video_ioctl_set()
1923 (u16) data_from_user->reg_address, in video_ioctl_set()
Dcx25821.h435 int reg_address; member
/drivers/staging/iio/imu/
Dadis16400_core.c52 u8 reg_address, in adis16400_spi_write_reg_8() argument
59 st->tx[0] = ADIS16400_WRITE_REG(reg_address); in adis16400_spi_write_reg_8()