Home
last modified time | relevance | path

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

/Linux-v5.4/include/soc/nps/
Dcommon.h142 struct nps_host_reg_address_non_cl reg_address; in nps_host_reg_non_cl() local
144 reg_address.value = NPS_HOST_REG_BASE; in nps_host_reg_non_cl()
145 reg_address.blkid = blkid; in nps_host_reg_non_cl()
146 reg_address.reg = reg; in nps_host_reg_non_cl()
148 return (void *)reg_address.value; in nps_host_reg_non_cl()
153 struct nps_host_reg_address reg_address; in nps_host_reg() local
156 reg_address.value = NPS_HOST_REG_BASE; in nps_host_reg()
157 reg_address.cl_x = (cl >> 2) & 0x3; in nps_host_reg()
158 reg_address.cl_y = cl & 0x3; in nps_host_reg()
159 reg_address.blkid = blkid; in nps_host_reg()
[all …]
/Linux-v5.4/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,
/Linux-v5.4/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.c333 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
350 i2c_address, reg_address, in intel_soc_pmic_exec_mipi_pmic_seq_element()
355 reg_address, mask, value); in intel_soc_pmic_exec_mipi_pmic_seq_element()
358 __func__, i2c_address, reg_address, value, mask); in intel_soc_pmic_exec_mipi_pmic_seq_element()
364 __func__, i2c_address, reg_address, value, mask); in intel_soc_pmic_exec_mipi_pmic_seq_element()
Dintel_pmic.h19 u32 reg_address, u32 value, u32 mask);
/Linux-v5.4/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.c33 u8 reg_address, u8 val) in itg3200_write_reg_8() argument
37 return i2c_smbus_write_byte_data(st->i2c, 0x80 | reg_address, val); in itg3200_write_reg_8()
41 u8 reg_address, u8 *val) in itg3200_read_reg_8() argument
46 ret = i2c_smbus_read_byte_data(st->i2c, reg_address); in itg3200_read_reg_8()
/Linux-v5.4/include/linux/iio/gyro/
Ditg3200.h116 u8 reg_address, u8 val);
119 u8 reg_address, u8 *val);
/Linux-v5.4/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.c39 u32 reg_address,
715 u32 reg_address, in ixgb_read_phy_reg() argument
723 ASSERT(reg_address <= IXGB_MAX_PHY_REG_ADDRESS); in ixgb_read_phy_reg()
728 command = ((reg_address << IXGB_MSCA_NP_ADDR_SHIFT) | in ixgb_read_phy_reg()
755 command = ((reg_address << IXGB_MSCA_NP_ADDR_SHIFT) | in ixgb_read_phy_reg()
808 u32 reg_address, in ixgb_write_phy_reg() argument
816 ASSERT(reg_address <= IXGB_MAX_PHY_REG_ADDRESS); in ixgb_write_phy_reg()
824 command = ((reg_address << IXGB_MSCA_NP_ADDR_SHIFT) | in ixgb_write_phy_reg()
851 command = ((reg_address << IXGB_MSCA_NP_ADDR_SHIFT) | in ixgb_write_phy_reg()
/Linux-v5.4/include/linux/mfd/
Dintel_soc_pmic.h29 int intel_soc_pmic_exec_mipi_pmic_seq_element(u16 i2c_address, u32 reg_address,
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_dsi_vbt.c395 u32 value, mask, reg_address; in mipi_exec_pmic() local
401 reg_address = get_unaligned_le32(data + 3); in mipi_exec_pmic()
406 reg_address, in mipi_exec_pmic()
/Linux-v5.4/drivers/scsi/aic7xxx/aicasm/
Daicasm_gram.y354 reg_address
372 reg_address:
822 reg_address
854 reg_address
/Linux-v5.4/drivers/hid/
Dhid-logitech-hidpp.c121 u8 reg_address; member
337 u8 report_id, u8 sub_id, u8 reg_address, u8 *params, int param_count, in hidpp_send_rap_command_sync() argument
365 message->rap.reg_address = reg_address; in hidpp_send_rap_command_sync()
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_adminq_cmd.h2255 __le32 reg_address; member
Di40e_common.c5349 cmd->reg_address = cpu_to_le32(reg_addr); in i40e_aq_set_phy_register()
5383 cmd->reg_address = cpu_to_le32(reg_addr); in i40e_aq_get_phy_register()