Home
last modified time | relevance | path

Searched refs:wm (Results 1 – 25 of 28) sorted by relevance

12

/linux-3.4.99/drivers/input/touchscreen/
Dwm97xx-core.c88 int wm97xx_reg_read(struct wm97xx *wm, u16 reg) in wm97xx_reg_read() argument
90 if (wm->ac97) in wm97xx_reg_read()
91 return wm->ac97->bus->ops->read(wm->ac97, reg); in wm97xx_reg_read()
97 void wm97xx_reg_write(struct wm97xx *wm, u16 reg, u16 val) in wm97xx_reg_write() argument
101 wm->dig[(reg - AC97_WM9713_DIG1) >> 1] = val; in wm97xx_reg_write()
105 wm->gpio[(reg - AC97_GPIO_CFG) >> 1] = val; in wm97xx_reg_write()
109 wm->misc = val; in wm97xx_reg_write()
111 if (wm->ac97) in wm97xx_reg_write()
112 wm->ac97->bus->ops->write(wm->ac97, reg, val); in wm97xx_reg_write()
124 int wm97xx_read_aux_adc(struct wm97xx *wm, u16 adcsel) in wm97xx_read_aux_adc() argument
[all …]
Dwm9713.c156 static void wm9713_phy_init(struct wm97xx *wm) in wm9713_phy_init() argument
168 dev_info(wm->dev, "setting pen detect pull-up to %d Ohms\n", in wm9713_phy_init()
175 dev_info(wm->dev, "setting 5-wire touchscreen mode."); in wm9713_phy_init()
178 dev_warn(wm->dev, in wm9713_phy_init()
188 dev_info(wm->dev, in wm9713_phy_init()
191 dev_info(wm->dev, in wm9713_phy_init()
198 dev_info(wm->dev, "supplied delay out of range."); in wm9713_phy_init()
200 dev_info(wm->dev, "setting adc sample delay to %d u Secs.", in wm9713_phy_init()
211 wm->misc = wm97xx_reg_read(wm, 0x5a); in wm9713_phy_init()
213 wm97xx_reg_write(wm, AC97_WM9713_DIG1, dig1); in wm9713_phy_init()
[all …]
Dwm9712.c156 static void wm9712_phy_init(struct wm97xx *wm) in wm9712_phy_init() argument
165 dev_dbg(wm->dev, "setting pen detect pull-up to %d Ohms", in wm9712_phy_init()
172 dev_dbg(wm->dev, "setting 5-wire touchscreen mode."); in wm9712_phy_init()
175 dev_warn(wm->dev, "pressure measurement is not " in wm9712_phy_init()
184 dev_dbg(wm->dev, in wm9712_phy_init()
187 dev_dbg(wm->dev, in wm9712_phy_init()
194 dev_dbg(wm->dev, "supplied delay out of range."); in wm9712_phy_init()
199 dev_dbg(wm->dev, "setting adc sample delay to %d u Secs.", in wm9712_phy_init()
207 reg = wm97xx_reg_read(wm, AC97_MISC_AFE); in wm9712_phy_init()
208 wm97xx_reg_write(wm, AC97_MISC_AFE, reg | WM97XX_GPIO_4); in wm9712_phy_init()
[all …]
Dwm9705.c138 static void wm9705_phy_init(struct wm97xx *wm) in wm9705_phy_init() argument
146 wm97xx_reg_write(wm, AC97_AUX, 0x8000); in wm9705_phy_init()
147 wm97xx_reg_write(wm, AC97_VIDEO, 0x8000); in wm9705_phy_init()
152 dev_dbg(wm->dev, in wm9705_phy_init()
155 dev_dbg(wm->dev, in wm9705_phy_init()
163 dev_dbg(wm->dev, "supplied delay out of range."); in wm9705_phy_init()
169 dev_dbg(wm->dev, "setting adc sample delay to %d u Secs.", in wm9705_phy_init()
174 dev_dbg(wm->dev, "setting pdd to Vmid/%d", 1 - (pdd & 0x000f)); in wm9705_phy_init()
179 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, dig1); in wm9705_phy_init()
180 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, dig2); in wm9705_phy_init()
[all …]
Dmainstone-wm97xx.c107 static void wm97xx_acc_pen_up(struct wm97xx *wm) in wm97xx_acc_pen_up() argument
115 static void wm97xx_acc_pen_up(struct wm97xx *wm) in wm97xx_acc_pen_up() argument
126 static int wm97xx_acc_pen_down(struct wm97xx *wm) in wm97xx_acc_pen_down() argument
156 dev_dbg(wm->dev, "Raw coordinates: x=%x, y=%x, p=%x\n", in wm97xx_acc_pen_down()
167 input_report_abs(wm->input_dev, ABS_X, x & 0xfff); in wm97xx_acc_pen_down()
168 input_report_abs(wm->input_dev, ABS_Y, y & 0xfff); in wm97xx_acc_pen_down()
169 input_report_abs(wm->input_dev, ABS_PRESSURE, p & 0xfff); in wm97xx_acc_pen_down()
170 input_report_key(wm->input_dev, BTN_TOUCH, (p != 0)); in wm97xx_acc_pen_down()
171 input_sync(wm->input_dev); in wm97xx_acc_pen_down()
178 static int wm97xx_acc_startup(struct wm97xx *wm) in wm97xx_acc_startup() argument
[all …]
Datmel-wm97xx.c138 struct wm97xx *wm; member
151 struct wm97xx *wm = atmel_wm97xx->wm; in atmel_wm97xx_channel_b_interrupt() local
156 dev_dbg(&wm->touch_dev->dev, "AC97C overrun\n"); in atmel_wm97xx_channel_b_interrupt()
176 input_report_abs(wm->input_dev, ABS_X, atmel_wm97xx->x); in atmel_wm97xx_channel_b_interrupt()
177 input_report_abs(wm->input_dev, ABS_Y, atmel_wm97xx->y); in atmel_wm97xx_channel_b_interrupt()
178 input_report_key(wm->input_dev, BTN_TOUCH, pen_down); in atmel_wm97xx_channel_b_interrupt()
179 input_sync(wm->input_dev); in atmel_wm97xx_channel_b_interrupt()
181 input_report_abs(wm->input_dev, ABS_X, atmel_wm97xx->x); in atmel_wm97xx_channel_b_interrupt()
182 input_report_abs(wm->input_dev, ABS_Y, atmel_wm97xx->y); in atmel_wm97xx_channel_b_interrupt()
183 input_report_abs(wm->input_dev, ABS_PRESSURE, value); in atmel_wm97xx_channel_b_interrupt()
[all …]
Dzylonite-wm97xx.c81 static void wm97xx_acc_pen_up(struct wm97xx *wm) in wm97xx_acc_pen_up() argument
91 static int wm97xx_acc_pen_down(struct wm97xx *wm) in wm97xx_acc_pen_down() argument
122 dev_dbg(wm->dev, "Raw coordinates: x=%x, y=%x, p=%x\n", in wm97xx_acc_pen_down()
133 input_report_abs(wm->input_dev, ABS_X, x & 0xfff); in wm97xx_acc_pen_down()
134 input_report_abs(wm->input_dev, ABS_Y, y & 0xfff); in wm97xx_acc_pen_down()
135 input_report_abs(wm->input_dev, ABS_PRESSURE, p & 0xfff); in wm97xx_acc_pen_down()
136 input_report_key(wm->input_dev, BTN_TOUCH, (p != 0)); in wm97xx_acc_pen_down()
137 input_sync(wm->input_dev); in wm97xx_acc_pen_down()
144 static int wm97xx_acc_startup(struct wm97xx *wm) in wm97xx_acc_startup() argument
149 if (wm->ac97 == NULL) in wm97xx_acc_startup()
[all …]
/linux-3.4.99/sound/pci/ice1712/
Dmaya44.c85 struct snd_wm8776 wm[2]; member
91 static void wm8776_write(struct snd_ice1712 *ice, struct snd_wm8776 *wm, in wm8776_write() argument
98 snd_vt1724_write_i2c(ice, wm->addr, in wm8776_write()
101 wm->regs[reg] = val; in wm8776_write()
107 static int wm8776_write_bits(struct snd_ice1712 *ice, struct snd_wm8776 *wm, in wm8776_write_bits() argument
111 val |= wm->regs[reg] & ~mask; in wm8776_write_bits()
112 if (val != wm->regs[reg]) { in wm8776_write_bits()
113 wm8776_write(ice, wm, reg, val); in wm8776_write_bits()
189 struct snd_wm8776 *wm = in maya_vol_get() local
190 &chip->wm[snd_ctl_get_ioff(kcontrol, &ucontrol->id)]; in maya_vol_get()
[all …]
/linux-3.4.99/drivers/video/
Di740fb.c228 u32 wm; in i740_calc_fifo() local
233 wm = 0x18120000; in i740_calc_fifo()
235 wm = 0x16110000; in i740_calc_fifo()
237 wm = 0x120E0000; in i740_calc_fifo()
239 wm = 0x100D0000; in i740_calc_fifo()
245 wm = 0x2C1D0000; in i740_calc_fifo()
247 wm = 0x2C180000; in i740_calc_fifo()
249 wm = 0x24160000; in i740_calc_fifo()
251 wm = 0x18120000; in i740_calc_fifo()
253 wm = 0x16110000; in i740_calc_fifo()
[all …]
/linux-3.4.99/drivers/gpu/drm/radeon/
Drs690.c229 struct rs690_watermark *wm) in rs690_crtc_bandwidth_compute() argument
238 wm->lb_request_fifo_depth = 4; in rs690_crtc_bandwidth_compute()
243 wm->num_line_pair.full = dfixed_const(2); in rs690_crtc_bandwidth_compute()
245 wm->num_line_pair.full = dfixed_const(1); in rs690_crtc_bandwidth_compute()
250 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); in rs690_crtc_bandwidth_compute()
253 wm->lb_request_fifo_depth = 4; in rs690_crtc_bandwidth_compute()
255 wm->lb_request_fifo_depth = dfixed_trunc(request_fifo_depth); in rs690_crtc_bandwidth_compute()
280 wm->consumption_rate.full = dfixed_div(a, consumption_time); in rs690_crtc_bandwidth_compute()
298 wm->active_time.full = dfixed_mul(line_time, b); in rs690_crtc_bandwidth_compute()
299 wm->active_time.full = dfixed_div(wm->active_time, a); in rs690_crtc_bandwidth_compute()
[all …]
Drv515.c805 struct rv515_watermark *wm) in rv515_crtc_bandwidth_compute() argument
814 wm->lb_request_fifo_depth = 4; in rv515_crtc_bandwidth_compute()
819 wm->num_line_pair.full = dfixed_const(2); in rv515_crtc_bandwidth_compute()
821 wm->num_line_pair.full = dfixed_const(1); in rv515_crtc_bandwidth_compute()
826 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); in rv515_crtc_bandwidth_compute()
829 wm->lb_request_fifo_depth = 4; in rv515_crtc_bandwidth_compute()
831 wm->lb_request_fifo_depth = dfixed_trunc(request_fifo_depth); in rv515_crtc_bandwidth_compute()
856 wm->consumption_rate.full = dfixed_div(a, consumption_time); in rv515_crtc_bandwidth_compute()
874 wm->active_time.full = dfixed_mul(line_time, b); in rv515_crtc_bandwidth_compute()
875 wm->active_time.full = dfixed_div(wm->active_time, a); in rv515_crtc_bandwidth_compute()
[all …]
Dsi.c511 static u32 dce6_dram_bandwidth(struct dce6_wm_params *wm) in dce6_dram_bandwidth() argument
519 yclk.full = dfixed_const(wm->yclk); in dce6_dram_bandwidth()
521 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce6_dram_bandwidth()
531 static u32 dce6_dram_bandwidth_for_display(struct dce6_wm_params *wm) in dce6_dram_bandwidth_for_display() argument
539 yclk.full = dfixed_const(wm->yclk); in dce6_dram_bandwidth_for_display()
541 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce6_dram_bandwidth_for_display()
551 static u32 dce6_data_return_bandwidth(struct dce6_wm_params *wm) in dce6_data_return_bandwidth() argument
559 sclk.full = dfixed_const(wm->sclk); in dce6_data_return_bandwidth()
571 static u32 dce6_get_dmif_bytes_per_request(struct dce6_wm_params *wm) in dce6_get_dmif_bytes_per_request() argument
576 static u32 dce6_dmif_request_bandwidth(struct dce6_wm_params *wm) in dce6_dmif_request_bandwidth() argument
[all …]
Devergreen.c656 static u32 evergreen_dram_bandwidth(struct evergreen_wm_params *wm) in evergreen_dram_bandwidth() argument
664 yclk.full = dfixed_const(wm->yclk); in evergreen_dram_bandwidth()
666 dram_channels.full = dfixed_const(wm->dram_channels * 4); in evergreen_dram_bandwidth()
676 static u32 evergreen_dram_bandwidth_for_display(struct evergreen_wm_params *wm) in evergreen_dram_bandwidth_for_display() argument
684 yclk.full = dfixed_const(wm->yclk); in evergreen_dram_bandwidth_for_display()
686 dram_channels.full = dfixed_const(wm->dram_channels * 4); in evergreen_dram_bandwidth_for_display()
696 static u32 evergreen_data_return_bandwidth(struct evergreen_wm_params *wm) in evergreen_data_return_bandwidth() argument
704 sclk.full = dfixed_const(wm->sclk); in evergreen_data_return_bandwidth()
716 static u32 evergreen_dmif_request_bandwidth(struct evergreen_wm_params *wm) in evergreen_dmif_request_bandwidth() argument
724 disp_clk.full = dfixed_const(wm->disp_clk); in evergreen_dmif_request_bandwidth()
[all …]
/linux-3.4.99/include/linux/
Dwm97xx.h315 enum wm97xx_gpio_status wm97xx_get_gpio(struct wm97xx *wm, u32 gpio);
316 void wm97xx_set_gpio(struct wm97xx *wm, u32 gpio,
318 void wm97xx_config_gpio(struct wm97xx *wm, u32 gpio,
324 void wm97xx_set_suspend_mode(struct wm97xx *wm, u16 mode);
327 int wm97xx_reg_read(struct wm97xx *wm, u16 reg);
328 void wm97xx_reg_write(struct wm97xx *wm, u16 reg, u16 val);
331 int wm97xx_read_aux_adc(struct wm97xx *wm, u16 adcsel);
Dparport_pc.h158 const unsigned char wm = (PARPORT_CONTROL_STROBE | in parport_pc_write_control() local
170 __parport_pc_frob_control (p, wm, d & wm); in parport_pc_write_control()
187 const unsigned char wm = (PARPORT_CONTROL_STROBE | in parport_pc_frob_control() local
204 mask &= wm; in parport_pc_frob_control()
205 val &= wm; in parport_pc_frob_control()
/linux-3.4.99/drivers/parport/
Dparport_gsc.h136 const unsigned char wm = (PARPORT_CONTROL_STROBE | in parport_gsc_write_control() local
148 __parport_gsc_frob_control (p, wm, d & wm); in parport_gsc_write_control()
165 const unsigned char wm = (PARPORT_CONTROL_STROBE | in parport_gsc_frob_control() local
182 mask &= wm; in parport_gsc_frob_control()
183 val &= wm; in parport_gsc_frob_control()
Dparport_sunbpp.c203 const unsigned char wm = (PARPORT_CONTROL_STROBE | in parport_sunbpp_write_control() local
208 parport_sunbpp_frob_control (p, wm, d & wm); in parport_sunbpp_write_control()
Dparport_ip32.c963 const unsigned int wm = in parport_ip32_write_control() local
965 CHECK_EXTRA_BITS(p, c, wm); in parport_ip32_write_control()
966 __parport_ip32_frob_control(p, wm, c & wm); in parport_ip32_write_control()
982 const unsigned int wm = in parport_ip32_frob_control() local
984 CHECK_EXTRA_BITS(p, mask, wm); in parport_ip32_frob_control()
985 CHECK_EXTRA_BITS(p, val, wm); in parport_ip32_frob_control()
986 __parport_ip32_frob_control(p, mask & wm, val & wm); in parport_ip32_frob_control()
/linux-3.4.99/arch/xtensa/kernel/
Dprocess.c270 unsigned long wb, ws, wm; in xtensa_elf_core_copy_regs() local
275 wm = regs->wmask; in xtensa_elf_core_copy_regs()
294 live = (wm & 2) ? 4 : (wm & 4) ? 8 : (wm & 8) ? 12 : 16; in xtensa_elf_core_copy_regs()
295 last = XCHAL_NUM_AREGS - (wm >> 4) * 4; in xtensa_elf_core_copy_regs()
297 memcpy(elfregs->a + last, regs->areg + last, (wm >> 4) * 16); in xtensa_elf_core_copy_regs()
Dptrace.c56 unsigned long wm = regs->wmask; in ptrace_getregs() local
71 live = (wm & 2) ? 4 : (wm & 4) ? 8 : (wm & 8) ? 12 : 16; in ptrace_getregs()
75 for (i = XCHAL_NUM_AREGS - (wm >> 4) * 4; i < XCHAL_NUM_AREGS; i++) in ptrace_getregs()
Dsignal.c64 unsigned long wm; in flush_window_regs_user() local
75 wm = (ws >> wb) | (ws << (XCHAL_NUM_AREGS / 4 - wb)); in flush_window_regs_user()
88 int m = (wm >> base); in flush_window_regs_user()
/linux-3.4.99/arch/x86/math-emu/
DREADME2 | wm-FPU-emu an FPU emulator for 80386 and 80486SX microprocessors. |
25 wm-FPU-emu is an FPU emulator for Linux. It is derived from wm-emu387
27 msdos); wm-emu387 was in turn based upon emu387 which was written by
31 My target FPU for wm-FPU-emu is that described in the Intel486
40 wm-FPU-emu does not implement all of the behaviour of the 80486 FPU,
56 ----------------------- Internals of wm-FPU-emu -----------------------
99 ----------------------- Limitations of wm-FPU-emu -----------------------
101 There are a number of differences between the current wm-FPU-emu
159 ----------------------- Performance of wm-FPU-emu -----------------------
174 ms-dos extender. The final column is for wm-FPU-emu in Linux 0.97,
[all …]
/linux-3.4.99/drivers/video/i810/
Di810_gtf.c27 u32 wm; member
270 wm_best = wmark[i].wm; in i810_get_watermark()
/linux-3.4.99/arch/mips/include/asm/octeon/
Dcvmx-uctlx-defs.h208 uint64_t wm:5; member
/linux-3.4.99/Documentation/serial/
Dn_gsm.txt87 http://wm.sim.com/sim/News/photo/2010721161442.pdf

12