Lines Matching refs:zd_chip
22 void zd_chip_init(struct zd_chip *chip, in zd_chip_init()
32 void zd_chip_clear(struct zd_chip *chip) in zd_chip_clear()
41 static int scnprint_mac_oui(struct zd_chip *chip, char *buffer, size_t size) in scnprint_mac_oui()
48 static int scnprint_id(struct zd_chip *chip, char *buffer, size_t size) in scnprint_id()
68 static void print_id(struct zd_chip *chip) in print_id()
92 int zd_ioread32v_locked(struct zd_chip *chip, u32 *values, const zd_addr_t *addr, in zd_ioread32v_locked()
131 static int _zd_iowrite32v_async_locked(struct zd_chip *chip, in _zd_iowrite32v_async_locked()
170 int _zd_iowrite32v_locked(struct zd_chip *chip, const struct zd_ioreq32 *ioreqs, in _zd_iowrite32v_locked()
184 int zd_iowrite16a_locked(struct zd_chip *chip, in zd_iowrite16a_locked()
222 int zd_iowrite32a_locked(struct zd_chip *chip, in zd_iowrite32a_locked()
255 int zd_ioread16(struct zd_chip *chip, zd_addr_t addr, u16 *value) in zd_ioread16()
265 int zd_ioread32(struct zd_chip *chip, zd_addr_t addr, u32 *value) in zd_ioread32()
275 int zd_iowrite16(struct zd_chip *chip, zd_addr_t addr, u16 value) in zd_iowrite16()
285 int zd_iowrite32(struct zd_chip *chip, zd_addr_t addr, u32 value) in zd_iowrite32()
295 int zd_ioread32v(struct zd_chip *chip, const zd_addr_t *addresses, in zd_ioread32v()
306 int zd_iowrite32a(struct zd_chip *chip, const struct zd_ioreq32 *ioreqs, in zd_iowrite32a()
317 static int read_pod(struct zd_chip *chip, u8 *rf_type) in read_pod()
363 static int zd_write_mac_addr_common(struct zd_chip *chip, const u8 *mac_addr, in zd_write_mac_addr_common()
391 int zd_write_mac_addr(struct zd_chip *chip, const u8 *mac_addr) in zd_write_mac_addr()
401 int zd_write_bssid(struct zd_chip *chip, const u8 *bssid) in zd_write_bssid()
411 int zd_read_regdomain(struct zd_chip *chip, u8 *regdomain) in zd_read_regdomain()
428 static int read_values(struct zd_chip *chip, u8 *values, size_t count, in read_values()
455 static int read_pwr_cal_values(struct zd_chip *chip) in read_pwr_cal_values()
462 static int read_pwr_int_values(struct zd_chip *chip) in read_pwr_int_values()
469 static int read_ofdm_cal_values(struct zd_chip *chip) in read_ofdm_cal_values()
488 static int read_cal_int_tables(struct zd_chip *chip) in read_cal_int_tables()
505 int zd_chip_lock_phy_regs(struct zd_chip *chip) in zd_chip_lock_phy_regs()
525 int zd_chip_unlock_phy_regs(struct zd_chip *chip) in zd_chip_unlock_phy_regs()
547 static int patch_cr157(struct zd_chip *chip) in patch_cr157()
568 static int patch_6m_band_edge(struct zd_chip *chip, u8 channel) in patch_6m_band_edge()
579 int zd_chip_generic_patch_6m_band(struct zd_chip *chip, int channel) in zd_chip_generic_patch_6m_band()
594 static int zd1211_hw_reset_phy(struct zd_chip *chip) in zd1211_hw_reset_phy()
683 static int zd1211b_hw_reset_phy(struct zd_chip *chip) in zd1211b_hw_reset_phy()
760 static int hw_reset_phy(struct zd_chip *chip) in hw_reset_phy()
766 static int zd1211_hw_init_hmac(struct zd_chip *chip) in zd1211_hw_init_hmac()
778 static int zd1211b_hw_init_hmac(struct zd_chip *chip) in zd1211b_hw_init_hmac()
797 static int hw_init_hmac(struct zd_chip *chip) in hw_init_hmac()
838 static int get_aw_pt_bi(struct zd_chip *chip, struct aw_pt_bi *s) in get_aw_pt_bi()
858 static int set_aw_pt_bi(struct zd_chip *chip, struct aw_pt_bi *s) in set_aw_pt_bi()
881 static int set_beacon_interval(struct zd_chip *chip, u16 interval, in set_beacon_interval()
919 int zd_set_beacon_interval(struct zd_chip *chip, u16 interval, u8 dtim_period, in zd_set_beacon_interval()
930 static int hw_init(struct zd_chip *chip) in hw_init()
947 static zd_addr_t fw_reg_addr(struct zd_chip *chip, u16 offset) in fw_reg_addr()
953 static int dump_cr(struct zd_chip *chip, const zd_addr_t addr, in dump_cr()
971 static int test_init(struct zd_chip *chip) in test_init()
984 static void dump_fw_registers(struct zd_chip *chip) in dump_fw_registers()
1011 static int print_fw_version(struct zd_chip *chip) in print_fw_version()
1030 static int set_mandatory_rates(struct zd_chip *chip, int gmode) in set_mandatory_rates()
1047 int zd_chip_set_rts_cts_rate_locked(struct zd_chip *chip, in zd_chip_set_rts_cts_rate_locked()
1065 int zd_chip_enable_hwint(struct zd_chip *chip) in zd_chip_enable_hwint()
1075 static int disable_hwint(struct zd_chip *chip) in disable_hwint()
1080 int zd_chip_disable_hwint(struct zd_chip *chip) in zd_chip_disable_hwint()
1090 static int read_fw_regs_offset(struct zd_chip *chip) in read_fw_regs_offset()
1106 int zd_chip_read_mac_addr_fw(struct zd_chip *chip, u8 *addr) in zd_chip_read_mac_addr_fw()
1113 int zd_chip_init_hw(struct zd_chip *chip) in zd_chip_init_hw()
1186 static int update_pwr_int(struct zd_chip *chip, u8 channel) in update_pwr_int()
1192 static int update_pwr_cal(struct zd_chip *chip, u8 channel) in update_pwr_cal()
1198 static int update_ofdm_cal(struct zd_chip *chip, u8 channel) in update_ofdm_cal()
1212 static int update_channel_integration_and_calibration(struct zd_chip *chip, in update_channel_integration_and_calibration()
1245 static int patch_cck_gain(struct zd_chip *chip) in patch_cck_gain()
1261 int zd_chip_set_channel(struct zd_chip *chip, u8 channel) in zd_chip_set_channel()
1291 u8 zd_chip_get_channel(struct zd_chip *chip) in zd_chip_get_channel()
1301 int zd_chip_control_leds(struct zd_chip *chip, enum led_status status) in zd_chip_control_leds()
1358 int zd_chip_set_basic_rates(struct zd_chip *chip, u16 cr_rates) in zd_chip_set_basic_rates()
1411 int zd_chip_switch_radio_on(struct zd_chip *chip) in zd_chip_switch_radio_on()
1421 int zd_chip_switch_radio_off(struct zd_chip *chip) in zd_chip_switch_radio_off()
1431 int zd_chip_enable_int(struct zd_chip *chip) in zd_chip_enable_int()
1441 void zd_chip_disable_int(struct zd_chip *chip) in zd_chip_disable_int()
1451 int zd_chip_enable_rxtx(struct zd_chip *chip) in zd_chip_enable_rxtx()
1463 void zd_chip_disable_rxtx(struct zd_chip *chip) in zd_chip_disable_rxtx()
1472 int zd_rfwritev_locked(struct zd_chip *chip, in zd_rfwritev_locked()
1491 int zd_rfwrite_cr_locked(struct zd_chip *chip, u32 value) in zd_rfwrite_cr_locked()
1502 int zd_rfwritev_cr_locked(struct zd_chip *chip, in zd_rfwritev_cr_locked()
1517 int zd_chip_set_multicast_hash(struct zd_chip *chip, in zd_chip_set_multicast_hash()
1528 u64 zd_chip_get_tsf(struct zd_chip *chip) in zd_chip_get_tsf()