Searched refs:ch (Results 76 - 100 of 1048) sorted by relevance

1234567891011>>

/linux-master/arch/powerpc/boot/
H A Dserial.c37 char ch, *cp; local
47 while (((ch = scdp->getc()) != '\n') && (ch != '\r')) {
49 if ((ch == '\b') || (ch == '\177')) {
56 } else if ((ch == '\030') || (ch == '\025')) {
63 *cp++ = ch;
65 scdp->putc(ch);
/linux-master/drivers/gpu/ipu-v3/
H A Dipu-prv.h53 #define IPU_CHA_DB_MODE_SEL(ch) IPU_CM_REG(0x0150 + 4 * ((ch) / 32))
54 #define IPU_ALT_CHA_DB_MODE_SEL(ch) IPU_CM_REG(0x0168 + 4 * ((ch) / 32))
55 #define IPU_CHA_CUR_BUF(ch) IPU_CM_REG(0x023C + 4 * ((ch) / 32))
61 #define IPU_CHA_BUF0_RDY(ch) IPU_CM_REG(0x0268 + 4 * ((ch) / 32))
62 #define IPU_CHA_BUF1_RDY(ch) IPU_CM_REG(0x0270 + 4 * ((ch) / 3
[all...]
/linux-master/drivers/media/platform/ti/davinci/
H A Dvpif_capture.c46 static void vpif_calculate_offsets(struct channel_obj *ch);
47 static void vpif_config_addr(struct channel_obj *ch, int muxmode);
72 struct channel_obj *ch = vb2_get_drv_priv(q); local
78 common = &ch->common[VPIF_VIDEO_INDEX];
113 struct channel_obj *ch = vb2_get_drv_priv(vq); local
114 struct common_obj *common = &ch->common[VPIF_VIDEO_INDEX];
133 vpif_calculate_offsets(ch);
145 struct channel_obj *ch = vb2_get_drv_priv(vb->vb2_queue); local
150 common = &ch->common[VPIF_VIDEO_INDEX];
169 struct channel_obj *ch local
259 struct channel_obj *ch = vb2_get_drv_priv(vq); local
372 struct channel_obj *ch; local
460 vpif_update_std_info(struct channel_obj *ch) argument
558 vpif_calculate_offsets(struct channel_obj *ch) argument
627 vpif_config_addr(struct channel_obj *ch, int muxmode) argument
689 vpif_set_input( struct vpif_capture_config *vpif_cfg, struct channel_obj *ch, int index) argument
754 struct channel_obj *ch = video_get_drvdata(vdev); local
782 struct channel_obj *ch = video_get_drvdata(vdev); local
810 struct channel_obj *ch = video_get_drvdata(vdev); local
860 struct channel_obj *ch = video_get_drvdata(vdev); local
882 struct channel_obj *ch = video_get_drvdata(vdev); local
898 struct channel_obj *ch = video_get_drvdata(vdev); local
923 struct channel_obj *ch = video_get_drvdata(vdev); local
948 struct channel_obj *ch = video_get_drvdata(vdev); local
985 struct channel_obj *ch = video_get_drvdata(vdev); local
1041 struct channel_obj *ch = video_get_drvdata(vdev); local
1088 struct channel_obj *ch = video_get_drvdata(vdev); local
1122 struct channel_obj *ch = video_get_drvdata(vdev); local
1153 struct channel_obj *ch = video_get_drvdata(vdev); local
1252 struct channel_obj *ch = video_get_drvdata(vdev); local
1401 struct channel_obj *ch; local
1720 struct channel_obj *ch; local
1747 struct channel_obj *ch; local
1781 struct channel_obj *ch; local
[all...]
/linux-master/drivers/gpu/drm/bridge/imx/
H A Dimx8qxp-pixel-combiner.c71 struct imx8qxp_pc_channel ch[2]; member in struct:imx8qxp_pc
113 struct imx8qxp_pc_channel *ch = bridge->driver_private; local
114 struct imx8qxp_pc *pc = ch->pc;
128 ch->next_bridge, bridge,
137 struct imx8qxp_pc_channel *ch = bridge->driver_private; local
138 struct imx8qxp_pc *pc = ch->pc;
154 PC_DISP_HSYNC_POLARITY(ch->stream_id));
158 PC_DISP_VSYNC_POLARITY(ch->stream_id));
162 PC_DISP_DVALID_POLARITY(ch->stream_id));
169 if (ch
188 struct imx8qxp_pc_channel *ch = bridge->driver_private; local
278 struct imx8qxp_pc_channel *ch; local
363 struct imx8qxp_pc_channel *ch; local
[all...]
/linux-master/drivers/iio/adc/
H A Dad7606_spi.c30 #define AD7616_RANGE_CH_ADDR(ch) ((ch) >> 2)
32 #define AD7616_RANGE_CH_MSK(ch) (0b11 << (((ch) & 0b11) * 2))
33 #define AD7616_RANGE_CH_MODE(ch, mode) ((mode) << ((((ch) & 0b11)) * 2))
42 #define AD7606_RANGE_CH_MSK(ch) (GENMASK(3, 0) << (4 * ((ch) & 0x1)))
43 #define AD7606_RANGE_CH_MODE(ch, mode) \
44 ((GENMASK(3, 0) & mode) << (4 * ((ch)
176 ad7616_write_scale_sw(struct iio_dev *indio_dev, int ch, int val) argument
212 ad7606_write_scale_sw(struct iio_dev *indio_dev, int ch, int val) argument
[all...]
H A Dad7091r-base.h17 #define AD7091R_REG_CH_LOW_LIMIT(ch) ((ch) * 3 + 4)
18 #define AD7091R_REG_CH_HIGH_LIMIT(ch) ((ch) * 3 + 5)
19 #define AD7091R_REG_CH_HYSTERESIS(ch) ((ch) * 3 + 6)
/linux-master/tools/perf/tests/
H A Dapi-io.c92 int ch, ret = 0; local
99 ch = io__get_char(&io);
101 EXPECT_EQUAL(ch, test_string[i]);
104 ch = io__get_char(&io);
105 EXPECT_EQUAL(ch, -1);
139 int ch, ret = 0; local
145 ch = io__get_hex(&io, &hex);
147 EXPECT_EQUAL(ch, ch1);
149 ch = io__get_hex(&io, &hex);
151 EXPECT_EQUAL(ch, ch
220 int ch, ret = 0; local
[all...]
/linux-master/drivers/gpu/drm/i915/display/
H A Ddvo_sil164.c73 static bool sil164_readb(struct intel_dvo_device *dvo, int addr, u8 *ch) argument
99 *ch = in_buf[0];
110 static bool sil164_writeb(struct intel_dvo_device *dvo, int addr, u8 ch) argument
123 out_buf[1] = ch;
142 unsigned char ch; local
152 if (!sil164_readb(dvo, SIL164_VID_LO, &ch))
155 if (ch != (SIL164_VID & 0xff)) {
157 ch, adapter->name, dvo->slave_addr);
161 if (!sil164_readb(dvo, SIL164_DID_LO, &ch))
164 if (ch !
225 unsigned char ch; local
242 unsigned char ch; local
[all...]
H A Dintel_dpio_phy.c242 enum dpio_phy *phy, enum dpio_channel *ch)
254 *ch = DPIO_CH0;
261 *ch = DPIO_CH1;
269 *ch = DPIO_CH0;
278 enum dpio_channel ch; local
287 bxt_port_to_phy_channel(dev_priv, encoder->port, &phy, &ch);
293 val = intel_de_read(dev_priv, BXT_PORT_PCS_DW10_LN01(phy, ch));
295 intel_de_write(dev_priv, BXT_PORT_PCS_DW10_GRP(phy, ch), val);
297 val = intel_de_read(dev_priv, BXT_PORT_TX_DW2_LN0(phy, ch));
301 intel_de_write(dev_priv, BXT_PORT_TX_DW2_GRP(phy, ch), va
241 bxt_port_to_phy_channel(struct drm_i915_private *dev_priv, enum port port, enum dpio_phy *phy, enum dpio_channel *ch) argument
595 enum dpio_channel ch; local
623 enum dpio_channel ch; local
705 enum dpio_channel ch = vlv_dig_port_to_channel(dig_port); local
800 enum dpio_channel ch = vlv_dig_port_to_channel(enc_to_dig_port(encoder)); local
845 enum dpio_channel ch = vlv_dig_port_to_channel(dig_port); local
927 enum dpio_channel ch = vlv_dig_port_to_channel(dig_port); local
[all...]
/linux-master/arch/sparc/prom/
H A Dprintf.c41 char ch = *buf++; local
42 if (ch == '\n') {
46 *dest++ = ch;
/linux-master/net/sctp/
H A Dstream_sched_rr.c101 struct sctp_chunk *ch; local
104 ch = list_first_entry(&msg->chunks, struct sctp_chunk, frag_list);
105 sid = sctp_chunk_stream_no(ch);
114 struct sctp_chunk *ch = NULL; local
125 ch = list_entry(soute->outq.next, struct sctp_chunk, stream_list);
127 sctp_sched_dequeue_common(q, ch);
130 return ch;
134 struct sctp_chunk *ch)
140 sid = sctp_chunk_stream_no(ch);
153 struct sctp_chunk *ch; local
133 sctp_sched_rr_dequeue_done(struct sctp_outq *q, struct sctp_chunk *ch) argument
[all...]
H A Dstream_sched.c61 struct sctp_chunk *ch = NULL; local
68 ch = list_entry(stream->out_curr->ext->outq.next,
72 ch = list_entry(entry, struct sctp_chunk, list);
75 sctp_sched_dequeue_common(q, ch);
78 return ch;
154 struct sctp_chunk *ch; local
179 list_for_each_entry(ch, &asoc->outqueue.out_chunk_list, list) {
180 if (ch->msg == msg)
182 msg = ch->msg;
235 void sctp_sched_dequeue_done(struct sctp_outq *q, struct sctp_chunk *ch) argument
257 sctp_sched_dequeue_common(struct sctp_outq *q, struct sctp_chunk *ch) argument
[all...]
/linux-master/sound/pci/emu10k1/
H A Demu10k1_callback.c92 int ch; local
94 ch = vp->ch;
95 if (ch < 0) {
98 "synth_get_voice: ch < 0 (%d) ??", i);
103 vp->ch = -1;
105 return ch;
123 snd_emu10k1_ptr_write_multiple(hw, vp->ch,
141 snd_emu10k1_ptr_write_multiple(hw, vp->ch,
169 if (hw && (vp->ch >
312 int ch; local
[all...]
/linux-master/drivers/staging/rtl8723bs/os_dep/
H A Dwifi_regd.c64 struct ieee80211_channel *ch; local
75 ch = &sband->channels[j];
77 if (ch)
78 ch->flags = IEEE80211_CHAN_DISABLED;
90 ch = ieee80211_get_channel(wiphy, freq);
91 if (ch) {
93 ch->flags = IEEE80211_CHAN_NO_IR;
95 ch->flags = 0;
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_xdp.c12 struct stmmac_channel *ch = &priv->channel[queue]; local
37 napi_disable(&ch->rx_napi);
38 napi_disable(&ch->tx_napi);
48 napi_enable(&ch->rxtx_napi);
60 struct stmmac_channel *ch = &priv->channel[queue]; local
75 napi_disable(&ch->rxtx_napi);
88 napi_enable(&ch->rx_napi);
89 napi_enable(&ch->tx_napi);
/linux-master/sound/isa/sb/
H A Demu8000_callback.c22 static void reset_voice(struct snd_emux *emu, int ch);
39 static void snd_emu8000_tweak_voice(struct snd_emu8000 *emu, int ch);
90 EMU8000_DCYSUS_WRITE(hw, vp->ch, dcysusv);
92 EMU8000_DCYSUSV_WRITE(hw, vp->ch, dcysusv);
104 EMU8000_DCYSUSV_WRITE(hw, vp->ch, 0x807F);
140 * The channel index (vp->ch) must be initialized in this routine.
183 val = (EMU8000_CVCF_READ(hw, vp->ch) >> 16) & 0xffff;
195 val = EMU8000_CCCA_READ(hw, vp->ch) & 0xffffff;
209 vp->ch = best[i].voice;
224 int ch; local
303 int ch = vp->ch; local
323 reset_voice(struct snd_emux *emu, int ch) argument
[all...]
/linux-master/drivers/gpio/
H A Dgpio-ml-ioh.c74 * @ch: Indicate GPIO channel
85 int ch; member in struct:ioh_gpio
99 reg_val = ioread32(&chip->reg->regs[chip->ch].po);
105 iowrite32(reg_val, &chip->reg->regs[chip->ch].po);
113 return !!(ioread32(&chip->reg->regs[chip->ch].pi) & BIT(nr));
125 pm = ioread32(&chip->reg->regs[chip->ch].pm);
126 pm &= BIT(num_ports[chip->ch]) - 1;
128 iowrite32(pm, &chip->reg->regs[chip->ch].pm);
130 reg_val = ioread32(&chip->reg->regs[chip->ch].po);
135 iowrite32(reg_val, &chip->reg->regs[chip->ch]
239 int ch; local
[all...]
/linux-master/drivers/dma/
H A Dmcf-edma-main.c21 unsigned int ch; local
30 for (ch = 0; ch < mcf_edma->n_chans; ch++) {
31 if (intmap & BIT(ch)) {
32 iowrite8(EDMA_MASK_CH(ch), regs->cint);
33 fsl_edma_tx_chan_handler(&mcf_edma->chans[ch]);
44 unsigned int err, ch; local
50 for (ch = 0; ch < (EDMA_CHANNEL
[all...]
/linux-master/drivers/hwmon/
H A Dgsc-hwmon.c150 const struct gsc_hwmon_channel *ch; local
157 ch = hwmon->in_ch[channel];
160 ch = hwmon->temp_ch[channel];
163 ch = hwmon->fan_ch[channel];
169 sz = (ch->mode == mode_voltage_24bit) ? 3 : 2;
170 ret = regmap_bulk_read(hwmon->regmap, ch->reg, buf, sz);
178 switch (ch->mode) {
190 if (ch->vdiv[0] && ch->vdiv[1]) {
191 tmp *= (ch
235 gsc_hwmon_is_visible(const void *_data, enum hwmon_sensor_types type, u32 attr, int ch) argument
251 struct gsc_hwmon_channel *ch; local
343 const struct gsc_hwmon_channel *ch = &pdata->channels[i]; local
[all...]
/linux-master/drivers/media/pci/cx25821/
H A Dcx25821-core.c418 const struct sram_channel *ch,
424 if (ch->cmds_start == 0) {
425 cx_write(ch->ptr1_reg, 0);
426 cx_write(ch->ptr2_reg, 0);
427 cx_write(ch->cnt2_reg, 0);
428 cx_write(ch->cnt1_reg, 0);
433 cdt = ch->cdt;
434 lines = ch->fifo_size / bpl;
447 cx_write(cdt + 16 * i, ch->fifo_start + bpl * i);
455 cx_write(ch
417 cx25821_sram_channel_setup(struct cx25821_dev *dev, const struct sram_channel *ch, unsigned int bpl, u32 risc) argument
485 cx25821_sram_channel_setup_audio(struct cx25821_dev *dev, const struct sram_channel *ch, unsigned int bpl, u32 risc) argument
552 cx25821_sram_channel_dump(struct cx25821_dev *dev, const struct sram_channel *ch) argument
613 cx25821_sram_channel_dump_audio(struct cx25821_dev *dev, const struct sram_channel *ch) argument
761 cx25821_set_vip_mode(struct cx25821_dev *dev, const struct sram_channel *ch) argument
[all...]
/linux-master/drivers/pwm/
H A Dpwm-rz-mtu3.c135 unsigned int ch; local
137 for (ch = 0; ch < RZ_MTU3_MAX_HW_CHANNELS; ch++, priv++) {
170 u32 ch; local
173 ch = priv - rz_mtu3_pwm->channel_data;
181 if (!rz_mtu3_pwm->user_count[ch]) {
189 rz_mtu3_pwm->user_count[ch]++;
199 u32 ch; local
202 ch
216 u32 ch; local
248 u32 ch; local
328 u32 ch; local
[all...]
/linux-master/sound/core/
H A Dvmaster.c60 int err, ch; local
69 for (ch = 0; ch < follower->info.count; ch++)
70 follower->vals[ch] = uctl->value.integer.value[ch];
134 int err, ch; local
139 for (ch = 0; ch < follower->info.count; ch
147 int err, ch, vol; local
196 int err, ch, changed = 0; local
[all...]
/linux-master/drivers/gpu/host1x/hw/
H A Dchannel_hw.c191 static void host1x_enable_gather_filter(struct host1x_channel *ch) argument
194 struct host1x *host = dev_get_drvdata(ch->dev->parent);
201 host, HOST1X_HV_CH_KERNEL_FILTER_GBUFFER(ch->id / 32));
202 val |= BIT(ch->id % 32);
204 host, val, HOST1X_HV_CH_KERNEL_FILTER_GBUFFER(ch->id / 32));
206 host1x_ch_writel(ch,
289 struct host1x_channel *ch = job->channel; local
294 struct host1x *host = dev_get_drvdata(ch->dev->parent);
296 trace_host1x_channel_submit(dev_name(ch->dev),
304 err = mutex_lock_interruptible(&ch
349 host1x_channel_init(struct host1x_channel *ch, struct host1x *dev, unsigned int index) argument
[all...]
/linux-master/drivers/accessibility/speakup/
H A Dspk_ttyio.c114 static int spk_ttyio_out(struct spk_synth *in_synth, const char ch);
115 static int spk_ttyio_out_unicode(struct spk_synth *in_synth, u16 ch);
116 static void spk_ttyio_send_xchar(struct spk_synth *in_synth, char ch);
224 static int spk_ttyio_out(struct spk_synth *in_synth, const char ch) argument
232 ret = tty->ops->write(tty, &ch, 1);
253 static int spk_ttyio_out_unicode(struct spk_synth *in_synth, u16 ch) argument
257 if (ch < 0x80) {
258 ret = spk_ttyio_out(in_synth, ch);
259 } else if (ch < 0x800) {
260 ret = spk_ttyio_out(in_synth, 0xc0 | (ch >>
270 spk_ttyio_send_xchar(struct spk_synth *in_synth, char ch) argument
375 u_char ch; local
[all...]
H A Dkeyhelp.c51 u_char *kp, counters[MAXFUNCS], ch, ch1; local
82 while ((ch = *kp++)) {
89 key = (state_tbl[i] << 8) + ch;
132 int spk_handle_help(struct vc_data *vc, u_char type, u_char ch, u_short key) argument
142 if (ch == SPACE) {
147 ch |= 32; /* lower case */
148 if (ch < 'a' || ch > 'z')
150 if (letter_offsets[ch - 'a'] == -1) {
151 synth_printf(spk_msg_get(MSG_NO_COMMAND), ch); local
[all...]

Completed in 208 milliseconds

1234567891011>>