Home
last modified time | relevance | path

Searched refs:readval (Results 1 – 14 of 14) sorted by relevance

/drivers/mfd/
Dhtc-egpio.c107 unsigned long readval = egpio_readw(ei, ei->ack_register); in egpio_handler() local
108 pr_debug("IRQ reg: %x\n", (unsigned int)readval); in egpio_handler()
112 readval &= ei->irqs_enabled; in egpio_handler()
113 for_each_set_bit(irqpin, &readval, ei->nirqs) { in egpio_handler()
125 u16 readval = egpio_readw(ei, ei->ack_register); in htc_egpio_get_wakeup_irq() local
129 readval &= ei->irqs_enabled; in htc_egpio_get_wakeup_irq()
130 return ei->irq_start + ffs(readval) - 1; in htc_egpio_get_wakeup_irq()
/drivers/net/can/sja1000/
Dsja1000_isa.c106 u8 readval; in sja1000_isa_port_read_reg_indirect() local
110 readval = inb(base + 1); in sja1000_isa_port_read_reg_indirect()
113 return readval; in sja1000_isa_port_read_reg_indirect()
/drivers/iio/imu/
Dadis.c209 unsigned int reg, unsigned int writeval, unsigned int *readval) in adis_debugfs_reg_access() argument
213 if (readval) { in adis_debugfs_reg_access()
218 *readval = val16; in adis_debugfs_reg_access()
/drivers/iio/adc/
Dhi8435.c253 unsigned *readval) in hi8435_debugfs_reg_access() argument
259 if (readval != NULL) { in hi8435_debugfs_reg_access()
261 *readval = val; in hi8435_debugfs_reg_access()
Dmax1027.c308 unsigned *readval) in max1027_debugfs_reg_access() argument
313 if (readval != NULL) in max1027_debugfs_reg_access()
Dvf610_adc.c787 unsigned *readval) in vf610_adc_reg_access() argument
791 if ((readval == NULL) || in vf610_adc_reg_access()
795 *readval = readl(info->regs + reg); in vf610_adc_reg_access()
Dexynos_adc.c520 unsigned *readval) in exynos_adc_reg_access() argument
524 if (readval == NULL) in exynos_adc_reg_access()
527 *readval = readl(info->regs + reg); in exynos_adc_reg_access()
/drivers/iio/common/st_sensors/
Dst_sensors_core.c49 unsigned *readval) in st_sensors_debugfs_reg_access() argument
55 if (!readval) in st_sensors_debugfs_reg_access()
63 *readval = (unsigned)readdata; in st_sensors_debugfs_reg_access()
/drivers/iio/frequency/
Dadf4350.c96 unsigned *readval) in adf4350_reg_access() argument
105 if (readval == NULL) { in adf4350_reg_access()
109 *readval = st->regs_hw[reg]; in adf4350_reg_access()
Dad9523.c713 unsigned *readval) in ad9523_reg_access() argument
718 if (readval == NULL) { in ad9523_reg_access()
725 *readval = ret; in ad9523_reg_access()
/drivers/iio/accel/
Dmma8452.c726 unsigned *readval) in mma8452_reg_access_dbg() argument
734 if (!readval) in mma8452_reg_access_dbg()
741 *readval = ret; in mma8452_reg_access_dbg()
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dphy.c2636 u32 readval = 0, readval2 = 0; in _rtl92d_phy_lc_calibrate_sw() local
2642 readval = rtl_get_rfreg(hw, (enum radio_path)index, in _rtl92d_phy_lc_calibrate_sw()
2644 curvecount_val[2 * i + 1] = (readval & 0xfffe0) >> 5; in _rtl92d_phy_lc_calibrate_sw()
2649 curvecount_val[2 * i] = (((readval & 0x1F) << 10) | in _rtl92d_phy_lc_calibrate_sw()
/drivers/tty/
Dsynclinkmp.c5185 u32 readval; in init_adapter() local
5196 readval = *MiscCtrl; in init_adapter()
Dsynclink.c5760 u32 readval; in usc_reset() local
5777 readval = *MiscCtrl; in usc_reset()