[go: nahoru, domu]

Searched defs:ucb (Results 1 - 11 of 11) sorted by relevance

/drivers/gpio/
H A Dgpio-ucb1400.c48 struct ucb1400_gpio *ucb = dev_get_platdata(&dev->dev); local
51 if (!(ucb && ucb->gpio_offset)) {
56 platform_set_drvdata(dev, ucb);
58 ucb->gc.label = "ucb1400_gpio";
59 ucb->gc.base = ucb->gpio_offset;
60 ucb->gc.ngpio = 10;
61 ucb->gc.owner = THIS_MODULE;
63 ucb
84 struct ucb1400_gpio *ucb = platform_get_drvdata(dev); local
[all...]
/drivers/mfd/
H A Ducb1400_core.c51 struct ucb1400 *ucb; local
60 ucb = kzalloc(sizeof(struct ucb1400), GFP_KERNEL);
61 if (!ucb) {
66 dev_set_drvdata(dev, ucb);
83 ucb->ucb1400_gpio = platform_device_alloc("ucb1400_gpio", -1);
84 if (!ucb->ucb1400_gpio) {
88 err = platform_device_add_data(ucb->ucb1400_gpio, &ucb_gpio,
92 err = platform_device_add(ucb->ucb1400_gpio);
104 ucb->ucb1400_ts = platform_device_alloc("ucb1400_ts", -1);
105 if (!ucb
133 struct ucb1400 *ucb = dev_get_drvdata(dev); local
[all...]
H A Ducb1x00-assabet.c27 struct ucb1x00 *ucb = classdev_to_ucb1x00(dev); \
29 ucb1x00_adc_enable(ucb); \
30 val = ucb1x00_adc_read(ucb, input, UCB_NOSYNC); \
31 ucb1x00_adc_disable(ucb); \
42 struct ucb1x00 *ucb = dev->ucb; local
53 buttons[i].gpio = ucb->gpio.base + i;
63 pdev = platform_device_register_data(&ucb->dev, "gpio-keys", -1,
66 device_create_file(&ucb->dev, &dev_attr_vbatt);
67 device_create_file(&ucb
[all...]
H A Ducb1x00-core.c39 * @ucb: UCB1x00 structure describing chip
53 void ucb1x00_io_set_dir(struct ucb1x00 *ucb, unsigned int in, unsigned int out) argument
57 spin_lock_irqsave(&ucb->io_lock, flags);
58 ucb->io_dir |= out;
59 ucb->io_dir &= ~in;
61 ucb1x00_reg_write(ucb, UCB_IO_DIR, ucb->io_dir);
62 spin_unlock_irqrestore(&ucb->io_lock, flags);
67 * @ucb: UCB1x00 structure describing chip
81 void ucb1x00_io_write(struct ucb1x00 *ucb, unsigne argument
105 ucb1x00_io_read(struct ucb1x00 *ucb) argument
112 struct ucb1x00 *ucb = container_of(chip, struct ucb1x00, gpio); local
129 struct ucb1x00 *ucb = container_of(chip, struct ucb1x00, gpio); local
141 struct ucb1x00 *ucb = container_of(chip, struct ucb1x00, gpio); local
157 struct ucb1x00 *ucb = container_of(chip, struct ucb1x00, gpio); local
184 struct ucb1x00 *ucb = container_of(chip, struct ucb1x00, gpio); local
214 ucb1x00_adc_enable(struct ucb1x00 *ucb) argument
240 ucb1x00_adc_read(struct ucb1x00 *ucb, int adc_channel, int sync) argument
268 ucb1x00_adc_disable(struct ucb1x00 *ucb) argument
287 struct ucb1x00 *ucb = irq_desc_get_handler_data(desc); local
301 ucb1x00_irq_update(struct ucb1x00 *ucb, unsigned mask) argument
319 struct ucb1x00 *ucb = irq_data_get_irq_chip_data(data); local
330 struct ucb1x00 *ucb = irq_data_get_irq_chip_data(data); local
341 struct ucb1x00 *ucb = irq_data_get_irq_chip_data(data); local
367 struct ucb1x00 *ucb = irq_data_get_irq_chip_data(data); local
393 ucb1x00_add_dev(struct ucb1x00 *ucb, struct ucb1x00_driver *drv) argument
444 ucb1x00_detect_irq(struct ucb1x00 *ucb) argument
490 struct ucb1x00 *ucb = classdev_to_ucb1x00(dev); local
503 struct ucb1x00 *ucb; local
622 struct ucb1x00 *ucb = mcp_get_drvdata(mcp); local
646 struct ucb1x00 *ucb; local
675 struct ucb1x00 *ucb = dev_get_drvdata(dev); local
707 struct ucb1x00 *ucb = dev_get_drvdata(dev); local
[all...]
H A Ducb1x00-ts.c43 struct ucb1x00 *ucb; member in struct:ucb1x00_ts
82 ucb1x00_reg_write(ts->ucb, UCB_TS_CR,
95 ucb1x00_io_write(ts->ucb, COLLIE_TC35143_GPIO_TBL_CHK, 0);
96 ucb1x00_reg_write(ts->ucb, UCB_TS_CR,
102 return ucb1x00_adc_read(ts->ucb, UCB_ADC_INP_AD2, ts->adcsync);
104 ucb1x00_reg_write(ts->ucb, UCB_TS_CR,
109 return ucb1x00_adc_read(ts->ucb, UCB_ADC_INP_TSPY, ts->adcsync);
122 ucb1x00_io_write(ts->ucb, 0, COLLIE_TC35143_GPIO_TBL_CHK);
124 ucb1x00_reg_write(ts->ucb, UCB_TS_CR,
127 ucb1x00_reg_write(ts->ucb, UCB_TS_C
[all...]
/drivers/media/dvb-frontends/
H A Dtda10071_priv.h35 u32 ucb; member in struct:tda10071_priv
H A Ddib7000p.c1655 u32 ucb; local
1679 dib7000p_read_unc_blocks(demod, &ucb);
1681 state->old_ucb = ucb;
1887 u64 blocks, ucb; local
1929 ucb = val - state->old_ucb;
1931 ucb += 0x100000000LL;
1934 c->block_error.stat[0].uvalue = ucb;
H A Ddib8000.c995 u32 ucb; local
1019 dib8000_read_unc_blocks(fe, &ucb);
1021 state->init_ucb = -ucb;
/drivers/input/touchscreen/
H A Ducb1400_ts.c37 static void ucb1400_ts_mode_int(struct ucb1400_ts *ucb) argument
39 ucb1400_reg_write(ucb->ac97, UCB_TS_CR,
49 static unsigned int ucb1400_ts_read_pressure(struct ucb1400_ts *ucb) argument
51 ucb1400_reg_write(ucb->ac97, UCB_TS_CR,
58 return ucb1400_adc_read(ucb->ac97, UCB_ADC_INP_TSPY, adcsync);
67 static unsigned int ucb1400_ts_read_xpos(struct ucb1400_ts *ucb) argument
69 ucb1400_reg_write(ucb->ac97, UCB_TS_CR,
72 ucb1400_reg_write(ucb->ac97, UCB_TS_CR,
75 ucb1400_reg_write(ucb->ac97, UCB_TS_CR,
81 return ucb1400_adc_read(ucb
90 ucb1400_ts_read_ypos(struct ucb1400_ts *ucb) argument
111 ucb1400_ts_read_xres(struct ucb1400_ts *ucb) argument
123 ucb1400_ts_read_yres(struct ucb1400_ts *ucb) argument
131 ucb1400_ts_pen_up(struct ucb1400_ts *ucb) argument
138 ucb1400_ts_irq_enable(struct ucb1400_ts *ucb) argument
145 ucb1400_ts_irq_disable(struct ucb1400_ts *ucb) argument
166 ucb1400_clear_pending_irq(struct ucb1400_ts *ucb) argument
190 struct ucb1400_ts *ucb = devid; local
227 ucb1400_ts_stop(struct ucb1400_ts *ucb) argument
240 ucb1400_ts_start(struct ucb1400_ts *ucb) argument
254 struct ucb1400_ts *ucb = input_get_drvdata(idev); local
263 struct ucb1400_ts *ucb = input_get_drvdata(idev); local
276 ucb1400_ts_detect_irq(struct ucb1400_ts *ucb, struct platform_device *pdev) argument
322 struct ucb1400_ts *ucb = dev_get_platdata(&pdev->dev); local
401 struct ucb1400_ts *ucb = dev_get_platdata(&pdev->dev); local
412 struct ucb1400_ts *ucb = dev_get_platdata(dev); local
426 struct ucb1400_ts *ucb = dev_get_platdata(dev); local
[all...]
/drivers/power/
H A Dcollie_battery.c28 static struct ucb1x00 *ucb; variable in typeref:struct:ucb1x00
65 ucb1x00_adc_enable(ucb);
66 value = ucb1x00_adc_read(ucb, bat->adc_bat, UCB_SYNC);
67 ucb1x00_adc_disable(ucb);
84 ucb1x00_adc_enable(ucb);
85 value = ucb1x00_adc_read(ucb, bat->adc_temp, UCB_SYNC);
86 ucb1x00_adc_disable(ucb);
315 ucb = dev->ucb;
326 ret = power_supply_register(&dev->ucb
[all...]
/drivers/media/dvb-frontends/drx39xyj/
H A Ddrxj.c12048 static int drx39xxj_read_ucblocks(struct dvb_frontend *fe, u32 *ucb) argument
12053 *ucb = 0;
12057 *ucb = p->block_error.stat[0].uvalue;

Completed in 187 milliseconds