android_kernel_xiaomi_sm8450/drivers/net/ieee802154
Stefan Schmidt bdc7873727 ieee802154/atusb: Add function for partial register writes
With this function we can set individual bits in the registers if needed.
With the old SR_VALUE macro we could only set one bit in the register
which was ok for some scenarios but not for all. With this subreg write
function we can now set more bits defined by the mask while not touching
the rest.

We start using it for the current SR_VALUE use case and will use it more
in upcoming patches.

Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
Reviewed-by: Varka Bhadram <varkabhadram@gmail.com>
Acked-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2015-05-31 13:40:53 +02:00
..
at86rf230.c at86rf230: add missing cca ed level values 2015-05-20 11:51:54 +02:00
at86rf230.h ieee802154: add support for atusb transceiver 2015-05-19 11:44:45 +02:00
atusb.c ieee802154/atusb: Add function for partial register writes 2015-05-31 13:40:53 +02:00
atusb.h ieee802154: add support for atusb transceiver 2015-05-19 11:44:45 +02:00
cc2520.c ieee802154: introduce wpan_phy_supported 2015-05-19 11:44:42 +02:00
fakelb.c fakelb: cleanup code 2015-05-19 11:44:46 +02:00
Kconfig ieee802154: add support for atusb transceiver 2015-05-19 11:44:45 +02:00
Makefile ieee802154: add support for atusb transceiver 2015-05-19 11:44:45 +02:00
mrf24j40.c ieee802154: introduce wpan_phy_supported 2015-05-19 11:44:42 +02:00