Lines Matching defs:error
1058 int error = 0;
1062 error = ath9k_init_softc(devid, sc, bus_ops);
1063 if (error)
1064 return error;
1071 error = ath_regd_init(&common->regulatory, sc->hw->wiphy,
1073 if (error)
1079 error = ath_tx_init(sc, ATH_TXBUF);
1080 if (error != 0)
1084 error = ath_rx_init(sc, ATH_RXBUF);
1085 if (error != 0)
1100 error = ieee80211_register_hw(hw);
1101 if (error)
1104 error = ath9k_init_debug(ah);
1105 if (error) {
1112 error = regulatory_hint(hw->wiphy, reg->alpha2);
1113 if (error)
1130 return error;
1180 int error;
1182 error = ath_pci_init();
1183 if (error < 0) {
1185 error = -ENODEV;
1189 error = ath_ahb_init();
1190 if (error < 0) {
1191 error = -ENODEV;
1202 return error;