Home
last modified time | relevance | path

Searched refs:balance (Results 1 – 18 of 18) sorted by relevance

/drivers/media/radio/
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 = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_BALANCE, -68,… in fmr2_tea_ext_init()
/drivers/media/i2c/
Dtda7432.c73 struct v4l2_ctrl *balance; member
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()
365 t->balance = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe()
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()
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()
Dtvaudio.c118 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()
/drivers/staging/iio/Documentation/
Dsysfs-bus-iio-adc-ad7280a5 Writing 1 enables the cell balance output switch corresponding
16 individual times for each cell balance output. The AD7280A
20 timer value is set 0, the timer is disabled. The cell balance
/drivers/media/pci/cx18/
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()
/drivers/media/i2c/cx25840/
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()
/drivers/thermal/intel/
Dintel_powerclamp.c431 goto balance; in clamp_idle_injection_func()
435 balance: in clamp_idle_injection_func()
/drivers/media/pci/ttpci/
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()
/drivers/net/team/
DKconfig67 tristate "Load-balance mode support"
/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw-internal.h355 VCREATE_DATA(balance);
Dpvrusb2-hdw.c976 VCREATE_FUNCS(balance)
1031 DEFREF(balance),
2878 PVR2_SUBDEV_SET_CONTROL(hdw, V4L2_CID_AUDIO_BALANCE, balance); in pvr2_subdev_update()
/drivers/usb/host/
Dohci-q.c109 static int balance (struct ohci_hcd *ohci, int interval, int load) in balance() function
247 branch = balance (ohci, ed->interval, ed->load); in ed_schedule()
Disp116x-hcd.c652 static int balance(struct isp116x *isp116x, u16 period, u16 load) in balance() function
784 ep->branch = ret = balance(isp116x, ep->period, ep->load); in isp116x_urb_enqueue()
Dsl811-hcd.c764 static int balance(struct sl811 *sl811, u16 period, u16 load) in balance() function
912 retval = balance(sl811, ep->period, ep->load); in sl811h_urb_enqueue()
Disp1362-hcd.c1184 static int balance(struct isp1362_hcd *isp1362_hcd, u16 interval, u16 load) in balance() function
1328 retval = balance(isp1362_hcd, ep->interval, ep->load); in isp1362_urb_enqueue()
/drivers/staging/rtl8192u/
Dcopying211 any particular circumstance, the balance of the section is intended to