Lines Matching refs:apedata
807 u32 apedata; in tg3_ape_event_lock() local
813 apedata = tg3_ape_read32(tp, TG3_APE_EVENT_STATUS); in tg3_ape_event_lock()
814 if (!(apedata & APE_EVENT_STATUS_EVENT_PENDING)) in tg3_ape_event_lock()
829 u32 i, apedata; in tg3_ape_wait_for_event() local
832 apedata = tg3_ape_read32(tp, TG3_APE_EVENT_STATUS); in tg3_ape_wait_for_event()
834 if (!(apedata & APE_EVENT_STATUS_EVENT_PENDING)) in tg3_ape_wait_for_event()
847 u32 i, bufoff, msgoff, maxlen, apedata; in tg3_ape_scratchpad_read() local
852 apedata = tg3_ape_read32(tp, TG3_APE_SEG_SIG); in tg3_ape_scratchpad_read()
853 if (apedata != APE_SEG_SIG_MAGIC) in tg3_ape_scratchpad_read()
856 apedata = tg3_ape_read32(tp, TG3_APE_FW_STATUS); in tg3_ape_scratchpad_read()
857 if (!(apedata & APE_FW_STATUS_READY)) in tg3_ape_scratchpad_read()
872 apedata = tg3_ape_read32(tp, TG3_APE_FW_STATUS); in tg3_ape_scratchpad_read()
873 if (!(apedata & APE_FW_STATUS_READY)) in tg3_ape_scratchpad_read()
881 apedata = APE_EVENT_STATUS_DRIVER_EVNT | in tg3_ape_scratchpad_read()
884 tg3_ape_write32(tp, TG3_APE_EVENT_STATUS, apedata); in tg3_ape_scratchpad_read()
911 u32 apedata; in tg3_ape_send_event() local
913 apedata = tg3_ape_read32(tp, TG3_APE_SEG_SIG); in tg3_ape_send_event()
914 if (apedata != APE_SEG_SIG_MAGIC) in tg3_ape_send_event()
917 apedata = tg3_ape_read32(tp, TG3_APE_FW_STATUS); in tg3_ape_send_event()
918 if (!(apedata & APE_FW_STATUS_READY)) in tg3_ape_send_event()
938 u32 apedata; in tg3_ape_driver_state_change() local
950 apedata = tg3_ape_read32(tp, TG3_APE_HOST_INIT_COUNT); in tg3_ape_driver_state_change()
951 tg3_ape_write32(tp, TG3_APE_HOST_INIT_COUNT, ++apedata); in tg3_ape_driver_state_change()
966 apedata = TG3_APE_HOST_DRVR_STATE_WOL; in tg3_ape_driver_state_change()
968 apedata = TG3_APE_HOST_DRVR_STATE_UNLOAD; in tg3_ape_driver_state_change()
970 tg3_ape_write32(tp, TG3_APE_HOST_DRVR_STATE, apedata); in tg3_ape_driver_state_change()
15949 u32 apedata; in tg3_probe_ncsi() local
15951 apedata = tg3_ape_read32(tp, TG3_APE_SEG_SIG); in tg3_probe_ncsi()
15952 if (apedata != APE_SEG_SIG_MAGIC) in tg3_probe_ncsi()
15955 apedata = tg3_ape_read32(tp, TG3_APE_FW_STATUS); in tg3_probe_ncsi()
15956 if (!(apedata & APE_FW_STATUS_READY)) in tg3_probe_ncsi()
15966 u32 apedata; in tg3_read_dash_ver() local
15969 apedata = tg3_ape_read32(tp, TG3_APE_FW_VERSION); in tg3_read_dash_ver()
15982 (apedata & APE_FW_VERSION_MAJMSK) >> APE_FW_VERSION_MAJSFT, in tg3_read_dash_ver()
15983 (apedata & APE_FW_VERSION_MINMSK) >> APE_FW_VERSION_MINSFT, in tg3_read_dash_ver()
15984 (apedata & APE_FW_VERSION_REVMSK) >> APE_FW_VERSION_REVSFT, in tg3_read_dash_ver()
15985 (apedata & APE_FW_VERSION_BLDMSK)); in tg3_read_dash_ver()