Lines Matching full:pccs

469 	struct ccs __iomem *pccs;  in ray_init()  local
504 pccs = ccs_base(local); in ray_init()
506 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in ray_init()
528 struct ccs __iomem *pccs; in dl_startup_params() local
549 pccs = ccs_base(local) + ccsindex; in dl_startup_params()
550 writeb(CCS_DOWNLOAD_STARTUP_PARAMS, &pccs->cmd); in dl_startup_params()
558 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in dl_startup_params()
637 struct ccs __iomem *pccs = ccs_base(local) + local->dl_param_ccs; in verify_dl_startup() local
660 status = readb(&pccs->buffer_status); in verify_dl_startup()
679 struct ccs __iomem *pccs; in start_net() local
689 pccs = ccs_base(local) + ccsindex; in start_net()
690 writeb(CCS_START_NETWORK, &pccs->cmd); in start_net()
691 writeb(0, &pccs->var.start_network.update_param); in start_net()
695 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in start_net()
707 struct ccs __iomem *pccs; in join_net() local
718 pccs = ccs_base(local) + ccsindex; in join_net()
719 writeb(CCS_JOIN_NETWORK, &pccs->cmd); in join_net()
720 writeb(0, &pccs->var.join_network.update_param); in join_net()
721 writeb(0, &pccs->var.join_network.net_initiated); in join_net()
725 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in join_net()
876 struct ccs __iomem *pccs; in ray_hw_xmit() local
920 pccs = ccs_base(local) + ccsindex; in ray_hw_xmit()
922 writeb(CCS_TX_REQUEST, &pccs->cmd); in ray_hw_xmit()
923 writeb(addr >> 8, &pccs->var.tx_request.tx_data_ptr[0]); in ray_hw_xmit()
924 writeb(local->tib_length, &pccs->var.tx_request.tx_data_ptr[1]); in ray_hw_xmit()
925 writeb(len >> 8, &pccs->var.tx_request.tx_data_length[0]); in ray_hw_xmit()
926 writeb(len & 0xff, &pccs->var.tx_request.tx_data_length[1]); in ray_hw_xmit()
928 writeb(PSM_CAM, &pccs->var.tx_request.pow_sav_mode); in ray_hw_xmit()
929 writeb(local->net_default_tx_rate, &pccs->var.tx_request.tx_rate); in ray_hw_xmit()
930 writeb(0, &pccs->var.tx_request.antenna); in ray_hw_xmit()
941 writeb(CCS_BUFFER_FREE, &pccs->buffer_status); in ray_hw_xmit()
1581 struct ccs __iomem *pccs = ccs_base(local); in get_free_tx_ccs() local
1595 if (readb(&(pccs + i)->buffer_status) == CCS_BUFFER_FREE) { in get_free_tx_ccs()
1596 writeb(CCS_BUFFER_BUSY, &(pccs + i)->buffer_status); in get_free_tx_ccs()
1597 writeb(CCS_END_LIST, &(pccs + i)->link); in get_free_tx_ccs()
1613 struct ccs __iomem *pccs = ccs_base(local); in get_free_ccs() local
1626 if (readb(&(pccs + i)->buffer_status) == CCS_BUFFER_FREE) { in get_free_ccs()
1627 writeb(CCS_BUFFER_BUSY, &(pccs + i)->buffer_status); in get_free_ccs()
1628 writeb(CCS_END_LIST, &(pccs + i)->link); in get_free_ccs()
1718 struct ccs __iomem *pccs; in ray_update_parm() local
1729 pccs = ccs_base(local) + ccsindex; in ray_update_parm()
1730 writeb(CCS_UPDATE_PARAMS, &pccs->cmd); in ray_update_parm()
1731 writeb(objid, &pccs->var.update_param.object_id); in ray_update_parm()
1732 writeb(1, &pccs->var.update_param.number_objects); in ray_update_parm()
1733 writeb(0, &pccs->var.update_param.failure_cause); in ray_update_parm()
1740 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in ray_update_parm()
1748 struct ccs __iomem *pccs; in ray_update_multi_list() local
1762 pccs = ccs_base(local) + ccsindex; in ray_update_multi_list()
1763 writeb(CCS_UPDATE_MULTICAST_LIST, &pccs->cmd); in ray_update_multi_list()
1766 writeb(0xff, &pccs->var); in ray_update_multi_list()
1782 writeb((UCHAR) i, &pccs->var); in ray_update_multi_list()
1790 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in ray_update_multi_list()
1836 struct ccs __iomem *pccs; in ray_interrupt() local
1865 pccs = ccs_base(local) + rcsindex; in ray_interrupt()
1866 cmd = readb(&pccs->cmd); in ray_interrupt()
1867 status = readb(&pccs->buffer_status); in ray_interrupt()
1883 readb(&pccs->var.update_param. in ray_interrupt()
1909 (&pccs->var.start_network.net_initiated) == in ray_interrupt()
1920 pccs->var.start_network.bssid, in ray_interrupt()
1927 readb(&pccs->var.start_network. in ray_interrupt()
1930 readb(&pccs->var.start_network.encryption); in ray_interrupt()
1996 writeb(CCS_BUFFER_FREE, &pccs->buffer_status); in ray_interrupt()
2473 struct ccs __iomem *pccs; in associate() local
2488 pccs = ccs_base(local) + ccsindex; in associate()
2490 writeb(CCS_START_ASSOCIATION, &pccs->cmd); in associate()
2494 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in associate()
2664 struct ccs __iomem *pccs; in build_auth_frame() local
2674 pccs = ccs_base(local) + ccsindex; in build_auth_frame()
2679 writeb(CCS_TX_REQUEST, &pccs->cmd); in build_auth_frame()
2680 writeb(addr >> 8, pccs->var.tx_request.tx_data_ptr); in build_auth_frame()
2681 writeb(0x20, pccs->var.tx_request.tx_data_ptr + 1); in build_auth_frame()
2682 writeb(TX_AUTHENTICATE_LENGTH_MSB, pccs->var.tx_request.tx_data_length); in build_auth_frame()
2684 pccs->var.tx_request.tx_data_length + 1); in build_auth_frame()
2685 writeb(0, &pccs->var.tx_request.pow_sav_mode); in build_auth_frame()
2704 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in build_auth_frame()