Home
last modified time | relevance | path

Searched refs:NETDEV_ALIGN (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/Documentation/networking/device_drivers/qlogic/
H A Dqlge.rst28 NETDEV_ALIGN = 32
29 return netdevice.value_() + align(struct_size("net_device"), NETDEV_ALIGN)
/openbmc/linux/net/ieee802154/
H A Dcore.h28 struct wpan_phy wpan_phy __aligned(NETDEV_ALIGN);
/openbmc/linux/net/mac802154/
H A Dmain.c75 priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; in ieee802154_alloc_hw()
88 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); in ieee802154_alloc_hw()
/openbmc/linux/drivers/net/can/
H A Dvxcan.c168 can_ml = netdev_priv(dev) + ALIGN(sizeof(struct vxcan_priv), NETDEV_ALIGN); in vxcan_setup()
300 .priv_size = ALIGN(sizeof(struct vxcan_priv), NETDEV_ALIGN) + sizeof(struct can_ml_priv),
/openbmc/linux/drivers/net/can/dev/
H A Ddev.c251 size = ALIGN(sizeof_priv, NETDEV_ALIGN) + sizeof(struct can_ml_priv); in alloc_candev_mqs()
265 can_ml = (void *)priv + ALIGN(sizeof_priv, NETDEV_ALIGN); in alloc_candev_mqs()
/openbmc/linux/net/devlink/
H A Ddevl_internal.h58 char priv[] __aligned(NETDEV_ALIGN);
/openbmc/linux/drivers/net/ethernet/wiznet/
H A Dw5100.c1075 ALIGN(sizeof(struct w5100_priv), NETDEV_ALIGN); in w5100_ops_priv()
1090 alloc_size = ALIGN(alloc_size, NETDEV_ALIGN); in w5100_probe()
1093 alloc_size += NETDEV_ALIGN - 1; in w5100_probe()
/openbmc/linux/include/net/
H A Dcfg802154.h245 char priv[] __aligned(NETDEV_ALIGN);
H A Dcfg80211.h5589 char priv[] __aligned(NETDEV_ALIGN);
/openbmc/linux/net/wireless/
H A Dcore.h119 struct wiphy wiphy __aligned(NETDEV_ALIGN);
/openbmc/linux/net/mac80211/
H A Dmain.c665 priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; in ieee80211_alloc_hw_nm()
733 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); in ieee80211_alloc_hw_nm()
/openbmc/linux/drivers/net/phy/
H A Dmdio_bus.c152 size_t aligned_size = ALIGN(sizeof(*bus), NETDEV_ALIGN); in mdiobus_alloc_size()
/openbmc/linux/include/linux/
H A Dnetdevice.h2441 #define NETDEV_ALIGN 32 macro
2610 return (char *)dev + ALIGN(sizeof(struct net_device), NETDEV_ALIGN); in netdev_priv()
/openbmc/linux/net/core/
H A Ddev.c10766 alloc_size = ALIGN(alloc_size, NETDEV_ALIGN); in alloc_netdev_mqs()
10770 alloc_size += NETDEV_ALIGN - 1; in alloc_netdev_mqs()
10776 dev = PTR_ALIGN(p, NETDEV_ALIGN); in alloc_netdev_mqs()