/linux-master/drivers/accessibility/speakup/ |
H A D | speakup_keypc.c | 154 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 D | speakup_acntpc.c | 151 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 D | speakup_soft.c | 225 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 D | init.c | 69 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 D | bt1-pvt.c | 543 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 D | emu8000.c | 97 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 D | cx88-core.c | 343 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 D | stream_sched.h | 51 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/sound/soc/qcom/qdsp6/ |
H A D | q6dsp-common.c | 11 int q6dsp_map_channels(u8 ch_map[PCM_MAX_NUM_CHANNEL], int ch) argument 15 switch (ch) {
|
/linux-master/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_ethtool.h | 38 struct ethtool_channels *ch); 40 struct ethtool_channels *ch);
|
/linux-master/drivers/media/pci/solo6x10/ |
H A D | solo6x10-offsets.h | 25 #define SOLO_EOSD_EXT_ADDR_CHAN(__solo, ch) \ 26 (SOLO_EOSD_EXT_ADDR + SOLO_EOSD_EXT_SIZE(__solo) * (ch))
|
/linux-master/drivers/counter/ |
H A D | counter-core.c | 72 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/drivers/pwm/ |
H A D | pwm-brcmstb.c | 34 #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 D | pwm-keembay.c | 35 #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/kernel/debug/ |
H A D | gdbstub.c | 93 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 D | ans-lcd.c | 85 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 D | irq-pruss-intc.c | 138 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 D | pvrusb2-debugifc.c | 22 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 D | davinci_cpdma.c | 406 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 D | lpass-platform.c | 517 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 D | control.c | 189 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...] |
/linux-master/drivers/iio/dac/ |
H A D | ad5770r.c | 54 #define AD5770R_OUTPUT_RANGE(ch) (0x15 + (ch)) 55 #define AD5770R_FILTER_RESISTOR(ch) (0x1D + (ch)) 57 #define AD5770R_DAC_LSB(ch) (0x26 + 2 * (ch)) 58 #define AD5770R_DAC_MSB(ch) (0x27 + 2 * (ch)) 64 #define AD5770R_CFG_SHUTDOWN_B(x, ch) (((x) & 0x1) << (ch)) 153 unsigned int ch; member in struct:ad5770r_output_modes 249 ad5770r_get_range(struct ad5770r_state *st, int ch, int *min, int *max) argument [all...] |
H A D | ad5766.c | 21 #define AD5766_DITHER_SOURCE_MASK(ch) GENMASK(((2 * ch) + 1), (2 * ch)) 22 #define AD5766_DITHER_SOURCE(ch, source) BIT((ch * 2) + source) 24 #define AD5766_DITHER_SCALE(ch, scale) (scale << (ch * 2)) 25 #define AD5766_DITHER_ENABLE_MASK(ch) BIT(ch) 26 #define AD5766_DITHER_ENABLE(ch, stat 580 int ret, ch, i; local [all...] |
/linux-master/lib/crypto/ |
H A D | gf128mul.c | 188 * takes the same amount of time regardless of the value of 'ch', which 191 * making each be128_xor() a NOP if its associated bit in 'ch' is not 209 u8 ch = ((u8 *)b)[15 - i]; local 211 be128_xor(r, r, &p[ 0 + !(ch & 0x80)]); 212 be128_xor(r, r, &p[ 2 + !(ch & 0x40)]); 213 be128_xor(r, r, &p[ 4 + !(ch & 0x20)]); 214 be128_xor(r, r, &p[ 6 + !(ch & 0x10)]); 215 be128_xor(r, r, &p[ 8 + !(ch & 0x08)]); 216 be128_xor(r, r, &p[10 + !(ch & 0x04)]); 217 be128_xor(r, r, &p[12 + !(ch 239 u8 ch = ((u8 *)b)[i]; local [all...] |
/linux-master/tools/thermal/tmon/ |
H A D | tui.c | 406 static void handle_input_val(int ch) argument 418 if (ch == ptdata.nr_cooling_dev) { 430 CDEV, ptdata.cdi[ch].instance); 442 static void handle_input_choice(int ch) argument 448 if ((ch >= 'A' && ch <= 'A' + ptdata.nr_cooling_dev) || 449 (ch >= 'a' && ch <= 'a' + ptdata.nr_cooling_dev)) { 450 base = (ch < 'a') ? 'A' : 'a'; 451 cdev_id = ch 468 int ch; local [all...] |