/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | wm97xx-core.c | 84 int wm97xx_reg_read(struct wm97xx *wm, u16 reg) in wm97xx_reg_read() argument 86 if (wm->ac97) in wm97xx_reg_read() 87 return wm->ac97->bus->ops->read(wm->ac97, reg); in wm97xx_reg_read() 93 void wm97xx_reg_write(struct wm97xx *wm, u16 reg, u16 val) in wm97xx_reg_write() argument 97 wm->dig[(reg - AC97_WM9713_DIG1) >> 1] = val; in wm97xx_reg_write() 101 wm->gpio[(reg - AC97_GPIO_CFG) >> 1] = val; in wm97xx_reg_write() 105 wm->misc = val; in wm97xx_reg_write() 107 if (wm->ac97) in wm97xx_reg_write() 108 wm in wm97xx_reg_write() 120 wm97xx_read_aux_adc(struct wm97xx *wm, u16 adcsel) wm97xx_read_aux_adc() argument 175 wm97xx_get_gpio(struct wm97xx *wm, u32 gpio) wm97xx_get_gpio() argument 202 wm97xx_set_gpio(struct wm97xx *wm, u32 gpio, enum wm97xx_gpio_status status) wm97xx_set_gpio() argument 227 wm97xx_config_gpio(struct wm97xx *wm, u32 gpio, enum wm97xx_gpio_dir dir, enum wm97xx_gpio_pol pol, enum wm97xx_gpio_sticky sticky, enum wm97xx_gpio_wake wake) wm97xx_config_gpio() argument 280 wm97xx_set_suspend_mode(struct wm97xx *wm, u16 mode) wm97xx_set_suspend_mode() argument 292 struct wm97xx *wm = container_of(work, struct wm97xx, pen_event_work); wm97xx_pen_irq_worker() local 360 struct wm97xx *wm = dev_id; wm97xx_pen_interrupt() local 373 wm97xx_init_pen_irq(struct wm97xx *wm) wm97xx_init_pen_irq() argument 402 wm97xx_read_samples(struct wm97xx *wm) wm97xx_read_samples() argument 475 struct wm97xx *wm = container_of(work, struct wm97xx, ts_reader.work); wm97xx_ts_reader() local 497 struct wm97xx *wm = input_get_drvdata(idev); wm97xx_ts_input_open() local 546 struct wm97xx *wm = input_get_drvdata(idev); wm97xx_ts_input_close() local 580 wm97xx_register_touch(struct wm97xx *wm) wm97xx_register_touch() argument 639 wm97xx_unregister_touch(struct wm97xx *wm) wm97xx_unregister_touch() argument 646 _wm97xx_probe(struct wm97xx *wm) _wm97xx_probe() argument 703 wm97xx_remove_battery(struct wm97xx *wm) wm97xx_remove_battery() argument 708 wm97xx_add_battery(struct wm97xx *wm, struct wm97xx_batt_pdata *pdata) wm97xx_add_battery() argument 729 struct wm97xx *wm; wm97xx_probe() local 757 struct wm97xx *wm = dev_get_drvdata(dev); wm97xx_remove() local 767 struct wm97xx *wm; wm97xx_mfd_probe() local 800 struct wm97xx *wm = dev_get_drvdata(dev); wm97xx_suspend() local 832 struct wm97xx *wm = dev_get_drvdata(dev); wm97xx_resume() local 869 wm97xx_register_mach_ops(struct wm97xx *wm, struct wm97xx_mach_ops *mach_ops) wm97xx_register_mach_ops() argument 884 wm97xx_unregister_mach_ops(struct wm97xx *wm) wm97xx_unregister_mach_ops() argument [all...] |
H A D | wm9713.c | 151 static void wm9713_phy_init(struct wm97xx *wm) in wm9713_phy_init() argument 163 dev_info(wm->dev, "setting pen detect pull-up to %d Ohms\n", in wm9713_phy_init() 170 dev_info(wm->dev, "setting 5-wire touchscreen mode."); in wm9713_phy_init() 173 dev_warn(wm->dev, in wm9713_phy_init() 183 dev_info(wm->dev, in wm9713_phy_init() 186 dev_info(wm->dev, in wm9713_phy_init() 193 dev_info(wm->dev, "supplied delay out of range."); in wm9713_phy_init() 195 dev_info(wm->dev, "setting adc sample delay to %d u Secs.", in wm9713_phy_init() 206 wm->misc = wm97xx_reg_read(wm, in wm9713_phy_init() 214 wm9713_dig_enable(struct wm97xx *wm, int enable) wm9713_dig_enable() argument 232 wm9713_dig_restore(struct wm97xx *wm) wm9713_dig_restore() argument 239 wm9713_aux_prepare(struct wm97xx *wm) wm9713_aux_prepare() argument 247 is_pden(struct wm97xx *wm) is_pden() argument 255 wm9713_poll_sample(struct wm97xx *wm, int adcsel, int *sample) wm9713_poll_sample() argument 320 wm9713_poll_coord(struct wm97xx *wm, struct wm97xx_data *data) wm9713_poll_coord() argument 390 wm9713_poll_touch(struct wm97xx *wm, struct wm97xx_data *data) wm9713_poll_touch() argument 420 wm9713_acc_enable(struct wm97xx *wm, int enable) wm9713_acc_enable() argument [all...] |
H A D | wm9712.c | 151 static void wm9712_phy_init(struct wm97xx *wm) in wm9712_phy_init() argument 160 dev_dbg(wm->dev, "setting pen detect pull-up to %d Ohms\n", in wm9712_phy_init() 167 dev_dbg(wm->dev, "setting 5-wire touchscreen mode.\n"); in wm9712_phy_init() 170 dev_warn(wm->dev, "pressure measurement is not " in wm9712_phy_init() 179 dev_dbg(wm->dev, in wm9712_phy_init() 182 dev_dbg(wm->dev, in wm9712_phy_init() 189 dev_dbg(wm->dev, "supplied delay out of range.\n"); in wm9712_phy_init() 194 dev_dbg(wm->dev, "setting adc sample delay to %d u Secs.\n", in wm9712_phy_init() 202 reg = wm97xx_reg_read(wm, AC97_MISC_AFE); in wm9712_phy_init() 203 wm97xx_reg_write(wm, AC97_MISC_AF in wm9712_phy_init() 216 wm9712_dig_enable(struct wm97xx *wm, int enable) wm9712_dig_enable() argument 229 wm9712_aux_prepare(struct wm97xx *wm) wm9712_aux_prepare() argument 236 wm9712_dig_restore(struct wm97xx *wm) wm9712_dig_restore() argument 242 is_pden(struct wm97xx *wm) is_pden() argument 250 wm9712_poll_sample(struct wm97xx *wm, int adcsel, int *sample) wm9712_poll_sample() argument 314 wm9712_poll_coord(struct wm97xx *wm, struct wm97xx_data *data) wm9712_poll_coord() argument 379 wm9712_poll_touch(struct wm97xx *wm, struct wm97xx_data *data) wm9712_poll_touch() argument 413 wm9712_acc_enable(struct wm97xx *wm, int enable) wm9712_acc_enable() argument [all...] |
H A D | wm9705.c | 133 static void wm9705_phy_init(struct wm97xx *wm) in wm9705_phy_init() argument 141 wm97xx_reg_write(wm, AC97_AUX, 0x8000); in wm9705_phy_init() 142 wm97xx_reg_write(wm, AC97_VIDEO, 0x8000); in wm9705_phy_init() 147 dev_dbg(wm->dev, in wm9705_phy_init() 150 dev_dbg(wm->dev, in wm9705_phy_init() 158 dev_dbg(wm->dev, "supplied delay out of range."); in wm9705_phy_init() 164 dev_dbg(wm->dev, "setting adc sample delay to %d u Secs.", in wm9705_phy_init() 169 dev_dbg(wm->dev, "setting pdd to Vmid/%d", 1 - (pdd & 0x000f)); in wm9705_phy_init() 174 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, dig1); in wm9705_phy_init() 175 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER in wm9705_phy_init() 178 wm9705_dig_enable(struct wm97xx *wm, int enable) wm9705_dig_enable() argument 189 wm9705_aux_prepare(struct wm97xx *wm) wm9705_aux_prepare() argument 196 wm9705_dig_restore(struct wm97xx *wm) wm9705_dig_restore() argument 202 is_pden(struct wm97xx *wm) is_pden() argument 210 wm9705_poll_sample(struct wm97xx *wm, int adcsel, int *sample) wm9705_poll_sample() argument 270 wm9705_poll_touch(struct wm97xx *wm, struct wm97xx_data *data) wm9705_poll_touch() argument 294 wm9705_acc_enable(struct wm97xx *wm, int enable) wm9705_acc_enable() argument [all...] |
H A D | mainstone-wm97xx.c | 101 static void wm97xx_acc_pen_up(struct wm97xx *wm) in wm97xx_acc_pen_up() argument 109 static void wm97xx_acc_pen_up(struct wm97xx *wm) in wm97xx_acc_pen_up() argument 120 static int wm97xx_acc_pen_down(struct wm97xx *wm) in wm97xx_acc_pen_down() argument 150 dev_dbg(wm->dev, "Raw coordinates: x=%x, y=%x, p=%x\n", in wm97xx_acc_pen_down() 161 input_report_abs(wm->input_dev, ABS_X, x & 0xfff); in wm97xx_acc_pen_down() 162 input_report_abs(wm->input_dev, ABS_Y, y & 0xfff); in wm97xx_acc_pen_down() 163 input_report_abs(wm->input_dev, ABS_PRESSURE, p & 0xfff); in wm97xx_acc_pen_down() 164 input_report_key(wm->input_dev, BTN_TOUCH, (p != 0)); in wm97xx_acc_pen_down() 165 input_sync(wm->input_dev); in wm97xx_acc_pen_down() 172 static int wm97xx_acc_startup(struct wm97xx *wm) in wm97xx_acc_startup() argument 249 wm97xx_acc_shutdown(struct wm97xx *wm) wm97xx_acc_shutdown() argument 259 wm97xx_irq_enable(struct wm97xx *wm, int enable) wm97xx_irq_enable() argument 279 struct wm97xx *wm = platform_get_drvdata(pdev); mainstone_wm97xx_probe() local 286 struct wm97xx *wm = platform_get_drvdata(pdev); mainstone_wm97xx_remove() local [all...] |
H A D | zylonite-wm97xx.c | 76 static void wm97xx_acc_pen_up(struct wm97xx *wm) in wm97xx_acc_pen_up() argument 86 static int wm97xx_acc_pen_down(struct wm97xx *wm) in wm97xx_acc_pen_down() argument 117 dev_dbg(wm->dev, "Raw coordinates: x=%x, y=%x, p=%x\n", in wm97xx_acc_pen_down() 128 input_report_abs(wm->input_dev, ABS_X, x & 0xfff); in wm97xx_acc_pen_down() 129 input_report_abs(wm->input_dev, ABS_Y, y & 0xfff); in wm97xx_acc_pen_down() 130 input_report_abs(wm->input_dev, ABS_PRESSURE, p & 0xfff); in wm97xx_acc_pen_down() 131 input_report_key(wm->input_dev, BTN_TOUCH, (p != 0)); in wm97xx_acc_pen_down() 132 input_sync(wm->input_dev); in wm97xx_acc_pen_down() 139 static int wm97xx_acc_startup(struct wm97xx *wm) in wm97xx_acc_startup() argument 144 if (wm in wm97xx_acc_startup() 164 wm97xx_irq_enable(struct wm97xx *wm, int enable) wm97xx_irq_enable() argument 183 struct wm97xx *wm = platform_get_drvdata(pdev); zylonite_wm97xx_probe() local 208 struct wm97xx *wm = platform_get_drvdata(pdev); zylonite_wm97xx_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | wm97xx-core.c | 84 int wm97xx_reg_read(struct wm97xx *wm, u16 reg) in wm97xx_reg_read() argument 86 if (wm->ac97) in wm97xx_reg_read() 87 return wm->ac97->bus->ops->read(wm->ac97, reg); in wm97xx_reg_read() 93 void wm97xx_reg_write(struct wm97xx *wm, u16 reg, u16 val) in wm97xx_reg_write() argument 97 wm->dig[(reg - AC97_WM9713_DIG1) >> 1] = val; in wm97xx_reg_write() 101 wm->gpio[(reg - AC97_GPIO_CFG) >> 1] = val; in wm97xx_reg_write() 105 wm->misc = val; in wm97xx_reg_write() 107 if (wm->ac97) in wm97xx_reg_write() 108 wm in wm97xx_reg_write() 120 wm97xx_read_aux_adc(struct wm97xx *wm, u16 adcsel) wm97xx_read_aux_adc() argument 175 wm97xx_get_gpio(struct wm97xx *wm, u32 gpio) wm97xx_get_gpio() argument 202 wm97xx_set_gpio(struct wm97xx *wm, u32 gpio, enum wm97xx_gpio_status status) wm97xx_set_gpio() argument 227 wm97xx_config_gpio(struct wm97xx *wm, u32 gpio, enum wm97xx_gpio_dir dir, enum wm97xx_gpio_pol pol, enum wm97xx_gpio_sticky sticky, enum wm97xx_gpio_wake wake) wm97xx_config_gpio() argument 280 wm97xx_set_suspend_mode(struct wm97xx *wm, u16 mode) wm97xx_set_suspend_mode() argument 293 struct wm97xx *wm = dev_id; wm97xx_pen_interrupt() local 353 wm97xx_init_pen_irq(struct wm97xx *wm) wm97xx_init_pen_irq() argument 379 wm97xx_read_samples(struct wm97xx *wm) wm97xx_read_samples() argument 452 struct wm97xx *wm = container_of(work, struct wm97xx, ts_reader.work); wm97xx_ts_reader() local 474 struct wm97xx *wm = input_get_drvdata(idev); wm97xx_ts_input_open() local 522 struct wm97xx *wm = input_get_drvdata(idev); wm97xx_ts_input_close() local 552 wm97xx_register_touch(struct wm97xx *wm) wm97xx_register_touch() argument 607 wm97xx_unregister_touch(struct wm97xx *wm) wm97xx_unregister_touch() argument 612 _wm97xx_probe(struct wm97xx *wm) _wm97xx_probe() argument 669 wm97xx_remove_battery(struct wm97xx *wm) wm97xx_remove_battery() argument 674 wm97xx_add_battery(struct wm97xx *wm, struct wm97xx_batt_pdata *pdata) wm97xx_add_battery() argument 695 struct wm97xx *wm; wm97xx_probe() local 723 struct wm97xx *wm = dev_get_drvdata(dev); wm97xx_remove() local 733 struct wm97xx *wm; wm97xx_mfd_probe() local 768 struct wm97xx *wm = dev_get_drvdata(dev); wm97xx_suspend() local 802 struct wm97xx *wm = dev_get_drvdata(dev); wm97xx_resume() local 841 wm97xx_register_mach_ops(struct wm97xx *wm, struct wm97xx_mach_ops *mach_ops) wm97xx_register_mach_ops() argument 856 wm97xx_unregister_mach_ops(struct wm97xx *wm) wm97xx_unregister_mach_ops() argument [all...] |
H A D | wm9713.c | 151 static void wm9713_phy_init(struct wm97xx *wm) in wm9713_phy_init() argument 163 dev_info(wm->dev, "setting pen detect pull-up to %d Ohms\n", in wm9713_phy_init() 170 dev_info(wm->dev, "setting 5-wire touchscreen mode."); in wm9713_phy_init() 173 dev_warn(wm->dev, in wm9713_phy_init() 183 dev_info(wm->dev, in wm9713_phy_init() 186 dev_info(wm->dev, in wm9713_phy_init() 193 dev_info(wm->dev, "supplied delay out of range."); in wm9713_phy_init() 195 dev_info(wm->dev, "setting adc sample delay to %d u Secs.", in wm9713_phy_init() 206 wm->misc = wm97xx_reg_read(wm, in wm9713_phy_init() 214 wm9713_dig_enable(struct wm97xx *wm, int enable) wm9713_dig_enable() argument 232 wm9713_dig_restore(struct wm97xx *wm) wm9713_dig_restore() argument 239 wm9713_aux_prepare(struct wm97xx *wm) wm9713_aux_prepare() argument 247 is_pden(struct wm97xx *wm) is_pden() argument 255 wm9713_poll_sample(struct wm97xx *wm, int adcsel, int *sample) wm9713_poll_sample() argument 320 wm9713_poll_coord(struct wm97xx *wm, struct wm97xx_data *data) wm9713_poll_coord() argument 390 wm9713_poll_touch(struct wm97xx *wm, struct wm97xx_data *data) wm9713_poll_touch() argument 420 wm9713_acc_enable(struct wm97xx *wm, int enable) wm9713_acc_enable() argument [all...] |
H A D | wm9712.c | 151 static void wm9712_phy_init(struct wm97xx *wm) in wm9712_phy_init() argument 160 dev_dbg(wm->dev, "setting pen detect pull-up to %d Ohms\n", in wm9712_phy_init() 167 dev_dbg(wm->dev, "setting 5-wire touchscreen mode.\n"); in wm9712_phy_init() 170 dev_warn(wm->dev, "pressure measurement is not " in wm9712_phy_init() 179 dev_dbg(wm->dev, in wm9712_phy_init() 182 dev_dbg(wm->dev, in wm9712_phy_init() 189 dev_dbg(wm->dev, "supplied delay out of range.\n"); in wm9712_phy_init() 194 dev_dbg(wm->dev, "setting adc sample delay to %d u Secs.\n", in wm9712_phy_init() 202 reg = wm97xx_reg_read(wm, AC97_MISC_AFE); in wm9712_phy_init() 203 wm97xx_reg_write(wm, AC97_MISC_AF in wm9712_phy_init() 216 wm9712_dig_enable(struct wm97xx *wm, int enable) wm9712_dig_enable() argument 229 wm9712_aux_prepare(struct wm97xx *wm) wm9712_aux_prepare() argument 236 wm9712_dig_restore(struct wm97xx *wm) wm9712_dig_restore() argument 242 is_pden(struct wm97xx *wm) is_pden() argument 250 wm9712_poll_sample(struct wm97xx *wm, int adcsel, int *sample) wm9712_poll_sample() argument 314 wm9712_poll_coord(struct wm97xx *wm, struct wm97xx_data *data) wm9712_poll_coord() argument 379 wm9712_poll_touch(struct wm97xx *wm, struct wm97xx_data *data) wm9712_poll_touch() argument 413 wm9712_acc_enable(struct wm97xx *wm, int enable) wm9712_acc_enable() argument [all...] |
H A D | wm9705.c | 133 static void wm9705_phy_init(struct wm97xx *wm) in wm9705_phy_init() argument 141 wm97xx_reg_write(wm, AC97_AUX, 0x8000); in wm9705_phy_init() 142 wm97xx_reg_write(wm, AC97_VIDEO, 0x8000); in wm9705_phy_init() 147 dev_dbg(wm->dev, in wm9705_phy_init() 150 dev_dbg(wm->dev, in wm9705_phy_init() 158 dev_dbg(wm->dev, "supplied delay out of range."); in wm9705_phy_init() 164 dev_dbg(wm->dev, "setting adc sample delay to %d u Secs.", in wm9705_phy_init() 169 dev_dbg(wm->dev, "setting pdd to Vmid/%d", 1 - (pdd & 0x000f)); in wm9705_phy_init() 174 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, dig1); in wm9705_phy_init() 175 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER in wm9705_phy_init() 178 wm9705_dig_enable(struct wm97xx *wm, int enable) wm9705_dig_enable() argument 189 wm9705_aux_prepare(struct wm97xx *wm) wm9705_aux_prepare() argument 196 wm9705_dig_restore(struct wm97xx *wm) wm9705_dig_restore() argument 202 is_pden(struct wm97xx *wm) is_pden() argument 210 wm9705_poll_sample(struct wm97xx *wm, int adcsel, int *sample) wm9705_poll_sample() argument 270 wm9705_poll_touch(struct wm97xx *wm, struct wm97xx_data *data) wm9705_poll_touch() argument 294 wm9705_acc_enable(struct wm97xx *wm, int enable) wm9705_acc_enable() argument [all...] |
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 in wm97xx_acc_startup() 229 wm97xx_acc_shutdown(struct wm97xx *wm) wm97xx_acc_shutdown() argument 250 struct wm97xx *wm = platform_get_drvdata(pdev); mainstone_wm97xx_probe() local 257 struct wm97xx *wm = platform_get_drvdata(pdev); mainstone_wm97xx_remove() local [all...] |
/kernel/linux/linux-5.10/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 164 snd_wm8766_set_if(struct snd_wm8766 *wm, u16 dac) snd_wm8766_set_if() argument 172 snd_wm8766_volume_restore(struct snd_wm8766 *wm) snd_wm8766_volume_restore() argument 184 struct snd_wm8766 *wm = snd_kcontrol_chip(kcontrol); snd_wm8766_volume_info() local 198 struct snd_wm8766 *wm = snd_kcontrol_chip(kcontrol); snd_wm8766_enum_info() local 208 struct snd_wm8766 *wm = snd_kcontrol_chip(kcontrol); snd_wm8766_ctl_get() local 239 struct snd_wm8766 *wm = snd_kcontrol_chip(kcontrol); snd_wm8766_ctl_put() local 276 snd_wm8766_add_control(struct snd_wm8766 *wm, int num) snd_wm8766_add_control() argument 320 snd_wm8766_build_controls(struct snd_wm8766 *wm) snd_wm8766_build_controls() 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() 55 static void snd_wm8776_update_agc_ctl(struct snd_wm8776 *wm) in snd_wm8776_update_agc_ctl() argument 59 switch (wm->agc_mode) { in snd_wm8776_update_agc_ctl() 76 if (wm->ctl[i].flags & flags_off) in snd_wm8776_update_agc_ctl() 77 snd_wm8776_activate_ctl(wm, w in snd_wm8776_update_agc_ctl() 82 snd_wm8776_set_agc(struct snd_wm8776 *wm, u16 agc, u16 nothing) snd_wm8776_set_agc() argument 116 snd_wm8776_get_agc(struct snd_wm8776 *wm, u16 *mode, u16 *nothing) snd_wm8776_get_agc() argument 412 snd_wm8776_init(struct snd_wm8776 *wm) snd_wm8776_init() argument 433 snd_wm8776_resume(struct snd_wm8776 *wm) snd_wm8776_resume() argument 441 snd_wm8776_set_power(struct snd_wm8776 *wm, u16 power) snd_wm8776_set_power() argument 446 snd_wm8776_volume_restore(struct snd_wm8776 *wm) snd_wm8776_volume_restore() argument 458 struct snd_wm8776 *wm = snd_kcontrol_chip(kcontrol); snd_wm8776_volume_info() local 472 struct snd_wm8776 *wm = snd_kcontrol_chip(kcontrol); snd_wm8776_enum_info() local 482 struct snd_wm8776 *wm = snd_kcontrol_chip(kcontrol); snd_wm8776_ctl_get() local 513 struct snd_wm8776 *wm = snd_kcontrol_chip(kcontrol); snd_wm8776_ctl_put() local 550 snd_wm8776_add_control(struct snd_wm8776 *wm, int num) snd_wm8776_add_control() argument 593 snd_wm8776_build_controls(struct snd_wm8776 *wm) snd_wm8776_build_controls() argument [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 534 wm8776_init(struct snd_ice1712 *ice, struct snd_wm8776 *wm, unsigned int addr) wm8776_init() argument [all...] |
/kernel/linux/linux-6.6/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 164 snd_wm8766_set_if(struct snd_wm8766 *wm, u16 dac) snd_wm8766_set_if() argument 172 snd_wm8766_volume_restore(struct snd_wm8766 *wm) snd_wm8766_volume_restore() argument 184 struct snd_wm8766 *wm = snd_kcontrol_chip(kcontrol); snd_wm8766_volume_info() local 198 struct snd_wm8766 *wm = snd_kcontrol_chip(kcontrol); snd_wm8766_enum_info() local 208 struct snd_wm8766 *wm = snd_kcontrol_chip(kcontrol); snd_wm8766_ctl_get() local 239 struct snd_wm8766 *wm = snd_kcontrol_chip(kcontrol); snd_wm8766_ctl_put() local 276 snd_wm8766_add_control(struct snd_wm8766 *wm, int num) snd_wm8766_add_control() argument 320 snd_wm8766_build_controls(struct snd_wm8766 *wm) snd_wm8766_build_controls() 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, w in snd_wm8776_update_agc_ctl() 78 snd_wm8776_set_agc(struct snd_wm8776 *wm, u16 agc, u16 nothing) snd_wm8776_set_agc() argument 112 snd_wm8776_get_agc(struct snd_wm8776 *wm, u16 *mode, u16 *nothing) snd_wm8776_get_agc() argument 408 snd_wm8776_init(struct snd_wm8776 *wm) snd_wm8776_init() argument 429 snd_wm8776_resume(struct snd_wm8776 *wm) snd_wm8776_resume() argument 437 snd_wm8776_set_power(struct snd_wm8776 *wm, u16 power) snd_wm8776_set_power() argument 442 snd_wm8776_volume_restore(struct snd_wm8776 *wm) snd_wm8776_volume_restore() argument 454 struct snd_wm8776 *wm = snd_kcontrol_chip(kcontrol); snd_wm8776_volume_info() local 468 struct snd_wm8776 *wm = snd_kcontrol_chip(kcontrol); snd_wm8776_enum_info() local 478 struct snd_wm8776 *wm = snd_kcontrol_chip(kcontrol); snd_wm8776_ctl_get() local 509 struct snd_wm8776 *wm = snd_kcontrol_chip(kcontrol); snd_wm8776_ctl_put() local 546 snd_wm8776_add_control(struct snd_wm8776 *wm, int num) snd_wm8776_add_control() argument 589 snd_wm8776_build_controls(struct snd_wm8776 *wm) snd_wm8776_build_controls() argument [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 534 wm8776_init(struct snd_ice1712 *ice, struct snd_wm8776 *wm, unsigned int addr) wm8776_init() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | i9xx_wm.c | 232 mutex_lock(&dev_priv->display.wm.wm_mutex); in intel_set_memory_cxsr() 235 dev_priv->display.wm.vlv.cxsr = enable; in intel_set_memory_cxsr() 237 dev_priv->display.wm.g4x.cxsr = enable; in intel_set_memory_cxsr() 238 mutex_unlock(&dev_priv->display.wm.wm_mutex); in intel_set_memory_cxsr() 266 struct vlv_fifo_state *fifo_state = &crtc_state->wm.vlv.fifo_state; in vlv_get_fifo_size() 529 * @wm: chip FIFO params 546 const struct intel_watermark_params *wm, in intel_calculate_wm() 560 entries = DIV_ROUND_UP(entries, wm->cacheline_size) + in intel_calculate_wm() 561 wm->guard_size; in intel_calculate_wm() 568 if (wm_size > wm in intel_calculate_wm() 545 intel_calculate_wm(int pixel_rate, const struct intel_watermark_params *wm, int fifo_size, int cpp, unsigned int latency_ns) intel_calculate_wm() argument 635 unsigned int wm; pnv_update_wm() local 711 g4x_write_wm_values(struct drm_i915_private *dev_priv, const struct g4x_wm_values *wm) g4x_write_wm_values() argument 743 vlv_write_wm_values(struct drm_i915_private *dev_priv, const struct vlv_wm_values *wm) vlv_write_wm_values() argument 749 trace_vlv_wm(intel_crtc_for_pipe(dev_priv, pipe), wm); vlv_write_wm_values() local 882 unsigned int pixel_rate, htotal, cpp, width, wm; g4x_compute_wm() local 986 int wm, max_wm; g4x_raw_plane_wm_compute() local 1275 g4x_merge_wm(struct drm_i915_private *dev_priv, struct g4x_wm_values *wm) g4x_merge_wm() argument 1408 unsigned int pixel_rate, htotal, cpp, width, wm; vlv_compute_wm_level() local 1543 vlv_invert_wm_value(u16 wm, u16 fifo_size) vlv_invert_wm_value() argument 1587 int wm = vlv_compute_wm_level(crtc_state, plane_state, level); vlv_raw_plane_wm_compute() local 1901 vlv_merge_wm(struct drm_i915_private *dev_priv, struct vlv_wm_values *wm) vlv_merge_wm() argument 2610 hsw_read_wm_latency(struct drm_i915_private *i915, u16 wm[]) hsw_read_wm_latency() argument 2627 snb_read_wm_latency(struct drm_i915_private *i915, u16 wm[]) snb_read_wm_latency() argument 2641 ilk_read_wm_latency(struct drm_i915_private *i915, u16 wm[]) ilk_read_wm_latency() argument 2655 intel_fixup_spr_wm_latency(struct drm_i915_private *dev_priv, u16 wm[5]) intel_fixup_spr_wm_latency() argument 2663 intel_fixup_cur_wm_latency(struct drm_i915_private *dev_priv, u16 wm[5]) intel_fixup_cur_wm_latency() argument 2671 ilk_increase_wm_latency(struct drm_i915_private *dev_priv, u16 wm[5], u16 min) ilk_increase_wm_latency() argument 2838 struct intel_wm_level *wm = &pipe_wm->wm[level]; ilk_compute_pipe_wm() local 2932 const struct intel_wm_level *wm = &active->wm[level]; ilk_merge_wm_level() local 2973 struct intel_wm_level *wm = &merged->wm[level]; ilk_wm_merge() local 2998 struct intel_wm_level *wm = &merged->wm[level]; ilk_wm_merge() local 3269 const struct intel_pipe_wm *wm = &crtc->wm.active.ilk; ilk_compute_wm_config() local 3511 g4x_read_wm_values(struct drm_i915_private *dev_priv, struct g4x_wm_values *wm) g4x_read_wm_values() argument 3537 vlv_read_wm_values(struct drm_i915_private *dev_priv, struct vlv_wm_values *wm) vlv_read_wm_values() argument 3615 struct g4x_wm_values *wm = &dev_priv->display.wm.g4x; g4x_wm_get_hw_state() local 3763 struct vlv_wm_values *wm = &dev_priv->display.wm.vlv; vlv_wm_get_hw_state() local [all...] |
H A D | skl_watermark.c | 355 const struct skl_plane_wm *wm = in skl_crtc_can_enable_sagv() local 356 &crtc_state->wm.skl.optimal.planes[plane_id]; in skl_crtc_can_enable_sagv() 360 if (!wm->wm[0].enable) in skl_crtc_can_enable_sagv() 363 /* Find the highest enabled wm level for this plane */ in skl_crtc_can_enable_sagv() 364 for (level = i915->display.wm.num_levels - 1; in skl_crtc_can_enable_sagv() 365 !wm->wm[level].enable; --level) in skl_crtc_can_enable_sagv() 368 /* Highest common enabled wm level for all planes */ in skl_crtc_can_enable_sagv() 377 const struct skl_plane_wm *wm in skl_crtc_can_enable_sagv() local 400 const struct skl_plane_wm *wm = tgl_crtc_can_enable_sagv() local 740 struct skl_wm_level wm = {}; skl_cursor_allocation() local 1387 const struct skl_plane_wm *wm = &pipe_wm->planes[plane_id]; skl_plane_wm_level() local 1399 const struct skl_plane_wm *wm = &pipe_wm->planes[plane_id]; skl_plane_trans_wm() local 1420 skl_check_wm_level(struct skl_wm_level *wm, const struct skl_ddb_entry *ddb) skl_check_wm_level() argument 1427 skl_check_nv12_wm_level(struct skl_wm_level *wm, struct skl_wm_level *uv_wm, const struct skl_ddb_entry *ddb_y, const struct skl_ddb_entry *ddb) skl_check_nv12_wm_level() argument 1437 skl_need_wm_copy_wa(struct drm_i915_private *i915, int level, const struct skl_plane_wm *wm) skl_need_wm_copy_wa() argument 1461 skl_allocate_plane_ddb(struct skl_plane_ddb_iter *iter, struct skl_ddb_entry *ddb, const struct skl_wm_level *wm, u64 data_rate) skl_allocate_plane_ddb() argument 1531 const struct skl_plane_wm *wm = skl_crtc_allocate_plane_ddb() local 1579 const struct skl_plane_wm *wm = skl_crtc_allocate_plane_ddb() local 1610 struct skl_plane_wm *wm = skl_crtc_allocate_plane_ddb() local 1638 struct skl_plane_wm *wm = skl_crtc_allocate_plane_ddb() local 2092 struct skl_plane_wm *wm = &crtc_state->wm.skl.raw.planes[plane->id]; skl_build_plane_wm_single() local 2120 struct skl_plane_wm *wm = &crtc_state->wm.skl.raw.planes[plane->id]; skl_build_plane_wm_uv() local 2142 struct skl_plane_wm *wm = &crtc_state->wm.skl.raw.planes[plane_id]; skl_build_plane_wm() local 2172 struct skl_plane_wm *wm = &crtc_state->wm.skl.raw.planes[plane_id]; icl_build_plane_wm() local 2229 const struct skl_plane_wm *wm = &crtc_state->wm.skl.optimal.planes[plane_id]; skl_max_wm0_lines() local 2289 struct skl_plane_wm *wm = skl_wm_check_vblank() local 2308 struct skl_plane_wm *wm = skl_wm_check_vblank() local 2400 const struct skl_plane_wm *wm = &pipe_wm->planes[plane_id]; skl_write_plane_wm() local 2435 const struct skl_plane_wm *wm = &pipe_wm->planes[plane_id]; skl_write_cursor_wm() local 2954 struct skl_plane_wm *wm = &out->planes[plane_id]; skl_pipe_wm_get_hw_state() local 3142 struct skl_pipe_wm wm; intel_wm_state_verify() member 3295 adjust_wm_latency(struct drm_i915_private *i915, u16 wm[], int num_levels, int read_latency) adjust_wm_latency() argument 3338 mtl_read_wm_latency(struct drm_i915_private *i915, u16 wm[]) mtl_read_wm_latency() argument 3358 skl_read_wm_latency(struct drm_i915_private *i915, u16 wm[]) skl_read_wm_latency() argument [all...] |
H A D | intel_wm.c | 47 if (i915->display.funcs.wm->update_wm) in intel_update_watermarks() 48 i915->display.funcs.wm->update_wm(i915); in intel_update_watermarks() 56 if (i915->display.funcs.wm->compute_pipe_wm) in intel_compute_pipe_wm() 57 return i915->display.funcs.wm->compute_pipe_wm(state, crtc); in intel_compute_pipe_wm() 67 if (!i915->display.funcs.wm->compute_intermediate_wm) in intel_compute_intermediate_wm() 70 if (drm_WARN_ON(&i915->drm, !i915->display.funcs.wm->compute_pipe_wm)) in intel_compute_intermediate_wm() 73 return i915->display.funcs.wm->compute_intermediate_wm(state, crtc); in intel_compute_intermediate_wm() 81 if (i915->display.funcs.wm->initial_watermarks) { in intel_initial_watermarks() 82 i915->display.funcs.wm->initial_watermarks(state, crtc); in intel_initial_watermarks() 94 if (i915->display.funcs.wm in intel_atomic_update_watermarks() 146 intel_print_wm_latency(struct drm_i915_private *dev_priv, const char *name, const u16 wm[]) intel_print_wm_latency() argument 184 wm_latency_show(struct seq_file *m, const u16 wm[8]) wm_latency_show() argument 288 wm_latency_write(struct file *file, const char __user *ubuf, size_t len, loff_t *offp, u16 wm[8]) wm_latency_write() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | intel_pm.c | 455 mutex_lock(&dev_priv->wm.wm_mutex); in intel_set_memory_cxsr() 458 dev_priv->wm.vlv.cxsr = enable; in intel_set_memory_cxsr() 460 dev_priv->wm.g4x.cxsr = enable; in intel_set_memory_cxsr() 461 mutex_unlock(&dev_priv->wm.wm_mutex); in intel_set_memory_cxsr() 489 struct vlv_fifo_state *fifo_state = &crtc_state->wm.vlv.fifo_state; in vlv_get_fifo_size() 752 * @wm: chip FIFO params 769 const struct intel_watermark_params *wm, in intel_calculate_wm() 783 entries = DIV_ROUND_UP(entries, wm->cacheline_size) + in intel_calculate_wm() 784 wm->guard_size; in intel_calculate_wm() 791 if (wm_size > wm in intel_calculate_wm() 768 intel_calculate_wm(int pixel_rate, const struct intel_watermark_params *wm, int fifo_size, int cpp, unsigned int latency_ns) intel_calculate_wm() argument 887 unsigned int wm; pnv_update_wm() local 970 g4x_write_wm_values(struct drm_i915_private *dev_priv, const struct g4x_wm_values *wm) g4x_write_wm_values() argument 1002 vlv_write_wm_values(struct drm_i915_private *dev_priv, const struct vlv_wm_values *wm) vlv_write_wm_values() argument 1008 trace_vlv_wm(intel_get_crtc_for_pipe(dev_priv, pipe), wm); vlv_write_wm_values() local 1141 unsigned int clock, htotal, cpp, width, wm; g4x_compute_wm() local 1251 int wm, max_wm; g4x_raw_plane_wm_compute() local 1532 g4x_merge_wm(struct drm_i915_private *dev_priv, struct g4x_wm_values *wm) g4x_merge_wm() argument 1665 unsigned int clock, htotal, cpp, width, wm; vlv_compute_wm_level() local 1800 vlv_invert_wm_value(u16 wm, u16 fifo_size) vlv_invert_wm_value() argument 1846 int wm = vlv_compute_wm_level(crtc_state, plane_state, level); vlv_raw_plane_wm_compute() local 2146 vlv_merge_wm(struct drm_i915_private *dev_priv, struct vlv_wm_values *wm) vlv_merge_wm() argument 2848 intel_read_wm_latency(struct drm_i915_private *dev_priv, u16 wm[]) intel_read_wm_latency() argument 2964 intel_fixup_spr_wm_latency(struct drm_i915_private *dev_priv, u16 wm[5]) intel_fixup_spr_wm_latency() argument 2972 intel_fixup_cur_wm_latency(struct drm_i915_private *dev_priv, u16 wm[5]) intel_fixup_cur_wm_latency() argument 2993 intel_print_wm_latency(struct drm_i915_private *dev_priv, const char *name, const u16 wm[]) intel_print_wm_latency() argument 3024 ilk_increase_wm_latency(struct drm_i915_private *dev_priv, u16 wm[5], u16 min) ilk_increase_wm_latency() argument 3194 struct intel_wm_level *wm = &pipe_wm->wm[level]; ilk_compute_pipe_wm() local 3287 const struct intel_wm_level *wm = &active->wm[level]; ilk_merge_wm_level() local 3328 struct intel_wm_level *wm = &merged->wm[level]; ilk_wm_merge() local 3358 struct intel_wm_level *wm = &merged->wm[level]; ilk_wm_merge() local 3890 const struct skl_plane_wm *wm = skl_crtc_can_enable_sagv() local 3932 const struct skl_plane_wm *wm = tgl_crtc_can_enable_sagv() local 4263 struct skl_wm_level wm = {}; skl_cursor_allocation() local 4785 const struct skl_plane_wm *wm = &pipe_wm->planes[plane_id]; skl_plane_wm_level() local 4881 const struct skl_plane_wm *wm = skl_allocate_pipe_ddb() local 4918 const struct skl_plane_wm *wm = skl_allocate_pipe_ddb() local 4991 struct skl_plane_wm *wm = skl_allocate_pipe_ddb() local 5028 struct skl_plane_wm *wm = skl_allocate_pipe_ddb() local 5416 skl_compute_transition_wm(const struct intel_crtc_state *crtc_state, const struct skl_wm_params *wp, struct skl_plane_wm *wm) skl_compute_transition_wm() argument 5485 struct skl_plane_wm *wm = &crtc_state->wm.skl.optimal.planes[plane_id]; skl_build_plane_wm_single() local 5508 struct skl_plane_wm *wm = &crtc_state->wm.skl.optimal.planes[plane_id]; skl_build_plane_wm_uv() local 5652 const struct skl_plane_wm *wm = skl_write_plane_wm() local 5692 const struct skl_plane_wm *wm = skl_write_cursor_wm() local 6150 const struct intel_pipe_wm *wm = &crtc->wm.active.ilk; ilk_compute_wm_config() local 6243 struct skl_plane_wm *wm = &out->planes[plane_id]; skl_pipe_wm_get_hw_state() local 6339 g4x_read_wm_values(struct drm_i915_private *dev_priv, struct g4x_wm_values *wm) g4x_read_wm_values() argument 6365 vlv_read_wm_values(struct drm_i915_private *dev_priv, struct vlv_wm_values *wm) vlv_read_wm_values() argument 6443 struct g4x_wm_values *wm = &dev_priv->wm.g4x; g4x_wm_get_hw_state() local 6586 struct vlv_wm_values *wm = &dev_priv->wm.vlv; vlv_wm_get_hw_state() local [all...] |
/kernel/linux/linux-6.6/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, u [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/ |
H A D | camss-vfe.h | 86 void (*wm_enable)(struct vfe_device *vfe, u8 wm, u8 enable); 87 void (*wm_frame_based)(struct vfe_device *vfe, u8 wm, u8 enable); 88 void (*wm_line_based)(struct vfe_device *vfe, u32 wm, 91 void (*wm_set_framedrop_period)(struct vfe_device *vfe, u8 wm, u8 per); 92 void (*wm_set_framedrop_pattern)(struct vfe_device *vfe, u8 wm, 94 void (*wm_set_ub_cfg)(struct vfe_device *vfe, u8 wm, u16 offset, 96 void (*bus_reload_wm)(struct vfe_device *vfe, u8 wm); 97 void (*wm_set_ping_addr)(struct vfe_device *vfe, u8 wm, u32 addr); 98 void (*wm_set_pong_addr)(struct vfe_device *vfe, u8 wm, u32 addr); 99 int (*wm_get_ping_pong_status)(struct vfe_device *vfe, u8 wm); [all...] |
/kernel/linux/linux-5.10/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 in i740_calc_fifo() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | i740fb.c | 220 u32 wm; in i740_calc_fifo() local 225 wm = 0x18120000; in i740_calc_fifo() 227 wm = 0x16110000; in i740_calc_fifo() 229 wm = 0x120E0000; in i740_calc_fifo() 231 wm = 0x100D0000; in i740_calc_fifo() 237 wm = 0x2C1D0000; in i740_calc_fifo() 239 wm = 0x2C180000; in i740_calc_fifo() 241 wm = 0x24160000; in i740_calc_fifo() 243 wm = 0x18120000; in i740_calc_fifo() 245 wm in i740_calc_fifo() [all...] |