/drivers/tty/serial/ |
H A D | sirfsoc_uart.c | 194 unsigned int ch, rx_count = 0; local 203 ch = rd_regl(port, SIRFUART_RX_FIFO_DATA) | SIRFUART_DUMMY_READ; 204 if (unlikely(uart_handle_sysrq_char(port, ch))) 206 uart_insert_char(port, 0, 0, ch, TTY_NORMAL); 576 static void sirfsoc_uart_console_putchar(struct uart_port *port, int ch) argument 581 wr_regb(port, SIRFUART_TX_FIFO_DATA, ch);
|
H A D | sn_console.c | 168 int ch; local 170 ia64_sn_console_getc(&ch); 171 return ch; 460 int ch; local 483 ch = port->sc_ops->sal_getc(); 484 if (ch < 0) { 486 "obtaining data from the console (0x%0x)\n", ch); 494 if (ch && time_before(jiffies, sysrq_timeout)) { 496 handle_sysrq(ch); 502 if (ch [all...] |
H A D | sunhv.c | 265 static void sunhv_send_xchar(struct uart_port *port, char ch) argument 273 long status = sun4v_con_putchar(ch);
|
H A D | uartlite.c | 70 unsigned char ch = 0; local 80 ch = ioread32be(port->membase + ULITE_RX); 106 tty_insert_flip_char(tty, ch, flag); 325 static void ulite_put_poll_char(struct uart_port *port, unsigned char ch) argument 331 iowrite32be(ch, port->membase + ULITE_TX); 377 static void ulite_console_putchar(struct uart_port *port, int ch) argument 380 iowrite32be(ch, port->membase + ULITE_TX);
|
H A D | vr41xx_siu.c | 317 uint8_t lsr, ch; local 325 ch = siu_read(port, UART_RX); 359 if (uart_handle_sysrq_char(port, ch)) 362 uart_insert_char(port, lsr, UART_LSR_OE, ch, flag); 765 static void siu_console_putchar(struct uart_port *port, int ch) argument 768 siu_write(port, UART_TX, ch);
|
H A D | vt8500_serial.c | 133 u16 ch; local 135 ch = readw(port->membase + VT8500_RXFIFO);
|
/drivers/tty/ |
H A D | tty_ioctl.c | 886 static int send_prio_char(struct tty_struct *tty, char ch) argument 891 tty->ops->send_xchar(tty, ch); 900 tty->ops->write(tty, &ch, 1);
|
/drivers/usb/gadget/ |
H A D | u_serial.c | 914 static int gs_put_char(struct tty_struct *tty, unsigned char ch) argument 921 port->port_num, tty, ch, __builtin_return_address(0)); 924 status = gs_buf_put(&port->port_write_buf, &ch, 1);
|
/drivers/usb/image/ |
H A D | mdc800.c | 249 static int mdc800_isBusy (char* ch) argument 254 if (ch [i] != (char)0x99) 265 static int mdc800_isReady (char *ch) argument 270 if (ch [i] != (char)0xbb)
|
/drivers/usb/musb/ |
H A D | cppi_dma.c | 958 * @ch: the channel 967 static int cppi_channel_program(struct dma_channel *ch, argument 975 cppi_ch = container_of(ch, struct cppi_channel, channel); 979 switch (ch->status) { 1003 ch->status = MUSB_DMA_STATUS_BUSY; 1021 static bool cppi_rx_scan(struct cppi *cppi, unsigned ch) argument 1023 struct cppi_channel *rx = &cppi->rx[ch];
|
/drivers/usb/serial/ |
H A D | ssu100.c | 619 char *ch; local 635 ch = packet + 4; 637 ch = packet; 643 for (i = 0; i < len; i++, ch++) { 644 if (!usb_serial_handle_sysrq_char(port, *ch)) 645 tty_insert_flip_char(tty, *ch, flag); 648 tty_insert_flip_string_fixed_flag(tty, ch, flag, len);
|
/drivers/video/console/ |
H A D | mdacon.c | 370 static inline u16 mda_convert_attr(u16 ch) argument 379 if (ch & 0x0800) attr = 0x7000; /* reverse */ 380 else if (ch & 0x0400) attr = 0x0100; /* underline */ 382 return ((ch & 0x0200) << 2) | /* intensity */ 383 (ch & 0x8000) | /* blink */ 384 (ch & 0x00ff) | attr; 415 static void mdacon_putc(struct vc_data *c, int ch, int y, int x) argument 417 scr_writew(mda_convert_attr(ch), MDA_ADDR(x, y));
|
/drivers/video/pnx4008/ |
H A D | sdum.c | 419 int i = 0, ch = 0; local 431 for (ch = 0; ch < NR_OF_CMDSTRINGS; ch++) 432 iowrite32(CMDSTRING_BASEADDR + BYTES_PER_CMDSTRING * ch, 433 cmdptrs + ch); 435 for (ch = 0; ch < MAX_DUM_CHANNELS; ch++) 436 clear_channel(ch); [all...] |
/drivers/atm/ |
H A D | firestream.c | 345 int j, ch; local 357 ch = ptr[j]; 358 printk ("%c", (ch < 0x20)?'.':((ch > 0x7f)?'.':ch));
|
/drivers/block/ |
H A D | cciss_scsi.c | 1187 unsigned char *ch; local 1203 ch = &ld_buff->LUNListLength[0]; 1204 num_luns = ((ch[0]<<24) | (ch[1]<<16) | (ch[2]<<8) | ch[3]) / 8;
|
/drivers/dma/ |
H A D | intel_mid_dma_regs.h | 174 * @busy: bool representing if ch is busy (active txn) or not 175 * @in_use: bool representing if ch is in use or not 214 * @ch: per channel data 218 * @chan_base: Base ch index (read from driver data) 230 struct intel_mid_dma_chan ch[MAX_CHAN]; member in struct:middma_device 247 void __iomem *block; /*ch ptr*/
|
H A D | mpc512x_dma.c | 280 int ch; local 282 while ((ch = fls(status) - 1) >= 0) { 283 status &= ~(1 << ch); 284 mchan = &mdma->channels[ch + off]; 288 out_8(&mdma->regs->dmacint, ch + off); 289 out_8(&mdma->regs->dmacerr, ch + off); 292 if (es & (1 << ch))
|
H A D | txx9dmac.c | 504 " desc: ch%#llx s%#llx d%#llx c%#x\n", 508 " desc: ch%#llx s%#llx d%#llx c%#x" 517 " desc: ch%#x s%#x d%#x c%#x\n", 521 " desc: ch%#x s%#x d%#x c%#x" 1126 int ch = pdev->id % TXX9_DMA_MAX_NR_CHANNELS; local 1139 if (pdata && pdata->memcpy_chan == ch) { 1163 dc->ddev->chan[ch] = dc; 1169 dc->ch_regs = &__txx9dmac_regs(dc->ddev)->CHAN[ch]; 1171 dc->ch_regs = &__txx9dmac_regs32(dc->ddev)->CHAN[ch];
|
/drivers/edac/ |
H A D | i7300_edac.c | 69 #define to_channel(ch, branch) ((((branch)) << 1) | (ch)) 71 #define to_csrow(slot, ch, branch) \ 72 (to_channel(ch, branch) | ((slot) << 2)) 612 * @ch: Channel number within the branch (0 or 1) 618 int slot, int ch, int branch, 625 channel = to_channel(ch, branch); 780 int ch, branch, slot, channel; local 812 for (ch = 0; ch < MAX_BRANCHE 617 decode_mtr(struct i7300_pvt *pvt, int slot, int ch, int branch, struct i7300_dimm_info *dinfo, struct csrow_info *p_csrow, u32 *nr_pages) argument [all...] |
/drivers/gpu/drm/ |
H A D | drm_modes.c | 1114 char *ch; local 1115 xres = simple_strtol(name, &ch, 10); 1116 if ((ch != NULL) && (*ch == 'x')) 1119 i = ch - name;
|
/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.h | 210 * @ch: Channel pointer. 230 struct srpt_rdma_ch *ch; member in struct:srpt_send_ioctx
|
/drivers/isdn/capi/ |
H A D | capi.c | 1088 static int capinc_tty_put_char(struct tty_struct *tty, unsigned char ch) argument 1095 pr_debug("capinc_put_char(%u)\n", ch); 1101 *(skb_put(skb, 1)) = ch; 1113 *(skb_put(skb, 1)) = ch; 1116 printk(KERN_ERR "capinc_put_char: char %u lost\n", ch); 1241 static void capinc_tty_send_xchar(struct tty_struct *tty, char ch) argument 1243 pr_debug("capinc_tty_send_xchar(%d)\n", ch);
|
/drivers/isdn/hardware/mISDN/ |
H A D | avmfritz.c | 351 pr_debug("%s: hdlc %c protocol %x-->%x ch %d\n", fc->name, 513 pr_debug("%s: ch%d stat %#x\n", fc->name, bch->nr, stat); 551 pr_debug("%s: ch%d XDU len(%d) idx(%d) Flags(%lx)\n", 555 pr_debug("%s: ch%d XDU no tx_skb Flags(%lx)\n", 656 avm_l2l1B(struct mISDNchannel *ch, struct sk_buff *skb) argument 658 struct bchannel *bch = container_of(ch, struct bchannel, ch); 675 queue_ch_frame(ch, PH_DATA_CNF, id, NULL); 682 ret = modehdlc(bch, ch->protocol); 687 _queue_data(ch, PH_ACTIVATE_IN 831 avm_bctrl(struct mISDNchannel *ch, u32 cmd, void *arg) argument 911 avm_dctrl(struct mISDNchannel *ch, u32 cmd, void *arg) argument [all...] |
H A D | hfcsusb.c | 210 hfcusb_l2l1B(struct mISDNchannel *ch, struct sk_buff *skb) argument 212 struct bchannel *bch = container_of(ch, struct bchannel, ch); 235 queue_ch_frame(ch, PH_DATA_CNF, hh->id, NULL); 242 ret = hfcsusb_setup_bch(bch, ch->protocol); 246 _queue_data(ch, PH_ACTIVATE_IND, MISDN_ID_ANY, 251 _queue_data(ch, PH_DEACTIVATE_IND, MISDN_ID_ANY, 274 phi->dch.ch.protocol = hw->protocol; 275 phi->dch.ch.Flags = dch->Flags; 279 phi->bch[i].protocol = hw->bch[i].ch 292 hfcusb_l2l1D(struct mISDNchannel *ch, struct sk_buff *skb) argument 431 open_dchannel(struct hfcsusb *hw, struct mISDNchannel *ch, struct channel_req *rq) argument 544 hfc_dctrl(struct mISDNchannel *ch, u_int cmd, void *arg) argument 1822 hfc_bctrl(struct mISDNchannel *ch, u_int cmd, void *arg) argument [all...] |
H A D | netjet.c | 728 nj_l2l1B(struct mISDNchannel *ch, struct sk_buff *skb) argument 731 struct bchannel *bch = container_of(ch, struct bchannel, ch); 748 queue_ch_frame(ch, PH_DATA_CNF, id, NULL); 755 ret = mode_tiger(bc, ch->protocol); 760 _queue_data(ch, PH_ACTIVATE_IND, MISDN_ID_ANY, 0, 768 _queue_data(ch, PH_DEACTIVATE_IND, MISDN_ID_ANY, 0, 799 nj_bctrl(struct mISDNchannel *ch, u32 cmd, void *arg) argument 801 struct bchannel *bch = container_of(ch, struct bchannel, ch); 880 nj_dctrl(struct mISDNchannel *ch, u32 cmd, void *arg) argument [all...] |