| /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 | 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/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/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/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/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/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 …]
|
| H A D | evergreen.c | 1950 static u32 evergreen_dram_bandwidth(struct evergreen_wm_params *wm) in evergreen_dram_bandwidth() argument 1958 yclk.full = dfixed_const(wm->yclk); in evergreen_dram_bandwidth() 1960 dram_channels.full = dfixed_const(wm->dram_channels * 4); in evergreen_dram_bandwidth() 1970 static u32 evergreen_dram_bandwidth_for_display(struct evergreen_wm_params *wm) in evergreen_dram_bandwidth_for_display() argument 1978 yclk.full = dfixed_const(wm->yclk); in evergreen_dram_bandwidth_for_display() 1980 dram_channels.full = dfixed_const(wm->dram_channels * 4); in evergreen_dram_bandwidth_for_display() 1990 static u32 evergreen_data_return_bandwidth(struct evergreen_wm_params *wm) in evergreen_data_return_bandwidth() argument 1998 sclk.full = dfixed_const(wm->sclk); in evergreen_data_return_bandwidth() 2010 static u32 evergreen_dmif_request_bandwidth(struct evergreen_wm_params *wm) in evergreen_dmif_request_bandwidth() argument 2018 disp_clk.full = dfixed_const(wm->disp_clk); in evergreen_dmif_request_bandwidth() [all …]
|
| /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";
|
| H A D | wm8750-apc8750.dts | 26 wm,pins = <168 169 170 171>; 27 wm,function = <2>; /* alt */ 28 wm,pull = <2>; /* pull-up */
|
| H A D | wm8505.dtsi | 11 compatible = "wm,wm8505"; 57 compatible = "wm,wm8505-pinctrl"; 224 compatible = "wm,wm8505-fb"; 229 compatible = "wm,prizm-ge-rops"; 288 compatible = "wm,wm8505-sdhc";
|
| /linux/include/linux/ |
| H A D | wm97xx.h | 311 enum wm97xx_gpio_status wm97xx_get_gpio(struct wm97xx *wm, u32 gpio); 312 void wm97xx_set_gpio(struct wm97xx *wm, u32 gpio, 314 void wm97xx_config_gpio(struct wm97xx *wm, u32 gpio, 320 void wm97xx_set_suspend_mode(struct wm97xx *wm, u16 mode); 323 int wm97xx_reg_read(struct wm97xx *wm, u16 reg); 324 void wm97xx_reg_write(struct wm97xx *wm, u16 reg, u16 val); 327 int wm97xx_read_aux_adc(struct wm97xx *wm, u16 adcsel);
|
| H A D | parport_pc.h | 162 const unsigned char wm = (PARPORT_CONTROL_STROBE | in parport_pc_write_control() local 174 __parport_pc_frob_control (p, wm, d & wm); in parport_pc_write_control() 191 const unsigned char wm = (PARPORT_CONTROL_STROBE | in parport_pc_frob_control() local 208 mask &= wm; in parport_pc_frob_control() 209 val &= wm; in parport_pc_frob_control()
|
| /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()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | dce_v8_0.c | 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() 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() 731 static u32 dce_v8_0_data_return_bandwidth(struct dce8_wm_params *wm) in dce_v8_0_data_return_bandwidth() argument 739 sclk.full = dfixed_const(wm->sclk); in dce_v8_0_data_return_bandwidth() 760 static u32 dce_v8_0_dmif_request_bandwidth(struct dce8_wm_params *wm) in dce_v8_0_dmif_request_bandwidth() argument 768 disp_clk.full = dfixed_const(wm->disp_clk); in dce_v8_0_dmif_request_bandwidth() [all …]
|
| H A D | dce_v10_0.c | 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() 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() 778 static u32 dce_v10_0_data_return_bandwidth(struct dce10_wm_params *wm) in dce_v10_0_data_return_bandwidth() argument 786 sclk.full = dfixed_const(wm->sclk); in dce_v10_0_data_return_bandwidth() 807 static u32 dce_v10_0_dmif_request_bandwidth(struct dce10_wm_params *wm) in dce_v10_0_dmif_request_bandwidth() argument 815 disp_clk.full = dfixed_const(wm->disp_clk); in dce_v10_0_dmif_request_bandwidth() [all …]
|
| H A D | dce_v6_0.c | 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() 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() 631 static u32 dce_v6_0_data_return_bandwidth(struct dce6_wm_params *wm) in dce_v6_0_data_return_bandwidth() argument 639 sclk.full = dfixed_const(wm->sclk); in dce_v6_0_data_return_bandwidth() 660 static u32 dce_v6_0_dmif_request_bandwidth(struct dce6_wm_params *wm) in dce_v6_0_dmif_request_bandwidth() argument 668 disp_clk.full = dfixed_const(wm->disp_clk); in dce_v6_0_dmif_request_bandwidth() [all …]
|
| /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 61 compatible = "wm,wm8650-pll-clock";
|
| /linux/Documentation/devicetree/bindings/display/ |
| H A D | wm,prizm-ge-rops.txt | 5 - compatible : "wm,prizm-ge-rops" 11 compatible = "wm,prizm-ge-rops";
|