Home
last modified time | relevance | path

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

/drivers/staging/iio/meter/
Dade7854-spi.c18 u16 reg_address, in ade7854_spi_write_reg() argument
33 st->tx[1] = (reg_address >> 8) & 0xFF; in ade7854_spi_write_reg()
34 st->tx[2] = reg_address & 0xFF; in ade7854_spi_write_reg()
70 u16 reg_address, in ade7854_spi_read_reg() argument
92 st->tx[1] = (reg_address >> 8) & 0xFF; in ade7854_spi_read_reg()
93 st->tx[2] = reg_address & 0xFF; in ade7854_spi_read_reg()
98 reg_address); in ade7854_spi_read_reg()
Dade7854-i2c.c18 u16 reg_address, in ade7854_i2c_write_reg() argument
28 st->tx[0] = (reg_address >> 8) & 0xFF; in ade7854_i2c_write_reg()
29 st->tx[1] = reg_address & 0xFF; in ade7854_i2c_write_reg()
68 u16 reg_address, in ade7854_i2c_read_reg() argument
77 st->tx[0] = (reg_address >> 8) & 0xFF; in ade7854_i2c_read_reg()
78 st->tx[1] = reg_address & 0xFF; in ade7854_i2c_read_reg()
Dade7854.h159 int (*read_reg)(struct device *dev, u16 reg_address, u32 *val,
161 int (*write_reg)(struct device *dev, u16 reg_address, u32 val,
/drivers/acpi/pmic/
Dintel_pmic_chtwc.c236 u32 reg_address, in intel_cht_wc_exec_mipi_pmic_seq_element() argument
241 if (i2c_client_address > 0xff || reg_address > 0xff) { in intel_cht_wc_exec_mipi_pmic_seq_element()
243 __func__, i2c_client_address, reg_address); in intel_cht_wc_exec_mipi_pmic_seq_element()
247 address = (i2c_client_address << 8) | reg_address; in intel_cht_wc_exec_mipi_pmic_seq_element()
Dintel_pmic.c344 int intel_soc_pmic_exec_mipi_pmic_seq_element(u16 i2c_address, u32 reg_address, in intel_soc_pmic_exec_mipi_pmic_seq_element() argument
361 i2c_address, reg_address, in intel_soc_pmic_exec_mipi_pmic_seq_element()
366 reg_address, mask, value); in intel_soc_pmic_exec_mipi_pmic_seq_element()
369 __func__, i2c_address, reg_address, value, mask); in intel_soc_pmic_exec_mipi_pmic_seq_element()
375 __func__, i2c_address, reg_address, value, mask); in intel_soc_pmic_exec_mipi_pmic_seq_element()
Dintel_pmic_xpower.c274 u16 i2c_address, u32 reg_address, in intel_xpower_exec_mipi_pmic_seq_element() argument
281 __func__, i2c_address, reg_address, value, mask); in intel_xpower_exec_mipi_pmic_seq_element()
289 ret = regmap_update_bits(regmap, reg_address, mask, value); in intel_xpower_exec_mipi_pmic_seq_element()
Dintel_pmic.h19 u32 reg_address, u32 value, u32 mask);
/drivers/iio/gyro/
Dadxrs450.c89 u8 reg_address, in adxrs450_spi_read_reg_16() argument
109 tx = ADXRS450_READ_DATA | (reg_address << 17); in adxrs450_spi_read_reg_16()
118 reg_address); in adxrs450_spi_read_reg_16()
137 u8 reg_address, in adxrs450_spi_write_reg_16() argument
145 tx = ADXRS450_WRITE_DATA | (reg_address << 17) | (val << 1); in adxrs450_spi_write_reg_16()
154 reg_address); in adxrs450_spi_write_reg_16()
Ditg3200_core.c32 u8 reg_address, u8 val) in itg3200_write_reg_8() argument
36 return i2c_smbus_write_byte_data(st->i2c, 0x80 | reg_address, val); in itg3200_write_reg_8()
40 u8 reg_address, u8 *val) in itg3200_read_reg_8() argument
45 ret = i2c_smbus_read_byte_data(st->i2c, reg_address); in itg3200_read_reg_8()
/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.c39 u32 reg_address,
713 u32 reg_address, in ixgb_read_phy_reg() argument
721 ASSERT(reg_address <= IXGB_MAX_PHY_REG_ADDRESS); in ixgb_read_phy_reg()
726 command = ((reg_address << IXGB_MSCA_NP_ADDR_SHIFT) | in ixgb_read_phy_reg()
753 command = ((reg_address << IXGB_MSCA_NP_ADDR_SHIFT) | in ixgb_read_phy_reg()
806 u32 reg_address, in ixgb_write_phy_reg() argument
814 ASSERT(reg_address <= IXGB_MAX_PHY_REG_ADDRESS); in ixgb_write_phy_reg()
822 command = ((reg_address << IXGB_MSCA_NP_ADDR_SHIFT) | in ixgb_write_phy_reg()
849 command = ((reg_address << IXGB_MSCA_NP_ADDR_SHIFT) | in ixgb_write_phy_reg()
/drivers/gpu/drm/i915/display/
Dintel_dsi_vbt.c526 u32 value, mask, reg_address; in mipi_exec_pmic() local
532 reg_address = get_unaligned_le32(data + 3); in mipi_exec_pmic()
537 reg_address, in mipi_exec_pmic()
/drivers/scsi/aic7xxx/aicasm/
Daicasm_gram.y353 reg_address
371 reg_address:
821 reg_address
853 reg_address
/drivers/hid/
Dhid-logitech-hidpp.c125 u8 reg_address; member
348 u8 report_id, u8 sub_id, u8 reg_address, u8 *params, int param_count, in hidpp_send_rap_command_sync() argument
381 message->rap.reg_address = reg_address; in hidpp_send_rap_command_sync()
/drivers/net/ethernet/intel/i40e/
Di40e_adminq_cmd.h1850 __le32 reg_address; member
Di40e_common.c5241 cmd->reg_address = cpu_to_le32(reg_addr); in i40e_aq_set_phy_register_ext()
5286 cmd->reg_address = cpu_to_le32(reg_addr); in i40e_aq_get_phy_register_ext()