Home
last modified time | relevance | path

Searched refs:bal (Results 1 – 12 of 12) sorted by relevance

/drivers/media/pci/cx18/
A Dcx18-av-audio.c361 int bal = balance >> 8; in set_balance() local
362 if (bal > 0x80) { in set_balance()
366 cx18_av_and_or(cx, 0x8d5, ~0x7f, bal & 0x7f); in set_balance()
371 cx18_av_and_or(cx, 0x8d5, ~0x7f, 0x80 - bal); in set_balance()
/drivers/media/i2c/
A Dmt9v011.c178 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()
A Dwm8775.c48 struct v4l2_ctrl *bal; member
87 u16 balance = (u16)state->bal->val; in wm8775_set_audio()
224 state->bal = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops, in wm8775_probe()
/drivers/media/i2c/cx25840/
A Dcx25840-audio.c490 int bal = balance >> 8; in set_balance() local
491 if (bal > 0x80) { in set_balance()
495 cx25840_and_or(client, 0x8d5, ~0x7f, bal & 0x7f); in set_balance()
500 cx25840_and_or(client, 0x8d5, ~0x7f, 0x80 - bal); in set_balance()
/drivers/net/ethernet/intel/fm10k/
A Dfm10k_vf.c15 u32 bal = 0, bah = 0, tdlen; in fm10k_stop_hw_vf() local
26 bal = (((u32)perm_addr[3]) << 24) | in fm10k_stop_hw_vf()
42 fm10k_write_reg(hw, FM10K_TDBAL(i), bal); in fm10k_stop_hw_vf()
44 fm10k_write_reg(hw, FM10K_RDBAL(i), bal); in fm10k_stop_hw_vf()
/drivers/net/ethernet/intel/idpf/
A Didpf_vf_dev.c31 ccq->reg.bal = VF_ATQBAL - mbx_start; in idpf_vf_ctlq_reg_init()
42 ccq->reg.bal = VF_ARQBAL - mbx_start; in idpf_vf_ctlq_reg_init()
A Didpf_dev.c32 ccq->reg.bal = PF_FW_ATQBAL - mbx_start; in idpf_ctlq_reg_init()
43 ccq->reg.bal = PF_FW_ARQBAL - mbx_start; in idpf_ctlq_reg_init()
A Didpf_controlq.c19 cq->reg.bal = q_create_info->reg.bal; in idpf_ctlq_setup_regs()
49 idpf_mbx_wr32(hw, cq->reg.bal, lower_32_bits(cq->desc_ring.pa)); in idpf_ctlq_init_regs()
A Didpf_controlq_api.h31 u32 bal; member
/drivers/net/ethernet/intel/ice/
A Dice_controlq.c12 (qinfo)->sq.bal = prefix##_ATQBAL; \
21 (qinfo)->rq.bal = prefix##_ARQBAL; \
270 wr32(hw, ring->bal, lower_32_bits(ring->desc_buf.pa)); in ice_cfg_cq_regs()
274 if (rd32(hw, ring->bal) != lower_32_bits(ring->desc_buf.pa)) in ice_cfg_cq_regs()
476 wr32(hw, cq->sq.bal, 0); in ice_shutdown_sq()
551 wr32(hw, cq->rq.bal, 0); in ice_shutdown_rq()
A Dice_controlq.h70 u32 bal; member
/drivers/media/pci/cx88/
A Dcx88-alsa.c635 bal = cx_read(AUD_BAL_CTL); in snd_cx88_volume_get() local
637 value->value.integer.value[(bal & 0x40) ? 0 : 1] = vol; in snd_cx88_volume_get()
638 vol -= (bal & 0x3f); in snd_cx88_volume_get()
639 value->value.integer.value[(bal & 0x40) ? 1 : 0] = vol < 0 ? 0 : vol; in snd_cx88_volume_get()

Completed in 26 milliseconds