Lines Matching refs:pccs
473 struct ccs __iomem *pccs; in ray_init() local
508 pccs = ccs_base(local); in ray_init()
510 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in ray_init()
532 struct ccs __iomem *pccs; in dl_startup_params() local
553 pccs = ccs_base(local) + ccsindex; in dl_startup_params()
554 writeb(CCS_DOWNLOAD_STARTUP_PARAMS, &pccs->cmd); in dl_startup_params()
562 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in dl_startup_params()
641 struct ccs __iomem *pccs = ccs_base(local) + local->dl_param_ccs; in verify_dl_startup() local
664 status = readb(&pccs->buffer_status); in verify_dl_startup()
683 struct ccs __iomem *pccs; in start_net() local
693 pccs = ccs_base(local) + ccsindex; in start_net()
694 writeb(CCS_START_NETWORK, &pccs->cmd); in start_net()
695 writeb(0, &pccs->var.start_network.update_param); in start_net()
699 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in start_net()
711 struct ccs __iomem *pccs; in join_net() local
722 pccs = ccs_base(local) + ccsindex; in join_net()
723 writeb(CCS_JOIN_NETWORK, &pccs->cmd); in join_net()
724 writeb(0, &pccs->var.join_network.update_param); in join_net()
725 writeb(0, &pccs->var.join_network.net_initiated); in join_net()
729 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in join_net()
877 struct ccs __iomem *pccs; in ray_hw_xmit() local
919 pccs = ccs_base(local) + ccsindex; in ray_hw_xmit()
921 writeb(CCS_TX_REQUEST, &pccs->cmd); in ray_hw_xmit()
922 writeb(addr >> 8, &pccs->var.tx_request.tx_data_ptr[0]); in ray_hw_xmit()
923 writeb(local->tib_length, &pccs->var.tx_request.tx_data_ptr[1]); in ray_hw_xmit()
924 writeb(len >> 8, &pccs->var.tx_request.tx_data_length[0]); in ray_hw_xmit()
925 writeb(len & 0xff, &pccs->var.tx_request.tx_data_length[1]); in ray_hw_xmit()
927 writeb(PSM_CAM, &pccs->var.tx_request.pow_sav_mode); in ray_hw_xmit()
928 writeb(local->net_default_tx_rate, &pccs->var.tx_request.tx_rate); in ray_hw_xmit()
929 writeb(0, &pccs->var.tx_request.antenna); in ray_hw_xmit()
940 writeb(CCS_BUFFER_FREE, &pccs->buffer_status); in ray_hw_xmit()
1578 struct ccs __iomem *pccs = ccs_base(local); in get_free_tx_ccs() local
1592 if (readb(&(pccs + i)->buffer_status) == CCS_BUFFER_FREE) { in get_free_tx_ccs()
1593 writeb(CCS_BUFFER_BUSY, &(pccs + i)->buffer_status); in get_free_tx_ccs()
1594 writeb(CCS_END_LIST, &(pccs + i)->link); in get_free_tx_ccs()
1610 struct ccs __iomem *pccs = ccs_base(local); in get_free_ccs() local
1623 if (readb(&(pccs + i)->buffer_status) == CCS_BUFFER_FREE) { in get_free_ccs()
1624 writeb(CCS_BUFFER_BUSY, &(pccs + i)->buffer_status); in get_free_ccs()
1625 writeb(CCS_END_LIST, &(pccs + i)->link); in get_free_ccs()
1719 struct ccs __iomem *pccs; in ray_update_parm() local
1730 pccs = ccs_base(local) + ccsindex; in ray_update_parm()
1731 writeb(CCS_UPDATE_PARAMS, &pccs->cmd); in ray_update_parm()
1732 writeb(objid, &pccs->var.update_param.object_id); in ray_update_parm()
1733 writeb(1, &pccs->var.update_param.number_objects); in ray_update_parm()
1734 writeb(0, &pccs->var.update_param.failure_cause); in ray_update_parm()
1741 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in ray_update_parm()
1749 struct ccs __iomem *pccs; in ray_update_multi_list() local
1763 pccs = ccs_base(local) + ccsindex; in ray_update_multi_list()
1764 writeb(CCS_UPDATE_MULTICAST_LIST, &pccs->cmd); in ray_update_multi_list()
1767 writeb(0xff, &pccs->var); in ray_update_multi_list()
1783 writeb((UCHAR) i, &pccs->var); in ray_update_multi_list()
1791 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in ray_update_multi_list()
1837 struct ccs __iomem *pccs; in ray_interrupt() local
1866 pccs = ccs_base(local) + rcsindex; in ray_interrupt()
1867 cmd = readb(&pccs->cmd); in ray_interrupt()
1868 status = readb(&pccs->buffer_status); in ray_interrupt()
1884 readb(&pccs->var.update_param. in ray_interrupt()
1910 (&pccs->var.start_network.net_initiated) == in ray_interrupt()
1921 pccs->var.start_network.bssid, in ray_interrupt()
1928 readb(&pccs->var.start_network. in ray_interrupt()
1931 readb(&pccs->var.start_network.encryption); in ray_interrupt()
1997 writeb(CCS_BUFFER_FREE, &pccs->buffer_status); in ray_interrupt()
2476 struct ccs __iomem *pccs; in associate() local
2491 pccs = ccs_base(local) + ccsindex; in associate()
2493 writeb(CCS_START_ASSOCIATION, &pccs->cmd); in associate()
2497 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in associate()
2667 struct ccs __iomem *pccs; in build_auth_frame() local
2677 pccs = ccs_base(local) + ccsindex; in build_auth_frame()
2682 writeb(CCS_TX_REQUEST, &pccs->cmd); in build_auth_frame()
2683 writeb(addr >> 8, pccs->var.tx_request.tx_data_ptr); in build_auth_frame()
2684 writeb(0x20, pccs->var.tx_request.tx_data_ptr + 1); in build_auth_frame()
2685 writeb(TX_AUTHENTICATE_LENGTH_MSB, pccs->var.tx_request.tx_data_length); in build_auth_frame()
2687 pccs->var.tx_request.tx_data_length + 1); in build_auth_frame()
2688 writeb(0, &pccs->var.tx_request.pow_sav_mode); in build_auth_frame()
2707 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in build_auth_frame()