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

12345

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mfd/
H A Ducb1x00-core.c41 * @ucb: UCB1x00 structure describing chip
55 void ucb1x00_io_set_dir(struct ucb1x00 *ucb, unsigned int in, unsigned int out) argument
59 spin_lock_irqsave(&ucb->io_lock, flags);
60 ucb->io_dir |= out;
61 ucb->io_dir &= ~in;
63 ucb1x00_reg_write(ucb, UCB_IO_DIR, ucb->io_dir);
64 spin_unlock_irqrestore(&ucb->io_lock, flags);
69 * @ucb: UCB1x00 structure describing chip
83 void ucb1x00_io_write(struct ucb1x00 *ucb, unsigne argument
107 ucb1x00_io_read(struct ucb1x00 *ucb) argument
114 struct ucb1x00 *ucb = container_of(chip, struct ucb1x00, gpio); local
129 struct ucb1x00 *ucb = container_of(chip, struct ucb1x00, gpio); local
135 struct ucb1x00 *ucb = container_of(chip, struct ucb1x00, gpio); local
149 struct ucb1x00 *ucb = container_of(chip, struct ucb1x00, gpio); local
191 ucb1x00_adc_enable(struct ucb1x00 *ucb) argument
217 ucb1x00_adc_read(struct ucb1x00 *ucb, int adc_channel, int sync) argument
245 ucb1x00_adc_disable(struct ucb1x00 *ucb) argument
264 struct ucb1x00 *ucb = devid; local
298 ucb1x00_hook_irq(struct ucb1x00 *ucb, unsigned int idx, void (*fn)(int, void *), void *devid) argument
328 ucb1x00_enable_irq(struct ucb1x00 *ucb, unsigned int idx, int edges) argument
357 ucb1x00_disable_irq(struct ucb1x00 *ucb, unsigned int idx, int edges) argument
391 ucb1x00_free_irq(struct ucb1x00 *ucb, unsigned int idx, void *devid) argument
424 ucb1x00_add_dev(struct ucb1x00 *ucb, struct ucb1x00_driver *drv) argument
473 ucb1x00_detect_irq(struct ucb1x00 *ucb) argument
519 struct ucb1x00 *ucb = classdev_to_ucb1x00(dev); local
530 struct ucb1x00 *ucb; local
622 struct ucb1x00 *ucb = mcp_get_drvdata(mcp); local
646 struct ucb1x00 *ucb; local
673 struct ucb1x00 *ucb = mcp_get_drvdata(mcp); local
687 struct ucb1x00 *ucb = mcp_get_drvdata(mcp); local
[all...]
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);
78 ucb->ucb1400_gpio = platform_device_alloc("ucb1400_gpio", -1);
79 if (!ucb->ucb1400_gpio) {
83 err = platform_device_add_data(ucb->ucb1400_gpio, &ucb_gpio,
87 err = platform_device_add(ucb->ucb1400_gpio);
99 ucb->ucb1400_ts = platform_device_alloc("ucb1400_ts", -1);
100 if (!ucb
128 struct ucb1400 *ucb = dev_get_drvdata(dev); local
[all...]
H A Ducb1x00-assabet.c26 struct ucb1x00 *ucb = classdev_to_ucb1x00(dev); \
28 ucb1x00_adc_enable(ucb); \
29 val = ucb1x00_adc_read(ucb, input, UCB_NOSYNC); \
30 ucb1x00_adc_disable(ucb); \
41 device_create_file(&dev->ucb->dev, &dev_attr_vbatt);
42 device_create_file(&dev->ucb->dev, &dev_attr_vcharger);
43 device_create_file(&dev->ucb->dev, &dev_attr_batt_temp);
49 device_remove_file(&dev->ucb->dev, &dev_attr_batt_temp);
50 device_remove_file(&dev->ucb->dev, &dev_attr_vcharger);
51 device_remove_file(&dev->ucb
[all...]
H A Ducb1x00-ts.c43 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...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/touchscreen/
H A Ducb1400_ts.c50 static inline unsigned int ucb1400_ts_read_pressure(struct ucb1400_ts *ucb) argument
52 ucb1400_reg_write(ucb->ac97, UCB_TS_CR,
57 return ucb1400_adc_read(ucb->ac97, UCB_ADC_INP_TSPY, adcsync);
66 static inline unsigned int ucb1400_ts_read_xpos(struct ucb1400_ts *ucb) argument
68 ucb1400_reg_write(ucb->ac97, UCB_TS_CR,
71 ucb1400_reg_write(ucb->ac97, UCB_TS_CR,
74 ucb1400_reg_write(ucb->ac97, UCB_TS_CR,
80 return ucb1400_adc_read(ucb->ac97, UCB_ADC_INP_TSPY, adcsync);
89 static inline unsigned int ucb1400_ts_read_ypos(struct ucb1400_ts *ucb) argument
91 ucb1400_reg_write(ucb
110 ucb1400_ts_read_xres(struct ucb1400_ts *ucb) argument
122 ucb1400_ts_read_yres(struct ucb1400_ts *ucb) argument
165 ucb1400_handle_pending_irq(struct ucb1400_ts *ucb) argument
182 struct ucb1400_ts *ucb = _ucb; local
256 struct ucb1400_ts *ucb = devid; local
269 struct ucb1400_ts *ucb = input_get_drvdata(idev); local
285 struct ucb1400_ts *ucb = input_get_drvdata(idev); local
302 ucb1400_ts_detect_irq(struct ucb1400_ts *ucb) argument
349 struct ucb1400_ts *ucb = dev->dev.platform_data; local
424 struct ucb1400_ts *ucb = dev->dev.platform_data; local
434 struct ucb1400_ts *ucb = dev->dev.platform_data; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/mfd/
H A Ducb1x00.h137 struct ucb1x00 *ucb; member in struct:ucb1x00_dev
158 * @ucb: UCB1x00 structure describing chip
162 static inline unsigned int ucb1x00_clkrate(struct ucb1x00 *ucb) argument
164 return mcp_get_sclk_rate(ucb->mcp);
169 * @ucb: UCB1x00 structure describing chip
173 static inline void ucb1x00_enable(struct ucb1x00 *ucb) argument
175 mcp_enable(ucb->mcp);
180 * @ucb: UCB1x00 structure describing chip
186 static inline void ucb1x00_disable(struct ucb1x00 *ucb) argument
188 mcp_disable(ucb
200 ucb1x00_reg_write(struct ucb1x00 *ucb, unsigned int reg, unsigned int val) argument
213 ucb1x00_reg_read(struct ucb1x00 *ucb, unsigned int reg) argument
222 ucb1x00_set_audio_divisor(struct ucb1x00 *ucb, unsigned int div) argument
232 ucb1x00_set_telecom_divisor(struct ucb1x00 *ucb, unsigned int div) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpio/
H A Ducb1400_gpio.c50 struct ucb1400_gpio *ucb = dev->dev.platform_data; local
58 platform_set_drvdata(dev, ucb);
60 ucb->gc.label = "ucb1400_gpio";
61 ucb->gc.base = ucbdata->gpio_offset;
62 ucb->gc.ngpio = 10;
63 ucb->gc.owner = THIS_MODULE;
65 ucb->gc.direction_input = ucb1400_gpio_dir_in;
66 ucb->gc.direction_output = ucb1400_gpio_dir_out;
67 ucb->gc.get = ucb1400_gpio_get;
68 ucb
86 struct ucb1400_gpio *ucb = platform_get_drvdata(dev); local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/mtools-4.0.10/scripts/
H A Dadd-disk45 /usr/ucb/ucblinks # Compatibility links
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/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);
321 ucb = dev->ucb;
344 ret = power_supply_register(&dev->ucb
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/tcpdump-4.4.0/
H A Dmkdep16 PATH=/bin:/usr/bin:/usr/ucb:/usr/local:/usr/local/bin
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libpcap-1.4.0/
H A Dmkdep16 PATH=/bin:/usr/bin:/usr/ucb:/usr/local:/usr/local/bin:/usr/sfw/bin
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/unzip60/theos/
H A D_stat.c259 register struct ucb* ucb; local
261 ucb = getucb(st->st_dev);
266 if (peekucb(&ucb->devowner) == 255)
272 if (peekucb(&ucb->devowner) == 255) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/theos/
H A D_stat.c375 register struct ucb* ucb; local
377 ucb = getucb(st->st_dev);
382 if (peekucb(&ucb->devowner) == 255)
388 if (peekucb(&ucb->devowner) == 255) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/script/tests/
H A Dselftest.sh32 USERNAME=`PATH=/usr/ucb:$PATH whoami`
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libkqueue-1.0.6/
H A Dconfigure168 default_install=/usr/ucb/install
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/bftpd-1.6.6/
H A Dconfigure580 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
888 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
900 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/libid3tag-0.15.0b/
H A Dconfigure56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58 as_echo_n='/usr/ucb/echo -n'
609 for dir in $PATH /usr/ucb; do
2338 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2358 /usr/ucb/* ) ;;
2957 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3956 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
8815 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8816 as_echo_body='eval /usr/ucb/ech
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/packages/libid3tag-0.15.0b/
H A Dconfigure322 for dir in $PATH /usr/ucb; do
1497 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1514 /usr/ucb/* ) ;;
2105 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3156 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/expat/
H A Dconfigure319 for dir in $PATH /usr/ucb; do
1830 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3022 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
7613 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7630 /usr/ucb/* ) ;;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gdbm-1.8.3/
H A Dconfigure316 for dir in $PATH /usr/ucb; do
1598 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2462 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2479 /usr/ucb/* ) ;;
2782 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/gdbm-1.8.3/
H A Dconfigure316 for dir in $PATH /usr/ucb; do
1598 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2462 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2479 /usr/ucb/* ) ;;
2782 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/
H A Dconfigure1816 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1835 /usr/ucb/* ) ;;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/examples/
H A Dconfigure1695 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1714 /usr/ucb/* ) ;;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/bridge-1.x/
H A Dconfigure1341 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1360 /usr/ucb/* ) ;;
1936 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2866 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2885 /usr/ucb/* ) ;;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iptables-1.4.12.1/
H A Dconfigure53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
593 for dir in $PATH /usr/ucb; do
2592 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2612 /usr/ucb/* ) ;;
3217 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4717 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5078 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
11454 if test "X`(/usr/ucb/ech
[all...]

Completed in 977 milliseconds

12345