/linux/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() 119 ucb1x00_reg_write(ucb, UCB_IO_DATA, ucb->io_out); in ucb1x00_gpio_set() 144 ucb1x00_reg_write(ucb, UCB_IO_DIR, ucb->io_dir); in ucb1x00_gpio_direction_input() 171 ucb1x00_reg_write(ucb, UCB_IO_DIR, ucb->io_dir); in ucb1x00_gpio_direction_output() 218 ucb1x00_reg_write(ucb, UCB_ADC_CR, ucb->adc_cr); in ucb1x00_adc_enable() 399 dev->ucb = ucb; in ucb1x00_add_dev() 535 ucb->irq = ucb1x00_detect_irq(ucb); in ucb1x00_probe() 565 ucb->gpio.label = dev_name(&ucb->dev); in ucb1x00_probe() 566 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 | ucb1400_core.c | 48 struct ucb1400 *ucb; in ucb1400_core_probe() local 58 if (!ucb) { in ucb1400_core_probe() 63 dev_set_drvdata(dev, ucb); in ucb1400_core_probe() 81 if (!ucb->ucb1400_gpio) { in ucb1400_core_probe() 102 if (!ucb->ucb1400_ts) { in ucb1400_core_probe() 110 err = platform_device_add(ucb->ucb1400_ts); in ucb1400_core_probe() 117 platform_device_put(ucb->ucb1400_ts); in ucb1400_core_probe() 119 platform_device_del(ucb->ucb1400_gpio); in ucb1400_core_probe() 121 platform_device_put(ucb->ucb1400_gpio); in ucb1400_core_probe() 123 kfree(ucb); in ucb1400_core_probe() [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 …]
|
/linux/drivers/input/touchscreen/ |
A D | ucb1400_ts.c | 199 while (!ucb->stopped && !(penup = ucb1400_ts_pen_up(ucb))) { in ucb1400_irq() 209 wait_event_timeout(ucb->ts_wait, ucb->stopped, in ucb1400_irq() 215 if (!ucb->stopped) { in ucb1400_irq() 227 ucb->stopped = true; in ucb1400_ts_stop() 311 if (ucb->irq < 0 || ucb->irq == NO_IRQ) in ucb1400_ts_detect_irq() 330 if (ucb->irq < 0) { in ucb1400_ts_probe() 341 input_set_drvdata(ucb->ts_idev, ucb); in ucb1400_ts_probe() 345 ucb->ts_idev->id.vendor = ucb1400_reg_read(ucb->ac97, in ucb1400_ts_probe() 347 ucb->ts_idev->id.product = ucb->id; in ucb1400_ts_probe() 389 free_irq(ucb->irq, ucb); in ucb1400_ts_probe() [all …]
|
/linux/drivers/gpio/ |
A D | gpio-ucb1400.c | 48 if (!(ucb && ucb->gpio_offset)) { in ucb1400_gpio_probe() 53 platform_set_drvdata(dev, ucb); in ucb1400_gpio_probe() 56 ucb->gc.base = ucb->gpio_offset; in ucb1400_gpio_probe() 57 ucb->gc.ngpio = 10; in ucb1400_gpio_probe() 58 ucb->gc.owner = THIS_MODULE; in ucb1400_gpio_probe() 64 ucb->gc.can_sleep = true; in ucb1400_gpio_probe() 66 err = devm_gpiochip_add_data(&dev->dev, &ucb->gc, ucb); in ucb1400_gpio_probe() 70 if (ucb->gpio_setup) in ucb1400_gpio_probe() 71 err = ucb->gpio_setup(&dev->dev, ucb->gc.ngpio); in ucb1400_gpio_probe() 83 if (ucb && ucb->gpio_teardown) { in ucb1400_gpio_remove() [all …]
|
/linux/include/linux/mfd/ |
A D | ucb1x00.h | 146 struct ucb1x00 *ucb; member 173 return mcp_get_sclk_rate(ucb->mcp); in ucb1x00_clkrate() 184 mcp_enable(ucb->mcp); in ucb1x00_enable() 197 mcp_disable(ucb->mcp); in ucb1x00_disable() 211 mcp_reg_write(ucb->mcp, reg, val); in ucb1x00_reg_write() 224 return mcp_reg_read(ucb->mcp, reg); in ucb1x00_reg_read() 233 mcp_set_audio_divisor(ucb->mcp, div); in ucb1x00_set_audio_divisor() 243 mcp_set_telecom_divisor(ucb->mcp, div); in ucb1x00_set_telecom_divisor() 248 unsigned int ucb1x00_io_read(struct ucb1x00 *ucb); 254 void ucb1x00_adc_enable(struct ucb1x00 *ucb); [all …]
|
/linux/drivers/power/supply/ |
A D | collie_battery.c | 26 static struct ucb1x00 *ucb; variable 63 ucb1x00_adc_enable(ucb); in collie_read_bat() 64 value = ucb1x00_adc_read(ucb, bat->adc_bat, UCB_SYNC); 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() [all …]
|
/linux/kernel/trace/ |
A D | trace_uprobe.c | 926 struct uprobe_cpu_buffer *ucb; in uprobe_buffer_get() local 930 ucb = per_cpu_ptr(uprobe_cpu_buffer, cpu); in uprobe_buffer_get() 936 mutex_lock(&ucb->mutex); in uprobe_buffer_get() 938 return ucb; in uprobe_buffer_get() 943 mutex_unlock(&ucb->mutex); in uprobe_buffer_put() 1484 struct uprobe_cpu_buffer *ucb; in uprobe_dispatcher() local 1503 ucb = uprobe_buffer_get(); in uprobe_dispatcher() 1513 uprobe_buffer_put(ucb); in uprobe_dispatcher() 1522 struct uprobe_cpu_buffer *ucb; in uretprobe_dispatcher() local 1538 ucb = uprobe_buffer_get(); in uretprobe_dispatcher() [all …]
|
/linux/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 | 1668 u32 ucb; in dib7000p_reset_stats() local 1692 dib7000p_read_unc_blocks(demod, &ucb); in dib7000p_reset_stats() 1694 state->old_ucb = ucb; in dib7000p_reset_stats() 1902 u64 blocks, ucb; in dib7000p_get_stats() local 1944 ucb = val - state->old_ucb; in dib7000p_get_stats() 1946 ucb += 0x100000000LL; in dib7000p_get_stats() 1949 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()
|
/linux/arch/arm/boot/dts/ |
A D | tegra20-trimslice.dts | 198 nvidia,pins = "uca", "ucb"; 243 "uab", "uad", "uca", "ucb";
|
A D | tegra20-tamonten.dtsi | 181 nvidia,pins = "uca", "ucb"; 227 "uaa", "uab", "ucb";
|
A D | tegra20-paz00.dts | 195 nvidia,pins = "uca", "ucb"; 235 "spie", "spih", "uad", "uca", "ucb";
|
A D | tegra20-ventana.dts | 204 nvidia,pins = "uca", "ucb"; 214 "uac", "uad", "uca", "ucb", "uda";
|
A D | tegra20-harmony.dts | 199 nvidia,pins = "uca", "ucb"; 245 "uca", "ucb";
|
A D | tegra20-seaboard.dts | 202 nvidia,pins = "uca", "ucb"; 212 "uad", "uca", "ucb", "uda";
|
A D | tegra20-acer-a500-picasso.dts | 245 nvidia,pins = "uca", "ucb"; 296 "uab", "uca", "ucb";
|
A D | tegra20-colibri.dtsi | 90 "ucb";
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
A D | nvidia,tegra20-pinmux.txt | 83 uca, ucb, uda.
|
/linux/drivers/pinctrl/tegra/ |
A D | pinctrl-tegra20.c | 2154 MUX_PG(ucb, UARTC, PWM, GMI, RSVD4, 0x18, 23, 0x84, 18, 0xac, 10),
|
/linux/drivers/media/dvb-frontends/drx39xyj/ |
A D | drxj.c | 12060 static int drx39xxj_read_ucblocks(struct dvb_frontend *fe, u32 *ucb) in drx39xxj_read_ucblocks() argument 12065 *ucb = 0; in drx39xxj_read_ucblocks() 12069 *ucb = p->block_error.stat[0].uvalue; in drx39xxj_read_ucblocks()
|