Searched refs:ch (Results 201 - 225 of 1054) sorted by relevance

1234567891011>>

/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/drivers/media/pci/solo6x10/
H A Dsolo6x10-v4l2.c62 static void solo_win_setup(struct solo_dev *solo_dev, u8 ch, argument
65 if (ch >= solo_dev->nr_chans)
69 solo_reg_write(solo_dev, SOLO_VI_WIN_CTRL0(ch),
70 SOLO_VI_WIN_CHANNEL(ch) |
75 solo_reg_write(solo_dev, SOLO_VI_WIN_CTRL1(ch),
82 u8 ch = idx * 4; local
84 if (ch >= solo_dev->nr_chans)
90 for (i = ch; i < ch + 4; i++)
99 solo_win_setup(solo_dev, ch,
143 solo_v4l2_ch(struct solo_dev *solo_dev, u8 ch, int on) argument
168 solo_v4l2_set_ch(struct solo_dev *solo_dev, u8 ch) argument
[all...]
H A Dsolo6x10-offsets.h25 #define SOLO_EOSD_EXT_ADDR_CHAN(__solo, ch) \
26 (SOLO_EOSD_EXT_ADDR + SOLO_EOSD_EXT_SIZE(__solo) * (ch))
/linux-master/drivers/firmware/
H A Darm_scpi.c356 static void scpi_process_cmd(struct scpi_chan *ch, u32 cmd) argument
361 spin_lock_irqsave(&ch->rx_lock, flags);
362 if (list_empty(&ch->rx_pending)) {
363 spin_unlock_irqrestore(&ch->rx_lock, flags);
372 match = list_first_entry(&ch->rx_pending, struct scpi_xfer,
376 list_for_each_entry(t, &ch->rx_pending, node)
389 ch->rx_payload;
397 struct scpi_shared_mem __iomem *mem = ch->rx_payload;
409 spin_unlock_irqrestore(&ch->rx_lock, flags);
414 struct scpi_chan *ch local
428 struct scpi_chan *ch = container_of(c, struct scpi_chan, cl); local
451 get_scpi_xfer(struct scpi_chan *ch) argument
466 put_scpi_xfer(struct scpi_xfer *t, struct scpi_chan *ch) argument
880 scpi_alloc_xfer_list(struct device *dev, struct scpi_chan *ch) argument
[all...]
/linux-master/fs/nfs/
H A Ddns_resolve.c140 struct cache_head *ch,
143 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h);
150 struct cache_head *ch)
152 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h);
154 if (test_and_set_bit(CACHE_PENDING, &ch->flags))
158 clear_bit(CACHE_PENDING, &ch->flags);
159 return sunrpc_cache_pipe_upcall_timeout(cd, ch);
205 struct cache_head *ch; local
207 ch = sunrpc_cache_lookup_rcu(cd,
210 if (!ch)
139 nfs_dns_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, int *blen) argument
149 nfs_dns_upcall(struct cache_detail *cd, struct cache_head *ch) argument
219 struct cache_head *ch; local
[all...]
/linux-master/drivers/accessibility/speakup/
H A Dspeakup_keypc.c154 u_char ch; local
157 while ((ch = *buf)) {
158 if (ch == '\n')
159 ch = PROCSPEECH;
166 outb_p(ch, synth_port);
175 u_char ch; local
224 ch = synth_buffer_getc();
226 if (ch == '\n')
227 ch = PROCSPEECH;
228 outb_p(ch, synth_por
[all...]
H A Dspeakup_acntpc.c151 u_char ch; local
153 while ((ch = *buf)) {
156 if (ch == '\n')
157 ch = PROCSPEECH;
165 outb_p(ch, speakup_info.port_tts);
173 u_char ch; local
221 ch = synth_buffer_getc();
223 if (ch == '\n')
224 ch = PROCSPEECH;
225 outb_p(ch, speakup_inf
[all...]
H A Dspeakup_soft.c225 u16 ch; local
266 ch = '\x18';
268 ch = init[init_pos++];
274 ch = synth_buffer_getc();
278 if ((!unicode && ch < 0x100) || (unicode && ch < 0x80)) {
279 u_char c = ch;
286 } else if (unicode && ch < 0x800) {
288 0xc0 | (ch >> 6),
289 0x80 | (ch
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dinit.c69 struct ieee80211_channel *ch; local
77 ch = &sband->channels[i];
78 cfreq = ch->center_freq;
80 if (np && (!band_np || !mt76_find_channel_node(band_np, ch))) {
81 ch->flags |= IEEE80211_CHAN_DISABLED;
87 ch->flags |= IEEE80211_CHAN_DISABLED;
96 ch = &sband->channels[i];
97 cfreq = ch->center_freq;
99 if (np && (!band_np || !mt76_find_channel_node(band_np, ch))) {
100 ch
[all...]
/linux-master/drivers/hwmon/
H A Dbt1-pvt.c543 int ch)
547 if (ch < 0 || ch >= PVT_TEMP_CHS)
551 if (ch < 0 || ch >= PVT_VOLT_CHS)
564 u32 attr, int ch)
566 if (!pvt_hwmon_channel_is_valid(type, ch))
584 return pvt_limit_is_visible(ch);
587 return pvt_alarm_is_visible(ch);
599 return pvt_limit_is_visible(PVT_VOLT + ch);
542 pvt_hwmon_channel_is_valid(enum hwmon_sensor_types type, int ch) argument
562 pvt_hwmon_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, int ch) argument
711 pvt_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int ch, long *val) argument
766 pvt_hwmon_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr, int ch, const char **str) argument
795 pvt_hwmon_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int ch, long val) argument
[all...]
/linux-master/sound/isa/sb/
H A Demu8000.c97 snd_emu8000_dma_chan(struct snd_emu8000 *emu, int ch, int mode) argument
102 EMU8000_CCCA_WRITE(emu, ch, 0);
103 EMU8000_DCYSUSV_WRITE(emu, ch, 0x807F);
106 EMU8000_DCYSUSV_WRITE(emu, ch, 0x80);
107 EMU8000_VTFT_WRITE(emu, ch, 0);
108 EMU8000_CVCF_WRITE(emu, ch, 0);
109 EMU8000_PTRX_WRITE(emu, ch, 0x40000000);
110 EMU8000_CPF_WRITE(emu, ch, 0x40000000);
111 EMU8000_PSST_WRITE(emu, ch, 0);
112 EMU8000_CSL_WRITE(emu, ch,
175 int ch; local
[all...]
/linux-master/drivers/media/pci/cx88/
H A Dcx88-core.c343 const struct sram_channel *ch,
350 cdt = ch->cdt;
351 lines = ch->fifo_size / bpl;
358 cx_write(cdt + 16 * i, ch->fifo_start + bpl * i);
361 cx_write(ch->cmds_start + 0, risc);
362 cx_write(ch->cmds_start + 4, cdt);
363 cx_write(ch->cmds_start + 8, (lines * 16) >> 3);
364 cx_write(ch->cmds_start + 12, ch->ctrl_start);
365 cx_write(ch
342 cx88_sram_channel_setup(struct cx88_core *core, const struct sram_channel *ch, unsigned int bpl, u32 risc) argument
421 cx88_sram_channel_dump(struct cx88_core *core, const struct sram_channel *ch) argument
[all...]
/linux-master/include/net/sctp/
H A Dstream_sched.h51 void sctp_sched_dequeue_done(struct sctp_outq *q, struct sctp_chunk *ch);
53 void sctp_sched_dequeue_common(struct sctp_outq *q, struct sctp_chunk *ch);
/linux-master/drivers/net/ethernet/wangxun/libwx/
H A Dwx_ethtool.h38 struct ethtool_channels *ch);
40 struct ethtool_channels *ch);
/linux-master/drivers/pwm/
H A Dpwm-brcmstb.c34 #define PWM_CWORD_MSB(ch) (0x08 + ((ch) * PWM_CH_SIZE))
35 #define PWM_CWORD_LSB(ch) (0x0c + ((ch) * PWM_CH_SIZE))
47 #define PWM_ON(ch) (0x18 + ((ch) * PWM_CH_SIZE))
49 #define PWM_PERIOD(ch) (0x1c + ((ch) * PWM_CH_SIZE))
H A Dpwm-keembay.c35 #define KMB_PWM_LEADIN_OFFSET(ch) (0x00 + 4 * (ch))
36 #define KMB_PWM_HIGHLOW_OFFSET(ch) (0x20 + 4 * (ch))
79 static void keembay_pwm_enable(struct keembay_pwm *priv, int ch) argument
82 KMB_PWM_LEADIN_OFFSET(ch));
85 static void keembay_pwm_disable(struct keembay_pwm *priv, int ch) argument
88 KMB_PWM_LEADIN_OFFSET(ch));
/linux-master/sound/soc/qcom/qdsp6/
H A Dq6dsp-common.c11 int q6dsp_map_channels(u8 ch_map[PCM_MAX_NUM_CHANNEL], int ch) argument
15 switch (ch) {
/linux-master/drivers/counter/
H A Dcounter-core.c72 struct counter_device_allochelper *ch = local
75 return &ch->privdata;
90 struct counter_device_allochelper *ch; local
95 ch = kzalloc(sizeof(*ch) + sizeof_priv, GFP_KERNEL);
96 if (!ch)
99 counter = &ch->counter;
133 kfree(ch);
/linux-master/kernel/debug/
H A Dgdbstub.c93 char ch; local
100 while ((ch = (gdbstub_read_wait())) != '$')
113 ch = gdbstub_read_wait();
114 if (ch == '#')
116 checksum = checksum + ch;
117 buffer[count] = ch;
121 if (ch == '#') {
146 char ch; local
156 while ((ch = buffer[count])) {
157 dbg_io_ops->write_char(ch);
1126 unsigned char checksum, ch, buffer[3]; local
[all...]
/linux-master/drivers/macintosh/
H A Dans-lcd.c85 char ch, __user *temp; local
105 __get_user(ch, temp);
106 for (; ch; temp++) { /* FIXME: This is ugly, but should work, as a \0 byte is not a valid command code */
107 anslcd_write_byte_ctrl ( ch );
108 __get_user(ch, temp);
/linux-master/drivers/irqchip/
H A Dirq-pruss-intc.c138 u8 ch)
147 val |= ch << offset;
150 dev_dbg(intc->dev, "SYSEV%u -> CH%d (CMR%d 0x%08x)\n", evt, ch,
154 static void pruss_intc_update_hmr(struct pruss_intc *intc, u8 ch, u8 host) argument
158 idx = ch / HMR_CH_PER_REG;
159 offset = (ch % HMR_CH_PER_REG) * HMR_CH_MAP_BITS;
166 dev_dbg(intc->dev, "CH%d -> HOST%d (HMR%d 0x%08x)\n", ch, host, idx,
181 u8 ch, host, reg_idx; local
188 ch = intc->event_channel[hwirq].value;
189 host = intc->channel_host[ch]
137 pruss_intc_update_cmr(struct pruss_intc *intc, unsigned int evt, u8 ch) argument
224 u8 ch, host, reg_idx; local
[all...]
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-debugifc.c22 char ch; local
25 ch = buf[scnt];
26 if (ch == ' ') continue;
27 if (ch == '\t') continue;
28 if (ch == '\n') continue;
39 char ch; local
42 ch = buf[scnt];
43 if (ch == ' ') break;
44 if (ch == '\t') break;
45 if (ch
[all...]
/linux-master/drivers/net/ethernet/ti/
H A Ddavinci_cpdma.c406 static int cpdma_chan_fit_rate(struct cpdma_chan *ch, u32 rate, argument
409 struct cpdma_ctlr *ctlr = ch->ctlr;
411 u32 old_rate = ch->rate;
421 if (chan == ch)
439 ch->rate = old_rate;
440 dev_err(ctlr->dev, "Upper cpdma ch%d is not rate limited\n",
446 struct cpdma_chan *ch)
455 if (!ch->rate) {
456 ch->rate_factor = 0;
466 min_send_cnt = freq - ch
445 cpdma_chan_set_factors(struct cpdma_ctlr *ctlr, struct cpdma_chan *ch) argument
784 cpdma_chan_set_weight(struct cpdma_chan *ch, int weight) argument
825 cpdma_chan_set_rate(struct cpdma_chan *ch, u32 rate) argument
864 cpdma_chan_get_rate(struct cpdma_chan *ch) argument
[all...]
/linux-master/sound/soc/qcom/
H A Dlpass-platform.c517 dev_err(soc_runtime->dev, "invalid PCM config given: bw=%d, ch=%u\n",
549 dev_err(soc_runtime->dev, "invalid PCM config given: bw=%d, ch=%u\n",
555 dev_err(soc_runtime->dev, "invalid PCM config given: bw=%d, ch=%u\n",
609 int ret, id, ch, dir = substream->stream; local
612 ch = pcm_data->dma_ch;
618 ret = regmap_write(map, LPAIF_DMABASE_REG(v, ch, dir, dai_id),
626 ret = regmap_write(map, LPAIF_DMABUFF_REG(v, ch, dir, dai_id),
634 ret = regmap_write(map, LPAIF_DMAPER_REG(v, ch, dir, dai_id),
672 int ret, ch, id; local
677 ch
870 int ret, ch, dir = substream->stream; local
[all...]
/linux-master/sound/usb/6fire/
H A Dcontrol.c189 unsigned int ch = kcontrol->private_value; local
192 if (ch > 4) {
198 if (rt->output_vol[ch] != ucontrol->value.integer.value[0]) {
199 rt->output_vol[ch] = ucontrol->value.integer.value[0];
200 rt->ovol_updated &= ~(1 << ch);
203 if (rt->output_vol[ch + 1] != ucontrol->value.integer.value[1]) {
204 rt->output_vol[ch + 1] = ucontrol->value.integer.value[1];
205 rt->ovol_updated &= ~(2 << ch);
219 unsigned int ch = kcontrol->private_value; local
221 if (ch >
236 unsigned int ch = kcontrol->private_value; local
263 unsigned int ch = kcontrol->private_value; local
[all...]

Completed in 287 milliseconds

1234567891011>>