Searched refs:bal (Results 1 – 10 of 10) sorted by relevance
/drivers/media/pci/cx18/ |
D | cx18-av-audio.c | 375 int bal = balance >> 8; in set_balance() local 376 if (bal > 0x80) { in set_balance() 380 cx18_av_and_or(cx, 0x8d5, ~0x7f, bal & 0x7f); in set_balance() 385 cx18_av_and_or(cx, 0x8d5, ~0x7f, 0x80 - bal); in set_balance()
|
/drivers/media/i2c/ |
D | mt9v011.c | 178 s16 bal; in set_balance() local 184 bal = core->global_gain; in set_balance() 185 bal += (core->blue_bal * core->global_gain / (1 << 7)); in set_balance() 186 blue_gain = calc_mt9v011_gain(bal); in set_balance() 188 bal = core->global_gain; in set_balance() 189 bal += (core->red_bal * core->global_gain / (1 << 7)); in set_balance() 190 red_gain = calc_mt9v011_gain(bal); in set_balance()
|
D | wm8775.c | 61 struct v4l2_ctrl *bal; member 100 u16 balance = (u16)state->bal->val; in wm8775_set_audio() 245 state->bal = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops, in wm8775_probe()
|
/drivers/media/i2c/cx25840/ |
D | cx25840-audio.c | 503 int bal = balance >> 8; in set_balance() local 504 if (bal > 0x80) { in set_balance() 508 cx25840_and_or(client, 0x8d5, ~0x7f, bal & 0x7f); in set_balance() 513 cx25840_and_or(client, 0x8d5, ~0x7f, 0x80 - bal); in set_balance()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_adminq.c | 58 hw->aq.asq.bal = I40E_VF_ATQBAL1; in i40e_adminq_init_regs() 63 hw->aq.arq.bal = I40E_VF_ARQBAL1; in i40e_adminq_init_regs() 69 hw->aq.asq.bal = I40E_PF_ATQBAL; in i40e_adminq_init_regs() 74 hw->aq.arq.bal = I40E_PF_ARQBAL; in i40e_adminq_init_regs() 314 wr32(hw, hw->aq.asq.bal, lower_32_bits(hw->aq.asq.desc_buf.pa)); in i40e_config_asq_regs() 318 reg = rd32(hw, hw->aq.asq.bal); in i40e_config_asq_regs() 343 wr32(hw, hw->aq.arq.bal, lower_32_bits(hw->aq.arq.desc_buf.pa)); in i40e_config_arq_regs() 350 reg = rd32(hw, hw->aq.arq.bal); in i40e_config_arq_regs() 496 wr32(hw, hw->aq.asq.bal, 0); in i40e_shutdown_asq() 530 wr32(hw, hw->aq.arq.bal, 0); in i40e_shutdown_arq()
|
D | i40e_adminq.h | 61 u32 bal; member
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40e_adminq.c | 56 hw->aq.asq.bal = I40E_VF_ATQBAL1; in i40e_adminq_init_regs() 61 hw->aq.arq.bal = I40E_VF_ARQBAL1; in i40e_adminq_init_regs() 301 wr32(hw, hw->aq.asq.bal, lower_32_bits(hw->aq.asq.desc_buf.pa)); in i40e_config_asq_regs() 305 reg = rd32(hw, hw->aq.asq.bal); in i40e_config_asq_regs() 330 wr32(hw, hw->aq.arq.bal, lower_32_bits(hw->aq.arq.desc_buf.pa)); in i40e_config_arq_regs() 337 reg = rd32(hw, hw->aq.arq.bal); in i40e_config_arq_regs() 483 wr32(hw, hw->aq.asq.bal, 0); in i40e_shutdown_asq() 517 wr32(hw, hw->aq.arq.bal, 0); in i40e_shutdown_arq()
|
D | i40e_adminq.h | 61 u32 bal; member
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_vf.c | 31 u32 bal = 0, bah = 0; in fm10k_stop_hw_vf() local 42 bal = (((u32)perm_addr[3]) << 24) | in fm10k_stop_hw_vf() 55 fm10k_write_reg(hw, FM10K_TDBAL(i), bal); in fm10k_stop_hw_vf() 57 fm10k_write_reg(hw, FM10K_RDBAL(i), bal); in fm10k_stop_hw_vf()
|
/drivers/media/pci/cx88/ |
D | cx88-alsa.c | 652 bal = cx_read(AUD_BAL_CTL); in snd_cx88_volume_get() local 654 value->value.integer.value[(bal & 0x40) ? 0 : 1] = vol; in snd_cx88_volume_get() 655 vol -= (bal & 0x3f); in snd_cx88_volume_get() 656 value->value.integer.value[(bal & 0x40) ? 1 : 0] = vol < 0 ? 0 : vol; in snd_cx88_volume_get()
|