Lines Matching refs:pccs
467 struct ccs __iomem *pccs; in ray_init() local
502 pccs = ccs_base(local); in ray_init()
504 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in ray_init()
526 struct ccs __iomem *pccs; in dl_startup_params() local
547 pccs = ccs_base(local) + ccsindex; in dl_startup_params()
548 writeb(CCS_DOWNLOAD_STARTUP_PARAMS, &pccs->cmd); in dl_startup_params()
556 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in dl_startup_params()
635 struct ccs __iomem *pccs = ccs_base(local) + local->dl_param_ccs; in verify_dl_startup() local
658 status = readb(&pccs->buffer_status); in verify_dl_startup()
677 struct ccs __iomem *pccs; in start_net() local
687 pccs = ccs_base(local) + ccsindex; in start_net()
688 writeb(CCS_START_NETWORK, &pccs->cmd); in start_net()
689 writeb(0, &pccs->var.start_network.update_param); in start_net()
693 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in start_net()
705 struct ccs __iomem *pccs; in join_net() local
716 pccs = ccs_base(local) + ccsindex; in join_net()
717 writeb(CCS_JOIN_NETWORK, &pccs->cmd); in join_net()
718 writeb(0, &pccs->var.join_network.update_param); in join_net()
719 writeb(0, &pccs->var.join_network.net_initiated); in join_net()
723 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in join_net()
871 struct ccs __iomem *pccs; in ray_hw_xmit() local
915 pccs = ccs_base(local) + ccsindex; in ray_hw_xmit()
917 writeb(CCS_TX_REQUEST, &pccs->cmd); in ray_hw_xmit()
918 writeb(addr >> 8, &pccs->var.tx_request.tx_data_ptr[0]); in ray_hw_xmit()
919 writeb(local->tib_length, &pccs->var.tx_request.tx_data_ptr[1]); in ray_hw_xmit()
920 writeb(len >> 8, &pccs->var.tx_request.tx_data_length[0]); in ray_hw_xmit()
921 writeb(len & 0xff, &pccs->var.tx_request.tx_data_length[1]); in ray_hw_xmit()
923 writeb(PSM_CAM, &pccs->var.tx_request.pow_sav_mode); in ray_hw_xmit()
924 writeb(local->net_default_tx_rate, &pccs->var.tx_request.tx_rate); in ray_hw_xmit()
925 writeb(0, &pccs->var.tx_request.antenna); in ray_hw_xmit()
936 writeb(CCS_BUFFER_FREE, &pccs->buffer_status); in ray_hw_xmit()
1576 struct ccs __iomem *pccs = ccs_base(local); in get_free_tx_ccs() local
1590 if (readb(&(pccs + i)->buffer_status) == CCS_BUFFER_FREE) { in get_free_tx_ccs()
1591 writeb(CCS_BUFFER_BUSY, &(pccs + i)->buffer_status); in get_free_tx_ccs()
1592 writeb(CCS_END_LIST, &(pccs + i)->link); in get_free_tx_ccs()
1608 struct ccs __iomem *pccs = ccs_base(local); in get_free_ccs() local
1621 if (readb(&(pccs + i)->buffer_status) == CCS_BUFFER_FREE) { in get_free_ccs()
1622 writeb(CCS_BUFFER_BUSY, &(pccs + i)->buffer_status); in get_free_ccs()
1623 writeb(CCS_END_LIST, &(pccs + i)->link); in get_free_ccs()
1713 struct ccs __iomem *pccs; in ray_update_parm() local
1724 pccs = ccs_base(local) + ccsindex; in ray_update_parm()
1725 writeb(CCS_UPDATE_PARAMS, &pccs->cmd); in ray_update_parm()
1726 writeb(objid, &pccs->var.update_param.object_id); in ray_update_parm()
1727 writeb(1, &pccs->var.update_param.number_objects); in ray_update_parm()
1728 writeb(0, &pccs->var.update_param.failure_cause); in ray_update_parm()
1735 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in ray_update_parm()
1743 struct ccs __iomem *pccs; in ray_update_multi_list() local
1757 pccs = ccs_base(local) + ccsindex; in ray_update_multi_list()
1758 writeb(CCS_UPDATE_MULTICAST_LIST, &pccs->cmd); in ray_update_multi_list()
1761 writeb(0xff, &pccs->var); in ray_update_multi_list()
1777 writeb((UCHAR) i, &pccs->var); in ray_update_multi_list()
1785 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in ray_update_multi_list()
1831 struct ccs __iomem *pccs; in ray_interrupt() local
1860 pccs = ccs_base(local) + rcsindex; in ray_interrupt()
1861 cmd = readb(&pccs->cmd); in ray_interrupt()
1862 status = readb(&pccs->buffer_status); in ray_interrupt()
1878 readb(&pccs->var.update_param. in ray_interrupt()
1904 (&pccs->var.start_network.net_initiated) == in ray_interrupt()
1915 pccs->var.start_network.bssid, in ray_interrupt()
1922 readb(&pccs->var.start_network. in ray_interrupt()
1925 readb(&pccs->var.start_network.encryption); in ray_interrupt()
1991 writeb(CCS_BUFFER_FREE, &pccs->buffer_status); in ray_interrupt()
2468 struct ccs __iomem *pccs; in associate() local
2483 pccs = ccs_base(local) + ccsindex; in associate()
2485 writeb(CCS_START_ASSOCIATION, &pccs->cmd); in associate()
2489 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in associate()
2659 struct ccs __iomem *pccs; in build_auth_frame() local
2669 pccs = ccs_base(local) + ccsindex; in build_auth_frame()
2674 writeb(CCS_TX_REQUEST, &pccs->cmd); in build_auth_frame()
2675 writeb(addr >> 8, pccs->var.tx_request.tx_data_ptr); in build_auth_frame()
2676 writeb(0x20, pccs->var.tx_request.tx_data_ptr + 1); in build_auth_frame()
2677 writeb(TX_AUTHENTICATE_LENGTH_MSB, pccs->var.tx_request.tx_data_length); in build_auth_frame()
2679 pccs->var.tx_request.tx_data_length + 1); in build_auth_frame()
2680 writeb(0, &pccs->var.tx_request.pow_sav_mode); in build_auth_frame()
2699 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in build_auth_frame()