Lines Matching defs:timeslot
466 static void falc_open_timeslot(pc300_t * card, int ch, int timeslot)
471 cpc_writeb(falcbase + F_REG((ICB1 + (timeslot - tshf) / 8), ch),
472 cpc_readb(falcbase + F_REG((ICB1 + (timeslot - tshf) / 8), ch)) &
473 ~(0x80 >> ((timeslot - tshf) & 0x07)));
474 cpc_writeb(falcbase + F_REG((TTR1 + timeslot / 8), ch),
475 cpc_readb(falcbase + F_REG((TTR1 + timeslot / 8), ch)) |
476 (0x80 >> (timeslot & 0x07)));
477 cpc_writeb(falcbase + F_REG((RTR1 + timeslot / 8), ch),
478 cpc_readb(falcbase + F_REG((RTR1 + timeslot / 8), ch)) |
479 (0x80 >> (timeslot & 0x07)));
482 static void falc_close_timeslot(pc300_t * card, int ch, int timeslot)
487 cpc_writeb(falcbase + F_REG((ICB1 + (timeslot - tshf) / 8), ch),
488 cpc_readb(falcbase + F_REG((ICB1 + (timeslot - tshf) / 8), ch)) |
489 (0x80 >> ((timeslot - tshf) & 0x07)));
490 cpc_writeb(falcbase + F_REG((TTR1 + timeslot / 8), ch),
491 cpc_readb(falcbase + F_REG((TTR1 + timeslot / 8), ch)) &
492 ~(0x80 >> (timeslot & 0x07)));
493 cpc_writeb(falcbase + F_REG((RTR1 + timeslot / 8), ch),
494 cpc_readb(falcbase + F_REG((RTR1 + timeslot / 8), ch)) &
495 ~(0x80 >> (timeslot & 0x07)));