Searched refs:ucb (Results 1 – 9 of 9) sorted by relevance
| /drivers/mfd/ |
| A D | ucb1x00-core.c | 58 ucb1x00_reg_write(ucb, UCB_IO_DIR, ucb->io_dir); in ucb1x00_io_set_dir() 86 ucb1x00_reg_write(ucb, UCB_IO_DATA, ucb->io_out); in ucb1x00_io_write() 120 ucb1x00_reg_write(ucb, UCB_IO_DATA, ucb->io_out); in ucb1x00_gpio_set() 147 ucb1x00_reg_write(ucb, UCB_IO_DIR, ucb->io_dir); in ucb1x00_gpio_direction_input() 174 ucb1x00_reg_write(ucb, UCB_IO_DIR, ucb->io_dir); in ucb1x00_gpio_direction_output() 221 ucb1x00_reg_write(ucb, UCB_ADC_CR, ucb->adc_cr); in ucb1x00_adc_enable() 402 dev->ucb = ucb; in ucb1x00_add_dev() 538 ucb->irq = ucb1x00_detect_irq(ucb); in ucb1x00_probe() 568 ucb->gpio.label = dev_name(&ucb->dev); in ucb1x00_probe() 569 ucb->gpio.parent = &ucb->dev; in ucb1x00_probe() [all …]
|
| A D | ucb1x00-ts.c | 40 struct ucb1x00 *ucb; member 220 ucb1x00_adc_enable(ts->ucb); in ucb1x00_thread() 234 ucb1x00_enable(ts->ucb); in ucb1x00_thread() 246 ucb1x00_disable(ts->ucb); in ucb1x00_thread() 259 ucb1x00_disable(ts->ucb); in ucb1x00_thread() 326 ucb1x00_adc_enable(ts->ucb); in ucb1x00_ts_open() 329 ucb1x00_adc_disable(ts->ucb); in ucb1x00_ts_open() 354 ucb1x00_enable(ts->ucb); in ucb1x00_ts_close() 357 ucb1x00_disable(ts->ucb); in ucb1x00_ts_close() 377 ts->ucb = dev->ucb; in ucb1x00_ts_add() [all …]
|
| A D | ucb1x00-assabet.c | 24 struct ucb1x00 *ucb = classdev_to_ucb1x00(dev); \ 26 ucb1x00_adc_enable(ucb); \ 27 val = ucb1x00_adc_read(ucb, input, UCB_NOSYNC); \ 28 ucb1x00_adc_disable(ucb); \ 39 struct ucb1x00 *ucb = dev->ucb; in ucb1x00_assabet_add() local 50 buttons[i].gpio = ucb->gpio.base + i; in ucb1x00_assabet_add() 63 device_create_file(&ucb->dev, &dev_attr_vbatt); in ucb1x00_assabet_add() 64 device_create_file(&ucb->dev, &dev_attr_vcharger); in ucb1x00_assabet_add() 65 device_create_file(&ucb->dev, &dev_attr_batt_temp); in ucb1x00_assabet_add() 79 device_remove_file(&dev->ucb->dev, &dev_attr_vcharger); in ucb1x00_assabet_remove() [all …]
|
| /drivers/power/supply/ |
| A D | collie_battery.c | 26 static struct ucb1x00 *ucb; variable 63 ucb1x00_adc_enable(ucb); in collie_read_bat() 65 ucb1x00_adc_disable(ucb); in collie_read_bat() 82 ucb1x00_adc_enable(ucb); in collie_read_temp() 84 ucb1x00_adc_disable(ucb); in collie_read_temp() 292 if (device_may_wakeup(&dev->ucb->dev) && in collie_bat_suspend() 319 struct gpio_chip *gc = &dev->ucb->gpio; in collie_bat_probe() 324 ucb = dev->ucb; in collie_bat_probe() 333 collie_mbat_low = gpiod_get(&dev->ucb->dev, in collie_bat_probe() 414 device_init_wakeup(&ucb->dev, 1); in collie_bat_probe() [all …]
|
| /drivers/media/dvb-frontends/ |
| A D | cx24120.c | 611 u16 sig, ucb; in cx24120_get_stats() local 690 ucb = cx24120_readreg(state, CX24120_REG_UCB_H) << 8; in cx24120_get_stats() 691 ucb |= cx24120_readreg(state, CX24120_REG_UCB_L); in cx24120_get_stats() 692 dev_dbg(&state->i2c->dev, "ucblocks = %d\n", ucb); in cx24120_get_stats() 695 if (ucb < state->ucb_offset) in cx24120_get_stats() 699 c->block_error.stat[0].uvalue = ucb + state->ucb_offset; in cx24120_get_stats()
|
| A D | dib7000p.c | 1663 u32 ucb; in dib7000p_reset_stats() local 1687 dib7000p_read_unc_blocks(demod, &ucb); in dib7000p_reset_stats() 1689 state->old_ucb = ucb; in dib7000p_reset_stats() 1897 u64 blocks, ucb; in dib7000p_get_stats() local 1939 ucb = val - state->old_ucb; in dib7000p_get_stats() 1941 ucb += 0x100000000LL; in dib7000p_get_stats() 1944 c->block_error.stat[0].uvalue = ucb; in dib7000p_get_stats()
|
| A D | dib8000.c | 999 u32 ucb; in dib8000_reset_stats() local 1023 dib8000_read_unc_blocks(fe, &ucb); in dib8000_reset_stats() 1025 state->init_ucb = -ucb; in dib8000_reset_stats()
|
| /drivers/pinctrl/tegra/ |
| A D | pinctrl-tegra20.c | 2151 MUX_PG(ucb, UARTC, PWM, GMI, RSVD4, 0x18, 23, 0x84, 18, 0xac, 10),
|
| /drivers/media/dvb-frontends/drx39xyj/ |
| A D | drxj.c | 12052 static int drx39xxj_read_ucblocks(struct dvb_frontend *fe, u32 *ucb) in drx39xxj_read_ucblocks() argument 12057 *ucb = 0; in drx39xxj_read_ucblocks() 12061 *ucb = p->block_error.stat[0].uvalue; in drx39xxj_read_ucblocks()
|
Completed in 64 milliseconds