/linux-master/fs/ubifs/ |
H A D | ubifs-media.h | 482 * @ch: common header 516 struct ubifs_ch ch; member in struct:ubifs_ino_node 543 * @ch: common header 557 struct ubifs_ch ch; member in struct:ubifs_dent_node 569 * @ch: common header 578 struct ubifs_ch ch; member in struct:ubifs_data_node 588 * @ch: common header 599 struct ubifs_ch ch; member in struct:ubifs_trun_node 608 * @ch: common header 613 struct ubifs_ch ch; member in struct:ubifs_pad_node 653 struct ubifs_ch ch; member in struct:ubifs_sb_node 723 struct ubifs_ch ch; member in struct:ubifs_mst_node 767 struct ubifs_ch ch; member in struct:ubifs_ref_node 780 struct ubifs_ch ch; member in struct:ubifs_auth_node 794 struct ubifs_ch ch; member in struct:ubifs_sig_node 827 struct ubifs_ch ch; member in struct:ubifs_idx_node 839 struct ubifs_ch ch; member in struct:ubifs_cs_node 850 struct ubifs_ch ch; member in struct:ubifs_orph_node [all...] |
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | channel.c | 377 struct ieee80211_channel *ch = wlc->pub->ieee_hw->conf.chandef.chan; local 387 if (ch->flags & IEEE80211_CHAN_NO_OFDM) 393 !!(ch->flags & IEEE80211_CHAN_NO_IR), 402 struct ieee80211_channel *ch = wlc->pub->ieee_hw->conf.chandef.chan; local 417 if (WARN_ON(!ch)) 433 maxpwr = QDB(ch->max_power) - delta; 634 struct ieee80211_channel *ch; local 642 ch = &sband->channels[i]; 644 if (!brcms_is_radar_freq(ch->center_freq)) 651 if (!(ch 662 struct ieee80211_channel *ch; local 700 struct ieee80211_channel *ch; local 742 struct ieee80211_channel *ch; local [all...] |
/linux-master/drivers/media/pci/solo6x10/ |
H A D | solo6x10-tw28.c | 366 int ch; local 462 for (ch = 0; ch < 4; ch++) { 464 switch (ch) { 483 dev_addr, (ch * 0x10) + i, 641 int tw28_get_video_status(struct solo_dev *solo_dev, u8 ch) argument 646 chip_num = ch / 4; 647 ch %= 4; 652 return val & (1 << ch) 674 tw28_has_sharpness(struct solo_dev *solo_dev, u8 ch) argument 679 tw28_set_ctrl_val(struct solo_dev *solo_dev, u32 ctrl, u8 ch, s32 val) argument 752 tw28_get_ctrl_val(struct solo_dev *solo_dev, u32 ctrl, u8 ch, s32 *val) argument 829 tw28_get_audio_gain(struct solo_dev *solo_dev, u8 ch) argument 845 tw28_set_audio_gain(struct solo_dev *solo_dev, u8 ch, u8 val) argument [all...] |
H A D | solo6x10-v4l2.c | 62 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...] |
/linux-master/drivers/accessibility/speakup/ |
H A D | speakup_decpc.c | 340 static int dt_sendchar(char ch) argument 347 outb_p(ch, speakup_info.port_tts + 4); 376 u_char ch; local 405 ch = synth_buffer_peek(); 409 if (ch == '\n') 410 ch = 0x0D; 411 if (dt_sendchar(ch)) { 419 if (ch == '[') { 421 } else if (ch == ']') { 423 } else if (ch < 449 u_char ch; local [all...] |
H A D | speakup_dtlk.c | 173 static void spk_out(const char ch) argument 182 outb_p(ch, speakup_info.port_tts); 193 u_char ch; local 229 ch = synth_buffer_getc(); 231 if (ch == '\n') 232 ch = PROCSPEECH; 233 spk_out(ch); 234 if (time_after_eq(jiffies, jiff_max) && (ch == SPACE)) { 249 u_char ch; local 251 while ((ch 271 u_char ch; local [all...] |
/linux-master/drivers/isdn/mISDN/ |
H A D | dsp_core.c | 216 if (!dsp->ch.peer) { 224 if (dsp->ch.peer->ctrl(dsp->ch.peer, CONTROL_CHANNEL, &cq)) { 261 if (!dsp->ch.peer) { 270 if (dsp->ch.peer->ctrl(dsp->ch.peer, CONTROL_CHANNEL, &cq)) { 626 get_features(struct mISDNchannel *ch) argument 628 struct dsp *dsp = container_of(ch, struct dsp, ch); 631 if (!ch 664 dsp_function(struct mISDNchannel *ch, struct sk_buff *skb) argument 952 dsp_ctrl(struct mISDNchannel *ch, u_int cmd, void *arg) argument [all...] |
/linux-master/include/sound/ |
H A D | hda_regmap.h | 44 * @ch: channel (left = 0, right = 1) 50 #define snd_hdac_regmap_encode_amp(nid, ch, dir, idx) \ 52 ((ch) ? AC_AMP_GET_RIGHT : AC_AMP_GET_LEFT) | \ 127 * @ch: channel (left=0 or right=1) 137 int ch, int dir, int idx) 139 unsigned int cmd = snd_hdac_regmap_encode_amp(nid, ch, dir, idx); 150 * @ch: channel (left=0 or right=1) 161 int ch, int dir, int idx, int mask, int val) 163 unsigned int cmd = snd_hdac_regmap_encode_amp(nid, ch, dir, idx); 172 * @ch 136 snd_hdac_regmap_get_amp(struct hdac_device *codec, hda_nid_t nid, int ch, int dir, int idx) argument 160 snd_hdac_regmap_update_amp(struct hdac_device *codec, hda_nid_t nid, int ch, int dir, int idx, int mask, int val) argument [all...] |
/linux-master/drivers/memory/tegra/ |
H A D | mc.h | 112 static inline u32 mc_ch_readl(const struct tegra_mc *mc, int ch, argument 118 if (ch == MC_BROADCAST_CHANNEL) 121 return readl_relaxed(mc->ch_regs[ch] + offset); 124 static inline void mc_ch_writel(const struct tegra_mc *mc, int ch, argument 130 if (ch == MC_BROADCAST_CHANNEL) 133 writel_relaxed(value, mc->ch_regs[ch] + offset);
|
/linux-master/drivers/net/wireless/ath/ath12k/ |
H A D | reg.c | 100 struct ath12k_wmi_channel_arg *ch; local 130 ch = arg->channel; 143 ch->allow_ht = true; 144 ch->allow_vht = true; 145 ch->allow_he = true; 147 ch->dfs_set = 149 ch->is_chan_passive = !!(channel->flags & 151 ch->is_chan_passive |= ch->dfs_set; 152 ch [all...] |
/linux-master/drivers/pwm/ |
H A D | pwm-visconti.c | 28 #define PIPGM_PCSR(ch) (0x400 + 4 * (ch)) 29 #define PIPGM_PDUT(ch) (0x420 + 4 * (ch)) 30 #define PIPGM_PWMC(ch) (0x440 + 4 * (ch))
|
/linux-master/drivers/gpu/host1x/hw/ |
H A D | syncpt_hw.c | 95 * @ch: channel 98 * @ch, preventing other channels from incrementing the syncpoints. If @ch is 104 struct host1x_channel *ch) 110 HOST1X_SYNC_SYNCPT_CH_APP_CH(ch ? ch->id : 0xff), 103 syncpt_assign_to_channel(struct host1x_syncpt *sp, struct host1x_channel *ch) argument
|
/linux-master/include/linux/ |
H A D | tty_flip.h | 60 * @ch: character 63 * Queue a single byte @ch to the tty buffering, with an optional flag. 65 static inline size_t tty_insert_flip_char(struct tty_port *port, u8 ch, u8 flag) argument 74 *char_buf_ptr(tb, tb->used++) = ch; 77 return __tty_insert_flip_string_flags(port, &ch, &flag, false, 1);
|
H A D | serial_core.h | 132 * @send_xchar: ``void ()(struct uart_port *port, char ch)`` 140 * Do not transmit if @ch == '\0' (%__DISABLED_CHAR). 355 * @poll_put_char: ``void ()(struct uart_port *port, unsigned char ch)`` 357 * Called by kgdb to write a single character @ch directly to the serial 382 void (*send_xchar)(struct uart_port *, char ch); 763 #define __uart_port_tx(uport, ch, flags, tx_ready, put_char, tx_done, \ 772 (ch) = __port->x_char; \ 781 (ch) = xmit->buf[xmit->tail]; \ 803 * @ch: variable to store a character to be written to the HW 818 * * **put_char:** shall write @ch t 1023 uart_handle_sysrq_char(struct uart_port *port, u8 ch) argument 1042 uart_prepare_sysrq_char(struct uart_port *port, u8 ch) argument 1098 uart_handle_sysrq_char(struct uart_port *port, u8 ch) argument 1102 uart_prepare_sysrq_char(struct uart_port *port, u8 ch) argument [all...] |
/linux-master/drivers/iio/adc/ |
H A D | stm32-dfsdm-adc.c | 371 struct stm32_dfsdm_channel *ch) 373 unsigned int id = ch->id; 379 DFSDM_CHCFGR1_SITP(ch->type)); 384 DFSDM_CHCFGR1_SPICKSEL(ch->src)); 389 DFSDM_CHCFGR1_CHINSEL(ch->alt_si)); 600 struct iio_chan_spec *ch) 604 int chan_idx = ch->scan_index; 609 &ch->channel); 616 if (ch->channel >= dfsdm->num_chs) { 619 ch 370 stm32_dfsdm_chan_configure(struct stm32_dfsdm *dfsdm, struct stm32_dfsdm_channel *ch) argument 598 stm32_dfsdm_channel_parse_of(struct stm32_dfsdm *dfsdm, struct iio_dev *indio_dev, struct iio_chan_spec *ch) argument 709 struct stm32_dfsdm_channel *ch = &adc->dfsdm->ch_list[chan->channel]; local 1173 struct stm32_dfsdm_channel *ch = &adc->dfsdm->ch_list[chan->channel]; local 1370 stm32_dfsdm_adc_chan_init_one(struct iio_dev *indio_dev, struct iio_chan_spec *ch) argument 1406 struct iio_chan_spec *ch; local 1436 struct iio_chan_spec *ch; local 1649 struct stm32_dfsdm_channel *ch; local [all...] |
/linux-master/drivers/dma/dw-edma/ |
H A D | dw-hdma-v0-core.c | 32 __dw_ch_regs(struct dw_edma *dw, enum dw_edma_dir dir, u16 ch) argument 35 return &(__dw_regs(dw)->ch[ch].wr); 37 return &(__dw_regs(dw)->ch[ch].rd); 40 #define SET_CH_32(dw, dir, ch, name, value) \ 41 writel(value, &(__dw_ch_regs(dw, dir, ch)->name)) 43 #define GET_CH_32(dw, dir, ch, name) \ 44 readl(&(__dw_ch_regs(dw, dir, ch)->name)) 46 #define SET_BOTH_CH_32(dw, ch, nam [all...] |
/linux-master/drivers/staging/fbtft/ |
H A D | fb_tls8204.c | 102 u8 ch = 0; local 105 ch >>= 1; 107 ch |= 0x80; 109 *buf++ = ch;
|
/linux-master/drivers/dma/ti/ |
H A D | k3-psil-am64.c | 32 #define PSIL_ETHERNET(x, ch, flow_base, flow_cnt) \ 40 .mapped_channel_id = ch, \ 47 #define PSIL_SAUL(x, ch, flow_base, flow_cnt, default_flow, tx) \ 55 .mapped_channel_id = ch, \
|
/linux-master/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | dma_local.h | 73 #define DMA_SEL_CH(ch) (((ch) & _hrt_ones(_DMA_V2_ADDR_SEL_CH_REG_BITS)) << _DMA_V2_ADDR_SEL_CH_REG_IDX) 82 #define DMA_CHANNEL_PARAM_REG_IDX(ch, param) ((DMA_SEL_COMP(_DMA_V2_SEL_CH_REG) | DMA_SEL_CH(ch) | DMA_SEL_PARAM(param)) >> 2)
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_tag.c | 68 static int __hex2bin(char ch) argument 70 if ((ch >= '0') && (ch <= '9')) 71 return ch - '0'; 72 ch = tolower(ch); 73 if ((ch >= 'a') && (ch <= 'f')) 74 return ch - 'a' + 10;
|
/linux-master/fs/smb/server/ |
H A D | misc.c | 73 * @ch: input character to be checked 77 static inline int is_char_allowed(char ch) argument 80 if (!(ch & 0x80) && 81 (ch <= 0x1f || 82 ch == '?' || ch == '"' || ch == '<' || 83 ch == '>' || ch == '|' || ch [all...] |
/linux-master/drivers/clk/ |
H A D | clk-cs2000-cp.c | 69 #define CH_SIZE_ERR(ch) ((ch < 0) || (ch >= CH_MAX)) 234 int ch, u32 rate_in, u32 rate_out) 240 if (CH_SIZE_ERR(ch)) 246 Ratio_Add(ch, i), 255 static u32 cs2000_ratio_get(struct cs2000_priv *priv, int ch) argument 263 ret = regmap_read(priv->regmap, Ratio_Add(ch, i), &tmp); 273 static int cs2000_ratio_select(struct cs2000_priv *priv, int ch) argument 278 if (CH_SIZE_ERR(ch)) 233 cs2000_ratio_set(struct cs2000_priv *priv, int ch, u32 rate_in, u32 rate_out) argument 300 int ch = 0; /* it uses ch0 only at this point */ local 340 __cs2000_set_rate(struct cs2000_priv *priv, int ch, unsigned long rate, unsigned long parent_rate) argument 376 int ch = 0; /* it uses ch0 only at this point */ local 383 int ch = 0; /* it uses ch0 only at this point */ local 469 int ch = 0; /* it uses ch0 only at this point */ local [all...] |
/linux-master/arch/mips/include/asm/sibyte/ |
H A D | sb1250_mac.h | 427 * 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/firmware/ |
H A D | arm_scpi.c | 356 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 D | dns_resolve.c | 140 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...] |