Lines Matching defs:enable
542 static int tx_enable(SLMP_INFO *info, int enable);
544 static int rx_enable(SLMP_INFO *info, int enable);
590 static void enable_loopback(SLMP_INFO *info, int enable);
741 /* Called when a port is opened. Init and enable port.
1138 /* enable transmitter and send remaining buffered characters
1655 /* enable network layer transmit */
2294 /* disable TXRDY IRQ, enable IDLE IRQ */
2365 /* program TXRDY as FIFO empty flag, enable TXRDY IRQ */
2925 static int tx_enable(SLMP_INFO * info, int enable)
2931 __FILE__,__LINE__,info->device_name, enable);
2934 if ( enable ) {
2972 static int rx_enable(SLMP_INFO * info, int enable)
2978 __FILE__,__LINE__,info->device_name,enable);
2981 if ( enable ) {
3034 /* enable hunt and idle irqs if needed */
3105 /* disable enable exit hunt mode/idle rcvd IRQs */
4005 static void enable_loopback(SLMP_INFO *info, int enable)
4007 if (enable) {
4117 /* enable the receiver
4159 write_reg(info, RXDMA + DIR, 0x60); /* enable Rx DMA interrupts (EOM/BOF) */
4160 write_reg(info, RXDMA + DSR, 0xf2); /* clear Rx DMA IRQs, enable Rx DMA */
4162 /* async, enable IRQ on rxdata */
4221 /* enable underrun IRQ */
4227 write_reg(info, TXDMA + DIR, 0x40); /* enable Tx DMA interrupts (EOM) */
4228 write_reg(info, TXDMA + DSR, 0xf2); /* clear Tx DMA IRQs, enable Tx DMA */
4235 /* async, enable IRQ on txdata */
4369 * 04 AUTO, Auto-enable (RTS/CTS/DCD)
4469 * 02 SYNCLD, sync char load enable (BSC) 1=enabled
4480 /* enable status interrupts */
4484 /* enable break detect interrupt */
4488 /* enable rx overrun interrupt */
4515 * 04 AUTO, Auto-enable (RTS/CTS/DCD)
4646 * 01 CNTE, Frame End IRQ Counter enable: 0=disabled
4662 /* enable status interrupts. other code enables/disables
4674 * 02 SYNCLD, sync char load enable (BSC) 1=enabled
5140 /* DMA Master Enable, BIT7: 1=enable all channels */
5143 /* enable all interrupt classes */