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

/linux-master/drivers/mfd/
H A Ducb1x00-core.c36 * @ucb: UCB1x00 structure describing chip
50 void ucb1x00_io_set_dir(struct ucb1x00 *ucb, unsigned int in, unsigned int out) argument
54 spin_lock_irqsave(&ucb->io_lock, flags);
55 ucb->io_dir |= out;
56 ucb->io_dir &= ~in;
58 ucb1x00_reg_write(ucb, UCB_IO_DIR, ucb->io_dir);
59 spin_unlock_irqrestore(&ucb->io_lock, flags);
64 * @ucb: UCB1x00 structure describing chip
78 void ucb1x00_io_write(struct ucb1x00 *ucb, unsigne argument
102 ucb1x00_io_read(struct ucb1x00 *ucb) argument
109 struct ucb1x00 *ucb = gpiochip_get_data(chip); local
126 struct ucb1x00 *ucb = gpiochip_get_data(chip); local
138 struct ucb1x00 *ucb = gpiochip_get_data(chip); local
154 struct ucb1x00 *ucb = gpiochip_get_data(chip); local
181 struct ucb1x00 *ucb = gpiochip_get_data(chip); local
211 ucb1x00_adc_enable(struct ucb1x00 *ucb) argument
237 ucb1x00_adc_read(struct ucb1x00 *ucb, int adc_channel, int sync) argument
265 ucb1x00_adc_disable(struct ucb1x00 *ucb) argument
284 struct ucb1x00 *ucb = irq_desc_get_handler_data(desc); local
298 ucb1x00_irq_update(struct ucb1x00 *ucb, unsigned mask) argument
316 struct ucb1x00 *ucb = irq_data_get_irq_chip_data(data); local
327 struct ucb1x00 *ucb = irq_data_get_irq_chip_data(data); local
338 struct ucb1x00 *ucb = irq_data_get_irq_chip_data(data); local
364 struct ucb1x00 *ucb = irq_data_get_irq_chip_data(data); local
390 ucb1x00_add_dev(struct ucb1x00 *ucb, struct ucb1x00_driver *drv) argument
441 ucb1x00_detect_irq(struct ucb1x00 *ucb) argument
483 struct ucb1x00 *ucb = classdev_to_ucb1x00(dev); local
496 struct ucb1x00 *ucb; local
614 struct ucb1x00 *ucb = mcp_get_drvdata(mcp); local
638 struct ucb1x00 *ucb; local
666 struct ucb1x00 *ucb = dev_get_drvdata(dev); local
698 struct ucb1x00 *ucb = dev_get_drvdata(dev); local
[all...]
H A Ducb1x00-ts.c40 struct ucb1x00 *ucb; member in struct:ucb1x00_ts
79 ucb1x00_reg_write(ts->ucb, UCB_TS_CR,
92 ucb1x00_io_write(ts->ucb, COLLIE_TC35143_GPIO_TBL_CHK, 0);
93 ucb1x00_reg_write(ts->ucb, UCB_TS_CR,
99 return ucb1x00_adc_read(ts->ucb, UCB_ADC_INP_AD2, ts->adcsync);
101 ucb1x00_reg_write(ts->ucb, UCB_TS_CR,
106 return ucb1x00_adc_read(ts->ucb, UCB_ADC_INP_TSPY, ts->adcsync);
119 ucb1x00_io_write(ts->ucb, 0, COLLIE_TC35143_GPIO_TBL_CHK);
121 ucb1x00_reg_write(ts->ucb, UCB_TS_CR,
124 ucb1x00_reg_write(ts->ucb, UCB_TS_C
[all...]
H A Ducb1x00-assabet.c24 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; local
50 buttons[i].gpio = ucb->gpio.base + i;
60 pdev = platform_device_register_data(&ucb->dev, "gpio-keys", -1,
63 device_create_file(&ucb->dev, &dev_attr_vbatt);
64 device_create_file(&ucb
[all...]
/linux-master/include/linux/mfd/
H A Ducb1x00.h147 struct ucb1x00 *ucb; member in struct:ucb1x00_dev
168 * @ucb: UCB1x00 structure describing chip
172 static inline unsigned int ucb1x00_clkrate(struct ucb1x00 *ucb) argument
174 return mcp_get_sclk_rate(ucb->mcp);
179 * @ucb: UCB1x00 structure describing chip
183 static inline void ucb1x00_enable(struct ucb1x00 *ucb) argument
185 mcp_enable(ucb->mcp);
190 * @ucb: UCB1x00 structure describing chip
196 static inline void ucb1x00_disable(struct ucb1x00 *ucb) argument
198 mcp_disable(ucb
210 ucb1x00_reg_write(struct ucb1x00 *ucb, unsigned int reg, unsigned int val) argument
223 ucb1x00_reg_read(struct ucb1x00 *ucb, unsigned int reg) argument
232 ucb1x00_set_audio_divisor(struct ucb1x00 *ucb, unsigned int div) argument
242 ucb1x00_set_telecom_divisor(struct ucb1x00 *ucb, unsigned int div) argument
[all...]
/linux-master/drivers/power/supply/
H A Dcollie_battery.c26 static struct ucb1x00 *ucb; variable in typeref:struct:ucb1x00
63 ucb1x00_adc_enable(ucb);
64 value = ucb1x00_adc_read(ucb, bat->adc_bat, UCB_SYNC);
65 ucb1x00_adc_disable(ucb);
82 ucb1x00_adc_enable(ucb);
83 value = ucb1x00_adc_read(ucb, bat->adc_temp, UCB_SYNC);
84 ucb1x00_adc_disable(ucb);
292 if (device_may_wakeup(&dev->ucb->dev) &&
319 struct gpio_chip *gc = &dev->ucb->gpio;
324 ucb
[all...]
/linux-master/kernel/trace/
H A Dtrace_uprobe.c926 struct uprobe_cpu_buffer *ucb; local
930 ucb = per_cpu_ptr(uprobe_cpu_buffer, cpu);
936 mutex_lock(&ucb->mutex);
938 return ucb;
941 static void uprobe_buffer_put(struct uprobe_cpu_buffer *ucb) argument
943 mutex_unlock(&ucb->mutex);
948 struct uprobe_cpu_buffer *ucb, int dsize,
980 memcpy(data, ucb->buf, tu->tp.size + dsize);
987 struct uprobe_cpu_buffer *ucb, int dsize)
996 __uprobe_trace_func(tu, 0, regs, ucb, dsiz
946 __uprobe_trace_func(struct trace_uprobe *tu, unsigned long func, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize, struct trace_event_file *trace_file) argument
986 uprobe_trace_func(struct trace_uprobe *tu, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) argument
1002 uretprobe_trace_func(struct trace_uprobe *tu, unsigned long func, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) argument
1336 __uprobe_perf_func(struct trace_uprobe *tu, unsigned long func, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) argument
1397 uprobe_perf_func(struct trace_uprobe *tu, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) argument
1408 uretprobe_perf_func(struct trace_uprobe *tu, unsigned long func, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) argument
1477 struct uprobe_cpu_buffer *ucb; local
1515 struct uprobe_cpu_buffer *ucb; local
[all...]
/linux-master/drivers/media/dvb-frontends/
H A Dcx24120.c611 u16 sig, ucb; local
690 ucb = cx24120_readreg(state, CX24120_REG_UCB_H) << 8;
691 ucb |= cx24120_readreg(state, CX24120_REG_UCB_L);
692 dev_dbg(&state->i2c->dev, "ucblocks = %d\n", ucb);
695 if (ucb < state->ucb_offset)
699 c->block_error.stat[0].uvalue = ucb + state->ucb_offset;
H A Ddib7000p.c1668 u32 ucb; local
1692 dib7000p_read_unc_blocks(demod, &ucb);
1694 state->old_ucb = ucb;
1902 u64 blocks, ucb; local
1944 ucb = val - state->old_ucb;
1946 ucb += 0x100000000LL;
1949 c->block_error.stat[0].uvalue = ucb;
H A Ddib8000.c999 u32 ucb; local
1023 dib8000_read_unc_blocks(fe, &ucb);
1025 state->init_ucb = -ucb;
/linux-master/drivers/pinctrl/tegra/
H A Dpinctrl-tegra20.c2151 MUX_PG(ucb, UARTC, PWM, GMI, RSVD4, 0x18, 23, 0x84, 18, 0xac, 10),
/linux-master/drivers/media/dvb-frontends/drx39xyj/
H A Ddrxj.c12064 static int drx39xxj_read_ucblocks(struct dvb_frontend *fe, u32 *ucb) argument
12069 *ucb = 0;
12073 *ucb = p->block_error.stat[0].uvalue;

Completed in 441 milliseconds