Lines Matching full:ccs

90 static int interrupt_ecf(ray_dev_t *local, int ccs);
446 static inline struct ccs __iomem *ccs_base(ray_dev_t *dev) in ccs_base()
456 * and a "struct ccs" ends up being in the _index_ off in rcs_base()
458 * ccs/rcs. in rcs_base()
467 struct ccs __iomem *pccs; in ray_init()
501 /* Initialize CCS's to buffer free state */ in ray_init()
526 struct ccs __iomem *pccs; in dl_startup_params()
543 /* Fill in the CCS fields for the ECF */ in dl_startup_params()
635 struct ccs __iomem *pccs = ccs_base(local) + local->dl_param_ccs; in verify_dl_startup()
647 "verify_dl_startup parameters sent via ccs %d:\n", in verify_dl_startup()
677 struct ccs __iomem *pccs; in start_net()
684 /* Fill in the CCS fields for the ECF */ in start_net()
705 struct ccs __iomem *pccs; in join_net()
713 /* Fill in the CCS fields for the ECF */ in join_net()
871 struct ccs __iomem *pccs; in ray_hw_xmit()
888 pr_debug("ray_hw_xmit No free tx ccs\n"); in ray_hw_xmit()
914 /* fill in the CCS */ in ray_hw_xmit()
934 won't be done for a while. Maybe set tbusy until a CCS is free? in ray_hw_xmit()
1545 static int interrupt_ecf(ray_dev_t *local, int ccs) in interrupt_ecf() argument
1554 dev_dbg(&link->dev, "interrupt_ecf(local=%p, ccs = 0x%x\n", local, ccs); in interrupt_ecf()
1565 writeb(ccs, local->sram + SCB_BASE); in interrupt_ecf()
1571 /* Get next free transmit CCS */
1572 /* Return - index of current tx ccs */
1576 struct ccs __iomem *pccs = ccs_base(local); in get_free_tx_ccs()
1598 dev_dbg(&link->dev, "ray_cs ERROR no free tx CCS for raylink card\n"); in get_free_tx_ccs()
1603 /* Get next free CCS */
1604 /* Return - index of current ccs */
1608 struct ccs __iomem *pccs = ccs_base(local); in get_free_ccs()
1629 dev_dbg(&link->dev, "ray_cs ERROR no free CCS for raylink card\n"); in get_free_ccs()
1713 struct ccs __iomem *pccs; in ray_update_parm()
1721 dev_dbg(&link->dev, "ray_update_parm - No free ccs\n"); in ray_update_parm()
1743 struct ccs __iomem *pccs; in ray_update_multi_list()
1754 dev_dbg(&link->dev, "ray_update_multi - No free ccs\n"); in ray_update_multi_list()
1831 struct ccs __iomem *pccs; in ray_interrupt()
1859 if (rcsindex < NUMBER_OF_CCS) { /* If it's a returned CCS */ in ray_interrupt()
1888 case CCS_UPDATE_MULTICAST_LIST: /* Note that this CCS isn't returned */ in ray_interrupt()
1890 "ray_cs interrupt CCS Update Multicast List done\n"); in ray_interrupt()
1977 "ray_cs interrupt Unexpected CCS returned - Shutdown\n"); in ray_interrupt()
1988 "ray_cs interrupt Unexpected CCS 0x%x returned 0x%x\n", in ray_interrupt()
2003 /* do we need to clear tx buffers CCS's? */ in ray_interrupt()
2468 struct ccs __iomem *pccs; in associate()
2479 dev_dbg(&link->dev, "ray_cs associate - No free ccs\n"); in associate()
2484 /* fill in the CCS */ in associate()
2659 struct ccs __iomem *pccs; in build_auth_frame()
2665 pr_debug("ray_cs send authenticate - No free tx ccs\n"); in build_auth_frame()
2673 /* fill in the CCS */ in build_auth_frame()