| /include/linux/mfd/ |
| D | max5970.h | 31 #define MAX5970_REG_CURRENT_L(ch) (0x01 + (ch) * 4) argument 32 #define MAX5970_REG_CURRENT_H(ch) (0x00 + (ch) * 4) argument 33 #define MAX5970_REG_VOLTAGE_L(ch) (0x03 + (ch) * 4) argument 34 #define MAX5970_REG_VOLTAGE_H(ch) (0x02 + (ch) * 4) argument 37 #define MAX5970_MON(reg, ch) (((reg) >> ((ch) * 2)) & MAX5970_MON_MASK) argument 40 #define MAX5970_REG_CH_UV_WARN_H(ch) (0x1A + (ch) * 10) argument 41 #define MAX5970_REG_CH_UV_WARN_L(ch) (0x1B + (ch) * 10) argument 42 #define MAX5970_REG_CH_UV_CRIT_H(ch) (0x1C + (ch) * 10) argument 43 #define MAX5970_REG_CH_UV_CRIT_L(ch) (0x1D + (ch) * 10) argument 44 #define MAX5970_REG_CH_OV_WARN_H(ch) (0x1E + (ch) * 10) argument [all …]
|
| D | rz-mtu3.h | 154 static inline bool rz_mtu3_request_channel(struct rz_mtu3_channel *ch) in rz_mtu3_request_channel() argument 156 mutex_lock(&ch->lock); in rz_mtu3_request_channel() 157 if (ch->is_busy) { in rz_mtu3_request_channel() 158 mutex_unlock(&ch->lock); in rz_mtu3_request_channel() 162 ch->is_busy = true; in rz_mtu3_request_channel() 163 mutex_unlock(&ch->lock); in rz_mtu3_request_channel() 168 static inline void rz_mtu3_release_channel(struct rz_mtu3_channel *ch) in rz_mtu3_release_channel() argument 170 mutex_lock(&ch->lock); in rz_mtu3_release_channel() 171 ch->is_busy = false; in rz_mtu3_release_channel() 172 mutex_unlock(&ch->lock); in rz_mtu3_release_channel() [all …]
|
| /include/linux/firmware/cirrus/ |
| D | cs_dsp.h | 314 struct cs_dsp_chunk ch = { in cs_dsp_chunk() local 319 return ch; in cs_dsp_chunk() 328 static inline bool cs_dsp_chunk_end(struct cs_dsp_chunk *ch) in cs_dsp_chunk_end() argument 330 return ch->data == ch->max; in cs_dsp_chunk_end() 339 static inline int cs_dsp_chunk_bytes(struct cs_dsp_chunk *ch) in cs_dsp_chunk_bytes() argument 341 return ch->bytes; in cs_dsp_chunk_bytes() 350 static inline bool cs_dsp_chunk_valid_addr(struct cs_dsp_chunk *ch, void *addr) in cs_dsp_chunk_valid_addr() argument 352 return (u8 *)addr >= ch->data && (u8 *)addr < ch->max; in cs_dsp_chunk_valid_addr() 355 int cs_dsp_chunk_write(struct cs_dsp_chunk *ch, int nbits, u32 val); 356 int cs_dsp_chunk_flush(struct cs_dsp_chunk *ch); [all …]
|
| /include/linux/platform_data/ |
| D | dma-mcf-edma.h | 24 #define MCF_EDMA_FILTER_PARAM(ch) ((void *)ch) argument
|
| /include/video/ |
| D | imx-ipu-v3.h | 255 void ipu_cpmem_zero(struct ipuv3_channel *ch); 256 void ipu_cpmem_set_resolution(struct ipuv3_channel *ch, int xres, int yres); 257 void ipu_cpmem_skip_odd_chroma_rows(struct ipuv3_channel *ch); 258 void ipu_cpmem_set_stride(struct ipuv3_channel *ch, int stride); 259 void ipu_cpmem_set_high_priority(struct ipuv3_channel *ch); 260 void ipu_cpmem_set_buffer(struct ipuv3_channel *ch, int bufnum, dma_addr_t buf); 261 void ipu_cpmem_set_uv_offset(struct ipuv3_channel *ch, u32 u_off, u32 v_off); 262 void ipu_cpmem_interlaced_scan(struct ipuv3_channel *ch, int stride, 264 void ipu_cpmem_set_axi_id(struct ipuv3_channel *ch, u32 id); 265 int ipu_cpmem_get_burstsize(struct ipuv3_channel *ch); [all …]
|
| /include/sound/ |
| D | hda_regmap.h | 50 #define snd_hdac_regmap_encode_amp(nid, ch, dir, idx) \ argument 52 ((ch) ? AC_AMP_GET_RIGHT : AC_AMP_GET_LEFT) | \ 137 int ch, int dir, int idx) in snd_hdac_regmap_get_amp() argument 139 unsigned int cmd = snd_hdac_regmap_encode_amp(nid, ch, dir, idx); in snd_hdac_regmap_get_amp() 161 int ch, int dir, int idx, int mask, int val) in snd_hdac_regmap_update_amp() argument 163 unsigned int cmd = snd_hdac_regmap_encode_amp(nid, ch, dir, idx); in snd_hdac_regmap_update_amp()
|
| D | emux_synth.h | 42 void (*reset)(struct snd_emux *emu, int ch); 152 int ch; /* Hardware channel number */ member
|
| D | emu8000.h | 95 void snd_emu8000_dma_chan(struct snd_emu8000 *emu, int ch, int mode);
|
| D | wavefront.h | 446 #define WF_CHANNEL_STATUS(ch,wcp) (wcp)[(ch/7)] & (1<<((ch)%7)) argument
|
| /include/linux/ |
| D | serial_core.h | 384 void (*send_xchar)(struct uart_port *, char ch); 862 unsigned char *ch) in uart_fifo_get() argument 867 chars = kfifo_get(&tport->xmit_fifo, ch); in uart_fifo_get() 906 #define __uart_port_tx(uport, ch, flags, tx_ready, put_char, tx_done, \ argument 915 (ch) = __port->x_char; \ 924 if (!kfifo_get(&__tport->xmit_fifo, &(ch))) \ 969 #define uart_port_tx_limited(port, ch, count, tx_ready, put_char, tx_done) ({ \ argument 971 __uart_port_tx(port, ch, 0, tx_ready, put_char, tx_done, __count, \ 987 #define uart_port_tx_limited_flags(port, ch, flags, count, tx_ready, put_char, tx_done) ({ \ argument 989 __uart_port_tx(port, ch, flags, tx_ready, put_char, tx_done, __count, \ [all …]
|
| D | tty_flip.h | 65 static inline size_t tty_insert_flip_char(struct tty_port *port, u8 ch, u8 flag) in tty_insert_flip_char() argument 74 *char_buf_ptr(tb, tb->used++) = ch; in tty_insert_flip_char() 77 return __tty_insert_flip_string_flags(port, &ch, &flag, false, 1); in tty_insert_flip_char()
|
| D | mISDNif.h | 318 struct ph_info_ch ch; member 452 struct mISDNchannel *ch; member 486 struct mISDNchannel ch; member 564 _queue_data(struct mISDNchannel *ch, u_int prim, in _queue_data() argument 569 if (!ch->peer) in _queue_data() 574 if (ch->recv(ch->peer, skb)) in _queue_data()
|
| D | tty_driver.h | 367 int (*put_char)(struct tty_struct *tty, u8 ch); 386 void (*send_xchar)(struct tty_struct *tty, u8 ch); 399 void (*poll_put_char)(struct tty_driver *driver, int line, char ch);
|
| D | hex.h | 29 extern int hex_to_bin(unsigned char ch);
|
| /include/acpi/ |
| D | nhlt.h | 111 u16 ch, u32 rate, u16 vbps, u16 bps); 115 u16 ch, u32 rate, u16 vpbs, u16 bps); 118 u16 ch, u32 rate, u16 vpbs, u16 bps); 148 u16 ch, u32 rate, u16 vbps, u16 bps) in acpi_nhlt_endpoint_find_fmtcfg() argument 156 u16 ch, u32 rate, u16 vpbs, u16 bps) in acpi_nhlt_tb_find_fmtcfg() argument 174 u16 ch, u32 rate, u16 vpbs, u16 bps) in acpi_nhlt_find_fmtcfg() argument
|
| /include/linux/fsl/ |
| D | guts.h | 156 unsigned int co, unsigned int ch, unsigned int device) in guts_set_dmacr() argument 158 unsigned int shift = 16 + (8 * (1 - co) + 2 * (3 - ch)); in guts_set_dmacr() 192 unsigned int co, unsigned int ch, unsigned int value) in guts_set_pmuxcr_dma() argument 194 if ((ch == 0) || (ch == 3)) { in guts_set_pmuxcr_dma() 195 unsigned int shift = 2 * (co + 1) - (ch & 1) - 1; in guts_set_pmuxcr_dma()
|
| /include/net/sctp/ |
| 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);
|
| /include/linux/usb/ |
| D | audio-v2.h | 156 #define UAC2_DT_FEATURE_UNIT_SIZE(ch) (6 + ((ch) + 1) * 4) argument 159 #define DECLARE_UAC2_FEATURE_UNIT_DESCRIPTOR(ch) \ argument 160 struct uac2_feature_unit_descriptor_##ch { \ 166 __le32 bmaControls[ch + 1]; \
|
| D | audio-v3.h | 116 #define UAC3_DT_FEATURE_UNIT_SIZE(ch) (7 + ((ch) + 1) * 4) argument 119 #define DECLARE_UAC3_FEATURE_UNIT_DESCRIPTOR(ch) \ argument 120 struct uac3_feature_unit_descriptor_##ch { \ 126 __le32 bmaControls[ch + 1]; \
|
| /include/linux/firmware/mediatek/ |
| D | mtk-adsp-ipc.h | 35 struct mbox_chan *ch; member
|
| /include/linux/firmware/imx/ |
| D | dsp.h | 20 struct mbox_chan *ch; member
|
| /include/uapi/linux/usb/ |
| D | audio.h | 242 #define UAC_DT_FEATURE_UNIT_SIZE(ch) (7 + ((ch) + 1) * 2) argument 245 #define DECLARE_UAC_FEATURE_UNIT_DESCRIPTOR(ch) \ argument 246 struct uac_feature_unit_descriptor_##ch { \ 253 __le16 bmaControls[ch + 1]; \
|
| /include/linux/soundwire/ |
| D | sdw_registers.h | 332 #define SDW_SDCA_CTL(fun, ent, ctl, ch) (BIT(30) | \ argument 338 (((ch) & 0x38) << 12) | \ 339 ((ch) & 0x07))
|
| /include/linux/iio/common/ |
| D | st_sensors.h | 208 struct iio_chan_spec *ch; member 305 struct iio_chan_spec const *ch, int *val);
|
| /include/uapi/sound/ |
| D | hdspm.h | 201 struct hdspm_channelfader ch[HDSPM_MIXER_CHANNELS]; member
|