/Linux-v5.15/drivers/mfd/ |
D | da903x.c | 129 struct da903x_chip *chip = dev_get_drvdata(dev); in da903x_register_notifier() local 139 struct da903x_chip *chip = dev_get_drvdata(dev); in da903x_unregister_notifier() local 172 struct da903x_chip *chip = dev_get_drvdata(dev); in da903x_set_bits() local 194 struct da903x_chip *chip = dev_get_drvdata(dev); in da903x_clr_bits() local 216 struct da903x_chip *chip = dev_get_drvdata(dev); in da903x_update() local 238 struct da903x_chip *chip = dev_get_drvdata(dev); in da903x_query_status() local 246 static int da9030_init_chip(struct da903x_chip *chip) in da9030_init_chip() 263 static int da9030_unmask_events(struct da903x_chip *chip, unsigned int events) in da9030_unmask_events() 276 static int da9030_mask_events(struct da903x_chip *chip, unsigned int events) in da9030_mask_events() 289 static int da9030_read_events(struct da903x_chip *chip, unsigned int *events) in da9030_read_events() [all …]
|
/Linux-v5.15/drivers/pinctrl/bcm/ |
D | pinctrl-nsp-gpio.c | 103 static inline void nsp_set_bit(struct nsp_gpio *chip, enum base_type address, in nsp_set_bit() 127 static inline bool nsp_get_bit(struct nsp_gpio *chip, enum base_type address, in nsp_get_bit() 139 struct nsp_gpio *chip = gpiochip_get_data(gc); in nsp_gpio_irq_handler() local 167 struct nsp_gpio *chip = gpiochip_get_data(gc); in nsp_gpio_irq_ack() local 186 struct nsp_gpio *chip = gpiochip_get_data(gc); in nsp_gpio_irq_set_mask() local 200 struct nsp_gpio *chip = gpiochip_get_data(gc); in nsp_gpio_irq_mask() local 211 struct nsp_gpio *chip = gpiochip_get_data(gc); in nsp_gpio_irq_unmask() local 222 struct nsp_gpio *chip = gpiochip_get_data(gc); in nsp_gpio_irq_set_type() local 273 struct nsp_gpio *chip = gpiochip_get_data(gc); in nsp_gpio_direction_input() local 287 struct nsp_gpio *chip = gpiochip_get_data(gc); in nsp_gpio_direction_output() local [all …]
|
/Linux-v5.15/drivers/mtd/nand/raw/ |
D | ndfc.c | 35 struct nand_chip chip; member 42 static void ndfc_select_chip(struct nand_chip *nchip, int chip) in ndfc_select_chip() 56 static void ndfc_hwcontrol(struct nand_chip *chip, int cmd, unsigned int ctrl) in ndfc_hwcontrol() 69 static int ndfc_ready(struct nand_chip *chip) in ndfc_ready() 76 static void ndfc_enable_hwecc(struct nand_chip *chip, int mode) in ndfc_enable_hwecc() 87 static int ndfc_calculate_ecc(struct nand_chip *chip, in ndfc_calculate_ecc() 104 static int ndfc_correct_ecc(struct nand_chip *chip, in ndfc_correct_ecc() 120 static void ndfc_read_buf(struct nand_chip *chip, uint8_t *buf, int len) in ndfc_read_buf() 129 static void ndfc_write_buf(struct nand_chip *chip, const uint8_t *buf, int len) in ndfc_write_buf() 145 struct nand_chip *chip = &ndfc->chip; in ndfc_chip_init() local [all …]
|
/Linux-v5.15/drivers/pwm/ |
D | pwm-samsung.c | 82 struct pwm_chip chip; member 109 struct samsung_pwm_chip *to_samsung_pwm_chip(struct pwm_chip *chip) in to_samsung_pwm_chip() 140 static int pwm_samsung_is_tdiv(struct samsung_pwm_chip *chip, unsigned int chan) in pwm_samsung_is_tdiv() 152 static unsigned long pwm_samsung_get_tin_rate(struct samsung_pwm_chip *chip, in pwm_samsung_get_tin_rate() 168 static unsigned long pwm_samsung_calc_tin(struct samsung_pwm_chip *chip, in pwm_samsung_calc_tin() 214 static int pwm_samsung_request(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_samsung_request() 235 static void pwm_samsung_free(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_samsung_free() 240 static int pwm_samsung_enable(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_samsung_enable() 266 static void pwm_samsung_disable(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_samsung_disable() 284 static void pwm_samsung_manual_update(struct samsung_pwm_chip *chip, in pwm_samsung_manual_update() [all …]
|
/Linux-v5.15/drivers/staging/rts5208/ |
D | rtsx.c | 125 struct rtsx_chip *chip = dev->chip; in queuecommand_lck() local 161 struct rtsx_chip *chip = dev->chip; in DEF_SCSI_QCMD() local 241 struct rtsx_chip *chip = dev->chip; in rtsx_acquire_irq() local 268 struct rtsx_chip *chip; in rtsx_suspend() local 300 struct rtsx_chip *chip; in rtsx_resume() local 335 struct rtsx_chip *chip; in rtsx_shutdown() local 358 struct rtsx_chip *chip = dev->chip; in rtsx_control_thread() local 466 struct rtsx_chip *chip = dev->chip; in rtsx_polling_thread() local 514 struct rtsx_chip *chip; in rtsx_interrupt() local 612 struct rtsx_chip *chip = dev->chip; in quiesce_and_remove_host() local [all …]
|
/Linux-v5.15/drivers/char/tpm/ |
D | tpm1-cmd.c | 291 unsigned long tpm1_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal) in tpm1_calc_ordinal_duration() 324 static int tpm1_startup(struct tpm_chip *chip) in tpm1_startup() 342 int tpm1_get_timeouts(struct tpm_chip *chip) in tpm1_get_timeouts() 463 int tpm1_pcr_extend(struct tpm_chip *chip, u32 pcr_idx, const u8 *hash, in tpm1_pcr_extend() 482 ssize_t tpm1_getcap(struct tpm_chip *chip, u32 subcap_id, cap_t *cap, in tpm1_getcap() 530 int tpm1_get_random(struct tpm_chip *chip, u8 *dest, size_t max) in tpm1_get_random() 584 int tpm1_pcr_read(struct tpm_chip *chip, u32 pcr_idx, u8 *res_buf) in tpm1_pcr_read() 620 static int tpm1_continue_selftest(struct tpm_chip *chip) in tpm1_continue_selftest() 642 int tpm1_do_selftest(struct tpm_chip *chip) in tpm1_do_selftest() 704 int tpm1_auto_startup(struct tpm_chip *chip) in tpm1_auto_startup() [all …]
|
/Linux-v5.15/drivers/input/keyboard/ |
D | tca6416-keypad.c | 54 static int tca6416_write_reg(struct tca6416_keypad_chip *chip, int reg, u16 val) in tca6416_write_reg() 71 static int tca6416_read_reg(struct tca6416_keypad_chip *chip, int reg, u16 *val) in tca6416_read_reg() 88 static void tca6416_keys_scan(struct tca6416_keypad_chip *chip) in tca6416_keys_scan() 125 struct tca6416_keypad_chip *chip = dev_id; in tca6416_keys_isr() local 134 struct tca6416_keypad_chip *chip = in tca6416_keys_work_func() local 143 struct tca6416_keypad_chip *chip = input_get_drvdata(dev); in tca6416_keys_open() local 158 struct tca6416_keypad_chip *chip = input_get_drvdata(dev); in tca6416_keys_close() local 166 static int tca6416_setup_registers(struct tca6416_keypad_chip *chip) in tca6416_setup_registers() 201 struct tca6416_keypad_chip *chip; in tca6416_keypad_probe() local 312 struct tca6416_keypad_chip *chip = i2c_get_clientdata(client); in tca6416_keypad_remove() local [all …]
|
/Linux-v5.15/drivers/media/usb/usbtv/ |
D | usbtv-audio.c | 67 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_pcm_open() local 78 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_pcm_close() local 90 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_prepare() local 100 struct usbtv *chip = urb->context; in usbtv_audio_urb_received() local 172 static int usbtv_audio_start(struct usbtv *chip) in usbtv_audio_start() 231 static int usbtv_audio_stop(struct usbtv *chip) in usbtv_audio_stop() 270 struct usbtv *chip = container_of(work, struct usbtv, snd_trigger); in snd_usbtv_trigger() local 283 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_card_trigger() local 307 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_pointer() local
|
/Linux-v5.15/sound/mips/ |
D | sgio2audio.c | 103 struct snd_sgio2audio *chip = priv; in read_ad1843_reg() local 126 struct snd_sgio2audio *chip = priv; in write_ad1843_reg() local 146 struct snd_sgio2audio *chip = snd_kcontrol_chip(kcontrol); in sgio2audio_gain_info() local 159 struct snd_sgio2audio *chip = snd_kcontrol_chip(kcontrol); in sgio2audio_gain_get() local 173 struct snd_sgio2audio *chip = snd_kcontrol_chip(kcontrol); in sgio2audio_gain_put() local 198 struct snd_sgio2audio *chip = snd_kcontrol_chip(kcontrol); in sgio2audio_source_get() local 207 struct snd_sgio2audio *chip = snd_kcontrol_chip(kcontrol); in sgio2audio_source_put() local 298 static int snd_sgio2audio_new_mixer(struct snd_sgio2audio *chip) in snd_sgio2audio_new_mixer() 343 static int snd_sgio2audio_dma_pull_frag(struct snd_sgio2audio *chip, in snd_sgio2audio_dma_pull_frag() 391 static int snd_sgio2audio_dma_push_frag(struct snd_sgio2audio *chip, in snd_sgio2audio_dma_push_frag() [all …]
|
/Linux-v5.15/drivers/gpio/ |
D | gpio-max732x.c | 158 static int max732x_writeb(struct max732x_chip *chip, int group_a, uint8_t val) in max732x_writeb() 173 static int max732x_readb(struct max732x_chip *chip, int group_a, uint8_t *val) in max732x_readb() 189 static inline int is_group_a(struct max732x_chip *chip, unsigned off) in is_group_a() 196 struct max732x_chip *chip = gpiochip_get_data(gc); in max732x_gpio_get_value() local 210 struct max732x_chip *chip = gpiochip_get_data(gc); in max732x_gpio_set_mask() local 254 struct max732x_chip *chip = gpiochip_get_data(gc); in max732x_gpio_direction_input() local 276 struct max732x_chip *chip = gpiochip_get_data(gc); in max732x_gpio_direction_output() local 290 static int max732x_writew(struct max732x_chip *chip, uint16_t val) in max732x_writew() 305 static int max732x_readw(struct max732x_chip *chip, uint16_t *val) in max732x_readw() 319 static void max732x_irq_update_mask(struct max732x_chip *chip) in max732x_irq_update_mask() [all …]
|
D | gpio-xilinx.c | 78 static inline int xgpio_from_bit(struct xgpio_instance *chip, int bit) in xgpio_from_bit() 83 static inline int xgpio_to_bit(struct xgpio_instance *chip, int gpio) in xgpio_to_bit() 105 static inline int xgpio_regoffset(struct xgpio_instance *chip, int ch) in xgpio_regoffset() 117 static void xgpio_read_ch(struct xgpio_instance *chip, int reg, int bit, unsigned long *a) in xgpio_read_ch() 123 static void xgpio_write_ch(struct xgpio_instance *chip, int reg, int bit, unsigned long *a) in xgpio_write_ch() 129 static void xgpio_read_ch_all(struct xgpio_instance *chip, int reg, unsigned long *a) in xgpio_read_ch_all() 137 static void xgpio_write_ch_all(struct xgpio_instance *chip, int reg, unsigned long *a) in xgpio_write_ch_all() 158 struct xgpio_instance *chip = gpiochip_get_data(gc); in xgpio_get() local 179 struct xgpio_instance *chip = gpiochip_get_data(gc); in xgpio_set() local 208 struct xgpio_instance *chip = gpiochip_get_data(gc); in xgpio_set_multiple() local [all …]
|
D | gpio-pch.c | 101 struct pch_gpio *chip = gpiochip_get_data(gpio); in pch_gpio_set() local 117 struct pch_gpio *chip = gpiochip_get_data(gpio); in pch_gpio_get() local 125 struct pch_gpio *chip = gpiochip_get_data(gpio); in pch_gpio_direction_output() local 151 struct pch_gpio *chip = gpiochip_get_data(gpio); in pch_gpio_direction_input() local 168 static void __maybe_unused pch_gpio_save_reg_conf(struct pch_gpio *chip) in pch_gpio_save_reg_conf() 184 static void __maybe_unused pch_gpio_restore_reg_conf(struct pch_gpio *chip) in pch_gpio_restore_reg_conf() 201 struct pch_gpio *chip = gpiochip_get_data(gpio); in pch_gpio_to_irq() local 206 static void pch_gpio_setup(struct pch_gpio *chip) in pch_gpio_setup() 226 struct pch_gpio *chip = gc->private; in pch_irq_type() local 281 struct pch_gpio *chip = gc->private; in pch_irq_unmask() local [all …]
|
D | gpio-eic-sprd.c | 93 struct gpio_chip chip; member 140 static void sprd_eic_update(struct gpio_chip *chip, unsigned int offset, in sprd_eic_update() 161 static int sprd_eic_read(struct gpio_chip *chip, unsigned int offset, u16 reg) in sprd_eic_read() 170 static int sprd_eic_request(struct gpio_chip *chip, unsigned int offset) in sprd_eic_request() 176 static void sprd_eic_free(struct gpio_chip *chip, unsigned int offset) in sprd_eic_free() 181 static int sprd_eic_get(struct gpio_chip *chip, unsigned int offset) in sprd_eic_get() 197 static int sprd_eic_direction_input(struct gpio_chip *chip, unsigned int offset) in sprd_eic_direction_input() 203 static void sprd_eic_set(struct gpio_chip *chip, unsigned int offset, int value) in sprd_eic_set() 208 static int sprd_eic_set_debounce(struct gpio_chip *chip, unsigned int offset, in sprd_eic_set_debounce() 223 static int sprd_eic_set_config(struct gpio_chip *chip, unsigned int offset, in sprd_eic_set_config() [all …]
|
/Linux-v5.15/sound/pci/echoaudio/ |
D | darla24_dsp.c | 32 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) in init_hw() 66 static int set_mixer_defaults(struct echoaudio *chip) in set_mixer_defaults() 73 static u32 detect_input_clocks(const struct echoaudio *chip) in detect_input_clocks() 92 static int load_asic(struct echoaudio *chip) in load_asic() 99 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate() 157 static int set_input_clock(struct echoaudio *chip, u16 clock) in set_input_clock()
|
D | gina24_dsp.c | 40 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) in init_hw() 88 static int set_mixer_defaults(struct echoaudio *chip) in set_mixer_defaults() 98 static u32 detect_input_clocks(const struct echoaudio *chip) in detect_input_clocks() 124 static int load_asic(struct echoaudio *chip) in load_asic() 164 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate() 236 static int set_input_clock(struct echoaudio *chip, u16 clock) in set_input_clock() 284 static int dsp_set_digital_mode(struct echoaudio *chip, u8 mode) in dsp_set_digital_mode()
|
/Linux-v5.15/sound/pci/lola/ |
D | lola_proc.c | 17 struct lola *chip, int nid, const char *name) in print_audio_widget() 28 struct lola *chip, int nid, unsigned int ampcap, in print_pin_widget() 49 struct lola *chip, int nid) in print_clock_widget() 89 struct lola *chip, int nid) in print_mixer_widget() 100 struct lola *chip = entry->private_data; in lola_proc_codec_read() local 137 struct lola *chip = entry->private_data; in lola_proc_codec_rw_write() local 152 struct lola *chip = entry->private_data; in lola_proc_codec_rw_read() local 162 struct lola *chip = entry->private_data; in lola_proc_regs_read() local 196 void lola_proc_debug_new(struct lola *chip) in lola_proc_debug_new()
|
/Linux-v5.15/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835-ctl.c | 15 static int bcm2835_audio_set_chip_ctls(struct bcm2835_chip *chip) in bcm2835_audio_set_chip_ctls() 55 struct bcm2835_chip *chip = snd_kcontrol_chip(kcontrol); in snd_bcm2835_ctl_get() local 73 struct bcm2835_chip *chip = snd_kcontrol_chip(kcontrol); in snd_bcm2835_ctl_put() local 142 struct bcm2835_chip *chip = snd_kcontrol_chip(kcontrol); in snd_bcm2835_spdif_default_get() local 158 struct bcm2835_chip *chip = snd_kcontrol_chip(kcontrol); in snd_bcm2835_spdif_default_put() local 210 static int create_ctls(struct bcm2835_chip *chip, size_t size, in create_ctls() 223 int snd_bcm2835_new_ctl(struct bcm2835_chip *chip) in snd_bcm2835_new_ctl() 262 int snd_bcm2835_new_headphones_ctl(struct bcm2835_chip *chip) in snd_bcm2835_new_headphones_ctl() 296 int snd_bcm2835_new_hdmi_ctl(struct bcm2835_chip *chip) in snd_bcm2835_new_hdmi_ctl()
|
/Linux-v5.15/sound/drivers/pcsp/ |
D | pcsp_mixer.c | 27 struct snd_pcsp *chip = snd_kcontrol_chip(kcontrol); in pcsp_enable_get() local 35 struct snd_pcsp *chip = snd_kcontrol_chip(kcontrol); in pcsp_enable_put() local 48 struct snd_pcsp *chip = snd_kcontrol_chip(kcontrol); in pcsp_treble_info() local 62 struct snd_pcsp *chip = snd_kcontrol_chip(kcontrol); in pcsp_treble_get() local 70 struct snd_pcsp *chip = snd_kcontrol_chip(kcontrol); in pcsp_treble_put() local 96 struct snd_pcsp *chip = snd_kcontrol_chip(kcontrol); in pcsp_pcspkr_get() local 104 struct snd_pcsp *chip = snd_kcontrol_chip(kcontrol); in pcsp_pcspkr_put() local 132 static int snd_pcsp_ctls_add(struct snd_pcsp *chip, in snd_pcsp_ctls_add() 145 int snd_pcsp_new_mixer(struct snd_pcsp *chip, int nopcm) in snd_pcsp_new_mixer()
|
/Linux-v5.15/sound/pci/ |
D | bt87x.c | 201 static inline u32 snd_bt87x_readl(struct snd_bt87x *chip, u32 reg) in snd_bt87x_readl() 206 static inline void snd_bt87x_writel(struct snd_bt87x *chip, u32 reg, u32 value) in snd_bt87x_writel() 211 static int snd_bt87x_create_risc(struct snd_bt87x *chip, struct snd_pcm_substream *substream, in snd_bt87x_create_risc() 262 static void snd_bt87x_free_risc(struct snd_bt87x *chip) in snd_bt87x_free_risc() 270 static void snd_bt87x_pci_error(struct snd_bt87x *chip, unsigned int status) in snd_bt87x_pci_error() 300 struct snd_bt87x *chip = dev_id; in snd_bt87x_interrupt() local 372 static int snd_bt87x_set_digital_hw(struct snd_bt87x *chip, struct snd_pcm_runtime *runtime) in snd_bt87x_set_digital_hw() 382 static int snd_bt87x_set_analog_hw(struct snd_bt87x *chip, struct snd_pcm_runtime *runtime) in snd_bt87x_set_analog_hw() 403 struct snd_bt87x *chip = snd_pcm_substream_chip(substream); in snd_bt87x_pcm_open() local 432 struct snd_bt87x *chip = snd_pcm_substream_chip(substream); in snd_bt87x_close() local [all …]
|
D | als300.c | 151 static void snd_als300_set_irq_flag(struct snd_als300 *chip, int cmd) in snd_als300_set_irq_flag() 168 struct snd_als300 *chip = card->private_data; in snd_als300_free() local 176 struct snd_als300 *chip = dev_id; in snd_als300_interrupt() local 207 struct snd_als300 *chip = dev_id; in snd_als300plus_interrupt() local 245 struct snd_als300 *chip = ac97->private_data; in snd_als300_ac97_read() local 266 struct snd_als300 *chip = ac97->private_data; in snd_als300_ac97_write() local 276 static int snd_als300_ac97(struct snd_als300 *chip) in snd_als300_ac97() 343 struct snd_als300 *chip = snd_pcm_substream_chip(substream); in snd_als300_playback_open() local 360 struct snd_als300 *chip = snd_pcm_substream_chip(substream); in snd_als300_playback_close() local 371 struct snd_als300 *chip = snd_pcm_substream_chip(substream); in snd_als300_capture_open() local [all …]
|
D | via82xx.c | 415 struct via82xx *chip = snd_pcm_substream_chip(substream); in build_via_table() local 501 static inline unsigned int snd_via82xx_codec_xread(struct via82xx *chip) in snd_via82xx_codec_xread() 506 static inline void snd_via82xx_codec_xwrite(struct via82xx *chip, unsigned int val) in snd_via82xx_codec_xwrite() 511 static int snd_via82xx_codec_ready(struct via82xx *chip, int secondary) in snd_via82xx_codec_ready() 527 static int snd_via82xx_codec_valid(struct via82xx *chip, int secondary) in snd_via82xx_codec_valid() 546 struct via82xx *chip = ac97->private_data; in snd_via82xx_codec_wait() local 558 struct via82xx *chip = ac97->private_data; in snd_via82xx_codec_write() local 571 struct via82xx *chip = ac97->private_data; in snd_via82xx_codec_read() local 597 static void snd_via82xx_channel_reset(struct via82xx *chip, struct viadev *viadev) in snd_via82xx_channel_reset() 620 struct via82xx *chip = dev_id; in snd_via686_interrupt() local [all …]
|
D | via82xx_modem.c | 268 struct via82xx_modem *chip = snd_pcm_substream_chip(substream); in build_via_table() local 355 static inline unsigned int snd_via82xx_codec_xread(struct via82xx_modem *chip) in snd_via82xx_codec_xread() 360 static inline void snd_via82xx_codec_xwrite(struct via82xx_modem *chip, unsigned int val) in snd_via82xx_codec_xwrite() 365 static int snd_via82xx_codec_ready(struct via82xx_modem *chip, int secondary) in snd_via82xx_codec_ready() 381 static int snd_via82xx_codec_valid(struct via82xx_modem *chip, int secondary) in snd_via82xx_codec_valid() 400 struct via82xx_modem *chip = ac97->private_data; in snd_via82xx_codec_wait() local 411 struct via82xx_modem *chip = ac97->private_data; in snd_via82xx_codec_write() local 427 struct via82xx_modem *chip = ac97->private_data; in snd_via82xx_codec_read() local 453 static void snd_via82xx_channel_reset(struct via82xx_modem *chip, struct viadev *viadev) in snd_via82xx_channel_reset() 475 struct via82xx_modem *chip = dev_id; in snd_via82xx_interrupt() local [all …]
|
/Linux-v5.15/drivers/usb/typec/tcpm/ |
D | tcpci_rt1711h.c | 44 static int rt1711h_read16(struct rt1711h_chip *chip, unsigned int reg, u16 *val) in rt1711h_read16() 49 static int rt1711h_write16(struct rt1711h_chip *chip, unsigned int reg, u16 val) in rt1711h_write16() 54 static int rt1711h_read8(struct rt1711h_chip *chip, unsigned int reg, u8 *val) in rt1711h_read8() 59 static int rt1711h_write8(struct rt1711h_chip *chip, unsigned int reg, u8 val) in rt1711h_write8() 79 struct rt1711h_chip *chip = tdata_to_rt1711h(tdata); in rt1711h_init() local 110 struct rt1711h_chip *chip = tdata_to_rt1711h(tdata); in rt1711h_set_vconn() local 120 struct rt1711h_chip *chip = tdata_to_rt1711h(tdata); in rt1711h_start_drp_toggling() local 160 struct rt1711h_chip *chip = dev_id; in rt1711h_irq() local 182 static int rt1711h_sw_reset(struct rt1711h_chip *chip) in rt1711h_sw_reset() 219 struct rt1711h_chip *chip; in rt1711h_probe() local [all …]
|
/Linux-v5.15/drivers/net/dsa/mv88e6xxx/ |
D | global2_scratch.c | 15 static int mv88e6xxx_g2_scratch_read(struct mv88e6xxx_chip *chip, int reg, in mv88e6xxx_g2_scratch_read() 35 static int mv88e6xxx_g2_scratch_write(struct mv88e6xxx_chip *chip, int reg, in mv88e6xxx_g2_scratch_write() 51 static int mv88e6xxx_g2_scratch_get_bit(struct mv88e6xxx_chip *chip, in mv88e6xxx_g2_scratch_get_bit() 78 static int mv88e6xxx_g2_scratch_set_bit(struct mv88e6xxx_chip *chip, in mv88e6xxx_g2_scratch_set_bit() 106 static int mv88e6352_g2_scratch_gpio_get_data(struct mv88e6xxx_chip *chip, in mv88e6352_g2_scratch_gpio_get_data() 127 static int mv88e6352_g2_scratch_gpio_set_data(struct mv88e6xxx_chip *chip, in mv88e6352_g2_scratch_gpio_set_data() 151 static int mv88e6352_g2_scratch_gpio_get_dir(struct mv88e6xxx_chip *chip, in mv88e6352_g2_scratch_gpio_get_dir() 172 static int mv88e6352_g2_scratch_gpio_set_dir(struct mv88e6xxx_chip *chip, in mv88e6352_g2_scratch_gpio_set_dir() 191 static int mv88e6352_g2_scratch_gpio_get_pctl(struct mv88e6xxx_chip *chip, in mv88e6352_g2_scratch_gpio_get_pctl() 215 static int mv88e6352_g2_scratch_gpio_set_pctl(struct mv88e6xxx_chip *chip, in mv88e6352_g2_scratch_gpio_set_pctl() [all …]
|
/Linux-v5.15/sound/soc/codecs/ |
D | mt6660.c | 47 struct mt6660_chip *chip = context; in mt6660_reg_write() local 61 struct mt6660_chip *chip = context; in mt6660_reg_read() local 193 struct mt6660_chip *chip = (struct mt6660_chip *) in mt6660_component_get_volsw() local 220 static int _mt6660_chip_power_on(struct mt6660_chip *chip, int on_off) in _mt6660_chip_power_on() 263 struct mt6660_chip *chip = snd_soc_component_get_drvdata(component); in mt6660_component_setting() local 296 struct mt6660_chip *chip = snd_soc_component_get_drvdata(component); in mt6660_component_probe() local 414 static int _mt6660_chip_id_check(struct mt6660_chip *chip) in _mt6660_chip_id_check() 430 static int _mt6660_chip_sw_reset(struct mt6660_chip *chip) in _mt6660_chip_sw_reset() 445 static int _mt6660_read_chip_revision(struct mt6660_chip *chip) in _mt6660_read_chip_revision() 463 struct mt6660_chip *chip = NULL; in mt6660_i2c_probe() local [all …]
|