/drivers/media/radio/ |
H A D | radio-sf16fmr2.c | 31 struct v4l2_ctrl *balance; member in struct:fmr2 142 int volume, balance, left, right; local 147 balance = fmr2->balance->cur.val; 150 balance = ctrl->val; 158 if (balance < 0) 159 right = max(0, right + balance); 160 if (balance > 0) 161 left = max(0, left - balance); 179 fmr2->balance [all...] |
/drivers/media/video/ |
H A D | wm8739.c | 61 struct v4l2_ctrl *balance; member in struct:wm8739_state::__anon1683 116 work_l = (min(65536 - state->balance->val, 32768) * state->volume->val) / 32768; 117 work_r = (min(state->balance->val, 32768) * state->volume->val) / 32768; 233 state->balance = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops,
|
H A D | wm8775.c | 101 u16 balance = (u16)state->bal->val; local 104 vol_l = (min(65536 - balance, 32768) * volume) >> 23; 105 vol_r = (min(balance, (u16)32768) * volume) >> 23;
|
H A D | tvaudio.c | 1675 int volume,balance; local 1682 balance=(32768*min(chip->left,chip->right))/volume; 1684 balance=32768; 1687 chip->left = (min(65536 - balance,32768) * volume) / 32768; 1688 chip->right = (min(balance,volume *(__u16)32768)) / 32768; 1697 int volume, balance; local 1703 balance = ctrl->value; 1704 chip->left = (min(65536 - balance, 32768) * volume) / 32768; 1705 chip->right = (min(balance, volume * (__u16)32768)) / 32768;
|
/drivers/media/video/cx18/ |
H A D | cx18-av-audio.c | 373 static void set_balance(struct cx18 *cx, int balance) argument 375 int bal = balance >> 8;
|
/drivers/media/video/cx25840/ |
H A D | cx25840-audio.c | 501 static void set_balance(struct i2c_client *client, int balance) argument 503 int bal = balance >> 8;
|
/drivers/media/video/pvrusb2/ |
H A D | pvrusb2-hdw-internal.h | 372 VCREATE_DATA(balance);
|
H A D | pvrusb2-hdw.c | 1018 VCREATE_FUNCS(balance) 1071 .name = "balance", 1073 DEFREF(balance), 3051 PVR2_SUBDEV_SET_CONTROL(hdw, V4L2_CID_AUDIO_BALANCE, balance);
|
/drivers/media/dvb/ttpci/ |
H A D | av7110_av.c | 285 int err, vol, val, balance = 0; local 315 balance = ((volright - volleft) * 127) / vol; 316 msp_writereg(av7110, MSP_WR_DSP, 0x0001, balance << 8); 325 balance = ((volright - volleft) * 127) / vol; 326 msp_writereg(av7110, MSP_WR_DSP, 0x0001, balance << 8);
|
/drivers/usb/host/ |
H A D | ohci-q.c | 91 static int balance (struct ohci_hcd *ohci, int interval, int load) function 234 branch = balance (ohci, ed->interval, ed->load);
|
H A D | isp116x-hcd.c | 651 static int balance(struct isp116x *isp116x, u16 period, u16 load) function 783 ep->branch = ret = balance(isp116x, ep->period, ep->load);
|
H A D | sl811-hcd.c | 761 static int balance(struct sl811 *sl811, u16 period, u16 load) function 908 retval = balance(sl811, ep->period, ep->load);
|
H A D | isp1362-hcd.c | 1188 static int balance(struct isp1362_hcd *isp1362_hcd, u16 interval, u16 load) function 1332 retval = balance(isp1362_hcd, ep->interval, ep->load); 1334 pr_err("%s: balance returned %d\n", __func__, retval);
|