| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | ucb1x00-core.c | 50 void ucb1x00_io_set_dir(struct ucb1x00 *ucb, unsigned int in, unsigned int out) in ucb1x00_io_set_dir() argument 54 spin_lock_irqsave(&ucb->io_lock, flags); in ucb1x00_io_set_dir() 55 ucb->io_dir |= out; in ucb1x00_io_set_dir() 56 ucb->io_dir &= ~in; in ucb1x00_io_set_dir() 58 ucb1x00_reg_write(ucb, UCB_IO_DIR, ucb->io_dir); in ucb1x00_io_set_dir() 59 spin_unlock_irqrestore(&ucb->io_lock, flags); in ucb1x00_io_set_dir() 78 void ucb1x00_io_write(struct ucb1x00 *ucb, unsigned int set, unsigned int clear) in ucb1x00_io_write() argument 82 spin_lock_irqsave(&ucb->io_lock, flags); in ucb1x00_io_write() 83 ucb->io_out |= set; in ucb1x00_io_write() 84 ucb->io_out &= ~clear; in ucb1x00_io_write() [all …]
|
| H A D | ucb1x00-ts.c | 40 struct ucb1x00 *ucb; member 79 ucb1x00_reg_write(ts->ucb, UCB_TS_CR, in ucb1x00_ts_mode_int() 92 ucb1x00_io_write(ts->ucb, COLLIE_TC35143_GPIO_TBL_CHK, 0); in ucb1x00_ts_read_pressure() 93 ucb1x00_reg_write(ts->ucb, UCB_TS_CR, in ucb1x00_ts_read_pressure() 99 return ucb1x00_adc_read(ts->ucb, UCB_ADC_INP_AD2, ts->adcsync); in ucb1x00_ts_read_pressure() 101 ucb1x00_reg_write(ts->ucb, UCB_TS_CR, in ucb1x00_ts_read_pressure() 106 return ucb1x00_adc_read(ts->ucb, UCB_ADC_INP_TSPY, ts->adcsync); in ucb1x00_ts_read_pressure() 119 ucb1x00_io_write(ts->ucb, 0, COLLIE_TC35143_GPIO_TBL_CHK); in ucb1x00_ts_read_xpos() 121 ucb1x00_reg_write(ts->ucb, UCB_TS_CR, in ucb1x00_ts_read_xpos() 124 ucb1x00_reg_write(ts->ucb, UCB_TS_CR, in ucb1x00_ts_read_xpos() [all …]
|
| H A D | ucb1400_core.c | 48 struct ucb1400 *ucb; in ucb1400_core_probe() local 57 ucb = kzalloc(sizeof(struct ucb1400), GFP_KERNEL); in ucb1400_core_probe() 58 if (!ucb) { in ucb1400_core_probe() 63 dev_set_drvdata(dev, ucb); in ucb1400_core_probe() 80 ucb->ucb1400_gpio = platform_device_alloc("ucb1400_gpio", -1); in ucb1400_core_probe() 81 if (!ucb->ucb1400_gpio) { in ucb1400_core_probe() 85 err = platform_device_add_data(ucb->ucb1400_gpio, &ucb_gpio, in ucb1400_core_probe() 89 err = platform_device_add(ucb->ucb1400_gpio); in ucb1400_core_probe() 101 ucb->ucb1400_ts = platform_device_alloc("ucb1400_ts", -1); in ucb1400_core_probe() 102 if (!ucb->ucb1400_ts) { in ucb1400_core_probe() [all …]
|
| H 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() 60 pdev = platform_device_register_data(&ucb->dev, "gpio-keys", -1, 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() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/ |
| H A D | ucb1400_ts.c | 34 static void ucb1400_ts_mode_int(struct ucb1400_ts *ucb) in ucb1400_ts_mode_int() argument 36 ucb1400_reg_write(ucb->ac97, UCB_TS_CR, in ucb1400_ts_mode_int() 46 static unsigned int ucb1400_ts_read_pressure(struct ucb1400_ts *ucb) in ucb1400_ts_read_pressure() argument 48 ucb1400_reg_write(ucb->ac97, UCB_TS_CR, in ucb1400_ts_read_pressure() 55 return ucb1400_adc_read(ucb->ac97, UCB_ADC_INP_TSPY, adcsync); in ucb1400_ts_read_pressure() 64 static unsigned int ucb1400_ts_read_xpos(struct ucb1400_ts *ucb) in ucb1400_ts_read_xpos() argument 66 ucb1400_reg_write(ucb->ac97, UCB_TS_CR, in ucb1400_ts_read_xpos() 69 ucb1400_reg_write(ucb->ac97, UCB_TS_CR, in ucb1400_ts_read_xpos() 72 ucb1400_reg_write(ucb->ac97, UCB_TS_CR, in ucb1400_ts_read_xpos() 78 return ucb1400_adc_read(ucb->ac97, UCB_ADC_INP_TSPY, adcsync); in ucb1400_ts_read_xpos() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpio-ucb1400.c | 45 struct ucb1400_gpio *ucb = dev_get_platdata(&dev->dev); in ucb1400_gpio_probe() local 48 if (!(ucb && ucb->gpio_offset)) { in ucb1400_gpio_probe() 53 platform_set_drvdata(dev, ucb); in ucb1400_gpio_probe() 55 ucb->gc.label = "ucb1400_gpio"; 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() 60 ucb->gc.direction_input = ucb1400_gpio_dir_in; in ucb1400_gpio_probe() 61 ucb->gc.direction_output = ucb1400_gpio_dir_out; in ucb1400_gpio_probe() 62 ucb->gc.get = ucb1400_gpio_get; in ucb1400_gpio_probe() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/mfd/ |
| H A D | ucb1x00.h | 146 struct ucb1x00 *ucb; member 171 static inline unsigned int ucb1x00_clkrate(struct ucb1x00 *ucb) in ucb1x00_clkrate() argument 173 return mcp_get_sclk_rate(ucb->mcp); in ucb1x00_clkrate() 182 static inline void ucb1x00_enable(struct ucb1x00 *ucb) in ucb1x00_enable() argument 184 mcp_enable(ucb->mcp); in ucb1x00_enable() 195 static inline void ucb1x00_disable(struct ucb1x00 *ucb) in ucb1x00_disable() argument 197 mcp_disable(ucb->mcp); in ucb1x00_disable() 209 static inline void ucb1x00_reg_write(struct ucb1x00 *ucb, unsigned int reg, unsigned int val) in ucb1x00_reg_write() argument 211 mcp_reg_write(ucb->mcp, reg, val); in ucb1x00_reg_write() 222 static inline unsigned int ucb1x00_reg_read(struct ucb1x00 *ucb, unsigned int reg) in ucb1x00_reg_read() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/power/supply/ |
| H A D | collie_battery.c | 24 static struct ucb1x00 *ucb; variable 61 ucb1x00_adc_enable(ucb); in collie_read_bat() 62 value = ucb1x00_adc_read(ucb, bat->adc_bat, UCB_SYNC); in collie_read_bat() 63 ucb1x00_adc_disable(ucb); in collie_read_bat() 80 ucb1x00_adc_enable(ucb); in collie_read_temp() 81 value = ucb1x00_adc_read(ucb, bat->adc_temp, UCB_SYNC); in collie_read_temp() 82 ucb1x00_adc_disable(ucb); in collie_read_temp() 296 if (device_may_wakeup(&dev->ucb->dev) && in collie_bat_suspend() 327 ucb = dev->ucb; in collie_bat_probe() 339 collie_bat_main.psy = power_supply_register(&dev->ucb->dev, in collie_bat_probe() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/trace/ |
| H A D | trace_uprobe.c | 925 struct uprobe_cpu_buffer *ucb; in uprobe_buffer_get() local 929 ucb = per_cpu_ptr(uprobe_cpu_buffer, cpu); in uprobe_buffer_get() 935 mutex_lock(&ucb->mutex); in uprobe_buffer_get() 937 return ucb; in uprobe_buffer_get() 940 static void uprobe_buffer_put(struct uprobe_cpu_buffer *ucb) in uprobe_buffer_put() argument 942 mutex_unlock(&ucb->mutex); in uprobe_buffer_put() 947 struct uprobe_cpu_buffer *ucb, int dsize, in __uprobe_trace_func() argument 982 memcpy(data, ucb->buf, tu->tp.size + dsize); in __uprobe_trace_func() 989 struct uprobe_cpu_buffer *ucb, int dsize) in uprobe_trace_func() argument 998 __uprobe_trace_func(tu, 0, regs, ucb, dsize, link->file); in uprobe_trace_func() [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/ |
| H A D | rdist-6.1.5-oldpath.patch | 12 -#define _PATH_OLDRDIST "/usr/ucb/oldrdist" /* Enable compat */ 24 -.I /usr/ucb/oldrdist 49 -/usr/ucb/oldrdist). In this way, you get compatibility with hosts 55 -(/usr/old/rdist or /usr/ucb/oldrdist).
|
| /OK3568_Linux_fs/buildroot/package/popt/ |
| H A D | 0003-configure-replace-deprecated-macros.patch | 70 -AC_SEARCH_LIBS(setreuid, [ucb]) 72 +AC_SEARCH_LIBS([setreuid], [ucb])
|
| H A D | 0005-fix-build-without-mbstate_t.patch | 38 AC_SEARCH_LIBS([setreuid], [ucb])
|
| H A D | 0002-Detect-glob_pattern_p.patch | 35 AC_SEARCH_LIBS(setreuid, [ucb])
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/ |
| H A D | safe_finger.patch | 15 -char path[] = "PATH=/bin:/usr/bin:/usr/ucb:/usr/bsd:/etc:/usr/etc:/usr/sbin";
|
| /OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/ |
| H A D | cx24120.c | 610 u16 sig, ucb; in cx24120_get_stats() local 689 ucb = cx24120_readreg(state, CX24120_REG_UCB_H) << 8; in cx24120_get_stats() 690 ucb |= cx24120_readreg(state, CX24120_REG_UCB_L); in cx24120_get_stats() 691 dev_dbg(&state->i2c->dev, "ucblocks = %d\n", ucb); in cx24120_get_stats() 694 if (ucb < state->ucb_offset) in cx24120_get_stats() 698 c->block_error.stat[0].uvalue = ucb + state->ucb_offset; in cx24120_get_stats()
|
| H 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()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/tokyocabinet/tokyocabinet/ |
| H A D | remove-hard-coded-include-and-lib-paths.patch | 33 -PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/xpg4/bin:/usr/xpg6/bin:/usr/ucb"
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | tegra20-trimslice.dts | 198 nvidia,pins = "uca", "ucb"; 243 "uab", "uad", "uca", "ucb";
|
| H A D | tegra20-tamonten.dtsi | 181 nvidia,pins = "uca", "ucb"; 227 "uaa", "uab", "ucb";
|
| H A D | tegra20-ventana.dts | 202 nvidia,pins = "uca", "ucb"; 212 "uac", "uad", "uca", "ucb", "uda";
|
| H A D | tegra20-paz00.dts | 193 nvidia,pins = "uca", "ucb"; 233 "spie", "spih", "uad", "uca", "ucb";
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | tegra20-tamonten.dtsi | 170 nvidia,pins = "uca", "ucb"; 216 "uca", "ucb";
|
| H A D | tegra20-paz00.dts | 213 nvidia,pins = "uca", "ucb"; 253 "spie", "spih", "uad", "uca", "ucb";
|
| H A D | tegra20-ventana.dts | 223 nvidia,pins = "uca", "ucb"; 233 "uac", "uad", "uca", "ucb", "uda";
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-extended/zip/zip-3.0/ |
| H A D | 0001-configure-Use-CFLAGS-and-LDFLAGS-when-doing-link-tes.patch | 64 for lib in ndir dir ucb bsd BSD PW x dirent
|