Lines Matching defs:hw
57 /* Ensure 32-byte alignment of our private data and hw private data.
87 local->hw.phy = local->phy;
88 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN);
120 return &local->hw;
169 void ieee802154_free_hw(struct ieee802154_hw *hw)
171 struct ieee802154_local *local = hw_to_local(hw);
193 int ieee802154_register_hw(struct ieee802154_hw *hw)
195 struct ieee802154_local *local = hw_to_local(hw);
217 wpan_phy_set_dev(local->phy, local->hw.parent);
224 if (!(hw->flags & IEEE802154_HW_CSMA_PARAMS)) {
233 if (!(hw->flags & IEEE802154_HW_FRAME_RETRIES)) {
238 if (hw->flags & IEEE802154_HW_PROMISCUOUS)
271 void ieee802154_unregister_hw(struct ieee802154_hw *hw)
273 struct ieee802154_local *local = hw_to_local(hw);