/linux-2.4.37.9/drivers/sound/ |
D | awe_hw.h | 33 #define awe_cmd_idx(reg,ch) (((reg)<< 5) | (ch)) argument 41 #define AWE_CPF(ch) awe_cmd_idx(0,ch), Data0 /* DW: current pitch and fractional address */ argument 42 #define AWE_PTRX(ch) awe_cmd_idx(1,ch), Data0 /* DW: pitch target and reverb send */ argument 43 #define AWE_CVCF(ch) awe_cmd_idx(2,ch), Data0 /* DW: current volume and filter cutoff */ argument 44 #define AWE_VTFT(ch) awe_cmd_idx(3,ch), Data0 /* DW: volume and filter cutoff targets */ argument 45 #define AWE_0080(ch) awe_cmd_idx(4,ch), Data0 /* DW: ?? */ argument 46 #define AWE_00A0(ch) awe_cmd_idx(5,ch), Data0 /* DW: ?? */ argument 47 #define AWE_PSST(ch) awe_cmd_idx(6,ch), Data0 /* DW: pan send and loop start address */ argument 48 #define AWE_CSL(ch) awe_cmd_idx(7,ch), Data0 /* DW: chorus send and loop end address */ argument 49 #define AWE_CCCA(ch) awe_cmd_idx(0,ch), Data1 /* DW: Q, control bits, and current address */ argument [all …]
|
/linux-2.4.37.9/drivers/char/ |
D | epca.c | 152 static inline void globalwinon(struct channel *ch); 153 static inline void rxwinon(struct channel *ch); 154 static inline void txwinon(struct channel *ch); 155 static inline void memoff(struct channel *ch); 156 static inline void assertgwinon(struct channel *ch); 157 static inline void assertmemoff(struct channel *ch); 163 static inline void pcxem_globalwinon(struct channel *ch); 164 static inline void pcxem_rxwinon(struct channel *ch); 165 static inline void pcxem_txwinon(struct channel *ch); 166 static inline void pcxem_memoff(struct channel *ch); [all …]
|
D | pcxx.c | 169 static void pcxxparam(struct tty_struct *, struct channel *ch); 177 static void digi_send_break(struct channel *ch, int msec); 179 static void setup_empty_event(struct tty_struct *tty, struct channel *ch); 182 static inline void globalwinon(struct channel *ch); 183 static inline void rxwinon(struct channel *ch); 184 static inline void txwinon(struct channel *ch); 185 static inline void memoff(struct channel *ch); 186 static inline void assertgwinon(struct channel *ch); 187 static inline void assertmemoff(struct channel *ch); 199 struct channel *ch; in cleanup_board_resources() local [all …]
|
D | moxa.c | 339 struct moxa_str *ch; in moxa_init() local 388 for (i = 0, ch = moxaChannels; i < MAX_PORTS; i++, ch++) { in moxa_init() 389 ch->type = PORT_16550A; in moxa_init() 390 ch->port = i; in moxa_init() 391 ch->tqueue.routine = do_moxa_softint; in moxa_init() 392 ch->tqueue.data = ch; in moxa_init() 393 ch->tty = 0; in moxa_init() 394 ch->close_delay = 5 * HZ / 10; in moxa_init() 395 ch->closing_wait = 30 * HZ; in moxa_init() 396 ch->count = 0; in moxa_init() [all …]
|
/linux-2.4.37.9/drivers/net/wan/ |
D | comx.c | 131 struct comx_channel *ch = dev->priv; in comx_debug() local 136 if (!ch->debug_area) return 0; in comx_debug() 152 int free = (ch->debug_start - ch->debug_end + ch->debug_size) in comx_debug() 153 % ch->debug_size; in comx_debug() 155 to_copy = min_t(int, free ? free : ch->debug_size, in comx_debug() 156 min_t(int, ch->debug_size - ch->debug_end, len)); in comx_debug() 157 memcpy(ch->debug_area + ch->debug_end, str, to_copy); in comx_debug() 160 ch->debug_end = (ch->debug_end + to_copy) % ch->debug_size; in comx_debug() 161 if (ch->debug_start == ch->debug_end) // Full ? push start away in comx_debug() 162 ch->debug_start = (ch->debug_start + len + 1) % in comx_debug() [all …]
|
D | pc300_drv.c | 112 static void tx_dma_buf_pt_init(pc300_t * card, int ch) in tx_dma_buf_pt_init() argument 115 int ch_factor = ch * N_DMA_TX_BUF; in tx_dma_buf_pt_init() 127 static void tx_dma_buf_init(pc300_t * card, int ch) in tx_dma_buf_init() argument 130 int ch_factor = ch * N_DMA_TX_BUF; in tx_dma_buf_init() 139 tx_dma_buf_pt_init(card, ch); in tx_dma_buf_init() 142 static void rx_dma_buf_pt_init(pc300_t * card, int ch) in rx_dma_buf_pt_init() argument 145 int ch_factor = ch * N_DMA_RX_BUF; in rx_dma_buf_pt_init() 157 static void rx_dma_buf_init(pc300_t * card, int ch) in rx_dma_buf_init() argument 160 int ch_factor = ch * N_DMA_RX_BUF; in rx_dma_buf_init() 169 rx_dma_buf_pt_init(card, ch); in rx_dma_buf_init() [all …]
|
D | comx-proto-ppp.c | 63 struct comx_channel *ch=dev->priv; in syncppp_status_timerfun() local 64 struct syncppp_data *spch=ch->LINE_privdata; in syncppp_status_timerfun() 67 if(!(ch->line_status & PROTO_UP) && in syncppp_status_timerfun() 69 comx_status(dev, ch->line_status | PROTO_UP); in syncppp_status_timerfun() 71 if((ch->line_status & PROTO_UP) && in syncppp_status_timerfun() 73 comx_status(dev, ch->line_status & ~PROTO_UP); in syncppp_status_timerfun() 80 struct comx_channel *ch=dev->priv; in syncppp_tx() local 82 if(ch->line_status & LINE_UP) { in syncppp_tx() 104 struct comx_channel *ch = dev->priv; in syncppp_open() local 105 struct syncppp_data *spch = ch->LINE_privdata; in syncppp_open() [all …]
|
D | comx-hw-comx.c | 127 struct comx_channel *ch = dev->priv; in COMX_set_clock() local 128 struct comx_privdata *hw = ch->HW_privdata; in COMX_set_clock() 135 struct comx_channel *ch = dev->priv; in COMX_access_board() local 151 if (!ch->twin || ret != ch->twin) { in COMX_access_board() 153 ch->HW_board_on(dev); in COMX_access_board() 164 struct comx_channel *ch = dev->priv; in COMX_release_board() local 173 if (!ch->twin || ch->twin != savep) { in COMX_release_board() 174 ch->HW_board_off(dev); in COMX_release_board() 184 struct comx_channel *ch = dev->priv; in COMX_txe() local 187 savep = ch->HW_access_board(dev); in COMX_txe() [all …]
|
D | comx-proto-lapb.c | 66 struct comx_channel *ch; in comxlapb_status() local 68 if (!dev || !(ch = dev->priv)) { in comxlapb_status() 79 struct comx_channel *ch = dev->priv; in comxlapb_open() local 82 if (!(ch->init_status & HW_OPEN)) { in comxlapb_open() 86 err = lapb_connect_request(ch); in comxlapb_open() 88 if (ch->debug_flags & DEBUG_COMX_LAPB) { in comxlapb_open() 94 ch->init_status |= LINE_OPEN; in comxlapb_open() 102 struct comx_channel *ch = dev->priv; in comxlapb_close() local 104 if (!(ch->init_status & HW_OPEN)) { in comxlapb_close() 108 if (ch->debug_flags & DEBUG_COMX_LAPB) { in comxlapb_close() [all …]
|
D | comx-hw-mixcom.c | 119 struct comx_channel *ch = dev->priv; in hscx_fill_fifo() local 120 struct mixcom_privdata *hw = ch->HW_privdata; in hscx_fill_fifo() 139 struct comx_channel *ch = dev->priv; in hscx_empty_fifo() local 140 struct mixcom_privdata *hw = ch->HW_privdata; in hscx_empty_fifo() 144 ch->stats.rx_dropped++; in hscx_empty_fifo() 166 struct comx_channel *ch = dev->priv; in MIXCOM_txe() local 167 struct mixcom_privdata *hw = ch->HW_privdata; in MIXCOM_txe() 206 struct comx_channel *ch = dev->priv; 207 struct mixcom_privdata *hw = ch->HW_privdata; 239 struct comx_channel *ch = dev->priv; in mixcom_on() local [all …]
|
D | comx-proto-fr.c | 85 struct comx_channel *ch = dev->priv; in fr_keepalive_send() local 86 struct fr_data *fr = ch->LINE_privdata; in fr_keepalive_send() 121 struct comx_channel *ch = dev->priv; in fr_keepalive_timerfun() local 122 struct fr_data *fr = ch->LINE_privdata; in fr_keepalive_timerfun() 123 struct proc_dir_entry *dir = ch->procdir->parent->subdir; in fr_keepalive_timerfun() 128 if (ch->init_status & LINE_OPEN) { in fr_keepalive_timerfun() 130 comx_status(dev, ch->line_status & ~PROTO_UP); in fr_keepalive_timerfun() 159 struct comx_channel *ch = dev->priv; in fr_rx_lmi() local 160 struct fr_data *fr = ch->LINE_privdata; in fr_rx_lmi() 161 struct proc_dir_entry *dir = ch->procdir->parent->subdir; in fr_rx_lmi() [all …]
|
D | comx-hw-locomx.c | 80 struct comx_channel *ch = dev->priv; in LOCOMX_txe() local 81 struct locomx_data *hw = ch->HW_privdata; in LOCOMX_txe() 90 struct comx_channel *ch=dev->priv; in locomx_rx() local 92 if (ch->debug_flags & DEBUG_HW_RX) { in locomx_rx() 95 ch->LINE_rx(dev,skb); in locomx_rx() 100 struct comx_channel *ch = (struct comx_channel *)dev->priv; in LOCOMX_send_packet() local 101 struct locomx_data *hw = ch->HW_privdata; in LOCOMX_send_packet() 103 if (ch->debug_flags & DEBUG_HW_TX) { in LOCOMX_send_packet() 107 if (!(ch->line_status & LINE_UP)) { in LOCOMX_send_packet() 116 if (ch->debug_flags & DEBUG_HW_TX) { in LOCOMX_send_packet() [all …]
|
/linux-2.4.37.9/drivers/ieee1394/ |
D | cmp.c | 84 struct cmp_host *ch; in cmp_register_opcr() local 87 ch = hpsb_get_hostinfo(&cmp_highlevel, host); in cmp_register_opcr() 89 if (opcr_number >= ch->u.ompr.nplugs || in cmp_register_opcr() 90 ch->opcr[opcr_number].update != NULL) in cmp_register_opcr() 93 plug = &ch->opcr[opcr_number]; in cmp_register_opcr() 107 struct cmp_host *ch; in cmp_unregister_opcr() local 110 ch = hpsb_get_hostinfo(&cmp_highlevel, host); in cmp_unregister_opcr() 112 if (plug - ch->opcr >= ch->u.ompr.nplugs) BUG(); in cmp_unregister_opcr() 118 static void reset_plugs(struct cmp_host *ch) in reset_plugs() argument 122 ch->u.ompr.non_persistent_ext = 0xff; in reset_plugs() [all …]
|
/linux-2.4.37.9/drivers/s390/net/ |
D | ctcmain.c | 769 static __inline__ void ctc_unpack_skb(channel *ch, struct sk_buff *pskb) in ctc_unpack_skb() argument 771 net_device *dev = ch->netdev; in ctc_unpack_skb() 784 if ((ch->protocol == CTC_PROTO_S390) && in ctc_unpack_skb() 787 if (!(ch->logflags & LOG_FLAG_ILLEGALPKT)) { in ctc_unpack_skb() 800 ch->logflags |= LOG_FLAG_ILLEGALPKT; in ctc_unpack_skb() 815 if (!(ch->logflags & LOG_FLAG_ILLEGALSIZE)) { in ctc_unpack_skb() 823 ch->logflags |= LOG_FLAG_ILLEGALSIZE; in ctc_unpack_skb() 839 if (!(ch->logflags & LOG_FLAG_OVERRUN)) { in ctc_unpack_skb() 846 ch->logflags |= LOG_FLAG_OVERRUN; in ctc_unpack_skb() 863 if (!(ch->logflags & LOG_FLAG_NOMEM)) { in ctc_unpack_skb() [all …]
|
/linux-2.4.37.9/arch/s390/kernel/ |
D | gdb-stub.c | 102 static int hex(unsigned char ch); 122 static int hex(unsigned char ch) in hex() argument 124 if (ch >= 'a' && ch <= 'f') in hex() 125 return ch-'a'+10; in hex() 126 if (ch >= '0' && ch <= '9') in hex() 127 return ch-'0'; in hex() 128 if (ch >= 'A' && ch <= 'F') in hex() 129 return ch-'A'+10; in hex() 142 unsigned char ch; in getpacket() local 149 while ((ch = (getDebugChar() & 0x7f)) != '$') ; in getpacket() [all …]
|
/linux-2.4.37.9/arch/s390x/kernel/ |
D | gdb-stub.c | 100 static int hex(unsigned char ch); 120 static int hex(unsigned char ch) in hex() argument 122 if (ch >= 'a' && ch <= 'f') in hex() 123 return ch-'a'+10; in hex() 124 if (ch >= '0' && ch <= '9') in hex() 125 return ch-'0'; in hex() 126 if (ch >= 'A' && ch <= 'F') in hex() 127 return ch-'A'+10; in hex() 140 unsigned char ch; in getpacket() local 147 while ((ch = (getDebugChar() & 0x7f)) != '$') ; in getpacket() [all …]
|
/linux-2.4.37.9/arch/mips/galileo-boards/ev96100/ |
D | puts.c | 40 unsigned char ch; in putch() local 44 ch = com1[SERB_CMD]; in putch() 50 } while (0 == (ch & TX_BUSY)); in putch() 56 unsigned char ch; in putchar() local 60 ch = com1[SERB_CMD]; in putchar() 66 } while (0 == (ch & TX_BUSY)); in putchar() 72 unsigned char ch; in puts() local 77 ch = com1[SERB_CMD]; in puts() 83 } while (0 == (ch & TX_BUSY)); in puts() 92 unsigned char ch; in fputs() local [all …]
|
/linux-2.4.37.9/include/asm-mips/jmr3927/ |
D | tx3927.h | 20 #define TX3927_TMR_REG(ch) (0xfffef000 + (ch) * 0x100) argument 22 #define TX3927_SIO_REG(ch) (0xfffef300 + (ch) * 0x100) argument 48 } ch[4]; member 181 #define TX3927_DMA_MCR_EIS(ch) (0x10000000<<(ch)) argument 182 #define TX3927_DMA_MCR_DIS(ch) (0x01000000<<(ch)) argument 184 #define TX3927_DMA_MCR_FIFUM(ch) (0x00000008<<(ch)) argument 260 #define TX3927_IR_SIO(ch) (6 + (ch)) argument 333 #define TX3927_PCFG_SDRCLKEN(ch) (0x00400000<<(ch)) argument 335 #define TX3927_PCFG_PCICLKEN(ch) (0x00040000<<(ch)) argument 340 #define TX3927_PCFG_SELSIOC(ch) (0x00004000<<(ch)) argument [all …]
|
/linux-2.4.37.9/arch/mips/ite-boards/generic/ |
D | puts.c | 57 unsigned char ch; in putch() local 61 ch = com1[SER_CMD]; in putch() 67 } while (0 == (ch & TX_BUSY)); in putch() 73 unsigned char ch; in puts() local 78 ch = com1[SER_CMD]; in puts() 84 } while (0 == (ch & TX_BUSY)); in puts() 93 unsigned char ch; in fputs() local 99 ch = com1[SER_CMD]; in fputs() 105 } while (0 == (ch & TX_BUSY)); in fputs() 114 unsigned ch; in put64() local [all …]
|
/linux-2.4.37.9/arch/mips/au1000/common/ |
D | puts.c | 59 unsigned char ch; in putch() local 63 ch = com1[SER_CMD]; in putch() 69 } while (0 == (ch & TX_BUSY)); in putch() 76 unsigned char ch; in puts() local 81 ch = com1[SER_CMD]; in puts() 87 } while (0 == (ch & TX_BUSY)); in puts() 97 unsigned char ch; in fputs() local 103 ch = com1[SER_CMD]; in fputs() 109 } while (0 == (ch & TX_BUSY)); in fputs() 119 unsigned ch; in put64() local [all …]
|
/linux-2.4.37.9/drivers/isdn/isdnloop/ |
D | isdnloop.c | 53 isdnloop_bchan_send(isdnloop_card * card, int ch) in isdnloop_bchan_send() argument 55 isdnloop_card *rcard = card->rcard[ch]; in isdnloop_bchan_send() 56 int rch = card->rch[ch], len, ack; in isdnloop_bchan_send() 60 while (card->sndcount[ch]) { in isdnloop_bchan_send() 61 if ((skb = skb_dequeue(&card->bqueue[ch]))) { in isdnloop_bchan_send() 63 card->sndcount[ch] -= len; in isdnloop_bchan_send() 66 cmd.arg = ch; in isdnloop_bchan_send() 81 card->sndcount[ch] = 0; in isdnloop_bchan_send() 320 int ch; in isdnloop_polldchan() local 343 ch = (card->imsg[1] - '0') - 1; in isdnloop_polldchan() [all …]
|
/linux-2.4.37.9/arch/ppc/kernel/ |
D | ppc-stub.c | 172 hex(unsigned char ch) in hex() argument 174 if (ch >= 'a' && ch <= 'f') in hex() 175 return ch-'a'+10; in hex() 176 if (ch >= '0' && ch <= '9') in hex() 177 return ch-'0'; in hex() 178 if (ch >= 'A' && ch <= 'F') in hex() 179 return ch-'A'+10; in hex() 190 unsigned char ch; in mem2hex() local 195 ch = *mem++; in mem2hex() 196 *buf++ = hexchars[ch >> 4]; in mem2hex() [all …]
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | ppc-stub.c | 169 hex(unsigned char ch) in hex() argument 171 if (ch >= 'a' && ch <= 'f') in hex() 172 return ch-'a'+10; in hex() 173 if (ch >= '0' && ch <= '9') in hex() 174 return ch-'0'; in hex() 175 if (ch >= 'A' && ch <= 'F') in hex() 176 return ch-'A'+10; in hex() 187 unsigned char ch; in mem2hex() local 192 ch = *mem++; in mem2hex() 193 *buf++ = hexchars[ch >> 4]; in mem2hex() [all …]
|
/linux-2.4.37.9/drivers/isdn/sc/ |
D | shmem.c | 38 unsigned char ch; in memcpy_toshmem() local 52 ch = (unsigned long) dest / SRAM_PAGESIZE; in memcpy_toshmem() 53 pr_debug("%s: loaded page %d\n",adapter[card]->devicename,ch); in memcpy_toshmem() 60 outb(((adapter[card]->shmem_magic + ch * SRAM_PAGESIZE) >> 14) | 0x80, in memcpy_toshmem() 63 ((adapter[card]->shmem_magic + ch * SRAM_PAGESIZE)>>14)|0x80); in memcpy_toshmem() 80 unsigned char ch; in memcpy_fromshmem() local 94 ch = (unsigned long) src / SRAM_PAGESIZE; in memcpy_fromshmem() 95 pr_debug("%s: loaded page %d\n",adapter[card]->devicename,ch); in memcpy_fromshmem() 104 outb(((adapter[card]->shmem_magic + ch * SRAM_PAGESIZE) >> 14) | 0x80, in memcpy_fromshmem() 107 ((adapter[card]->shmem_magic + ch * SRAM_PAGESIZE)>>14)|0x80); in memcpy_fromshmem() [all …]
|
/linux-2.4.37.9/arch/sparc/kernel/ |
D | sparc-stub.c | 219 hex(unsigned char ch) in hex() argument 221 if (ch >= 'a' && ch <= 'f') in hex() 222 return ch-'a'+10; in hex() 223 if (ch >= '0' && ch <= '9') in hex() 224 return ch-'0'; in hex() 225 if (ch >= 'A' && ch <= 'F') in hex() 226 return ch-'A'+10; in hex() 238 unsigned char ch; in getpacket() local 242 while ((ch = (getDebugChar() & 0x7f)) != '$') ; in getpacket() 251 ch = getDebugChar() & 0x7f; in getpacket() [all …]
|