mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 14:43:16 +00:00
staging: vt6655: Rename function MACvSetShortRetryLimit
Rename function MACvSetShortRetryLimit to vt6655_mac_set_short_retry_limit and byRetryLimit to retry_limit to avoid CamelCase which is not accepted by checkpatch.pl. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/d04b82510853607f439b4d969d4ce4b1883e9de8.1661666677.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fac7007f26
commit
6d29e08007
@ -412,7 +412,7 @@ static void device_init_registers(struct vnt_private *priv)
|
||||
(CFG_TKIPOPT | CFG_NOTXTIMEOUT));
|
||||
|
||||
/* set performance parameter by registry */
|
||||
MACvSetShortRetryLimit(priv, priv->byShortRetryLimit);
|
||||
vt6655_mac_set_short_retry_limit(priv, priv->byShortRetryLimit);
|
||||
MACvSetLongRetryLimit(priv, priv->byLongRetryLimit);
|
||||
|
||||
/* reset TSF counter */
|
||||
|
@ -11,7 +11,7 @@
|
||||
*
|
||||
* Functions:
|
||||
* vt6655_mac_is_reg_bits_off - Test if All test Bits Off
|
||||
* MACvSetShortRetryLimit - Set 802.11 Short Retry limit
|
||||
* vt6655_mac_set_short_retry_limit - Set 802.11 Short Retry limit
|
||||
* MACvSetLongRetryLimit - Set 802.11 Long Retry limit
|
||||
* MACvSetLoopbackMode - Set MAC Loopback Mode
|
||||
* MACvSaveContext - Save Context of MAC Registers
|
||||
@ -109,19 +109,18 @@ static bool vt6655_mac_is_reg_bits_off(struct vnt_private *priv,
|
||||
* Parameters:
|
||||
* In:
|
||||
* io_base - Base Address for MAC
|
||||
* byRetryLimit- Retry Limit
|
||||
* retry_limit - Retry Limit
|
||||
* Out:
|
||||
* none
|
||||
*
|
||||
* Return Value: none
|
||||
*
|
||||
*/
|
||||
void MACvSetShortRetryLimit(struct vnt_private *priv,
|
||||
unsigned char byRetryLimit)
|
||||
void vt6655_mac_set_short_retry_limit(struct vnt_private *priv, unsigned char retry_limit)
|
||||
{
|
||||
void __iomem *io_base = priv->port_offset;
|
||||
/* set SRT */
|
||||
iowrite8(byRetryLimit, io_base + MAC_REG_SRT);
|
||||
iowrite8(retry_limit, io_base + MAC_REG_SRT);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -549,8 +549,7 @@ void vt6655_mac_word_reg_bits_on(void __iomem *iobase, const u8 reg_offset, cons
|
||||
void vt6655_mac_reg_bits_off(void __iomem *iobase, const u8 reg_offset, const u8 bit_mask);
|
||||
void vt6655_mac_word_reg_bits_off(void __iomem *iobase, const u8 reg_offset, const u16 bit_mask);
|
||||
|
||||
void MACvSetShortRetryLimit(struct vnt_private *priv,
|
||||
unsigned char byRetryLimit);
|
||||
void vt6655_mac_set_short_retry_limit(struct vnt_private *priv, unsigned char retry_limit);
|
||||
|
||||
void MACvSetLongRetryLimit(struct vnt_private *priv, unsigned char byRetryLimit);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user