Lines Matching defs:error
1025 int error = 0;
1029 error = ath9k_init_softc(devid, sc, bus_ops);
1030 if (error)
1031 return error;
1038 error = ath_regd_init(&common->regulatory, sc->hw->wiphy,
1040 if (error)
1046 error = ath_tx_init(sc, ATH_TXBUF);
1047 if (error != 0)
1051 error = ath_rx_init(sc, ATH_RXBUF);
1052 if (error != 0)
1065 error = ieee80211_register_hw(hw);
1066 if (error)
1069 error = ath9k_init_debug(ah);
1070 if (error) {
1077 error = regulatory_hint(hw->wiphy, reg->alpha2);
1078 if (error)
1095 return error;
1145 int error;
1147 error = ath_pci_init();
1148 if (error < 0) {
1150 error = -ENODEV;
1154 error = ath_ahb_init();
1155 if (error < 0) {
1156 error = -ENODEV;
1167 return error;