/linux-4.19.296/include/sound/ |
D | emu8000_reg.h | 38 #define EMU8000_CMD(reg, chan) ((reg)<<5 | (chan)) argument 44 #define EMU8000_CPF_READ(emu, chan) \ argument 46 #define EMU8000_PTRX_READ(emu, chan) \ argument 48 #define EMU8000_CVCF_READ(emu, chan) \ argument 50 #define EMU8000_VTFT_READ(emu, chan) \ argument 52 #define EMU8000_PSST_READ(emu, chan) \ argument 54 #define EMU8000_CSL_READ(emu, chan) \ argument 56 #define EMU8000_CCCA_READ(emu, chan) \ argument 84 #define EMU8000_INIT1_READ(emu, chan) \ argument 86 #define EMU8000_INIT2_READ(emu, chan) \ argument [all …]
|
/linux-4.19.296/drivers/pwm/ |
D | pwm-bcm-kona.c | 49 #define PWM_CONTROL_SMOOTH_SHIFT(chan) (24 + (chan)) argument 50 #define PWM_CONTROL_TYPE_SHIFT(chan) (16 + (chan)) argument 51 #define PWM_CONTROL_POLARITY_SHIFT(chan) (8 + (chan)) argument 52 #define PWM_CONTROL_TRIGGER_SHIFT(chan) (chan) argument 55 #define PRESCALE_SHIFT(chan) ((chan) << 2) argument 56 #define PRESCALE_MASK(chan) (0x7 << PRESCALE_SHIFT(chan)) argument 60 #define PERIOD_COUNT_OFFSET(chan) (0x00000008 + ((chan) << 3)) argument 64 #define DUTY_CYCLE_HIGH_OFFSET(chan) (0x0000000c + ((chan) << 3)) argument 83 unsigned int chan) in kona_pwmc_prepare_for_settings() 98 static void kona_pwmc_apply_settings(struct kona_pwmc *kp, unsigned int chan) in kona_pwmc_apply_settings() [all …]
|
D | pwm-samsung.c | 36 #define REG_TCNTB(chan) (0x0c + ((chan) * 0xc)) argument 37 #define REG_TCMPB(chan) (0x10 + ((chan) * 0xc)) argument 43 #define TCFG1_SHIFT(chan) (4 * (chan)) argument 53 #define TCON_START(chan) BIT(4 * (chan) + 0) argument 54 #define TCON_MANUALUPDATE(chan) BIT(4 * (chan) + 1) argument 55 #define TCON_INVERT(chan) BIT(4 * (chan) + 2) argument 56 #define _TCON_AUTORELOAD(chan) BIT(4 * (chan) + 3) argument 57 #define _TCON_AUTORELOAD4(chan) BIT(4 * (chan) + 2) argument 58 #define TCON_AUTORELOAD(chan) \ argument 143 static int pwm_samsung_is_tdiv(struct samsung_pwm_chip *chip, unsigned int chan) in pwm_samsung_is_tdiv() [all …]
|
/linux-4.19.296/drivers/iio/ |
D | inkern.c | 83 const struct iio_chan_spec *chan = NULL; in iio_chan_spec_from_name() local 191 struct iio_channel *chan = NULL; in of_iio_channel_get_by_name() local 484 struct iio_channel *chan = &channels[0]; in iio_channel_release_all() local 530 static int iio_channel_read(struct iio_channel *chan, int *val, int *val2, in iio_channel_read() 557 int iio_read_channel_raw(struct iio_channel *chan, int *val) in iio_read_channel_raw() 575 int iio_read_channel_average_raw(struct iio_channel *chan, int *val) in iio_read_channel_average_raw() 593 static int iio_convert_raw_to_processed_unlocked(struct iio_channel *chan, in iio_convert_raw_to_processed_unlocked() 671 int iio_convert_raw_to_processed(struct iio_channel *chan, int raw, in iio_convert_raw_to_processed() 691 int iio_read_channel_attribute(struct iio_channel *chan, int *val, int *val2, in iio_read_channel_attribute() 710 int iio_read_channel_offset(struct iio_channel *chan, int *val, int *val2) in iio_read_channel_offset() [all …]
|
/linux-4.19.296/drivers/iio/counter/ |
D | 104-quad-8.c | 92 struct iio_chan_spec const *chan, int *val, int *val2, long mask) in quad8_read_raw() 129 struct iio_chan_spec const *chan, int val, int val2, long mask) in quad8_write_raw() 216 const struct iio_chan_spec *chan, char *buf) in quad8_read_preset() 224 const struct iio_chan_spec *chan, const char *buf, size_t len) in quad8_write_preset() 253 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in quad8_read_set_to_preset_on_index() 262 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in quad8_write_set_to_preset_on_index() 295 const struct iio_chan_spec *chan) in quad8_get_noise_error() 315 const struct iio_chan_spec *chan) in quad8_get_count_direction() 337 const struct iio_chan_spec *chan, unsigned int count_mode) in quad8_set_count_mode() 356 const struct iio_chan_spec *chan) in quad8_get_count_mode() [all …]
|
D | stm32-lptimer-cnt.c | 105 struct iio_chan_spec const *chan, in stm32_lptim_write_raw() 134 struct iio_chan_spec const *chan, in stm32_lptim_read_raw() 189 const struct iio_chan_spec *chan) in stm32_lptim_get_quadrature_mode() 197 const struct iio_chan_spec *chan, in stm32_lptim_set_quadrature_mode() 222 const struct iio_chan_spec *chan) in stm32_lptim_cnt_get_polarity() 230 const struct iio_chan_spec *chan, in stm32_lptim_cnt_set_polarity() 252 const struct iio_chan_spec *chan, in stm32_lptim_cnt_get_preset() 262 const struct iio_chan_spec *chan, in stm32_lptim_cnt_set_preset()
|
/linux-4.19.296/drivers/iio/adc/ |
D | xilinx-xadc-events.c | 33 const struct iio_chan_spec *chan; in xadc_handle_event() local 71 static unsigned int xadc_get_threshold_offset(const struct iio_chan_spec *chan, in xadc_get_threshold_offset() 91 static unsigned int xadc_get_alarm_mask(const struct iio_chan_spec *chan) in xadc_get_alarm_mask() 115 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_read_event_config() 124 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_write_event_config() 163 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_read_event_value() 187 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_write_event_value()
|
D | axp20x_adc.c | 231 struct iio_chan_spec const *chan, int *val) in axp20x_adc_raw() 254 struct iio_chan_spec const *chan, int *val) in axp22x_adc_raw() 266 struct iio_chan_spec const *chan, int *val) in axp813_adc_raw() 349 static int axp20x_adc_scale(struct iio_chan_spec const *chan, int *val, in axp20x_adc_scale() 368 static int axp22x_adc_scale(struct iio_chan_spec const *chan, int *val, in axp22x_adc_scale() 393 static int axp813_adc_scale(struct iio_chan_spec const *chan, int *val, in axp813_adc_scale() 442 struct iio_chan_spec const *chan, int *val) in axp20x_adc_offset() 458 struct iio_chan_spec const *chan, int *val, in axp20x_read_raw() 477 struct iio_chan_spec const *chan, int *val, in axp22x_read_raw() 497 struct iio_chan_spec const *chan, int *val, in axp813_read_raw() [all …]
|
D | ti-ads1015.c | 258 static void ads1015_event_channel_enable(struct ads1015_data *data, int chan, in ads1015_event_channel_enable() 267 static void ads1015_event_channel_disable(struct ads1015_data *data, int chan) in ads1015_event_channel_disable() 343 int ads1015_get_adc_result(struct ads1015_data *data, int chan, int *val) in ads1015_get_adc_result() 396 s16 chan; in ads1015_trigger_handler() member 399 int chan, ret, res; in ads1015_trigger_handler() local 425 struct iio_chan_spec const *chan, in ads1015_set_scale() 442 static int ads1015_set_data_rate(struct ads1015_data *data, int chan, int rate) in ads1015_set_data_rate() 457 struct iio_chan_spec const *chan, int *val, in ads1015_read_raw() 520 struct iio_chan_spec const *chan, int val, in ads1015_write_raw() 544 const struct iio_chan_spec *chan, enum iio_event_type type, in ads1015_read_event() [all …]
|
/linux-4.19.296/drivers/iio/dac/ |
D | ti-dac082s085.c | 63 #define WRITE_NOT_UPDATE(chan) (0x00 | (chan) << 6) argument 64 #define WRITE_AND_UPDATE(chan) (0x10 | (chan) << 6) argument 82 const struct iio_chan_spec *chan) in ti_dac_get_powerdown_mode() 90 const struct iio_chan_spec *chan, in ti_dac_set_powerdown_mode() 121 const struct iio_chan_spec *chan, in ti_dac_read_powerdown() 131 const struct iio_chan_spec *chan, in ti_dac_write_powerdown() 169 #define TI_DAC_CHANNEL(chan) { \ argument 189 struct iio_chan_spec const *chan, in ti_dac_read_raw() 219 struct iio_chan_spec const *chan, in ti_dac_write_raw() 251 struct iio_chan_spec const *chan, long mask) in ti_dac_write_raw_get_fmt()
|
D | ad5755.c | 26 #define AD5755_WRITE_REG_DATA(chan) (chan) argument 27 #define AD5755_WRITE_REG_GAIN(chan) (0x08 | (chan)) argument 28 #define AD5755_WRITE_REG_OFFSET(chan) (0x10 | (chan)) argument 29 #define AD5755_WRITE_REG_CTRL(chan) (0x1c | (chan)) argument 31 #define AD5755_READ_REG_DATA(chan) (chan) argument 32 #define AD5755_READ_REG_CTRL(chan) (0x4 | (chan)) argument 33 #define AD5755_READ_REG_GAIN(chan) (0x8 | (chan)) argument 34 #define AD5755_READ_REG_OFFSET(chan) (0xc | (chan)) argument 35 #define AD5755_READ_REG_CLEAR(chan) (0x10 | (chan)) argument 36 #define AD5755_READ_REG_SLEW(chan) (0x14 | (chan)) argument [all …]
|
D | ad7303.c | 52 static int ad7303_write(struct ad7303_state *st, unsigned int chan, in ad7303_write() 63 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad7303_read_dac_powerdown() 72 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad7303_write_dac_powerdown() 99 struct iio_chan_spec const *chan) in ad7303_get_vref() 113 struct iio_chan_spec const *chan, int *val, int *val2, long info) in ad7303_read_raw() 138 struct iio_chan_spec const *chan, int val, int val2, long mask) in ad7303_write_raw() 176 #define AD7303_CHANNEL(chan) { \ argument
|
D | ad5686.c | 29 const struct iio_chan_spec *chan) in ad5686_get_powerdown_mode() 37 const struct iio_chan_spec *chan, in ad5686_set_powerdown_mode() 56 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad5686_read_dac_powerdown() 66 const struct iio_chan_spec *chan, in ad5686_write_dac_powerdown() 112 struct iio_chan_spec const *chan, in ad5686_read_raw() 139 struct iio_chan_spec const *chan, in ad5686_write_raw() 183 #define AD5868_CHANNEL(chan, addr, bits, _shift) { \ argument
|
D | ad5624r_spi.c | 47 struct iio_chan_spec const *chan, in ad5624r_read_raw() 64 struct iio_chan_spec const *chan, in ad5624r_write_raw() 92 const struct iio_chan_spec *chan) in ad5624r_get_powerdown_mode() 100 const struct iio_chan_spec *chan, unsigned int mode) in ad5624r_set_powerdown_mode() 117 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad5624r_read_dac_powerdown() 126 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad5624r_write_dac_powerdown()
|
D | stm32-dac.c | 99 struct iio_chan_spec const *chan, in stm32_dac_read_raw() 117 struct iio_chan_spec const *chan, in stm32_dac_write_raw() 153 const struct iio_chan_spec *chan) in stm32_dac_get_powerdown_mode() 159 const struct iio_chan_spec *chan, in stm32_dac_set_powerdown_mode() 167 const struct iio_chan_spec *chan, in stm32_dac_read_powerdown() 180 const struct iio_chan_spec *chan, in stm32_dac_write_powerdown() 216 #define STM32_DAC_CHANNEL(chan, name) { \ argument
|
D | max5821.c | 58 const struct iio_chan_spec *chan) in max5821_get_powerdown_mode() 66 const struct iio_chan_spec *chan, in max5821_set_powerdown_mode() 85 const struct iio_chan_spec *chan, in max5821_read_dac_powerdown() 94 const struct iio_chan_spec *chan) in max5821_sync_powerdown_mode() 115 const struct iio_chan_spec *chan, in max5821_write_dac_powerdown() 147 #define MAX5821_CHANNEL(chan) { \ argument 241 struct iio_chan_spec const *chan, in max5821_read_raw() 259 struct iio_chan_spec const *chan, in max5821_write_raw()
|
D | ti-dac5571.c | 127 const struct iio_chan_spec *chan) in dac5571_get_powerdown_mode() 135 const struct iio_chan_spec *chan, in dac5571_set_powerdown_mode() 168 const struct iio_chan_spec *chan, in dac5571_read_powerdown() 178 const struct iio_chan_spec *chan, in dac5571_write_powerdown() 222 #define dac5571_CHANNEL(chan, name) { \ argument 242 struct iio_chan_spec const *chan, in dac5571_read_raw() 268 struct iio_chan_spec const *chan, in dac5571_write_raw() 298 struct iio_chan_spec const *chan, in dac5571_write_raw_get_fmt()
|
D | ad5504.c | 96 struct iio_chan_spec const *chan, in ad5504_read_raw() 122 struct iio_chan_spec const *chan, in ad5504_write_raw() 146 const struct iio_chan_spec *chan) in ad5504_get_powerdown_mode() 154 const struct iio_chan_spec *chan, unsigned int mode) in ad5504_set_powerdown_mode() 171 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad5504_read_dac_powerdown() 180 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad5504_write_dac_powerdown()
|
/linux-4.19.296/drivers/isdn/hysdn/ |
D | hysdn_sched.c | 32 unsigned short chan) in hysdn_sched_rx() 75 unsigned short volatile *len, unsigned short volatile *chan, in hysdn_sched_tx() 150 hysdn_tx_cfgline(hysdn_card *card, unsigned char *line, unsigned short chan) in hysdn_tx_cfgline()
|
/linux-4.19.296/drivers/iio/multiplexer/ |
D | iio-mux.c | 36 struct iio_chan_spec *chan; member 44 struct iio_chan_spec const *chan = &mux->chan[idx]; in iio_mux_select() local 89 struct iio_chan_spec const *chan, in mux_read_raw() 119 struct iio_chan_spec const *chan, in mux_read_avail() 147 struct iio_chan_spec const *chan, in mux_write_raw() 179 struct iio_chan_spec const *chan, char *buf) in mux_read_ext_info() 199 struct iio_chan_spec const *chan, in mux_write_ext_info() 245 struct iio_chan_spec *chan = &mux->chan[idx]; in mux_configure_channel() local
|
/linux-4.19.296/drivers/iio/afe/ |
D | iio-rescale.c | 30 struct iio_chan_spec chan; member 37 struct iio_chan_spec const *chan, in rescale_read_raw() 77 struct iio_chan_spec const *chan, in rescale_read_avail() 100 struct iio_chan_spec const *chan, in rescale_read_ext_info() 112 struct iio_chan_spec const *chan, in rescale_write_ext_info() 125 struct iio_chan_spec *chan = &rescale->chan; in rescale_configure_channel() local
|
/linux-4.19.296/drivers/iio/trigger/ |
D | stm32-timer-trigger.c | 408 struct iio_chan_spec const *chan, in stm32_counter_read_raw() 443 struct iio_chan_spec const *chan, in stm32_counter_write_raw() 512 const struct iio_chan_spec *chan, in stm32_set_trigger_mode() 523 const struct iio_chan_spec *chan) in stm32_get_trigger_mode() 561 const struct iio_chan_spec *chan, in stm32_set_enable_mode() 600 const struct iio_chan_spec *chan) in stm32_get_enable_mode() 625 const struct iio_chan_spec *chan, in stm32_set_quadrature_mode() 636 const struct iio_chan_spec *chan) in stm32_get_quadrature_mode() 663 const struct iio_chan_spec *chan, in stm32_set_count_direction() 681 const struct iio_chan_spec *chan) in stm32_get_count_direction() [all …]
|
/linux-4.19.296/drivers/iio/dummy/ |
D | iio_simple_dummy_events.c | 34 const struct iio_chan_spec *chan, in iio_simple_dummy_read_event_config() 56 const struct iio_chan_spec *chan, in iio_simple_dummy_write_event_config() 121 const struct iio_chan_spec *chan, in iio_simple_dummy_read_event_value() 144 const struct iio_chan_spec *chan, in iio_simple_dummy_write_event_value()
|
/linux-4.19.296/crypto/async_tx/ |
D | async_tx.c | 81 struct dma_chan *chan = depend_tx->chan; in async_tx_channel_switch() local 156 async_tx_submit(struct dma_chan *chan, struct dma_async_tx_descriptor *tx, in async_tx_submit() 236 struct dma_chan *chan; in async_trigger_callback() local
|
/linux-4.19.296/drivers/iio/light/ |
D | cm36651.c | 194 struct iio_chan_spec const *chan, int *val) in cm36651_read_output() 330 struct iio_chan_spec const *chan, int *val) in cm36651_read_channel() 359 struct iio_chan_spec const *chan, int *val2) in cm36651_read_int_time() 394 struct iio_chan_spec const *chan, int val) in cm36651_write_int_time() 449 struct iio_chan_spec const *chan, in cm36651_read_raw() 475 struct iio_chan_spec const *chan, in cm36651_write_raw() 492 const struct iio_chan_spec *chan, in cm36651_read_prox_thresh() 506 const struct iio_chan_spec *chan, in cm36651_write_prox_thresh() 532 const struct iio_chan_spec *chan, in cm36651_write_prox_event_config() 551 const struct iio_chan_spec *chan, in cm36651_read_prox_event_config()
|