Home
last modified time | relevance | path

Searched refs:opt_dcd (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/net/hamradio/
Dbaycom_ser_hdx.c116 int opt_dcd; member
196 #define SER12_ARB_DIVIDER(bc) (bc->opt_dcd ? 24 : 36)
198 #define SER12_DCD_INTERVAL(bc) (bc->opt_dcd ? 12 : 240)
230 if (!bc->opt_dcd) { in ser12_rx()
256 if (!bc->opt_dcd) { in ser12_rx()
360 if (bc->opt_dcd & 1) in ser12_rx()
361 hdlcdrv_setdcd(&bc->hdrv, !((inb(MSR(dev->base_addr)) ^ bc->opt_dcd) & 0x80)); in ser12_rx()
506 ser12_set_divisor(dev, bc->opt_dcd ? 6 : 4); in ser12_open()
557 bc->opt_dcd = 0; in baycom_setmode()
559 bc->opt_dcd = -1; in baycom_setmode()
[all …]
Dbaycom_ser_fdx.c129 int opt_dcd; member
253 if (!bc->opt_dcd) in ser12_rx()
302 if ((msr & 8) && bc->opt_dcd) in ser12_interrupt()
303 hdlcdrv_setdcd(&bc->hdrv, !((msr ^ bc->opt_dcd) & 0x80)); in ser12_interrupt()
336 if ((msr & 8) && bc->opt_dcd) in ser12_interrupt()
337 hdlcdrv_setdcd(&bc->hdrv, !((msr ^ bc->opt_dcd) & 0x80)); in ser12_interrupt()
528 bc->opt_dcd = 0; in baycom_setmode()
530 bc->opt_dcd = -1; in baycom_setmode()
532 bc->opt_dcd = 1; in baycom_setmode()
558 if (bc->opt_dcd <= 0) in baycom_ioctl()
[all …]