Searched refs:ch (Results 1 - 25 of 1048) sorted by path

1234567891011>>

/linux-master/arch/arm/mach-lpc32xx/
H A Dphy3250.c39 static void pl08x_put_signal(const struct pl08x_channel_data *cd, int ch) argument
/linux-master/arch/m68k/include/asm/
H A Dopenprom.h102 int (*pv_putchar)(int ch);
104 int (*pv_nbputchar)(int ch);
212 void (*pv_putchar)(int ch);
216 int (*pv_nbputchar)(int ch);
/linux-master/arch/mips/ath25/
H A Dearly_printk.c19 unsigned char ch)
21 __raw_writel(ch, base + 4 * reg);
29 void prom_putchar(char ch) argument
42 prom_uart_wr(base, UART_TX, (unsigned char)ch);
18 prom_uart_wr(void __iomem *base, unsigned reg, unsigned char ch) argument
/linux-master/arch/mips/include/asm/mach-rc32434/
H A Ddma.h101 struct dma_reg ch[DMA_CHAN_COUNT]; member in struct:dma_channel
H A Ddma_v.h26 static inline int rc32434_halt_dma(struct dma_reg *ch) argument
29 if (__raw_readl(&ch->dmac) & DMA_CHAN_RUN_BIT) {
30 __raw_writel(0, &ch->dmac);
32 if (__raw_readl(&ch->dmas) & DMA_STAT_HALT) {
33 __raw_writel(0, &ch->dmas);
42 static inline void rc32434_start_dma(struct dma_reg *ch, u32 dma_addr) argument
44 __raw_writel(0, &ch->dmandptr);
45 __raw_writel(dma_addr, &ch->dmadptr);
48 static inline void rc32434_chain_dma(struct dma_reg *ch, u32 dma_addr) argument
50 __raw_writel(dma_addr, &ch
[all...]
/linux-master/arch/mips/include/asm/sibyte/
H A Dsb1250_mac.h427 * In the following definitions we use ch (0/1) and txrx (TX=1, RX=0, see
430 #define S_MAC_STATUS_CH_OFFSET(ch, txrx) _SB_MAKE64(((ch) + 2 * (txrx)) * S_MAC_CHANWIDTH)
432 #define M_MAC_STATUS_CHANNEL(ch, txrx) _SB_MAKEVALUE(_SB_MAKEMASK(8, 0), S_MAC_STATUS_CH_OFFSET(ch, txrx))
433 #define M_MAC_STATUS_EOP_COUNT(ch, txrx) _SB_MAKEVALUE(M_MAC_INT_EOP_COUNT, S_MAC_STATUS_CH_OFFSET(ch, txrx))
434 #define M_MAC_STATUS_EOP_TIMER(ch, txrx) _SB_MAKEVALUE(M_MAC_INT_EOP_TIMER, S_MAC_STATUS_CH_OFFSET(ch, txrx))
435 #define M_MAC_STATUS_EOP_SEEN(ch, txr
[all...]
/linux-master/arch/mips/include/asm/txx9/
H A Dtx4927.h49 #define TX4927_TMR_REG(ch) (TX4927_REG_BASE + 0xf000 + (ch) * 0x100)
51 #define TX4927_SIO_REG(ch) (TX4927_REG_BASE + 0xf300 + (ch) * 0x100)
142 #define TX4927_PCFG_SDCLKEN(ch) (0x00800000<<(ch))
144 #define TX4927_PCFG_PCICLKEN(ch) (0x00010000<<(ch))
203 #define TX4927_SDRAMC_CR(ch) __raw_readq(&tx4927_sdramcptr->cr[(ch)])
[all...]
H A Dtx4927pcic.h129 #define TX4927_PCIC_PCICCFG_G2PMEN(ch) (0x00000100>>(ch))
H A Dtx4938.h31 #define TX4938_DMA_REG(ch) (TX4938_REG_BASE + 0xb000 + (ch) * 0x800)
35 #define TX4938_TMR_REG(ch) ((TX4938_REG_BASE + 0xf000) + (ch) * 0x100)
37 #define TX4938_SIO_REG(ch) ((TX4938_REG_BASE + 0xf300) + (ch) * 0x100)
73 #define TX4938_IR_DMA(ch, n) ((ch ? 27 : 10) + (n)) /* 10-13, 27-30 */
147 #define TX4938_PCFG_SDCLKEN(ch) (0x00800000<<(ch))
[all...]
/linux-master/arch/mips/ralink/
H A Dearly_printk.c70 void prom_putchar(char ch) argument
78 uart_w32((unsigned char)ch, UART_TX);
84 uart_w32((unsigned char)ch, UART_REG_TX);
/linux-master/arch/nios2/boot/compressed/
H A Dconsole.c26 static void jtag_putc(int ch) argument
30 writeb(ch, uartbase + ALTERA_JTAGUART_DATA_REG);
33 static void jtag_putc(int ch) argument
38 writeb(ch, uartbase + ALTERA_JTAGUART_DATA_REG);
42 static int putchar(int ch) argument
44 jtag_putc(ch);
45 return ch;
64 static void uart_putc(int ch) argument
73 writeb(ch, uartbase + ALTERA_UART_TXDATA_REG);
76 static int putchar(int ch) argument
96 putchar(int ch) argument
[all...]
H A Dmisc.c137 uch *in, *out, ch; local
142 ch = *out++ = *in++;
143 c = crc_32_tab[((int)c ^ ch) & 0xff] ^ (c >> 8);
/linux-master/arch/powerpc/boot/
H A Dugecon.c70 static void ug_raw_putc(char ch) argument
72 ug_io_transaction(0xb0000000 | (ch << 20));
75 static void ug_putc(char ch) argument
85 ug_raw_putc(ch);
H A Dugecon.h15 extern void ug_putc(char ch);
/linux-master/arch/sparc/include/asm/
H A Dopenprom.h109 void (*pv_putchar)(int ch);
113 int (*pv_nbputchar)(int ch);
/linux-master/arch/sparc/prom/
H A Dprintf.c41 char ch = *buf++; local
42 if (ch == '\n') {
46 *dest++ = ch;
/linux-master/arch/x86/boot/
H A Dctype.h5 static inline int isdigit(int ch) argument
7 return (ch >= '0') && (ch <= '9');
10 static inline int isxdigit(int ch) argument
12 if (isdigit(ch))
15 if ((ch >= 'a') && (ch <= 'f'))
18 return (ch >= 'A') && (ch <= 'F');
H A Dedd.c112 ei->legacy_max_cylinder = oreg.ch + ((oreg.cl & 0xc0) << 2);
H A Dvideo.c33 if (oreg.ch & 0x20)
36 if ((oreg.ch & 0x1f) > (oreg.cl & 0x1f))
141 char ch; local
160 ch = '0';
178 ch, mode_id, mi->x, resbuf, card->card_name);
185 if (ch == '9')
186 ch = 'a';
187 else if (ch == 'z' || ch == ' ')
188 ch
[all...]
/linux-master/drivers/char/
H A Ddtlk.c130 char ch; local
141 ch = dtlk_read_lpc();
142 /* printk("dtlk_read() reads 0x%02x\n", ch); */
143 if (put_user(ch, buf++))
162 int i = 0, retries = 0, ch; local
168 int i, ch; local
170 if (get_user(ch, buf + i))
172 if (' ' <= ch && ch <= '~')
173 printk("%c", ch);
569 char ch; local
599 char ch; local
632 dtlk_write_tts(char ch) argument
[all...]
/linux-master/drivers/clk/berlin/
H A Dberlin2-avpll.c214 struct berlin2_avpll_channel *ch = to_avpll_channel(hw); local
217 if (ch->index == 7)
220 reg = readl_relaxed(ch->base + VCO_CTRL10);
221 reg &= VCO_POWERUP_CH1 << ch->index;
228 struct berlin2_avpll_channel *ch = to_avpll_channel(hw); local
231 reg = readl_relaxed(ch->base + VCO_CTRL10);
232 reg |= VCO_POWERUP_CH1 << ch->index;
233 writel_relaxed(reg, ch->base + VCO_CTRL10);
240 struct berlin2_avpll_channel *ch = to_avpll_channel(hw); local
243 reg = readl_relaxed(ch
254 struct berlin2_avpll_channel *ch = to_avpll_channel(hw); local
360 struct berlin2_avpll_channel *ch; local
[all...]
/linux-master/drivers/clk/uniphier/
H A Dclk-uniphier-mio.c21 #define UNIPHIER_MIO_CLK_SD(_idx, ch) \
23 .name = "sd" #ch "-sel", \
38 .reg = 0x30 + 0x200 * (ch), \
61 UNIPHIER_CLK_GATE("sd" #ch, (_idx), "sd" #ch "-sel", 0x20 + 0x200 * (ch), 8)
63 #define UNIPHIER_MIO_CLK_USB2(idx, ch) \
64 UNIPHIER_CLK_GATE("usb2" #ch, (idx), "usb2", 0x20 + 0x200 * (ch), 28)
66 #define UNIPHIER_MIO_CLK_USB2_PHY(idx, ch) \
[all...]
/linux-master/drivers/dma/
H A Dtxx9dmac.h106 #define TXX9_DMA_MCR_EIS(ch) (0x10000000<<(ch))
107 #define TXX9_DMA_MCR_DIS(ch) (0x01000000<<(ch))
109 #define TXX9_DMA_MCR_FIFUM(ch) (0x00000008<<(ch))
/linux-master/drivers/hsi/clients/
H A Dhsi_char.c67 * @ch: channel number
79 unsigned int ch; member in struct:hsc_channel
204 msg->channel = channel->ch;
425 if (channel->ch >= channel->cl->rx_cfg.num_hw_channels)
482 if (channel->ch >= channel->cl->tx_cfg.num_hw_channels)
712 channel->ch = i;
/linux-master/drivers/isdn/hardware/mISDN/
H A Disar.h32 struct isar_ch ch[2]; member in struct:isar_hw

Completed in 299 milliseconds

1234567891011>>