Searched refs:NETDEV_ALIGN (Results 1 – 15 of 15) sorted by relevance
| /OK3568_Linux_fs/kernel/net/mac802154/ |
| H A D | main.c | 75 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 D | core.h | 28 struct wpan_phy wpan_phy __aligned(NETDEV_ALIGN);
|
| /OK3568_Linux_fs/kernel/drivers/net/can/ |
| H A D | vxcan.c | 155 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 D | slcan.c | 535 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 D | w5100.c | 1078 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 D | cfg802154.h | 217 char priv[] __aligned(NETDEV_ALIGN);
|
| H A D | devlink.h | 58 char priv[0] __aligned(NETDEV_ALIGN);
|
| H A D | cfg80211.h | 5077 char priv[] __aligned(NETDEV_ALIGN);
|
| /OK3568_Linux_fs/kernel/drivers/net/can/dev/ |
| H A D | dev.c | 768 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 D | core.h | 109 struct wiphy wiphy __aligned(NETDEV_ALIGN);
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/r8168/ |
| H A D | r8168.h | 513 #define NETDEV_ALIGN 32 macro 514 #define NETDEV_ALIGN_CONST (NETDEV_ALIGN - 1)
|
| /OK3568_Linux_fs/kernel/net/mac80211/ |
| H A D | main.c | 567 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 D | mdio_bus.c | 140 size_t aligned_size = ALIGN(sizeof(*bus), NETDEV_ALIGN); in mdiobus_alloc_size()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | netdevice.h | 2242 #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 D | dev.c | 10485 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()
|