bal               490 drivers/media/i2c/cx25840/cx25840-audio.c 	int bal = balance >> 8;
bal               491 drivers/media/i2c/cx25840/cx25840-audio.c 	if (bal > 0x80) {
bal               495 drivers/media/i2c/cx25840/cx25840-audio.c 		cx25840_and_or(client, 0x8d5, ~0x7f, bal & 0x7f);
bal               500 drivers/media/i2c/cx25840/cx25840-audio.c 		cx25840_and_or(client, 0x8d5, ~0x7f, 0x80 - bal);
bal               180 drivers/media/i2c/mt9v011.c 	s16 bal;
bal               186 drivers/media/i2c/mt9v011.c 	bal = core->global_gain;
bal               187 drivers/media/i2c/mt9v011.c 	bal += (core->blue_bal * core->global_gain / (1 << 7));
bal               188 drivers/media/i2c/mt9v011.c 	blue_gain = calc_mt9v011_gain(bal);
bal               190 drivers/media/i2c/mt9v011.c 	bal = core->global_gain;
bal               191 drivers/media/i2c/mt9v011.c 	bal += (core->red_bal * core->global_gain / (1 << 7));
bal               192 drivers/media/i2c/mt9v011.c 	red_gain = calc_mt9v011_gain(bal);
bal                48 drivers/media/i2c/wm8775.c 	struct v4l2_ctrl *bal;
bal                87 drivers/media/i2c/wm8775.c 	u16 balance = (u16)state->bal->val;
bal               225 drivers/media/i2c/wm8775.c 	state->bal = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops,
bal               361 drivers/media/pci/cx18/cx18-av-audio.c 	int bal = balance >> 8;
bal               362 drivers/media/pci/cx18/cx18-av-audio.c 	if (bal > 0x80) {
bal               366 drivers/media/pci/cx18/cx18-av-audio.c 		cx18_av_and_or(cx, 0x8d5, ~0x7f, bal & 0x7f);
bal               371 drivers/media/pci/cx18/cx18-av-audio.c 		cx18_av_and_or(cx, 0x8d5, ~0x7f, 0x80 - bal);
bal               636 drivers/media/pci/cx88/cx88-alsa.c 	    bal = cx_read(AUD_BAL_CTL);
bal               638 drivers/media/pci/cx88/cx88-alsa.c 	value->value.integer.value[(bal & 0x40) ? 0 : 1] = vol;
bal               639 drivers/media/pci/cx88/cx88-alsa.c 	vol -= (bal & 0x3f);
bal               640 drivers/media/pci/cx88/cx88-alsa.c 	value->value.integer.value[(bal & 0x40) ? 1 : 0] = vol < 0 ? 0 : vol;
bal                14 drivers/net/ethernet/intel/fm10k/fm10k_vf.c 	u32 bal = 0, bah = 0, tdlen;
bal                25 drivers/net/ethernet/intel/fm10k/fm10k_vf.c 		bal = (((u32)perm_addr[3]) << 24) |
bal                41 drivers/net/ethernet/intel/fm10k/fm10k_vf.c 		fm10k_write_reg(hw, FM10K_TDBAL(i), bal);
bal                43 drivers/net/ethernet/intel/fm10k/fm10k_vf.c 		fm10k_write_reg(hw, FM10K_RDBAL(i), bal);
bal                25 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		hw->aq.asq.bal  = I40E_VF_ATQBAL1;
bal                30 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		hw->aq.arq.bal  = I40E_VF_ARQBAL1;
bal                36 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		hw->aq.asq.bal  = I40E_PF_ATQBAL;
bal                41 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		hw->aq.arq.bal  = I40E_PF_ARQBAL;
bal               281 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	wr32(hw, hw->aq.asq.bal, lower_32_bits(hw->aq.asq.desc_buf.pa));
bal               285 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	reg = rd32(hw, hw->aq.asq.bal);
bal               310 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	wr32(hw, hw->aq.arq.bal, lower_32_bits(hw->aq.arq.desc_buf.pa));
bal               317 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	reg = rd32(hw, hw->aq.arq.bal);
bal               463 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	wr32(hw, hw->aq.asq.bal, 0);
bal               497 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	wr32(hw, hw->aq.arq.bal, 0);
bal                38 drivers/net/ethernet/intel/i40e/i40e_adminq.h 	u32 bal;
bal                22 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	hw->aq.asq.bal  = IAVF_VF_ATQBAL1;
bal                27 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	hw->aq.arq.bal  = IAVF_VF_ARQBAL1;
bal               268 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	wr32(hw, hw->aq.asq.bal, lower_32_bits(hw->aq.asq.desc_buf.pa));
bal               272 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	reg = rd32(hw, hw->aq.asq.bal);
bal               297 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	wr32(hw, hw->aq.arq.bal, lower_32_bits(hw->aq.arq.desc_buf.pa));
bal               304 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	reg = rd32(hw, hw->aq.arq.bal);
bal               450 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	wr32(hw, hw->aq.asq.bal, 0);
bal               484 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	wr32(hw, hw->aq.arq.bal, 0);
bal                38 drivers/net/ethernet/intel/iavf/iavf_adminq.h 	u32 bal;
bal                12 drivers/net/ethernet/intel/ice/ice_controlq.c 	(qinfo)->sq.bal = prefix##_ATQBAL;			\
bal                20 drivers/net/ethernet/intel/ice/ice_controlq.c 	(qinfo)->rq.bal = prefix##_ARQBAL;			\
bal               262 drivers/net/ethernet/intel/ice/ice_controlq.c 	wr32(hw, ring->bal, lower_32_bits(ring->desc_buf.pa));
bal               266 drivers/net/ethernet/intel/ice/ice_controlq.c 	if (rd32(hw, ring->bal) != lower_32_bits(ring->desc_buf.pa))
bal               469 drivers/net/ethernet/intel/ice/ice_controlq.c 	wr32(hw, cq->sq.bal, 0);
bal               536 drivers/net/ethernet/intel/ice/ice_controlq.c 	wr32(hw, cq->rq.bal, 0);
bal                59 drivers/net/ethernet/intel/ice/ice_controlq.h 	u32 bal;
bal               392 sound/oss/dmasound/dmasound_atari.c 	long bal = expand_bal;
bal               403 sound/oss/dmasound/dmasound_atari.c 			if (bal < 0) {
bal               410 sound/oss/dmasound/dmasound_atari.c 				bal += hSpeed;
bal               414 sound/oss/dmasound/dmasound_atari.c 			bal -= sSpeed;
bal               422 sound/oss/dmasound/dmasound_atari.c 			if (bal < 0) {
bal               432 sound/oss/dmasound/dmasound_atari.c 				bal += hSpeed;
bal               436 sound/oss/dmasound/dmasound_atari.c 			bal -= sSpeed;
bal               440 sound/oss/dmasound/dmasound_atari.c 	expand_bal = bal;
bal               452 sound/oss/dmasound/dmasound_atari.c 	long bal = expand_bal;
bal               462 sound/oss/dmasound/dmasound_atari.c 			if (bal < 0) {
bal               468 sound/oss/dmasound/dmasound_atari.c 				bal += hSpeed;
bal               472 sound/oss/dmasound/dmasound_atari.c 			bal -= sSpeed;
bal               479 sound/oss/dmasound/dmasound_atari.c 			if (bal < 0) {
bal               486 sound/oss/dmasound/dmasound_atari.c 				bal += hSpeed;
bal               490 sound/oss/dmasound/dmasound_atari.c 			bal -= sSpeed;
bal               494 sound/oss/dmasound/dmasound_atari.c 	expand_bal = bal;
bal               506 sound/oss/dmasound/dmasound_atari.c 	long bal = expand_bal;
bal               516 sound/oss/dmasound/dmasound_atari.c 			if (bal < 0) {
bal               523 sound/oss/dmasound/dmasound_atari.c 				bal += hSpeed;
bal               527 sound/oss/dmasound/dmasound_atari.c 			bal -= sSpeed;
bal               534 sound/oss/dmasound/dmasound_atari.c 			if (bal < 0) {
bal               542 sound/oss/dmasound/dmasound_atari.c 				bal += hSpeed;
bal               546 sound/oss/dmasound/dmasound_atari.c 			bal -= sSpeed;
bal               550 sound/oss/dmasound/dmasound_atari.c 	expand_bal = bal;
bal               562 sound/oss/dmasound/dmasound_atari.c 	long bal = expand_bal;
bal               572 sound/oss/dmasound/dmasound_atari.c 			if (bal < 0) {
bal               579 sound/oss/dmasound/dmasound_atari.c 				bal += hSpeed;
bal               584 sound/oss/dmasound/dmasound_atari.c 			bal -= sSpeed;
bal               591 sound/oss/dmasound/dmasound_atari.c 			if (bal < 0) {
bal               598 sound/oss/dmasound/dmasound_atari.c 				bal += hSpeed;
bal               602 sound/oss/dmasound/dmasound_atari.c 			bal -= sSpeed;
bal               606 sound/oss/dmasound/dmasound_atari.c 	expand_bal = bal;
bal               618 sound/oss/dmasound/dmasound_atari.c 	long bal = expand_bal;
bal               628 sound/oss/dmasound/dmasound_atari.c 			if (bal < 0) {
bal               636 sound/oss/dmasound/dmasound_atari.c 				bal += hSpeed;
bal               641 sound/oss/dmasound/dmasound_atari.c 			bal -= sSpeed;
bal               648 sound/oss/dmasound/dmasound_atari.c 			if (bal < 0) {
bal               656 sound/oss/dmasound/dmasound_atari.c 				bal += hSpeed;
bal               660 sound/oss/dmasound/dmasound_atari.c 			bal -= sSpeed;
bal               664 sound/oss/dmasound/dmasound_atari.c 	expand_bal = bal;
bal               676 sound/oss/dmasound/dmasound_atari.c 	long bal = expand_bal;
bal               686 sound/oss/dmasound/dmasound_atari.c 			if (bal < 0) {
bal               694 sound/oss/dmasound/dmasound_atari.c 				bal += hSpeed;
bal               699 sound/oss/dmasound/dmasound_atari.c 			bal -= sSpeed;
bal               706 sound/oss/dmasound/dmasound_atari.c 			if (bal < 0) {
bal               714 sound/oss/dmasound/dmasound_atari.c 				bal += hSpeed;
bal               718 sound/oss/dmasound/dmasound_atari.c 			bal -= sSpeed;
bal               722 sound/oss/dmasound/dmasound_atari.c 	expand_bal = bal;
bal               734 sound/oss/dmasound/dmasound_atari.c 	long bal = expand_bal;
bal               744 sound/oss/dmasound/dmasound_atari.c 			if (bal < 0) {
bal               752 sound/oss/dmasound/dmasound_atari.c 				bal += hSpeed;
bal               757 sound/oss/dmasound/dmasound_atari.c 			bal -= sSpeed;
bal               764 sound/oss/dmasound/dmasound_atari.c 			if (bal < 0) {
bal               772 sound/oss/dmasound/dmasound_atari.c 				bal += hSpeed;
bal               776 sound/oss/dmasound/dmasound_atari.c 			bal -= sSpeed;
bal               780 sound/oss/dmasound/dmasound_atari.c 	expand_bal = bal;
bal               126 sound/oss/dmasound/dmasound_q40.c 	int bal = expand_bal;
bal               134 sound/oss/dmasound/dmasound_q40.c 		if (bal < 0) {
bal               142 sound/oss/dmasound/dmasound_q40.c 			bal += hSpeed;
bal               146 sound/oss/dmasound/dmasound_q40.c 		bal -= sSpeed;
bal               148 sound/oss/dmasound/dmasound_q40.c 	expand_bal = bal;
bal               162 sound/oss/dmasound/dmasound_q40.c 	int bal = expand_bal;
bal               171 sound/oss/dmasound/dmasound_q40.c 		if (bal < 0) {
bal               179 sound/oss/dmasound/dmasound_q40.c 			bal += hSpeed;
bal               183 sound/oss/dmasound/dmasound_q40.c 		bal -= sSpeed;
bal               185 sound/oss/dmasound/dmasound_q40.c 	expand_bal = bal;
bal               199 sound/oss/dmasound/dmasound_q40.c 	int bal = expand_bal;
bal               207 sound/oss/dmasound/dmasound_q40.c 		if (bal < 0) {
bal               214 sound/oss/dmasound/dmasound_q40.c 			bal += hSpeed;
bal               218 sound/oss/dmasound/dmasound_q40.c 		bal -= sSpeed;
bal               220 sound/oss/dmasound/dmasound_q40.c 	expand_bal = bal;
bal               236 sound/oss/dmasound/dmasound_q40.c 	int bal = expand_bal;
bal               244 sound/oss/dmasound/dmasound_q40.c 		while(bal<0) {
bal               247 sound/oss/dmasound/dmasound_q40.c 			if (!(bal<(-hSpeed))) {
bal               254 sound/oss/dmasound/dmasound_q40.c 			bal += hSpeed;
bal               258 sound/oss/dmasound/dmasound_q40.c 		bal -= sSpeed;
bal               261 sound/oss/dmasound/dmasound_q40.c 	expand_bal = bal;
bal               275 sound/oss/dmasound/dmasound_q40.c 	int bal = expand_bal;
bal               283 sound/oss/dmasound/dmasound_q40.c 		while (bal < 0) {
bal               286 sound/oss/dmasound/dmasound_q40.c 			if (!(bal<(-hSpeed))) {
bal               293 sound/oss/dmasound/dmasound_q40.c 			bal += hSpeed;
bal               297 sound/oss/dmasound/dmasound_q40.c 		bal -= sSpeed;
bal               300 sound/oss/dmasound/dmasound_q40.c 	expand_bal = bal;
bal               314 sound/oss/dmasound/dmasound_q40.c 	int bal = expand_bal;
bal               322 sound/oss/dmasound/dmasound_q40.c 		while (bal < 0) {
bal               325 sound/oss/dmasound/dmasound_q40.c 			if (!(bal<(-hSpeed))) {
bal               332 sound/oss/dmasound/dmasound_q40.c 			bal += hSpeed;
bal               336 sound/oss/dmasound/dmasound_q40.c 		bal -= sSpeed;
bal               339 sound/oss/dmasound/dmasound_q40.c 	expand_bal = bal;