/linux/sound/pci/ice1712/ |
H A D | wm8766.c | 18 static void snd_wm8766_write(struct snd_wm8766 *wm, u16 addr, u16 data) in snd_wm8766_write() argument 21 wm->regs[addr] = data; in snd_wm8766_write() 22 wm->ops.write(wm, addr, data); in snd_wm8766_write() 137 void snd_wm8766_init(struct snd_wm8766 *wm) in snd_wm8766_init() argument 147 memcpy(wm->ctl, snd_wm8766_default_ctl, sizeof(wm->ctl)); in snd_wm8766_init() 149 snd_wm8766_write(wm, WM8766_REG_RESET, 0x00); /* reset */ in snd_wm8766_init() 153 snd_wm8766_write(wm, i, default_values[i]); in snd_wm8766_init() 156 void snd_wm8766_resume(struct snd_wm8766 *wm) in snd_wm8766_resume() argument 161 snd_wm8766_write(wm, i, wm->regs[i]); in snd_wm8766_resume() 164 void snd_wm8766_set_if(struct snd_wm8766 *wm, u16 dac) in snd_wm8766_set_if() argument [all …]
|
H A D | wm8776.c | 18 static void snd_wm8776_write(struct snd_wm8776 *wm, u16 addr, u16 data) in snd_wm8776_write() argument 24 wm->regs[addr] = data; in snd_wm8776_write() 25 wm->ops.write(wm, bus_addr, bus_data); in snd_wm8776_write() 30 static void snd_wm8776_activate_ctl(struct snd_wm8776 *wm, in snd_wm8776_activate_ctl() argument 34 struct snd_card *card = wm->card; in snd_wm8776_activate_ctl() 51 static void snd_wm8776_update_agc_ctl(struct snd_wm8776 *wm) in snd_wm8776_update_agc_ctl() argument 55 switch (wm->agc_mode) { in snd_wm8776_update_agc_ctl() 72 if (wm->ctl[i].flags & flags_off) in snd_wm8776_update_agc_ctl() 73 snd_wm8776_activate_ctl(wm, wm->ctl[i].name, false); in snd_wm8776_update_agc_ctl() 74 else if (wm->ctl[i].flags & flags_on) in snd_wm8776_update_agc_ctl() [all …]
|
H A D | maya44.c | 70 struct snd_wm8776 wm[2]; member 76 static void wm8776_write(struct snd_ice1712 *ice, struct snd_wm8776 *wm, in wm8776_write() argument 83 snd_vt1724_write_i2c(ice, wm->addr, in wm8776_write() 86 wm->regs[reg] = val; in wm8776_write() 92 static int wm8776_write_bits(struct snd_ice1712 *ice, struct snd_wm8776 *wm, in wm8776_write_bits() argument 96 val |= wm->regs[reg] & ~mask; in wm8776_write_bits() 97 if (val != wm->regs[reg]) { in wm8776_write_bits() 98 wm8776_write(ice, wm, reg, val); in wm8776_write_bits() 174 struct snd_wm8776 *wm = in maya_vol_get() local 175 &chip->wm[snd_ctl_get_iof in maya_vol_get() 189 struct snd_wm8776 *wm = maya_vol_put() local 235 struct snd_wm8776 *wm = maya_sw_get() local 247 struct snd_wm8776 *wm = maya_sw_put() local 535 wm8776_init(struct snd_ice1712 * ice,struct snd_wm8776 * wm,unsigned int addr) wm8776_init() argument [all...] |
H A D | wm8766.h | 88 void (*write)(struct snd_wm8766 *wm, u16 addr, u16 data); 125 void (*set)(struct snd_wm8766 *wm, u16 ch1, u16 ch2); 126 void (*get)(struct snd_wm8766 *wm, u16 *ch1, u16 *ch2); 141 void snd_wm8766_init(struct snd_wm8766 *wm); 142 void snd_wm8766_resume(struct snd_wm8766 *wm); 143 void snd_wm8766_set_if(struct snd_wm8766 *wm, u16 dac); 144 void snd_wm8766_volume_restore(struct snd_wm8766 *wm); 145 int snd_wm8766_build_controls(struct snd_wm8766 *wm);
|
H A D | wm8776.h | 127 void (*write)(struct snd_wm8776 *wm, u8 addr, u8 data); 181 void (*set)(struct snd_wm8776 *wm, u16 ch1, u16 ch2); 182 void (*get)(struct snd_wm8776 *wm, u16 *ch1, u16 *ch2); 203 void snd_wm8776_init(struct snd_wm8776 *wm); 204 void snd_wm8776_resume(struct snd_wm8776 *wm); 205 void snd_wm8776_set_power(struct snd_wm8776 *wm, u16 power); 206 void snd_wm8776_volume_restore(struct snd_wm8776 *wm); 207 int snd_wm8776_build_controls(struct snd_wm8776 *wm);
|
/linux/drivers/input/touchscreen/ |
H A D | mainstone-wm97xx.c | 100 static void wm97xx_acc_pen_up(struct wm97xx *wm) in wm97xx_acc_pen_up() argument 115 static int wm97xx_acc_pen_down(struct wm97xx *wm) in wm97xx_acc_pen_down() argument 146 dev_dbg(wm->dev, "Raw coordinates: x=%x, y=%x, p=%x\n", in wm97xx_acc_pen_down() 157 input_report_abs(wm->input_dev, ABS_X, x & 0xfff); in wm97xx_acc_pen_down() 158 input_report_abs(wm->input_dev, ABS_Y, y & 0xfff); in wm97xx_acc_pen_down() 159 input_report_abs(wm->input_dev, ABS_PRESSURE, p & 0xfff); in wm97xx_acc_pen_down() 160 input_report_key(wm->input_dev, BTN_TOUCH, (p != 0)); in wm97xx_acc_pen_down() 161 input_sync(wm->input_dev); in wm97xx_acc_pen_down() 168 static int wm97xx_acc_startup(struct wm97xx *wm) in wm97xx_acc_startup() argument 173 if (wm->ac97 == NULL) in wm97xx_acc_startup() [all …]
|
/linux/Documentation/devicetree/bindings/mmc/ |
H A D | wm,wm8505-sdhc.yaml | 4 $id: http://devicetree.org/schemas/mmc/wm,wm8505-sdhc.yaml# 18 - const: wm,wm8505-sdhc 20 - const: wm,wm8650-sdhc 21 - const: wm,wm8505-sdhc 23 - const: wm,wm8750-sdhc 24 - const: wm,wm8505-sdhc 26 - const: wm,wm8850-sdhc 27 - const: wm,wm8505-sdhc 46 wm,wm8505-sdhc. On wm,wm8650-sdhc and later this property is implied and 60 compatible = "wm,wm8505-sdhc";
|
/linux/drivers/media/platform/qcom/camss/ |
H A D | camss-vfe-gen1.h | 21 void (*bus_connect_wm_to_rdi)(struct vfe_device *vfe, u8 wm, enum vfe_line_id id); 22 void (*bus_disconnect_wm_from_rdi)(struct vfe_device *vfe, u8 wm, enum vfe_line_id id); 24 void (*bus_reload_wm)(struct vfe_device *vfe, u8 wm); 27 void (*enable_irq_wm_line)(struct vfe_device *vfe, u8 wm, enum vfe_line_id line_id, 36 void (*set_cgc_override)(struct vfe_device *vfe, u8 wm, u8 enable); 47 void (*wm_frame_based)(struct vfe_device *vfe, u8 wm, u8 enable); 48 void (*wm_line_based)(struct vfe_device *vfe, u32 wm, struct v4l2_pix_format_mplane *pix, 50 void (*wm_set_ub_cfg)(struct vfe_device *vfe, u8 wm, u16 offset, u16 depth); 51 void (*wm_set_subsample)(struct vfe_device *vfe, u8 wm); 52 void (*wm_set_framedrop_period)(struct vfe_device *vfe, u8 wm, u8 per); [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | pinctrl-vt8500.txt | 7 - compatible: "via,vt8500-pinctrl", "wm,wm8505-pinctrl", "wm,wm8650-pinctrl", 8 "wm8750-pinctrl" or "wm,wm8850-pinctrl" 31 - wm,pins: An array of cells. Each cell contains the ID of a pin. 34 - wm,function: Integer, containing the function to mux to the pin(s): 39 - wm,pull: Integer, representing the pull-down/up to apply to the pin(s): 44 Each of wm,function and wm,pull may contain either a single value which 45 will be applied to all pins in wm,pins, or one value for each entry in 46 wm,pins. 51 compatible = "wm,wm8505-pinctrl";
|
/linux/tools/testing/selftests/kvm/arm64/ |
H A D | arch_timer_edge_cases.c | 325 enum timer_view tv, irq_wait_method_t wm, bool reset_state, in test_timer_xval() argument 336 wm(); in test_timer_xval() 352 irq_wait_method_t wm, bool reset_state, in test_timer_cval() argument 355 test_timer_xval(timer, cval, TIMER_CVAL, wm, reset_state, reset_cnt); in test_timer_cval() 359 irq_wait_method_t wm, bool reset_state, in test_timer_tval() argument 362 test_timer_xval(timer, (uint64_t) tval, TIMER_TVAL, wm, reset_state, in test_timer_tval() 383 uint64_t usec, sleep_method_t wm) in test_cval_no_irq() argument 385 test_xval_check_no_irq(timer, cval, usec, TIMER_CVAL, wm); in test_cval_no_irq() 389 sleep_method_t wm) in test_tval_no_irq() argument 392 test_xval_check_no_irq(timer, (uint64_t) tval, usec, TIMER_TVAL, wm); in test_tval_no_irq() [all …]
|
/linux/drivers/video/fbdev/ |
H A D | i740fb.c | 219 u32 wm; in i740_calc_fifo() local 224 wm = 0x18120000; in i740_calc_fifo() 226 wm = 0x16110000; in i740_calc_fifo() 228 wm = 0x120E0000; in i740_calc_fifo() 230 wm = 0x100D0000; in i740_calc_fifo() 236 wm = 0x2C1D0000; in i740_calc_fifo() 238 wm = 0x2C180000; in i740_calc_fifo() 240 wm = 0x24160000; in i740_calc_fifo() 242 wm = 0x18120000; in i740_calc_fifo() 244 wm = 0x16110000; in i740_calc_fifo() [all …]
|
/linux/Documentation/devicetree/bindings/arm/ |
H A D | vt8500.yaml | 19 - wm,wm8505 20 - wm,wm8650 21 - wm,wm8750 22 - wm,wm8850 27 - const: wm,wm8950
|
/linux/arch/arm/boot/dts/vt8500/ |
H A D | wm8650.dtsi | 11 compatible = "wm,wm8650"; 53 compatible = "wm,wm8650-pinctrl"; 88 compatible = "wm,wm8650-pll-clock"; 95 compatible = "wm,wm8650-pll-clock"; 102 compatible = "wm,wm8650-pll-clock"; 109 compatible = "wm,wm8650-pll-clock"; 116 compatible = "wm,wm8650-pll-clock"; 196 compatible = "wm,wm8505-sdhc"; 205 compatible = "wm,wm8505-fb"; 210 compatible = "wm,prizm-ge-rops";
|
H A D | wm8850.dtsi | 11 compatible = "wm,wm8850"; 56 compatible = "wm,wm8850-pinctrl"; 91 compatible = "wm,wm8850-pll-clock"; 98 compatible = "wm,wm8850-pll-clock"; 105 compatible = "wm,wm8850-pll-clock"; 112 compatible = "wm,wm8850-pll-clock"; 119 compatible = "wm,wm8850-pll-clock"; 126 compatible = "wm,wm8850-pll-clock"; 133 compatible = "wm,wm8850-pll-clock"; 220 compatible = "wm,wm8505-fb"; [all …]
|
H A D | wm8750.dtsi | 11 compatible = "wm,wm8750"; 59 compatible = "wm,wm8750-pinctrl"; 94 compatible = "wm,wm8750-pll-clock"; 101 compatible = "wm,wm8750-pll-clock"; 108 compatible = "wm,wm8750-pll-clock"; 115 compatible = "wm,wm8750-pll-clock"; 122 compatible = "wm,wm8750-pll-clock"; 328 compatible = "wm,wm8505-sdhc"; 337 compatible = "wm,wm8505-i2c"; 345 compatible = "wm,wm8505-i2c";
|
/linux/drivers/gpu/drm/radeon/ |
H A D | rs690.c | 274 struct rs690_watermark *wm, in rs690_crtc_bandwidth_compute() argument 286 wm->lb_request_fifo_depth = 4; in rs690_crtc_bandwidth_compute() 306 wm->num_line_pair.full = dfixed_const(2); in rs690_crtc_bandwidth_compute() 308 wm->num_line_pair.full = dfixed_const(1); in rs690_crtc_bandwidth_compute() 313 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); in rs690_crtc_bandwidth_compute() 316 wm->lb_request_fifo_depth = 4; in rs690_crtc_bandwidth_compute() 318 wm->lb_request_fifo_depth = dfixed_trunc(request_fifo_depth); in rs690_crtc_bandwidth_compute() 343 wm->consumption_rate.full = dfixed_div(a, consumption_time); in rs690_crtc_bandwidth_compute() 361 wm->active_time.full = dfixed_mul(line_time, b); in rs690_crtc_bandwidth_compute() 362 wm->active_time.full = dfixed_div(wm->active_time, a); in rs690_crtc_bandwidth_compute() [all …]
|
H A D | rv515.c | 925 struct rv515_watermark *wm, in rv515_crtc_bandwidth_compute() argument 937 wm->lb_request_fifo_depth = 4; in rv515_crtc_bandwidth_compute() 954 wm->num_line_pair.full = dfixed_const(2); in rv515_crtc_bandwidth_compute() 956 wm->num_line_pair.full = dfixed_const(1); in rv515_crtc_bandwidth_compute() 961 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); in rv515_crtc_bandwidth_compute() 964 wm->lb_request_fifo_depth = 4; in rv515_crtc_bandwidth_compute() 966 wm->lb_request_fifo_depth = dfixed_trunc(request_fifo_depth); in rv515_crtc_bandwidth_compute() 991 wm->consumption_rate.full = dfixed_div(a, consumption_time); in rv515_crtc_bandwidth_compute() 1009 wm->active_time.full = dfixed_mul(line_time, b); in rv515_crtc_bandwidth_compute() 1010 wm->active_time.full = dfixed_div(wm->active_time, a); in rv515_crtc_bandwidth_compute() [all …]
|
/linux/arch/arm/mach-vt8500/ |
H A D | vt8500.c | 99 fb = of_find_compatible_node(NULL, NULL, "wm,wm8505-fb"); in vt8500_init() 101 np = of_find_compatible_node(NULL, NULL, "wm,wm8505-gpio"); in vt8500_init() 104 "wm,wm8650-gpio"); in vt8500_init() 151 "wm,wm8650", 152 "wm,wm8505", 153 "wm,wm8750", 154 "wm,wm8850",
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | vt8500.txt | 10 "wm,wm8650-pll-clock" - for a WM8650 PLL clock 11 "wm,wm8750-pll-clock" - for a WM8750 PLL clock 12 "wm,wm8850-pll-clock" - for a WM8850 PLL clock 13 "via,vt8500-device-clock" - for a VT/WM device clock 61 compatible = "wm,wm8650-pll-clock";
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | dce_v6_0.c | 567 * @wm: watermark calculation data 573 static u32 dce_v6_0_dram_bandwidth(struct dce6_wm_params *wm) in dce_v6_0_dram_bandwidth() argument 581 yclk.full = dfixed_const(wm->yclk); in dce_v6_0_dram_bandwidth() 583 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce_v6_0_dram_bandwidth() 596 * @wm: watermark calculation data 602 static u32 dce_v6_0_dram_bandwidth_for_display(struct dce6_wm_params *wm) in dce_v6_0_dram_bandwidth_for_display() argument 610 yclk.full = dfixed_const(wm->yclk); in dce_v6_0_dram_bandwidth_for_display() 612 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce_v6_0_dram_bandwidth_for_display() 625 * @wm: watermark calculation data 631 static u32 dce_v6_0_data_return_bandwidth(struct dce6_wm_params *wm) in dce_v6_0_data_return_bandwidth() argument [all …]
|
H A D | dce_v8_0.c | 667 * @wm: watermark calculation data 673 static u32 dce_v8_0_dram_bandwidth(struct dce8_wm_params *wm) in dce_v8_0_dram_bandwidth() argument 681 yclk.full = dfixed_const(wm->yclk); in dce_v8_0_dram_bandwidth() 683 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce_v8_0_dram_bandwidth() 696 * @wm: watermark calculation data 702 static u32 dce_v8_0_dram_bandwidth_for_display(struct dce8_wm_params *wm) in dce_v8_0_dram_bandwidth_for_display() argument 710 yclk.full = dfixed_const(wm->yclk); in dce_v8_0_dram_bandwidth_for_display() 712 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce_v8_0_dram_bandwidth_for_display() 725 * @wm: watermark calculation data 731 static u32 dce_v8_0_data_return_bandwidth(struct dce8_wm_params *wm) in dce_v8_0_data_return_bandwidth() argument [all …]
|
H A D | dce_v10_0.c | 714 * @wm: watermark calculation data 720 static u32 dce_v10_0_dram_bandwidth(struct dce10_wm_params *wm) in dce_v10_0_dram_bandwidth() argument 728 yclk.full = dfixed_const(wm->yclk); in dce_v10_0_dram_bandwidth() 730 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce_v10_0_dram_bandwidth() 743 * @wm: watermark calculation data 749 static u32 dce_v10_0_dram_bandwidth_for_display(struct dce10_wm_params *wm) in dce_v10_0_dram_bandwidth_for_display() argument 757 yclk.full = dfixed_const(wm->yclk); in dce_v10_0_dram_bandwidth_for_display() 759 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce_v10_0_dram_bandwidth_for_display() 772 * @wm: watermark calculation data 778 static u32 dce_v10_0_data_return_bandwidth(struct dce10_wm_params *wm) in dce_v10_0_data_return_bandwidth() argument [all …]
|
/linux/drivers/pinctrl/vt8500/ |
H A D | pinctrl-wmt.c | 216 dev_err(data->dev, "invalid wm,function %d\n", fnum); in wmt_pctl_dt_node_to_map_func() 244 dev_err(data->dev, "invalid wm,pull %d\n", pull); in wmt_pctl_dt_node_to_map_pull() 307 pins = of_find_property(np, "wm,pins", NULL); in wmt_pctl_dt_node_to_map() 313 funcs = of_find_property(np, "wm,function", NULL); in wmt_pctl_dt_node_to_map() 314 pulls = of_find_property(np, "wm,pull", NULL); in wmt_pctl_dt_node_to_map() 317 dev_err(data->dev, "neither wm,function nor wm,pull specified\n"); in wmt_pctl_dt_node_to_map() 330 dev_err(data->dev, "wm,function must have 1 or %d entries\n", in wmt_pctl_dt_node_to_map() 336 dev_err(data->dev, "wm,pull must have 1 or %d entries\n", in wmt_pctl_dt_node_to_map() 353 err = of_property_read_u32_index(np, "wm,pins", i, &pin); in wmt_pctl_dt_node_to_map() 358 dev_err(data->dev, "invalid wm,pins value\n"); in wmt_pctl_dt_node_to_map() [all …]
|
/linux/arch/x86/math-emu/ |
H A D | README | 2 | 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/drivers/parport/ |
H A D | parport_gsc.h | 119 const unsigned char wm = (PARPORT_CONTROL_STROBE | in parport_gsc_write_control() local 131 __parport_gsc_frob_control (p, wm, d & wm); in parport_gsc_write_control() 148 const unsigned char wm = (PARPORT_CONTROL_STROBE | in parport_gsc_frob_control() local 165 mask &= wm; in parport_gsc_frob_control() 166 val &= wm; in parport_gsc_frob_control()
|