/linux-master/tools/thermal/tmon/ |
H A D | sysfs.c | 150 char *ch; local 153 ch = strtok(name, "_"); 154 while (ch != NULL) { 156 syslog(LOG_INFO, "%s:%s:%s:%d", __func__, name, ch, i); 157 ch = strtok(NULL, "_"); 159 return atol(ch + skip);
|
/linux-master/drivers/video/console/ |
H A D | mdacon.c | 380 static inline u16 mda_convert_attr(u16 ch) argument 389 if (ch & 0x0800) attr = 0x7000; /* reverse */ 390 else if (ch & 0x0400) attr = 0x0100; /* underline */ 392 return ((ch & 0x0200) << 2) | /* intensity */ 393 (ch & 0x8000) | /* blink */ 394 (ch & 0x00ff) | attr;
|
/linux-master/drivers/pwm/ |
H A D | pwm-img.c | 29 #define PWM_CTRL_CFG_DIV_SHIFT(ch) ((ch) * 2 + 4) 32 #define PWM_CH_CFG(ch) (0x4 + (ch) * 4) 38 #define PERIP_PWM_PDM_CONTROL_CH_SHIFT(ch) ((ch) * 4)
|
/linux-master/drivers/tty/serial/ |
H A D | sunhv.c | 45 unsigned char ch; local 47 while (kfifo_peek(&tport->xmit_fifo, &ch)) { 48 long status = sun4v_con_putchar(ch); 271 static void sunhv_send_xchar(struct uart_port *port, char ch) argument 276 if (ch == __DISABLED_CHAR) 282 long status = sun4v_con_putchar(ch);
|
H A D | suncore.c | 204 int suncore_mouse_baud_detection(unsigned char ch, int is_break) argument 223 if (ch == 0x87) {
|
/linux-master/sound/synth/emux/ |
H A D | emux_synth.c | 90 if (vp == NULL || vp->ch < 0) 147 int ch; local 162 for (ch = 0; ch < emu->max_voices; ch++) { 163 vp = &emu->voices[ch]; 196 int ch, do_again = 0; local 199 for (ch = 0; ch < emu->max_voices; ch 224 int ch; local [all...] |
/linux-master/drivers/edac/ |
H A D | i7300_edac.c | 67 #define to_channel(ch, branch) ((((branch)) << 1) | (ch)) 69 #define to_csrow(slot, ch, branch) \ 70 (to_channel(ch, branch) | ((slot) << 2)) 580 * @ch: Channel number within the branch (0 or 1) 586 int slot, int ch, int branch, 592 channel = to_channel(ch, branch); 751 int ch, branch, slot, channel, max_channel, max_branch; local 794 for (ch = 0; ch < max_channe 585 decode_mtr(struct i7300_pvt *pvt, int slot, int ch, int branch, struct i7300_dimm_info *dinfo, struct dimm_info *dimm) argument [all...] |
/linux-master/drivers/staging/media/imx/ |
H A D | imx-media-vdic.c | 137 struct ipuv3_channel *ch; local 149 ch = ipu_idmac_get(priv->ipu, IPUV3_CHANNEL_MEM_VDI_PREV); 150 if (IS_ERR(ch)) { 152 ret = PTR_ERR(ch); 155 priv->vdi_in_ch_p = ch; 157 ch = ipu_idmac_get(priv->ipu, IPUV3_CHANNEL_MEM_VDI_CUR); 158 if (IS_ERR(ch)) { 160 ret = PTR_ERR(ch); 163 priv->vdi_in_ch = ch; 165 ch [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_base.c | 257 if (ring->ch) 258 return ring->q_index - ring->ch->base_q; 323 if (ring->ch) 338 if (ring->ch) 339 tlan_ctx->src_vsi = ring->ch->vsi_num; 874 struct ice_channel *ch = ring->ch; local 906 if (ch) 907 status = ice_ena_vsi_txq(vsi->port_info, ch->ch_vsi->idx, 0, 1168 struct ice_channel *ch local [all...] |
/linux-master/drivers/isdn/hardware/mISDN/ |
H A D | hfcpci.c | 622 printk(KERN_DEBUG "hfcpci rec ch(%x) f1(%d) f2(%d)\n", 632 "hfcpci rec ch(%x) z1(%x) z2(%x) cnt(%d)\n", 771 printk(KERN_DEBUG "hfcpci_fill_fifo_trans ch(%x) " 849 "%s: ch(%x) f1(%d) f2(%d) z1(f1)(%x)\n", 868 printk(KERN_DEBUG "hfcpci_fill_fifo ch(%x) count(%d/%d)\n", 1245 "HFCPCI bchannel protocol %x-->%x ch %x-->%x\n", 1436 "HFCPCI bchannel test rx protocol %x-->%x ch %x-->%x\n", 1525 hfc_bctrl(struct mISDNchannel *ch, u_int cmd, void *arg) argument 1527 struct bchannel *bch = container_of(ch, struct bchannel, ch); 1573 hfcpci_l2l1D(struct mISDNchannel *ch, struct sk_buff *skb) argument 1662 hfcpci_l2l1B(struct mISDNchannel *ch, struct sk_buff *skb) argument 1878 open_dchannel(struct hfc_pci *hc, struct mISDNchannel *ch, struct channel_req *rq) argument 1952 hfc_dctrl(struct mISDNchannel *ch, u_int cmd, void *arg) argument [all...] |
/linux-master/arch/sparc/include/asm/ |
H A D | openprom.h | 109 void (*pv_putchar)(int ch); 113 int (*pv_nbputchar)(int ch);
|
/linux-master/arch/mips/include/asm/txx9/ |
H A D | tx4927pcic.h | 129 #define TX4927_PCIC_PCICCFG_G2PMEN(ch) (0x00000100>>(ch))
|
/linux-master/drivers/s390/net/ |
H A D | ctcm_mpc.h | 152 struct channel *ch; member in struct:mpcg_info 233 void mpc_channel_action(struct channel *ch, int direction, int action);
|
/linux-master/drivers/media/pci/tw686x/ |
H A D | tw686x.h | 68 unsigned int ch; member in struct:tw686x_audio_channel 95 unsigned int ch; member in struct:tw686x_video_channel
|
/linux-master/drivers/dma/dw-edma/ |
H A D | dw-edma-v0-regs.h | 99 struct dw_edma_v0_ch ch[EDMA_V0_MAX_NR_CH]; /* 0x0200..0x1120 */ member in struct:dw_edma_v0_unroll 104 struct dw_edma_v0_ch_regs ch; /* 0x0100..0x0120 */ member in struct:dw_edma_v0_legacy
|
/linux-master/drivers/scsi/megaraid/ |
H A D | megaraid_mbox.h | 224 #define IS_RAID_CH(rdev, ch) (((rdev)->channel_class >> (ch)) & 0x01)
|
/linux-master/drivers/usb/serial/ |
H A D | generic.c | 348 char *ch = urb->transfer_buffer; local 359 for (i = 0; i < urb->actual_length; i++, ch++) { 360 if (!usb_serial_handle_sysrq_char(port, *ch)) 361 tty_insert_flip_char(&port->port, *ch, TTY_NORMAL); 364 tty_insert_flip_string(&port->port, ch, urb->actual_length); 575 int usb_serial_handle_sysrq_char(struct usb_serial_port *port, unsigned int ch) argument 578 if (ch && time_before(jiffies, port->sysrq)) { 579 handle_sysrq(ch);
|
/linux-master/drivers/gpu/drm/sun4i/ |
H A D | sun8i_mixer.h | 70 #define SUN50I_MIXER_BLEND_CSC_CTL_EN(ch) BIT(ch)
|
/linux-master/drivers/iio/potentiometer/ |
H A D | mcp41010.c | 66 #define MCP41010_CHANNEL(ch) { \ 70 .channel = (ch), \
|
H A D | tpl0102.c | 48 #define TPL0102_CHANNEL(ch) { \ 52 .channel = (ch), \
|
/linux-master/drivers/iio/adc/ |
H A D | lpc18xx_adc.c | 69 static int lpc18xx_adc_read_chan(struct lpc18xx_adc *adc, unsigned int ch) argument 74 reg = adc->cr_reg | BIT(ch) | LPC18XX_ADC_CR_START_NOW;
|
/linux-master/drivers/tty/ |
H A D | tty.h | 109 void tty_audit_tiocsti(const struct tty_struct *tty, u8 ch); 115 static inline void tty_audit_tiocsti(const struct tty_struct *tty, u8 ch) argument
|
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.h | 453 struct dpaa2_eth_channel *ch, 816 struct dpaa2_eth_channel *ch, 821 struct dpaa2_eth_channel *ch, 828 struct dpaa2_eth_channel *ch, 838 struct dpaa2_eth_channel *ch, 842 struct dpaa2_eth_channel *ch, 850 struct dpaa2_eth_channel *ch, 854 struct dpaa2_eth_channel *ch);
|
/linux-master/sound/soc/fsl/ |
H A D | fsl_qmc_audio.c | 325 struct snd_interval ch = {0}; local 329 ch.max = nb_ts; 332 ch.max = nb_ts/2; 335 ch.max = nb_ts/4; 338 ch.max = nb_ts/8; 346 ch.min = ch.max ? 1 : 0; 348 return snd_interval_refine(c, &ch);
|
/linux-master/include/sound/ |
H A D | emux_synth.h | 42 void (*reset)(struct snd_emux *emu, int ch); 152 int ch; /* Hardware channel number */ member in struct:snd_emux_voice
|