param: make parameter functions more consistent
This patch creates a consitent set of device parameter functions. With this we have: dev_add_param_<type><access> "type" is one of: int32, uint32, int64, uint64, string, mac, ipv4, enum, bitmask The improvement here is that we now can exactly specify the width of the int type parameters and also correctly distinguish between signed and unsigned variables which means that a variable no longer ends up with INT_MAX when it's assigned -1. "access" can be empty for regular read/write parameter, "_ro" for readonly parameters which get their value from a variable pointer in the background or "_fixed" for parameters which are set to a fixed value (without a pointer in the background). Some more exotic types are not (yet) implemented, like dev_add_param_ip_ro. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
WIP_next-LS
master
next
stable/v2017.06
stable/v2017.07
stable/v2017.11
stable/v2018.07
stable/v2018.09
stable/v2018.12
v2020.07.0
v2020.06.0
v2020.05.0
v2020.04.0
v2020.03.0
v2020.02.0
v2020.01.0
v2019.12.0
v2019.11.0
v2019.10.0
v2019.09.0
v2019.08.1
v2019.08.0
v2019.07.0
v2019.06.1
v2019.06.0
v2019.05.0
v2019.04.0
v2019.03.0
v2019.02.0
v2019.01.0
v2018.12.0
v2018.11.0
v2018.10.0
v2018.09.1
v2018.09.0
v2018.08.1
v2018.08.0
v2018.07.2
v2018.07.1
v2018.07.0
v2018.06.0
v2018.05.0
v2018.04.0
v2018.03.0
v2018.02.0
v2018.01.0
v2017.12.0
v2017.11.0
v2017.10.0
v2017.09.0
v2017.08.0
v2017.07.1
v2017.07.0
v2017.06.2
v2017.06.1
v2017.06.0
|
---|
|
arch/arm/boards/at91sam9m10ihd/hw_version.c |
---|
arch/arm/boards/at91sam9x5ek/hw_version.c |
---|
arch/arm/boards/sama5d3xek/hw_version.c |
---|
common/console.c |
---|
common/partitions/dos.c |
---|
common/state/state_variables.c |
---|
drivers/amba/bus.c |
---|
drivers/efi/efi-device.c |
---|
drivers/input/qt1070.c |
---|
drivers/mtd/core.c |
---|
drivers/mtd/ubi/build.c |
---|
drivers/net/phy/mdio_bus.c |
---|
drivers/pwm/core.c |
---|
drivers/usb/core/usb.c |
---|
drivers/usb/gadget/udc-core.c |
---|
drivers/video/backlight.c |
---|
drivers/video/imx-ipu-fb.c |
---|
drivers/video/imx.c |
---|
include/param.h |
---|
lib/parameter.c |
---|