public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] staging: vt6655: Create two base functions for four macros
@ 2022-08-07 18:13 Philipp Hortmann
  2022-08-07 18:13 ` [PATCH v2 1/6] staging: vt6655: Convert macro MACvEnableProtectMD to function Philipp Hortmann
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Philipp Hortmann @ 2022-08-07 18:13 UTC (permalink / raw)
  To: Forest Bond, Greg Kroah-Hartman, linux-staging, linux-kernel

Create two base functions vt6655_mac_set_bits and vt6655_mac_clear_bits
with parameters for four multiline macros. Multiline macros are not liked
by kernel community.

Tested with vt6655 on mini PCI Module
Transferred this patch over wlan connection of vt6655

V1 -> V2: Devided vt6655_mac_en_dis_bits_u32_reg into
          vt6655_mac_set_bits and vt6655_mac_clear_bits
          Changed variable from bit_mask to mask

Philipp Hortmann (6):
  staging: vt6655: Convert macro MACvEnableProtectMD to function
  staging: vt6655: Create one function for two macros
  staging: vt6655: Rename function MACvEnableProtectMD
  staging: vt6655: Convert macro MACvDisableProtectMD
  staging: vt6655: Convert macro MACvEnableBarkerPreambleMd
  staging: vt6655: Convert macro MACvDisableBarkerPreambleMd

 drivers/staging/vt6655/device_main.c | 46 +++++++++++++++++++++++++---
 drivers/staging/vt6655/mac.h         | 34 +-------------------
 2 files changed, 43 insertions(+), 37 deletions(-)

-- 
2.37.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-08-07 18:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-07 18:13 [PATCH v2 0/6] staging: vt6655: Create two base functions for four macros Philipp Hortmann
2022-08-07 18:13 ` [PATCH v2 1/6] staging: vt6655: Convert macro MACvEnableProtectMD to function Philipp Hortmann
2022-08-07 18:13 ` [PATCH v2 2/6] staging: vt6655: Create one function for two macros Philipp Hortmann
2022-08-07 18:13 ` [PATCH v2 3/6] staging: vt6655: Rename function MACvEnableProtectMD Philipp Hortmann
2022-08-07 18:13 ` [PATCH v2 4/6] staging: vt6655: Convert macro MACvDisableProtectMD Philipp Hortmann
2022-08-07 18:13 ` [PATCH v2 5/6] staging: vt6655: Convert macro MACvEnableBarkerPreambleMd Philipp Hortmann
2022-08-07 18:13 ` [PATCH v2 6/6] staging: vt6655: Convert macro MACvDisableBarkerPreambleMd Philipp Hortmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox