hw.h (6aaacd861517f89797f2f4a54624a599847262f3) hw.h (0166b4beec575f9740b7a0843675173c2e00cdbc)
1/*
2 * Copyright (c) 2008-2011 Atheros Communications Inc.
3 *
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

--- 999 unchanged lines hidden (view full) ---

1008 u32 ah_signal_type);
1009void ath9k_hw_set_gpio(struct ath_hw *ah, u32 gpio, u32 val);
1010void ath9k_hw_setantenna(struct ath_hw *ah, u32 antenna);
1011
1012/* General Operation */
1013void ath9k_hw_synth_delay(struct ath_hw *ah, struct ath9k_channel *chan,
1014 int hw_delay);
1015bool ath9k_hw_wait(struct ath_hw *ah, u32 reg, u32 mask, u32 val, u32 timeout);
1/*
2 * Copyright (c) 2008-2011 Atheros Communications Inc.
3 *
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

--- 999 unchanged lines hidden (view full) ---

1008 u32 ah_signal_type);
1009void ath9k_hw_set_gpio(struct ath_hw *ah, u32 gpio, u32 val);
1010void ath9k_hw_setantenna(struct ath_hw *ah, u32 antenna);
1011
1012/* General Operation */
1013void ath9k_hw_synth_delay(struct ath_hw *ah, struct ath9k_channel *chan,
1014 int hw_delay);
1015bool ath9k_hw_wait(struct ath_hw *ah, u32 reg, u32 mask, u32 val, u32 timeout);
1016void ath9k_hw_write_array(struct ath_hw *ah, struct ar5416IniArray *array,
1016void ath9k_hw_write_array(struct ath_hw *ah, const struct ar5416IniArray *array,
1017 int column, unsigned int *writecnt);
1018u32 ath9k_hw_reverse_bits(u32 val, u32 n);
1019u16 ath9k_hw_computetxtime(struct ath_hw *ah,
1020 u8 phy, int kbps,
1021 u32 frameLen, u16 rateix, bool shortPreamble);
1022void ath9k_hw_get_channel_centers(struct ath_hw *ah,
1023 struct ath9k_channel *chan,
1024 struct chan_centers *centers);

--- 168 unchanged lines hidden ---
1017 int column, unsigned int *writecnt);
1018u32 ath9k_hw_reverse_bits(u32 val, u32 n);
1019u16 ath9k_hw_computetxtime(struct ath_hw *ah,
1020 u8 phy, int kbps,
1021 u32 frameLen, u16 rateix, bool shortPreamble);
1022void ath9k_hw_get_channel_centers(struct ath_hw *ah,
1023 struct ath9k_channel *chan,
1024 struct chan_centers *centers);

--- 168 unchanged lines hidden ---