| /linux/include/uapi/linux/ |
| H A D | ultrasound.h | 76 #define _GUS_CMD(chn, voice, cmd, p1, p2) \ argument 78 _seqbuf[_seqbufptr+1] = (chn); _seqbuf[_seqbufptr+2] = cmd;\ 84 #define GUS_NUMVOICES(chn, p1) _GUS_CMD(chn, 0, _GUS_NUMVOICES, (p1), 0) argument 85 #define GUS_VOICESAMPLE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICESAMPLE, (p1), 0) /* OBSOLET… argument 86 #define GUS_VOICEON(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEON, (p1), 0) argument 87 #define GUS_VOICEOFF(chn, voice) _GUS_CMD(chn, voice, _GUS_VOICEOFF, 0, 0) argument 88 #define GUS_VOICEFADE(chn, voice) _GUS_CMD(chn, voice, _GUS_VOICEFADE, 0, 0) argument 89 #define GUS_VOICEMODE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEMODE, (p1), 0) argument 90 #define GUS_VOICEBALA(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEBALA, (p1), 0) argument 91 #define GUS_VOICEFREQ(chn, voice, p) _GUS_CMD(chn, voice, _GUS_VOICEFREQ, \ argument [all …]
|
| H A D | soundcard.h | 985 * 0x02 = Channel event (event[3] = chn). 1128 #define _CHN_VOICE(dev, event, chn, note, parm) \ argument 1133 _seqbuf[_seqbufptr+3] = (chn);\ 1140 #define SEQ_START_NOTE(dev, chn, note, vol) \ argument 1141 _CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol) 1143 #define SEQ_STOP_NOTE(dev, chn, note, vol) \ argument 1144 _CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol) 1146 #define SEQ_KEY_PRESSURE(dev, chn, note, pressure) \ argument 1147 _CHN_VOICE(dev, MIDI_KEY_PRESSURE, chn, note, pressure) 1153 #define _CHN_COMMON(dev, event, chn, p1, p2, w14) \ argument [all …]
|
| /linux/sound/pci/ctxfi/ |
| H A D | ct20k2reg.h | 34 #define SRC_CTL 0x1A0000 /* 0x1A0000 + (256 * Chn) */ 35 #define SRC_CCR 0x1A0004 /* 0x1A0004 + (256 * Chn) */ 36 #define SRC_IMAP 0x1A0008 /* 0x1A0008 + (256 * Chn) */ 37 #define SRC_CA 0x1A0010 /* 0x1A0010 + (256 * Chn) */ 38 #define SRC_CF 0x1A0014 /* 0x1A0014 + (256 * Chn) */ 39 #define SRC_SA 0x1A0018 /* 0x1A0018 + (256 * Chn) */ 40 #define SRC_LA 0x1A001C /* 0x1A001C + (256 * Chn) */ 41 #define SRC_CTLSWR 0x1A0020 /* 0x1A0020 + (256 * Chn) */ 42 #define SRC_CD 0x1A0080 /* 0x1A0080 + (256 * Chn) + (4 * Regn) */ 58 #define VMEM_PTPAL 0x1C6300 /* 0x1C6300 + (16 * Chn) */ [all …]
|
| /linux/drivers/pwm/ |
| H A D | pwm-sprd.c | 37 struct sprd_pwm_chn chn[SPRD_PWM_CHN_NUM]; member 75 struct sprd_pwm_chn *chn = &spc->chn[pwm->hwpwm]; in sprd_pwm_get_state() local 84 ret = clk_bulk_prepare_enable(SPRD_PWM_CHN_CLKS_NUM, chn->clks); in sprd_pwm_get_state() 108 state->period = DIV_ROUND_CLOSEST_ULL(tmp, chn->clk_rate); in sprd_pwm_get_state() 113 state->duty_cycle = DIV_ROUND_CLOSEST_ULL(tmp, chn->clk_rate); in sprd_pwm_get_state() 118 clk_bulk_disable_unprepare(SPRD_PWM_CHN_CLKS_NUM, chn->clks); in sprd_pwm_get_state() 126 struct sprd_pwm_chn *chn = &spc->chn[pwm->hwpwm]; in sprd_pwm_config() local 142 tmp = (u64)chn->clk_rate * period_ns; in sprd_pwm_config() 167 struct sprd_pwm_chn *chn = &spc->chn[pwm->hwpwm]; in sprd_pwm_apply() local 181 chn->clks); in sprd_pwm_apply() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | tas2781-comlib.c | 23 unsigned short chn, unsigned int reg, unsigned int *val) in tasdevice_dev_read() argument 27 if (chn < tas_priv->ndev) { in tasdevice_dev_read() 30 ret = tas_priv->change_chn_book(tas_priv, chn, in tasdevice_dev_read() 41 chn); in tasdevice_dev_read() 50 unsigned short chn, unsigned int reg, unsigned char *data, in tasdevice_dev_bulk_read() argument 55 if (chn < tas_priv->ndev) { in tasdevice_dev_bulk_read() 58 ret = tas_priv->change_chn_book(tas_priv, chn, in tasdevice_dev_bulk_read() 68 chn); in tasdevice_dev_bulk_read() 76 unsigned short chn, unsigned int reg, unsigned int value) in tasdevice_dev_write() argument 80 if (chn < tas_priv->ndev) { in tasdevice_dev_write() [all …]
|
| H A D | tas2781-fmwlib.c | 880 int subblk_offset, chn, chnend, rc; in tasdevice_process_block() local 887 chn = idx - 1; in tasdevice_process_block() 891 chn = tas_priv->index; in tasdevice_process_block() 892 chnend = chn + 1; in tasdevice_process_block() 894 chn = 0; in tasdevice_process_block() 899 for (; chn < chnend; chn++) { in tasdevice_process_block() 900 if (tas_priv->tasdevice[chn].is_loading == false) in tasdevice_process_block() 919 rc = tasdevice_dev_write(tas_priv, chn, in tasdevice_process_block() 952 rc = tasdevice_dev_bulk_write(tas_priv, chn, in tasdevice_process_block() 1024 int j, k, chn, chnend; tasdevice_select_cfg_blk() local 1516 tasdev_multibytes_chksum(struct tasdevice_priv * tasdevice,unsigned short chn,unsigned char book,unsigned char page,unsigned char reg,unsigned int len) tasdev_multibytes_chksum() argument 1632 tasdev_bytes_chksum(struct tasdevice_priv * tas_priv,struct tasdev_blk * block,int chn,unsigned char book,unsigned char page,unsigned char reg,unsigned int len,unsigned char val,unsigned char * crc_chksum) tasdev_bytes_chksum() argument 1664 tasdev_multibytes_wr(struct tasdevice_priv * tas_priv,struct tasdev_blk * block,int chn,unsigned char book,unsigned char page,unsigned char reg,unsigned char * data,unsigned int len,unsigned int * nr_cmds,unsigned char * crc_chksum) tasdev_multibytes_wr() argument 1700 tasdev_block_chksum(struct tasdevice_priv * tas_priv,struct tasdev_blk * block,int chn) tasdev_block_chksum() argument 1733 tasdev_load_blk(struct tasdevice_priv * tas_priv,struct tasdev_blk * block,int chn) tasdev_load_blk() argument 1843 int chn = 0; tasdevice_load_block() local 2050 int chn, k; calbin_conversion() local [all...] |
| H A D | tas2781-i2c.c | 291 dev_err(priv->dev, "chn %d device %u not match\n", in tasdev_cali_data_get() 298 dev_err(priv->dev, "chn %d r0_reg bulk_rd err = %d\n", in tasdev_cali_data_get() 306 dev_dbg(priv->dev, "chn %d r0_data is not same\n", j); in tasdev_cali_data_get() 312 dev_err(priv->dev, "chn %d r0_low bulk_rd err = %d\n", in tasdev_cali_data_get() 320 dev_dbg(priv->dev, "chn %d r0_low is not same\n", j); in tasdev_cali_data_get() 326 dev_err(priv->dev, "chn %d invr0 bulk_rd err = %d\n", in tasdev_cali_data_get() 334 dev_dbg(priv->dev, "chn %d invr0 is not same\n", j); in tasdev_cali_data_get() 339 dev_err(priv->dev, "chn %d pow_reg bulk_rd err = %d\n", in tasdev_cali_data_get() 347 dev_dbg(priv->dev, "chn %d pow_reg is not same\n", j); in tasdev_cali_data_get() 353 dev_err(priv->dev, "chn in tasdev_cali_data_get() 1529 unsigned short chn; acoustic_ctl_write() local [all...] |
| /linux/sound/core/oss/ |
| H A D | mixer_oss.c | 129 int result = 0, chn; in snd_mixer_oss_devmask() local 134 for (chn = 0; chn < 31; chn++) { in snd_mixer_oss_devmask() 135 pslot = &mixer->slots[chn]; in snd_mixer_oss_devmask() 137 result |= 1 << chn; in snd_mixer_oss_devmask() 146 int result = 0, chn; in snd_mixer_oss_stereodevs() local 151 for (chn = 0; chn < 31; chn++) { in snd_mixer_oss_stereodevs() 152 pslot = &mixer->slots[chn]; in snd_mixer_oss_stereodevs() 154 result |= 1 << chn; in snd_mixer_oss_stereodevs() 171 int chn; in snd_mixer_oss_recmask() local 172 for (chn = 0; chn < 31; chn++) { in snd_mixer_oss_recmask() [all …]
|
| /linux/drivers/iio/adc/ |
| H A D | twl6030-gpadc.c | 598 dev_dbg(gpadc->dev, "GPADC d1 for Chn: %d = %d\n", channel, d1); in twl6030_calibrate_channel() 599 dev_dbg(gpadc->dev, "GPADC d2 for Chn: %d = %d\n", channel, d2); in twl6030_calibrate_channel() 600 dev_dbg(gpadc->dev, "GPADC x1 for Chn: %d = %d\n", channel, x1); in twl6030_calibrate_channel() 601 dev_dbg(gpadc->dev, "GPADC x2 for Chn: %d = %d\n", channel, x2); in twl6030_calibrate_channel() 602 dev_dbg(gpadc->dev, "GPADC Gain for Chn: %d = %d\n", channel, gain); in twl6030_calibrate_channel() 603 dev_dbg(gpadc->dev, "GPADC k for Chn: %d = %d\n", channel, k); in twl6030_calibrate_channel() 604 dev_dbg(gpadc->dev, "GPADC b for Chn: %d = %d\n", channel, b); in twl6030_calibrate_channel() 624 int chn; in twl6030_calibration() local 642 for (chn = 0; chn < TWL6030_GPADC_MAX_CHANNELS; chn++) { in twl6030_calibration() 644 switch (chn) { in twl6030_calibration() [all …]
|
| /linux/sound/pci/ice1712/ |
| H A D | hoontech.c | 68 static void snd_ice1712_stdsp24_box_channel(struct snd_ice1712 *ice, int box, int chn, int activate) in snd_ice1712_stdsp24_box_channel() argument 79 if (chn == 3) in snd_ice1712_stdsp24_box_channel() 92 if (chn == 3) { in snd_ice1712_stdsp24_box_channel() 96 switch (chn) { in snd_ice1712_stdsp24_box_channel() 154 int box, chn; in hoontech_init() local 233 for (chn = 0; chn < 4; chn++) in hoontech_init() 234 snd_ice1712_stdsp24_box_channel(ice, box, chn, in hoontech_init() 235 (spec->boxconfig[box] & (1 << chn)) ? 1 : 0); in hoontech_init()
|
| /linux/include/sound/ |
| H A D | tas2781.h | 256 unsigned short chn, int book); 258 unsigned short chn, unsigned int reg, unsigned int mask, 261 unsigned short chn, unsigned int reg, unsigned int *value); 263 unsigned short chn, unsigned int reg, unsigned char *p_data, 268 unsigned short chn, unsigned int reg, unsigned int *value); 270 unsigned short chn, unsigned int reg, unsigned char *p_data, 273 unsigned short chn, unsigned int reg, unsigned int value); 275 struct tasdevice_priv *tas_priv, unsigned short chn,
|
| H A D | mixer_oss.h | 20 struct snd_mixer_oss_slot *chn, 23 struct snd_mixer_oss_slot *chn, 26 struct snd_mixer_oss_slot *chn, 29 struct snd_mixer_oss_slot *chn,
|
| H A D | tas2781-comlib-i2c.h | 25 unsigned short chn); 27 struct tasdevice_priv *tasdevice, unsigned short chn,
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | ar9002_calib.c | 137 "%d: Chn %d pmi=0x%08x;pmq=0x%08x;iqcm=0x%08x;\n", in ar9002_hw_iqcal_collect() 159 "%d: Chn %d oddi=0x%08x; eveni=0x%08x; oddq=0x%08x; evenq=0x%08x;\n", in ar9002_hw_adc_gaincal_collect() 183 "%d: Chn %d oddi=0x%08x; eveni=0x%08x; oddq=0x%08x; evenq=0x%08x;\n", in ar9002_hw_adc_dccal_collect() 210 "Original: Chn %d iq_corr_meas = 0x%08x\n", in ar9002_hw_iqcalibrate() 220 ath_dbg(common, CALIBRATE, "Chn %d pwr_meas_i = 0x%08x\n", in ar9002_hw_iqcalibrate() 222 ath_dbg(common, CALIBRATE, "Chn %d pwr_meas_q = 0x%08x\n", in ar9002_hw_iqcalibrate() 233 ath_dbg(common, CALIBRATE, "Chn %d iCoff = 0x%08x\n", in ar9002_hw_iqcalibrate() 235 ath_dbg(common, CALIBRATE, "Chn %d qCoff = 0x%08x\n", in ar9002_hw_iqcalibrate() 240 "New: Chn %d iCoff = 0x%08x\n", i, iCoff); in ar9002_hw_iqcalibrate() 250 "Chn %d : iCoff = 0x%x qCoff = 0x%x\n", in ar9002_hw_iqcalibrate() [all …]
|
| /linux/sound/core/seq/oss/ |
| H A D | seq_oss_event.h | 29 unsigned char chn; member 47 unsigned char chn; member 56 unsigned char chn; member 66 unsigned char chn; member
|
| /linux/drivers/tty/serial/ |
| H A D | sprd_serial.c | 116 struct dma_chan *chn; member 203 dmaengine_terminate_all(sp->rx_dma.chn); in sprd_stop_rx() 234 dmaengine_pause(sp->tx_dma.chn); in sprd_stop_tx_dma() 236 dmaengine_tx_status(sp->tx_dma.chn, sp->tx_dma.cookie, &state); in sprd_stop_tx_dma() 244 dmaengine_terminate_all(sp->tx_dma.chn); in sprd_stop_tx_dma() 301 dma_des = dmaengine_prep_slave_single(ud->chn, ud->phys_addr, trans_len, in sprd_uart_dma_submit() 313 dma_async_issue_pending(ud->chn); in sprd_uart_dma_submit() 332 ret = dmaengine_slave_config(sp->tx_dma.chn, &cfg); in sprd_tx_dma_config() 403 return dmaengine_slave_config(sp->rx_dma.chn, &cfg); in sprd_rx_dma_config() 424 status = dmaengine_tx_status(sp->rx_dma.chn, in sprd_uart_dma_irq() [all …]
|
| /linux/drivers/edac/ |
| H A D | edac_mc.c | 182 int i, chn, row; in mci_release() local 197 for (chn = 0; chn < mci->num_cschannel; chn++) in mci_release() 198 kfree(csr->channels[chn]); in mci_release() 213 unsigned int row, chn; in edac_mc_alloc_csrows() local 237 for (chn = 0; chn < tot_channels; chn++) { in edac_mc_alloc_csrows() 244 csr->channels[chn] = chan; in edac_mc_alloc_csrows() 245 chan->chan_idx = chn; in edac_mc_alloc_csrows() 256 unsigned int row, chn, idx; in edac_mc_alloc_dimms() local 269 chn = 0; in edac_mc_alloc_dimms() 275 chan = mci->csrows[row]->channels[chn]; in edac_mc_alloc_dimms() [all …]
|
| /linux/drivers/media/pci/intel/ipu6/ |
| H A D | ipu6-platform-isys-csi2-reg.h | 42 #define IPU_CSI_RX_IRQ_FS_VC(chn) (1 << ((chn) * 2)) argument 43 #define IPU_CSI_RX_IRQ_FE_VC(chn) (2 << ((chn) * 2)) argument
|
| /linux/sound/hda/codecs/side-codecs/ |
| H A D | tas2781_hda_spi.c | 78 unsigned short chn, unsigned int reg, unsigned int *val) in tasdevice_spi_dev_read() argument 90 ret = tasdevice_dev_bulk_read(tas_priv, chn, reg, in tasdevice_spi_dev_read() 94 ret = tasdevice_dev_read(tas_priv, chn, reg, val); in tasdevice_spi_dev_read() 103 unsigned short chn, unsigned int reg, unsigned char *data, in tasdevice_spi_dev_bulk_read() argument 116 ret = tasdevice_dev_bulk_read(tas_priv, chn, reg, in tasdevice_spi_dev_bulk_read() 120 ret = tasdevice_dev_bulk_read(tas_priv, chn, reg, data, len); in tasdevice_spi_dev_bulk_read() 129 unsigned short chn, unsigned int reg, unsigned int mask, in tasdevice_spi_dev_update_bits() argument 142 ret = tasdevice_dev_bulk_read(tas_priv, chn, reg, buf, 2); in tasdevice_spi_dev_update_bits() 145 ret = tasdevice_dev_read(tas_priv, chn, reg, &val); in tasdevice_spi_dev_update_bits() 152 ret = tasdevice_dev_write(tas_priv, chn, TASDEVICE_PAGE_RE 153 tasdevice_spi_change_chn_book(struct tasdevice_priv * p,unsigned short chn,int book) tasdevice_spi_change_chn_book() argument [all...] |
| /linux/drivers/net/ethernet/ti/icssg/ |
| H A D | icssg_common.c | 219 int emac_tx_complete_packets(struct prueth_emac *emac, int chn, in emac_tx_complete_packets() 235 tx_chn = &emac->tx_chns[chn]; in emac_tx_complete_packets() 282 netif_txq = netdev_get_tx_queue(ndev, chn); in emac_tx_complete_packets() 307 emac_xsk_xmit_zc(emac, chn); in emac_tx_timer_callback() 1492 struct prueth_rx_chn *chn, in prueth_prepare_rx_chan() 1499 desc_avail = k3_cppi_desc_pool_avail(chn->desc_pool); in prueth_prepare_rx_chan() 1500 if (desc_avail < chn->descs_num) in prueth_prepare_rx_chan() 1503 desc_avail, chn->descs_num); in prueth_prepare_rx_chan() 1505 if (chn->xsk_pool) { in prueth_prepare_rx_chan() 1518 page = page_pool_dev_alloc_pages(chn in prueth_prepare_rx_chan() 210 emac_tx_complete_packets(struct prueth_emac * emac,int chn,int budget,bool * tdown) emac_tx_complete_packets() argument 1469 prueth_prepare_rx_chan(struct prueth_emac * emac,struct prueth_rx_chn * chn,int buf_size) prueth_prepare_rx_chan() argument 1537 prueth_reset_rx_chan(struct prueth_rx_chn * chn,int num_flows,bool disable) prueth_reset_rx_chan() argument [all...] |
| /linux/sound/usb/line6/ |
| H A D | playback.c | 24 int chn = 0; in change_volume() local 37 int val = (pv * volume[chn & 1]) >> 8; in change_volume() 40 ++chn; in change_volume() 52 val = (val * volume[chn & 1]) >> 8; in change_volume() 57 ++chn; in change_volume()
|
| /linux/drivers/media/rc/keymaps/ |
| H A D | rc-pixelview-mk12.c | 38 { 0x866b16, KEY_CHANNELUP }, /* chn + */ 39 { 0x866b14, KEY_CHANNELDOWN }, /* chn - */
|
| H A D | rc-pixelview.c | 41 { 0x1f, KEY_CHANNELUP }, /* chn down */ 42 { 0x17, KEY_CHANNELDOWN }, /* chn up */
|
| H A D | rc-apac-viewcomp.c | 34 { 0x1e, KEY_CHANNELDOWN }, /* chn up */ 35 { 0x1a, KEY_CHANNELUP }, /* chn down */
|
| /linux/drivers/s390/cio/ |
| H A D | trace.h | 367 __field(u8, chn) 378 __entry->chn = crw->chn; 384 TP_printk("cc=%d slct=%d oflw=%d chn=%d rsc=%d anc=%d erc=0x%x " 387 __entry->chn, __entry->rsc, __entry->anc,
|