/drivers/media/video/ |
D | tda9875.c | 226 int balance = (32768*min(left,right))/ in tda9875_g_ctrl() local 229 (65535-balance) : balance; in tda9875_g_ctrl() 245 int chvol = 0, volume = 0, balance = 0, left, right; in tda9875_s_ctrl() local 253 balance = (32768*min(left,right))/ in tda9875_s_ctrl() 255 balance =(left<right)? in tda9875_s_ctrl() 256 (65535-balance) : balance; in tda9875_s_ctrl() 268 balance = ctrl->value; in tda9875_s_ctrl() 291 left = (min(65536 - balance,32768) * in tda9875_s_ctrl() 293 right = (min(balance,32768) * in tda9875_s_ctrl()
|
D | wm8739.c | 59 u16 balance; member 118 ctrl->value = state->balance; in wm8739_g_ctrl() 142 state->balance = ctrl->value; in wm8739_s_ctrl() 150 work_l = (min(65536 - state->balance, 32768) * state->volume) / 32768; in wm8739_s_ctrl() 151 work_r = (min(state->balance, (u16)32768) * state->volume) / 32768; in wm8739_s_ctrl() 304 state->balance = 32768; in wm8739_probe()
|
D | msp3400-driver.c | 315 bal = (u8)((state->balance / 256) - 128); in msp_set_audio() 321 state->balance, state->bass, state->treble, state->loudness); in msp_set_audio() 409 ctrl->value = state->balance; in msp_g_ctrl() 445 state->balance = 32768; in msp_s_ctrl() 475 state->balance = ctrl->value; in msp_s_ctrl() 507 va->balance = state->volume ? state->balance : 32768; in msp_ioctl() 525 state->balance = va->balance; in msp_ioctl() 759 state->balance, state->bass, in msp_log_status() 878 state->balance = 32768; /* 0db gain */ in msp_probe()
|
D | tvaudio.c | 1566 int volume,balance; in tvaudio_s_ctrl() local 1573 balance=(32768*min(chip->left,chip->right))/volume; in tvaudio_s_ctrl() 1575 balance=32768; in tvaudio_s_ctrl() 1578 chip->left = (min(65536 - balance,32768) * volume) / 32768; in tvaudio_s_ctrl() 1579 chip->right = (min(balance,volume *(__u16)32768)) / 32768; in tvaudio_s_ctrl() 1588 int volume, balance; in tvaudio_s_ctrl() local 1593 balance = ctrl->value; in tvaudio_s_ctrl()
|
D | msp3400-driver.h | 90 int balance, loudness; member
|
D | v4l1-compat.c | 887 aud->balance = i; in v4l1_compat_get_audio() 947 aud->balance, drv); in v4l1_compat_set_audio()
|
/drivers/media/video/cx18/ |
D | cx18-av-audio.c | 409 int balance = cx18_av_read(cx, 0x8d5) & 0x7f; in get_balance() local 412 balance = 0x80 - balance; in get_balance() 414 balance = 0x80 + balance; in get_balance() 415 return balance << 8; in get_balance() 418 static void set_balance(struct cx18 *cx, int balance) in set_balance() argument 420 int bal = balance >> 8; in set_balance()
|
/drivers/media/video/cx25840/ |
D | cx25840-audio.c | 316 int balance = cx25840_read(client, 0x8d5) & 0x7f; in get_balance() local 319 balance = 0x80 - balance; in get_balance() 321 balance = 0x80 + balance; in get_balance() 322 return balance << 8; in get_balance() 325 static void set_balance(struct i2c_client *client, int balance) in set_balance() argument 327 int bal = balance >> 8; in set_balance()
|
/drivers/media/dvb/ttpci/ |
D | av7110_av.c | 283 int err, vol, val, balance = 0; in av7110_set_volume() local 313 balance = ((volright - volleft) * 127) / vol; in av7110_set_volume() 314 msp_writereg(av7110, MSP_WR_DSP, 0x0001, balance << 8); in av7110_set_volume() 323 balance = ((volright - volleft) * 127) / vol; in av7110_set_volume() 324 msp_writereg(av7110, MSP_WR_DSP, 0x0001, balance << 8); in av7110_set_volume()
|
/drivers/media/video/pvrusb2/ |
D | pvrusb2-hdw-internal.h | 371 VCREATE_DATA(balance);
|
D | pvrusb2-hdw.c | 964 VCREATE_FUNCS(balance) 1019 DEFREF(balance),
|
/drivers/usb/host/ |
D | ohci-q.c | 87 static int balance (struct ohci_hcd *ohci, int interval, int load) in balance() function 230 branch = balance (ohci, ed->interval, ed->load); in ed_schedule()
|
D | sl811-hcd.c | 762 static int balance(struct sl811 *sl811, u16 period, u16 load) in balance() function 905 retval = balance(sl811, ep->period, ep->load); in sl811h_urb_enqueue()
|
D | isp116x-hcd.c | 650 static int balance(struct isp116x *isp116x, u16 period, u16 load) in balance() function 782 ep->branch = ret = balance(isp116x, ep->period, ep->load); in isp116x_urb_enqueue()
|
/drivers/media/video/pwc/ |
D | pwc-v4l.c | 657 v->balance = 0x8000; in pwc_video_do_ioctl()
|