Searched defs:ch (Results 151 - 175 of 336) sorted by relevance

1234567891011>>

/drivers/tty/serial/
H A Dsirfsoc_uart.c194 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 Dsn_console.c168 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 Dsunhv.c265 static void sunhv_send_xchar(struct uart_port *port, char ch) argument
273 long status = sun4v_con_putchar(ch);
H A Duartlite.c70 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 Dvr41xx_siu.c317 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 Dvt8500_serial.c133 u16 ch; local
135 ch = readw(port->membase + VT8500_RXFIFO);
/drivers/tty/
H A Dtty_ioctl.c886 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 Du_serial.c914 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 Dmdc800.c249 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 Dcppi_dma.c958 * @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 Dssu100.c619 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 Dmdacon.c370 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 Dsdum.c419 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 Dfirestream.c345 int j, ch; local
357 ch = ptr[j];
358 printk ("%c", (ch < 0x20)?'.':((ch > 0x7f)?'.':ch));
/drivers/block/
H A Dcciss_scsi.c1187 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 Dintel_mid_dma_regs.h174 * @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 Dmpc512x_dma.c280 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 Dtxx9dmac.c504 " 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 Di7300_edac.c69 #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 Ddrm_modes.c1114 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 Dib_srpt.h210 * @ch: Channel pointer.
230 struct srpt_rdma_ch *ch; member in struct:srpt_send_ioctx
/drivers/isdn/capi/
H A Dcapi.c1088 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 Davmfritz.c351 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 Dhfcsusb.c210 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 Dnetjet.c728 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...]

Completed in 472 milliseconds

1234567891011>>