zephyr/drivers/ethernet
Tomasz Bursztyka 98d9b01322 device: Apply driver_api/data attributes rename everywhere
Via coccinelle:

@r_device_driver_api_and_data_1@
struct device *D;
@@
(
D->
-	driver_api
+	api
|
D->
-	driver_data
+	data
)

@r_device_driver_api_and_data_2@
expression E;
@@
(
net_if_get_device(E)->
-	driver_api
+	api
|
net_if_get_device(E)->
-	driver_data
+	data
)

And grep/sed rules for macros:

git grep -rlz 'dev)->driver_data' |
	xargs -0 sed -i 's/dev)->driver_data/dev)->data/g'

git grep -rlz 'dev->driver_data' |
	xargs -0 sed -i 's/dev->driver_data/dev->data/g'

git grep -rlz 'device->driver_data' |
	xargs -0 sed -i 's/device->driver_data/device->data/g'

Fixes #27397

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2020-08-11 19:30:53 +02:00
..
CMakeLists.txt drivers/ethernet: Add support for SiLabs Giant Gecko GG11 2020-01-24 10:28:33 -06:00
eth_e1000_priv.h drivers: eth_e1000: use device MMIO 2020-07-17 11:38:18 +02:00
eth_e1000.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
eth_enc28j60_priv.h drivers: use K_KERNEL_STACK macros 2020-08-04 12:16:43 -04:00
eth_enc28j60.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
eth_enc424j600_priv.h drivers: use K_KERNEL_STACK macros 2020-08-04 12:16:43 -04:00
eth_enc424j600.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
eth_gecko_priv.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
eth_gecko.c drivers: use K_KERNEL_STACK macros 2020-08-04 12:16:43 -04:00
eth_liteeth.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
eth_mcux.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
eth_native_posix_adapt.c headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
eth_native_posix_priv.h
eth_native_posix.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
eth_sam0_gmac.h drivers: ethernet: eth_sam_gmac: Add SAM0 family support 2020-04-17 04:56:28 -05:00
eth_sam_gmac_priv.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
eth_sam_gmac.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
eth_smsc911x_priv.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
eth_smsc911x.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
eth_stellaris_priv.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
eth_stellaris.c drivers: use macro to define device structures 2020-06-08 15:01:52 -04:00
eth_stm32_hal_priv.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
eth_stm32_hal.c drivers: use K_KERNEL_STACK macros 2020-08-04 12:16:43 -04:00
eth.h random: Include header where it is used 2020-07-08 21:05:36 -04:00
Kconfig cmake: qemu: Allow user to add parameters to Ethernet TAP 2020-05-20 15:36:39 +02:00
Kconfig.e1000 drivers: eth: e1000: Add a hexdump of the received/sent data 2020-01-02 16:58:27 -05:00
Kconfig.enc28j60 drivers: Replace GPIO_CS Kconfig with devicetree detection 2020-05-09 13:07:05 +02:00
Kconfig.enc424j600 drivers: Replace GPIO_CS Kconfig with devicetree detection 2020-05-09 13:07:05 +02:00
Kconfig.gecko drivers: eth: Get Manual MAC address from devicetree 2020-05-09 16:29:57 +02:00
Kconfig.liteeth drivers: eth: Replace driver specific RANDOM_MAC Kconfig with devicetree 2020-05-09 16:29:57 +02:00
Kconfig.mcux eth: mcux: Support devices not using SMI for PHY setup 2020-08-04 15:54:26 -05:00
Kconfig.native_posix kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
Kconfig.sam_gmac drivers: ethernet: sam_gmac: Add SOC_FAMILY_SAM0 dependency 2020-07-02 08:37:17 -04:00
Kconfig.smsc911x kconfig: Remove '# Hidden' comments on promptless symbols 2019-12-21 10:30:33 -05:00
Kconfig.stellaris kconfig: Remove '# Hidden' comments on promptless symbols 2019-12-21 10:30:33 -05:00
Kconfig.stm32_hal drivers/ethernet: stm32: Enable Kconfig symbol ETH_STM32_HAL using dts 2020-07-24 12:03:33 +02:00
phy_gecko.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
phy_gecko.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
phy_sam_gmac.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
phy_sam_gmac.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00