Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8e072da authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman
Browse files

staging: vt6656: rename BBvSetDeepSleep to vnt_set_deep_sleep

parent de8690a2
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -558,7 +558,7 @@ void vnt_set_vga_gain_offset(struct vnt_private *priv, u8 data)
}
}


/*
/*
 * Description: BBvSetDeepSleep
 * Description: vnt_set_deep_sleep
 *
 *
 * Parameters:
 * Parameters:
 *  In:
 *  In:
@@ -569,7 +569,7 @@ void vnt_set_vga_gain_offset(struct vnt_private *priv, u8 data)
 * Return Value: none
 * Return Value: none
 *
 *
 */
 */
void BBvSetDeepSleep(struct vnt_private *priv)
void vnt_set_deep_sleep(struct vnt_private *priv)
{
{
	vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0x0c, 0x17);/* CR12 */
	vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0x0c, 0x17);/* CR12 */
	vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0x0d, 0xB9);/* CR13 */
	vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0x0d, 0xB9);/* CR13 */
+1 −1
Original line number Original line Diff line number Diff line
@@ -97,7 +97,7 @@ void vnt_set_short_slot_time(struct vnt_private *);
void vnt_set_vga_gain_offset(struct vnt_private *, u8);
void vnt_set_vga_gain_offset(struct vnt_private *, u8);
void vnt_set_antenna_mode(struct vnt_private *, u8);
void vnt_set_antenna_mode(struct vnt_private *, u8);
int vnt_vt3184_init(struct vnt_private *);
int vnt_vt3184_init(struct vnt_private *);
void BBvSetDeepSleep(struct vnt_private *);
void vnt_set_deep_sleep(struct vnt_private *);
void BBvExitDeepSleep(struct vnt_private *);
void BBvExitDeepSleep(struct vnt_private *);
void BBvUpdatePreEDThreshold(struct vnt_private *, int scanning);
void BBvUpdatePreEDThreshold(struct vnt_private *, int scanning);


+1 −1
Original line number Original line Diff line number Diff line
@@ -750,7 +750,7 @@ int vnt_radio_power_off(struct vnt_private *priv)


	vnt_mac_reg_bits_off(priv, MAC_REG_HOSTCR, HOSTCR_RXON);
	vnt_mac_reg_bits_off(priv, MAC_REG_HOSTCR, HOSTCR_RXON);


	BBvSetDeepSleep(priv);
	vnt_set_deep_sleep(priv);


	return ret;
	return ret;
}
}