Lines Matching refs:hw

74 	struct hermes *hw = &priv->hw;  in determine_fw_capabilities()  local
81 err = HERMES_READ_RECORD(hw, USER_BAP, HERMES_RID_NICID, &nic_id); in determine_fw_capabilities()
104 err = HERMES_READ_RECORD(hw, USER_BAP, HERMES_RID_STAID, &sta_id); in determine_fw_capabilities()
180 err = hw->ops->read_ltv(hw, USER_BAP, in determine_fw_capabilities()
283 struct hermes *hw = &priv->hw; in orinoco_hw_read_card_settings() local
289 err = hw->ops->read_ltv(hw, USER_BAP, HERMES_RID_CNFOWNMACADDR, in orinoco_hw_read_card_settings()
299 err = hw->ops->read_ltv(hw, USER_BAP, HERMES_RID_CNFOWNNAME, in orinoco_hw_read_card_settings()
315 err = hermes_read_wordrec(hw, USER_BAP, HERMES_RID_CHANNELLIST, in orinoco_hw_read_card_settings()
323 err = hermes_read_wordrec(hw, USER_BAP, HERMES_RID_CNFSYSTEMSCALE, in orinoco_hw_read_card_settings()
329 err = hermes_read_wordrec(hw, USER_BAP, HERMES_RID_CNFRTSTHRESHOLD, in orinoco_hw_read_card_settings()
338 err = hermes_read_wordrec(hw, USER_BAP, in orinoco_hw_read_card_settings()
342 err = hermes_read_wordrec(hw, USER_BAP, in orinoco_hw_read_card_settings()
354 err = hermes_read_wordrec(hw, USER_BAP, in orinoco_hw_read_card_settings()
362 err = hermes_read_wordrec(hw, USER_BAP, in orinoco_hw_read_card_settings()
374 err = hermes_read_wordrec(hw, USER_BAP, in orinoco_hw_read_card_settings()
384 err = hermes_read_wordrec(hw, USER_BAP, HERMES_RID_SHORTRETRYLIMIT, in orinoco_hw_read_card_settings()
391 err = hermes_read_wordrec(hw, USER_BAP, HERMES_RID_LONGRETRYLIMIT, in orinoco_hw_read_card_settings()
398 err = hermes_read_wordrec(hw, USER_BAP, HERMES_RID_MAXTRANSMITLIFETIME, in orinoco_hw_read_card_settings()
413 struct hermes *hw = &priv->hw; in orinoco_hw_allocate_fid() local
416 err = hw->ops->allocate(hw, priv->nicbuf_size, &priv->txfid); in orinoco_hw_allocate_fid()
420 err = hw->ops->allocate(hw, priv->nicbuf_size, &priv->txfid); in orinoco_hw_allocate_fid()
461 struct hermes *hw = &priv->hw; in orinoco_hw_program_rids() local
466 err = hw->ops->write_ltv(hw, USER_BAP, HERMES_RID_CNFOWNMACADDR, in orinoco_hw_program_rids()
476 err = hermes_write_wordrec(hw, USER_BAP, HERMES_RID_CNFPORTTYPE, in orinoco_hw_program_rids()
485 err = hermes_write_wordrec(hw, USER_BAP, in orinoco_hw_program_rids()
509 err = hermes_write_wordrec(hw, USER_BAP, in orinoco_hw_program_rids()
531 err = hw->ops->write_ltv(hw, USER_BAP, HERMES_RID_CNFOWNSSID, in orinoco_hw_program_rids()
539 err = hw->ops->write_ltv(hw, USER_BAP, HERMES_RID_CNFDESIREDSSID, in orinoco_hw_program_rids()
551 err = hw->ops->write_ltv(hw, USER_BAP, HERMES_RID_CNFOWNNAME, in orinoco_hw_program_rids()
562 err = hermes_write_wordrec(hw, USER_BAP, in orinoco_hw_program_rids()
575 err = hermes_write_wordrec(hw, USER_BAP, HERMES_RID_CNFRTSTHRESHOLD, in orinoco_hw_program_rids()
585 err = hermes_write_wordrec(hw, USER_BAP, in orinoco_hw_program_rids()
589 err = hermes_write_wordrec(hw, USER_BAP, in orinoco_hw_program_rids()
608 err = hermes_write_wordrec(hw, USER_BAP, in orinoco_hw_program_rids()
617 err = hermes_write_wordrec(hw, USER_BAP, in orinoco_hw_program_rids()
625 err = hermes_write_wordrec(hw, USER_BAP, in orinoco_hw_program_rids()
633 err = hermes_write_wordrec(hw, USER_BAP, in orinoco_hw_program_rids()
645 err = hermes_write_wordrec(hw, USER_BAP, in orinoco_hw_program_rids()
668 err = hw->ops->cmd_wait(hw, HERMES_CMD_TEST | in orinoco_hw_program_rids()
673 err = hw->ops->cmd_wait(hw, HERMES_CMD_TEST | in orinoco_hw_program_rids()
692 struct hermes *hw = &priv->hw; in orinoco_hw_get_tkip_iv() local
699 err = hw->ops->read_ltv(hw, USER_BAP, HERMES_RID_CURRENT_TKIP_IV, in orinoco_hw_get_tkip_iv()
709 struct hermes *hw = &priv->hw; in __orinoco_hw_set_bitrate() local
721 err = hermes_write_wordrec(hw, USER_BAP, in __orinoco_hw_set_bitrate()
727 err = hermes_write_wordrec(hw, USER_BAP, in __orinoco_hw_set_bitrate()
740 struct hermes *hw = &priv->hw; in orinoco_hw_get_act_bitrate() local
745 err = hermes_read_wordrec(hw, USER_BAP, in orinoco_hw_get_act_bitrate()
789 struct hermes *hw = &priv->hw; in __orinoco_hw_set_wap() local
801 err = hermes_write_wordrec(hw, USER_BAP, in __orinoco_hw_set_wap()
806 err = HERMES_WRITE_RECORD(hw, USER_BAP, in __orinoco_hw_set_wap()
821 struct hermes *hw = &priv->hw; in __orinoco_hw_setup_wepkeys() local
843 err = HERMES_WRITE_RECORD(hw, USER_BAP, in __orinoco_hw_setup_wepkeys()
848 err = hermes_write_wordrec(hw, USER_BAP, in __orinoco_hw_setup_wepkeys()
882 err = hw->ops->write_ltv(hw, USER_BAP, in __orinoco_hw_setup_wepkeys()
891 err = hermes_write_wordrec(hw, USER_BAP, in __orinoco_hw_setup_wepkeys()
905 struct hermes *hw = &priv->hw; in __orinoco_hw_setup_enc() local
931 err = hermes_write_wordrec(hw, USER_BAP, in __orinoco_hw_setup_enc()
935 err = hermes_write_wordrec(hw, USER_BAP, in __orinoco_hw_setup_enc()
943 err = hermes_write_wordrec(hw, USER_BAP, in __orinoco_hw_setup_enc()
962 err = hermes_write_wordrec(hw, USER_BAP, in __orinoco_hw_setup_enc()
974 err = hermes_write_wordrec(hw, USER_BAP, in __orinoco_hw_setup_enc()
1002 struct hermes *hw = &priv->hw; in __orinoco_hw_set_tkip_key() local
1037 ret = hermes_read_wordrec(hw, USER_BAP, HERMES_RID_TXQUEUEEMPTY, in __orinoco_hw_set_tkip_key()
1046 err = HERMES_WRITE_RECORD(hw, USER_BAP, in __orinoco_hw_set_tkip_key()
1055 struct hermes *hw = &priv->hw; in orinoco_clear_tkip_key() local
1058 err = hermes_write_wordrec(hw, USER_BAP, in orinoco_clear_tkip_key()
1071 struct hermes *hw = &priv->hw; in __orinoco_hw_set_multicast_list() local
1075 err = hermes_write_wordrec(hw, USER_BAP, in __orinoco_hw_set_multicast_list()
1099 err = hw->ops->write_ltv(hw, USER_BAP, in __orinoco_hw_set_multicast_list()
1116 struct hermes *hw = &priv->hw; in orinoco_hw_get_essid() local
1141 err = hw->ops->read_ltv(hw, USER_BAP, rid, sizeof(essidbuf), in orinoco_hw_get_essid()
1148 err = hw->ops->read_ltv(hw, USER_BAP, HERMES_RID_CURRENTSSID, in orinoco_hw_get_essid()
1169 struct hermes *hw = &priv->hw; in orinoco_hw_get_freq() local
1178 err = hermes_read_wordrec(hw, USER_BAP, HERMES_RID_CURRENTCHANNEL, in orinoco_hw_get_freq()
1209 struct hermes *hw = &priv->hw; in orinoco_hw_get_bitratelist() local
1220 err = hw->ops->read_ltv(hw, USER_BAP, HERMES_RID_SUPPORTEDDATARATES, in orinoco_hw_get_bitratelist()
1241 struct hermes *hw = &priv->hw; in orinoco_hw_trigger_scan() local
1265 err = hermes_write_wordrec(hw, USER_BAP, in orinoco_hw_trigger_scan()
1276 err = HERMES_WRITE_RECORD(hw, USER_BAP, in orinoco_hw_trigger_scan()
1288 err = hw->ops->write_ltv(hw, USER_BAP, in orinoco_hw_trigger_scan()
1293 err = hermes_write_wordrec(hw, USER_BAP, in orinoco_hw_trigger_scan()
1300 err = hermes_write_wordrec(hw, USER_BAP, in orinoco_hw_trigger_scan()
1306 err = hermes_inquire(hw, in orinoco_hw_trigger_scan()
1309 err = hermes_inquire(hw, HERMES_INQ_SCAN); in orinoco_hw_trigger_scan()
1314 err = hermes_inquire(hw, HERMES_INQ_SCAN); in orinoco_hw_trigger_scan()
1326 struct hermes *hw = &priv->hw; in orinoco_hw_disassociate() local
1340 err = HERMES_WRITE_RECORD(hw, USER_BAP, in orinoco_hw_disassociate()
1349 struct hermes *hw = &priv->hw; in orinoco_hw_get_current_bssid() local
1352 err = hw->ops->read_ltv(hw, USER_BAP, HERMES_RID_CURRENTBSSID, in orinoco_hw_get_current_bssid()