Lines Matching full:ccs

90 static int interrupt_ecf(ray_dev_t *local, int ccs);
440 static inline struct ccs __iomem *ccs_base(ray_dev_t *dev) in ccs_base()
450 * and a "struct ccs" ends up being in the _index_ off in rcs_base()
452 * ccs/rcs. in rcs_base()
461 struct ccs __iomem *pccs; in ray_init()
495 /* Initialize CCS's to buffer free state */ in ray_init()
520 struct ccs __iomem *pccs; in dl_startup_params()
537 /* Fill in the CCS fields for the ECF */ in dl_startup_params()
629 struct ccs __iomem *pccs = ccs_base(local) + local->dl_param_ccs; in verify_dl_startup()
641 "verify_dl_startup parameters sent via ccs %d:\n", in verify_dl_startup()
671 struct ccs __iomem *pccs; in start_net()
678 /* Fill in the CCS fields for the ECF */ in start_net()
699 struct ccs __iomem *pccs; in join_net()
707 /* Fill in the CCS fields for the ECF */ in join_net()
865 struct ccs __iomem *pccs; in ray_hw_xmit()
882 pr_debug("ray_hw_xmit No free tx ccs\n"); in ray_hw_xmit()
908 /* fill in the CCS */ in ray_hw_xmit()
928 won't be done for a while. Maybe set tbusy until a CCS is free? in ray_hw_xmit()
1539 static int interrupt_ecf(ray_dev_t *local, int ccs) in interrupt_ecf() argument
1548 dev_dbg(&link->dev, "interrupt_ecf(local=%p, ccs = 0x%x\n", local, ccs); in interrupt_ecf()
1559 writeb(ccs, local->sram + SCB_BASE); in interrupt_ecf()
1565 /* Get next free transmit CCS */
1566 /* Return - index of current tx ccs */
1570 struct ccs __iomem *pccs = ccs_base(local); in get_free_tx_ccs()
1592 dev_dbg(&link->dev, "ray_cs ERROR no free tx CCS for raylink card\n"); in get_free_tx_ccs()
1597 /* Get next free CCS */
1598 /* Return - index of current ccs */
1602 struct ccs __iomem *pccs = ccs_base(local); in get_free_ccs()
1623 dev_dbg(&link->dev, "ray_cs ERROR no free CCS for raylink card\n"); in get_free_ccs()
1711 struct ccs __iomem *pccs; in ray_update_parm()
1719 dev_dbg(&link->dev, "ray_update_parm - No free ccs\n"); in ray_update_parm()
1741 struct ccs __iomem *pccs; in ray_update_multi_list()
1752 dev_dbg(&link->dev, "ray_update_multi - No free ccs\n"); in ray_update_multi_list()
1829 struct ccs __iomem *pccs; in ray_interrupt()
1857 if (rcsindex < NUMBER_OF_CCS) { /* If it's a returned CCS */ in ray_interrupt()
1886 case CCS_UPDATE_MULTICAST_LIST: /* Note that this CCS isn't returned */ in ray_interrupt()
1888 "ray_cs interrupt CCS Update Multicast List done\n"); in ray_interrupt()
1975 "ray_cs interrupt Unexpected CCS returned - Shutdown\n"); in ray_interrupt()
1986 "ray_cs interrupt Unexpected CCS 0x%x returned 0x%x\n", in ray_interrupt()
2001 /* do we need to clear tx buffers CCS's? */ in ray_interrupt()
2466 struct ccs __iomem *pccs; in associate()
2477 dev_dbg(&link->dev, "ray_cs associate - No free ccs\n"); in associate()
2482 /* fill in the CCS */ in associate()
2657 struct ccs __iomem *pccs; in build_auth_frame()
2663 pr_debug("ray_cs send authenticate - No free tx ccs\n"); in build_auth_frame()
2671 /* fill in the CCS */ in build_auth_frame()