/kernel/linux/linux-5.10/drivers/media/radio/ |
H A D | radio-sf16fmr2.c | 36 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 D | radio-sf16fmr2.c | 36 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 D | tda7432.c | 5 * 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 D | wm8739.c | 47 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 D | wm8775.c | 87 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 D | tvaudio.c | 116 /* 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 D | tda7432.c | 5 * 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 D | wm8739.c | 47 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 D | wm8775.c | 87 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 D | tvaudio.c | 116 /* 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 D | cx25840-audio.c | 488 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 D | cx18-av-audio.c | 359 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 D | cx25840-audio.c | 488 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 D | cx18-av-audio.c | 359 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 D | stop_task.c | 129 .balance = balance_stop,
|
H A D | idle.c | 501 .balance = balance_idle,
|
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | stop_task.c | 133 .balance = balance_stop,
|
H A D | idle.c | 492 .balance = balance_idle,
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A D | vio.c | 55 /* 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 D | vio.c | 57 /* 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 D | intel_powerclamp.c | 432 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 D | pvrusb2-hdw-internal.h | 355 VCREATE_DATA(balance);
|
/kernel/linux/linux-6.6/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-hdw-internal.h | 355 VCREATE_DATA(balance);
|
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/ |
H A D | av7110_av.c | 269 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 D | av7110_av.c | 270 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()
|