Home
last modified time | relevance | path

Searched refs:balance (Results 1 - 25 of 46) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/media/radio/
H A Dradio-sf16fmr2.c36 struct v4l2_ctrl *balance; member
153 int volume, balance, left, right; in fmr2_s_ctrl() local
158 balance = fmr2->balance->cur.val; in fmr2_s_ctrl()
161 balance = ctrl->val; in fmr2_s_ctrl()
169 if (balance < 0) in fmr2_s_ctrl()
170 right = max(0, right + balance); in fmr2_s_ctrl()
171 if (balance > 0) in fmr2_s_ctrl()
172 left = max(0, left - balance); in fmr2_s_ctrl()
191 fmr2->balance in fmr2_tea_ext_init()
[all...]
/kernel/linux/linux-6.6/drivers/media/radio/
H A Dradio-sf16fmr2.c36 struct v4l2_ctrl *balance; member
153 int volume, balance, left, right; in fmr2_s_ctrl() local
158 balance = fmr2->balance->cur.val; in fmr2_s_ctrl()
161 balance = ctrl->val; in fmr2_s_ctrl()
169 if (balance < 0) in fmr2_s_ctrl()
170 right = max(0, right + balance); in fmr2_s_ctrl()
171 if (balance > 0) in fmr2_s_ctrl()
172 left = max(0, left - balance); in fmr2_s_ctrl()
191 fmr2->balance in fmr2_tea_ext_init()
[all...]
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dtda7432.c5 * Handles audio functions: volume, balance, tone, loudness
71 /* mute/balance cluster */
73 struct v4l2_ctrl *balance; member
93 * The TDA7432 controls basic audio functions like volume, balance,
280 if (t->balance->val < 0) { in tda7432_s_ctrl()
282 rr = rf = -t->balance->val; in tda7432_s_ctrl()
284 } else if (t->balance->val > 0) { in tda7432_s_ctrl()
287 lr = lf = t->balance->val; in tda7432_s_ctrl()
299 /* Mute & update balance*/ in tda7432_s_ctrl()
365 t->balance in tda7432_probe()
[all...]
H A Dwm8739.c47 struct v4l2_ctrl *balance; member
102 work_l = (min(65536 - state->balance->val, 32768) * state->volume->val) / 32768; in wm8739_s_ctrl()
103 work_r = (min(state->balance->val, 32768) * state->volume->val) / 32768; in wm8739_s_ctrl()
204 state->balance = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe()
H A Dwm8775.c87 u16 balance = (u16)state->bal->val; in wm8775_set_audio() local
90 vol_l = (min(65536 - balance, 32768) * volume) >> 23; in wm8775_set_audio()
91 vol_r = (min(balance, (u16)32768) * volume) >> 23; in wm8775_set_audio()
H A Dtvaudio.c116 /* volume/balance cluster */
118 struct v4l2_ctrl *balance; member
1759 u32 volume, balance; in tvaudio_s_ctrl() local
1763 balance = chip->balance->val; in tvaudio_s_ctrl()
1764 left = (min(65536U - balance, 32768U) * volume) / 32768U; in tvaudio_s_ctrl()
1765 right = (min(balance, 32768U) * volume) / 32768U; in tvaudio_s_ctrl()
2012 chip->balance = v4l2_ctrl_new_std(&chip->hdl, in tvaudio_probe()
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dtda7432.c5 * Handles audio functions: volume, balance, tone, loudness
71 /* mute/balance cluster */
73 struct v4l2_ctrl *balance; member
93 * The TDA7432 controls basic audio functions like volume, balance,
280 if (t->balance->val < 0) { in tda7432_s_ctrl()
282 rr = rf = -t->balance->val; in tda7432_s_ctrl()
284 } else if (t->balance->val > 0) { in tda7432_s_ctrl()
287 lr = lf = t->balance->val; in tda7432_s_ctrl()
299 /* Mute & update balance*/ in tda7432_s_ctrl()
364 t->balance in tda7432_probe()
[all...]
H A Dwm8739.c47 struct v4l2_ctrl *balance; member
102 work_l = (min(65536 - state->balance->val, 32768) * state->volume->val) / 32768; in wm8739_s_ctrl()
103 work_r = (min(state->balance->val, 32768) * state->volume->val) / 32768; in wm8739_s_ctrl()
203 state->balance = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe()
H A Dwm8775.c87 u16 balance = (u16)state->bal->val; in wm8775_set_audio() local
90 vol_l = (min(65536 - balance, 32768) * volume) >> 23; in wm8775_set_audio()
91 vol_r = (min(balance, (u16)32768) * volume) >> 23; in wm8775_set_audio()
H A Dtvaudio.c116 /* volume/balance cluster */
118 struct v4l2_ctrl *balance; member
1759 u32 volume, balance; in tvaudio_s_ctrl() local
1763 balance = chip->balance->val; in tvaudio_s_ctrl()
1764 left = (min(65536U - balance, 32768U) * volume) / 32768U; in tvaudio_s_ctrl()
1765 right = (min(balance, 32768U) * volume) / 32768U; in tvaudio_s_ctrl()
2013 chip->balance = v4l2_ctrl_new_std(&chip->hdl, in tvaudio_probe()
/kernel/linux/linux-5.10/drivers/media/i2c/cx25840/
H A Dcx25840-audio.c488 static void set_balance(struct i2c_client *client, int balance) in set_balance() argument
490 int bal = balance >> 8; in set_balance()
/kernel/linux/linux-5.10/drivers/media/pci/cx18/
H A Dcx18-av-audio.c359 static void set_balance(struct cx18 *cx, int balance) in set_balance() argument
361 int bal = balance >> 8; in set_balance()
/kernel/linux/linux-6.6/drivers/media/i2c/cx25840/
H A Dcx25840-audio.c488 static void set_balance(struct i2c_client *client, int balance) in set_balance() argument
490 int bal = balance >> 8; in set_balance()
/kernel/linux/linux-6.6/drivers/media/pci/cx18/
H A Dcx18-av-audio.c359 static void set_balance(struct cx18 *cx, int balance) in set_balance() argument
361 int bal = balance >> 8; in set_balance()
/kernel/linux/linux-5.10/kernel/sched/
H A Dstop_task.c129 .balance = balance_stop,
H A Didle.c501 .balance = balance_idle,
/kernel/linux/linux-6.6/kernel/sched/
H A Dstop_task.c133 .balance = balance_stop,
H A Didle.c492 .balance = balance_idle,
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A Dvio.c55 /* How many ms to delay queued balance work */
194 int balance = 0; in vio_cmo_dealloc() local
223 balance = 1; in vio_cmo_dealloc()
239 balance = 1; in vio_cmo_dealloc()
245 * pool and schedule a balance operation. in vio_cmo_dealloc()
253 balance = 1; in vio_cmo_dealloc()
260 if (balance) in vio_cmo_dealloc()
655 /* Just bump the bus and device values prior to a balance*/ in vio_cmo_set_dev_desired()
691 * a balance operation to take care of the rest at a later time.
848 * balance operatio in vio_cmo_bus_remove()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Dvio.c57 /* How many ms to delay queued balance work */
196 int balance = 0; in vio_cmo_dealloc() local
225 balance = 1; in vio_cmo_dealloc()
241 balance = 1; in vio_cmo_dealloc()
247 * pool and schedule a balance operation. in vio_cmo_dealloc()
255 balance = 1; in vio_cmo_dealloc()
262 if (balance) in vio_cmo_dealloc()
658 /* Just bump the bus and device values prior to a balance*/ in vio_cmo_set_dev_desired()
694 * a balance operation to take care of the rest at a later time.
851 * balance operatio in vio_cmo_bus_remove()
[all...]
/kernel/linux/linux-5.10/drivers/thermal/intel/
H A Dintel_powerclamp.c432 goto balance; in clamp_idle_injection_func()
436 balance: in clamp_idle_injection_func()
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw-internal.h355 VCREATE_DATA(balance);
/kernel/linux/linux-6.6/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw-internal.h355 VCREATE_DATA(balance);
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/
H A Dav7110_av.c269 unsigned int vol, val, balance = 0; in av7110_set_volume() local
300 balance = ((volright - volleft) * 127) / vol; in av7110_set_volume()
301 msp_writereg(av7110, MSP_WR_DSP, 0x0001, balance << 8); in av7110_set_volume()
310 balance = ((volright - volleft) * 127) / vol; in av7110_set_volume()
311 msp_writereg(av7110, MSP_WR_DSP, 0x0001, balance << 8); in av7110_set_volume()
/kernel/linux/linux-6.6/drivers/staging/media/av7110/
H A Dav7110_av.c270 unsigned int vol, val, balance = 0; in av7110_set_volume() local
301 balance = ((volright - volleft) * 127) / vol; in av7110_set_volume()
302 msp_writereg(av7110, MSP_WR_DSP, 0x0001, balance << 8); in av7110_set_volume()
311 balance = ((volright - volleft) * 127) / vol; in av7110_set_volume()
312 msp_writereg(av7110, MSP_WR_DSP, 0x0001, balance << 8); in av7110_set_volume()

Completed in 36 milliseconds

12