Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/net/ieee802154/
H A Dcore.h28 struct wpan_phy wpan_phy __aligned(NETDEV_ALIGN);
/OK3568_Linux_fs/kernel/drivers/net/can/
H A Dvxcan.c155 can_ml = netdev_priv(dev) + ALIGN(sizeof(struct vxcan_priv), NETDEV_ALIGN); in vxcan_setup()
292 .priv_size = ALIGN(sizeof(struct vxcan_priv), NETDEV_ALIGN) + sizeof(struct can_ml_priv),
H A Dslcan.c535 size = ALIGN(sizeof(*sl), NETDEV_ALIGN) + sizeof(struct can_ml_priv); in slc_alloc()
542 can_ml = (void *)sl + ALIGN(sizeof(*sl), NETDEV_ALIGN); in slc_alloc()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/wiznet/
H A Dw5100.c1078 ALIGN(sizeof(struct w5100_priv), NETDEV_ALIGN); in w5100_ops_priv()
1093 alloc_size = ALIGN(alloc_size, NETDEV_ALIGN); in w5100_probe()
1096 alloc_size += NETDEV_ALIGN - 1; in w5100_probe()
/OK3568_Linux_fs/kernel/include/net/
H A Dcfg802154.h217 char priv[] __aligned(NETDEV_ALIGN);
H A Ddevlink.h58 char priv[0] __aligned(NETDEV_ALIGN);
H A Dcfg80211.h5077 char priv[] __aligned(NETDEV_ALIGN);
/OK3568_Linux_fs/kernel/drivers/net/can/dev/
H A Ddev.c768 size = ALIGN(sizeof_priv, NETDEV_ALIGN) + sizeof(struct can_ml_priv); in alloc_candev_mqs()
782 can_ml = (void *)priv + ALIGN(sizeof_priv, NETDEV_ALIGN); in alloc_candev_mqs()
/OK3568_Linux_fs/kernel/net/wireless/
H A Dcore.h109 struct wiphy wiphy __aligned(NETDEV_ALIGN);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/r8168/
H A Dr8168.h513 #define NETDEV_ALIGN 32 macro
514 #define NETDEV_ALIGN_CONST (NETDEV_ALIGN - 1)
/OK3568_Linux_fs/kernel/net/mac80211/
H A Dmain.c567 priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; in ieee80211_alloc_hw_nm()
635 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); in ieee80211_alloc_hw_nm()
/OK3568_Linux_fs/kernel/drivers/net/phy/
H A Dmdio_bus.c140 size_t aligned_size = ALIGN(sizeof(*bus), NETDEV_ALIGN); in mdiobus_alloc_size()
/OK3568_Linux_fs/kernel/include/linux/
H A Dnetdevice.h2242 #define NETDEV_ALIGN 32 macro
2412 return (char *)dev + ALIGN(sizeof(struct net_device), NETDEV_ALIGN); in netdev_priv()
/OK3568_Linux_fs/kernel/net/core/
H A Ddev.c10485 alloc_size = ALIGN(alloc_size, NETDEV_ALIGN); in alloc_netdev_mqs()
10489 alloc_size += NETDEV_ALIGN - 1; in alloc_netdev_mqs()
10495 dev = PTR_ALIGN(p, NETDEV_ALIGN); in alloc_netdev_mqs()