Home
last modified time | relevance | path

Searched refs:chip (Results 201 - 225 of 3377) sorted by relevance

12345678910>>...136

/kernel/linux/linux-6.6/drivers/net/dsa/mv88e6xxx/
H A Dglobal1_atu.c13 #include "chip.h"
20 static int mv88e6xxx_g1_atu_fid_write(struct mv88e6xxx_chip *chip, u16 fid) in mv88e6xxx_g1_atu_fid_write() argument
22 return mv88e6xxx_g1_write(chip, MV88E6352_G1_ATU_FID, fid & 0xfff); in mv88e6xxx_g1_atu_fid_write()
27 int mv88e6xxx_g1_atu_set_learn2all(struct mv88e6xxx_chip *chip, bool learn2all) in mv88e6xxx_g1_atu_set_learn2all() argument
32 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_ATU_CTL, &val); in mv88e6xxx_g1_atu_set_learn2all()
41 return mv88e6xxx_g1_write(chip, MV88E6XXX_G1_ATU_CTL, val); in mv88e6xxx_g1_atu_set_learn2all()
44 int mv88e6xxx_g1_atu_set_age_time(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_atu_set_age_time() argument
47 const unsigned int coeff = chip->info->age_time_coeff; in mv88e6xxx_g1_atu_set_age_time()
60 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_ATU_CTL, &val); in mv88e6xxx_g1_atu_set_age_time()
68 err = mv88e6xxx_g1_write(chip, MV88E6XXX_G1_ATU_CT in mv88e6xxx_g1_atu_set_age_time()
78 mv88e6165_g1_atu_get_hash(struct mv88e6xxx_chip *chip, u8 *hash) mv88e6165_g1_atu_get_hash() argument
92 mv88e6165_g1_atu_set_hash(struct mv88e6xxx_chip *chip, u8 hash) mv88e6165_g1_atu_set_hash() argument
112 mv88e6xxx_g1_atu_op_wait(struct mv88e6xxx_chip *chip) mv88e6xxx_g1_atu_op_wait() argument
119 mv88e6xxx_g1_read_atu_violation(struct mv88e6xxx_chip *chip) mv88e6xxx_g1_read_atu_violation() argument
132 mv88e6xxx_g1_atu_op(struct mv88e6xxx_chip *chip, u16 fid, u16 op) mv88e6xxx_g1_atu_op() argument
172 mv88e6xxx_g1_atu_get_next(struct mv88e6xxx_chip *chip, u16 fid) mv88e6xxx_g1_atu_get_next() argument
177 mv88e6xxx_g1_atu_fid_read(struct mv88e6xxx_chip *chip, u16 *fid) mv88e6xxx_g1_atu_fid_read() argument
214 mv88e6xxx_g1_atu_data_read(struct mv88e6xxx_chip *chip, struct mv88e6xxx_atu_entry *entry) mv88e6xxx_g1_atu_data_read() argument
233 mv88e6xxx_g1_atu_data_write(struct mv88e6xxx_chip *chip, struct mv88e6xxx_atu_entry *entry) mv88e6xxx_g1_atu_data_write() argument
253 mv88e6xxx_g1_atu_mac_read(struct mv88e6xxx_chip *chip, struct mv88e6xxx_atu_entry *entry) mv88e6xxx_g1_atu_mac_read() argument
271 mv88e6xxx_g1_atu_mac_write(struct mv88e6xxx_chip *chip, struct mv88e6xxx_atu_entry *entry) mv88e6xxx_g1_atu_mac_write() argument
289 mv88e6xxx_g1_atu_getnext(struct mv88e6xxx_chip *chip, u16 fid, struct mv88e6xxx_atu_entry *entry) mv88e6xxx_g1_atu_getnext() argument
316 mv88e6xxx_g1_atu_loadpurge(struct mv88e6xxx_chip *chip, u16 fid, struct mv88e6xxx_atu_entry *entry) mv88e6xxx_g1_atu_loadpurge() argument
336 mv88e6xxx_g1_atu_flushmove(struct mv88e6xxx_chip *chip, u16 fid, struct mv88e6xxx_atu_entry *entry, bool all) mv88e6xxx_g1_atu_flushmove() argument
364 mv88e6xxx_g1_atu_flush(struct mv88e6xxx_chip *chip, u16 fid, bool all) mv88e6xxx_g1_atu_flush() argument
373 mv88e6xxx_g1_atu_move(struct mv88e6xxx_chip *chip, u16 fid, int from_port, int to_port, bool all) mv88e6xxx_g1_atu_move() argument
393 mv88e6xxx_g1_atu_remove(struct mv88e6xxx_chip *chip, u16 fid, int port, bool all) mv88e6xxx_g1_atu_remove() argument
404 struct mv88e6xxx_chip *chip = dev_id; mv88e6xxx_g1_atu_prob_irq_thread_fn() local
474 mv88e6xxx_g1_atu_prob_irq_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_g1_atu_prob_irq_setup() argument
496 mv88e6xxx_g1_atu_prob_irq_free(struct mv88e6xxx_chip *chip) mv88e6xxx_g1_atu_prob_irq_free() argument
[all...]
H A Dchip.h3 * Marvell 88E6xxx Ethernet switch single-chip definition
152 /* Multi-chip Addressing Mode.
157 /* Dual-chip Addressing Mode
212 struct irq_chip chip; member
276 struct mv88e6xxx_chip *chip; member
427 int (*read)(struct mv88e6xxx_chip *chip, int addr, int reg, u16 *val);
428 int (*write)(struct mv88e6xxx_chip *chip, int addr, int reg, u16 val);
429 int (*init)(struct mv88e6xxx_chip *chip);
434 struct mv88e6xxx_chip *chip; member
443 int (*setup_errata)(struct mv88e6xxx_chip *chip);
741 mv88e6xxx_has_stu(struct mv88e6xxx_chip *chip) mv88e6xxx_has_stu() argument
748 mv88e6xxx_has_pvt(struct mv88e6xxx_chip *chip) mv88e6xxx_has_pvt() argument
753 mv88e6xxx_has_lag(struct mv88e6xxx_chip *chip) mv88e6xxx_has_lag() argument
758 mv88e6xxx_num_databases(struct mv88e6xxx_chip *chip) mv88e6xxx_num_databases() argument
763 mv88e6xxx_num_macs(struct mv88e6xxx_chip *chip) mv88e6xxx_num_macs() argument
768 mv88e6xxx_num_ports(struct mv88e6xxx_chip *chip) mv88e6xxx_num_ports() argument
773 mv88e6xxx_max_vid(struct mv88e6xxx_chip *chip) mv88e6xxx_max_vid() argument
778 mv88e6xxx_max_sid(struct mv88e6xxx_chip *chip) mv88e6xxx_max_sid() argument
783 mv88e6xxx_port_mask(struct mv88e6xxx_chip *chip) mv88e6xxx_port_mask() argument
788 mv88e6xxx_num_gpio(struct mv88e6xxx_chip *chip) mv88e6xxx_num_gpio() argument
793 mv88e6xxx_is_invalid_port(struct mv88e6xxx_chip *chip, int port) mv88e6xxx_is_invalid_port() argument
798 mv88e6xxx_port_set_mab(struct mv88e6xxx_chip *chip, int port, bool mab) mv88e6xxx_port_set_mab() argument
812 mv88e6xxx_reg_lock(struct mv88e6xxx_chip *chip) mv88e6xxx_reg_lock() argument
817 mv88e6xxx_reg_unlock(struct mv88e6xxx_chip *chip) mv88e6xxx_reg_unlock() argument
[all...]
/kernel/linux/linux-5.10/sound/isa/opti9xx/
H A Dopti92x-ad1848.c110 #define OPTi93X_PORT(chip, r) ((chip)->port + OPTi93X_##r)
173 static int snd_opti9xx_init(struct snd_opti9xx *chip, in snd_opti9xx_init() argument
178 chip->hardware = hardware; in snd_opti9xx_init()
179 strcpy(chip->name, snd_opti9xx_names[hardware]); in snd_opti9xx_init()
181 spin_lock_init(&chip->lock); in snd_opti9xx_init()
183 chip->irq = -1; in snd_opti9xx_init()
187 if (isapnp && chip->mc_base) in snd_opti9xx_init()
189 chip->mc_base |= 0xc00; in snd_opti9xx_init()
193 chip in snd_opti9xx_init()
233 snd_opti9xx_read(struct snd_opti9xx *chip, unsigned char reg) snd_opti9xx_read() argument
277 snd_opti9xx_write(struct snd_opti9xx *chip, unsigned char reg, unsigned char value) snd_opti9xx_write() argument
320 snd_opti9xx_write_mask(struct snd_opti9xx *chip, unsigned char reg, unsigned char value, unsigned char mask) snd_opti9xx_write_mask() argument
328 snd_opti9xx_configure(struct snd_opti9xx *chip, long port, int irq, int dma1, int dma2, long mpu_port, int mpu_irq) snd_opti9xx_configure() argument
590 snd_opti93x_mixer(struct snd_wss *chip) snd_opti93x_mixer() argument
643 struct snd_opti9xx *chip = dev_id; snd_opti93x_interrupt() local
663 snd_opti9xx_read_check(struct snd_opti9xx *chip) snd_opti9xx_read_check() argument
704 snd_card_opti9xx_detect(struct snd_card *card, struct snd_opti9xx *chip) global() argument
729 snd_card_opti9xx_pnp(struct snd_opti9xx *chip, struct pnp_card_link *card, const struct pnp_card_device_id *pid) global() argument
800 struct snd_opti9xx *chip = card->private_data; global() local
819 struct snd_opti9xx *chip = card->private_data; global() local
1037 struct snd_opti9xx *chip = card->private_data; global() local
1046 struct snd_opti9xx *chip = card->private_data; global() local
1094 struct snd_opti9xx *chip; global() local
[all...]
/kernel/linux/linux-6.6/sound/usb/
H A Dcard.c140 static int snd_usb_create_stream(struct snd_usb_audio *chip, int ctrlif, int interface) in snd_usb_create_stream() argument
142 struct usb_device *dev = chip->dev; in snd_usb_create_stream()
160 if ((chip->usb_id == USB_ID(0x18d1, 0x2d04) || in snd_usb_create_stream()
161 chip->usb_id == USB_ID(0x18d1, 0x2d05)) && in snd_usb_create_stream()
182 int err = snd_usb_midi_v2_create(chip, iface, NULL, in snd_usb_create_stream()
183 chip->usb_id); in snd_usb_create_stream()
209 if (! snd_usb_parse_audio_interface(chip, interface)) { in snd_usb_create_stream()
221 static int snd_usb_create_streams(struct snd_usb_audio *chip, int ctrlif) in snd_usb_create_streams() argument
223 struct usb_device *dev = chip->dev; in snd_usb_create_streams()
282 snd_usb_create_stream(chip, ctrli in snd_usb_create_streams()
485 struct snd_usb_audio *chip = card->private_data; snd_usb_audio_free() local
495 usb_audio_make_shortname(struct usb_device *dev, struct snd_usb_audio *chip, const struct snd_usb_audio_quirk *quirk) usb_audio_make_shortname() argument
526 usb_audio_make_longname(struct usb_device *dev, struct snd_usb_audio *chip, const struct snd_usb_audio_quirk *quirk) usb_audio_make_longname() argument
603 struct snd_usb_audio *chip; snd_usb_audio_create() local
694 check_delayed_register_option(struct snd_usb_audio *chip) check_delayed_register_option() argument
712 find_last_interface(struct snd_usb_audio *chip) find_last_interface() argument
749 try_to_register_card(struct snd_usb_audio *chip, int ifnum) try_to_register_card() argument
774 struct snd_usb_audio *chip; usb_audio_probe() local
940 struct snd_usb_audio *chip = usb_get_intfdata(intf); usb_audio_disconnect() local
1002 snd_usb_lock_shutdown(struct snd_usb_audio *chip) snd_usb_lock_shutdown() argument
1023 snd_usb_unlock_shutdown(struct snd_usb_audio *chip) snd_usb_unlock_shutdown() argument
1030 snd_usb_autoresume(struct snd_usb_audio *chip) snd_usb_autoresume() argument
1052 snd_usb_autosuspend(struct snd_usb_audio *chip) snd_usb_autosuspend() argument
1067 struct snd_usb_audio *chip = usb_get_intfdata(intf); usb_audio_suspend() local
1098 struct snd_usb_audio *chip = usb_get_intfdata(intf); usb_audio_resume() local
[all...]
/kernel/linux/linux-5.10/sound/pci/
H A Dazt3328.c30 * It is quite likely that the AZF3328 chip is the PCI cousin of the
31 * AZF3318 ("azt1020 pnp", "MM Pro 16") ISA chip, given very similar specs.
33 * The AZF3328 chip (note: AZF3328, *not* AZT3328, that's just the driver name
45 * Note that "conformant" != "compliant"!! this chip's mixer register layout
76 * - single chip low cost solution (128 pin QFP)
77 * - supports programmable Sub-vendor and Sub-system ID [24C02 SEEPROM chip]
85 * [TDA1517P chip]
109 * Shouldn't be a problem of the AZF3328 chip itself, I'd hope.
398 snd_azf3328_ctrl_outb(const struct snd_azf3328 *chip, unsigned reg, u8 value) in snd_azf3328_ctrl_outb() argument
400 outb(value, chip in snd_azf3328_ctrl_outb()
404 snd_azf3328_ctrl_inb(const struct snd_azf3328 *chip, unsigned reg) snd_azf3328_ctrl_inb() argument
410 snd_azf3328_ctrl_inw(const struct snd_azf3328 *chip, unsigned reg) snd_azf3328_ctrl_inw() argument
416 snd_azf3328_ctrl_outw(const struct snd_azf3328 *chip, unsigned reg, u16 value) snd_azf3328_ctrl_outw() argument
422 snd_azf3328_ctrl_outl(const struct snd_azf3328 *chip, unsigned reg, u32 value) snd_azf3328_ctrl_outl() argument
428 snd_azf3328_game_outb(const struct snd_azf3328 *chip, unsigned reg, u8 value) snd_azf3328_game_outb() argument
434 snd_azf3328_game_outw(const struct snd_azf3328 *chip, unsigned reg, u16 value) snd_azf3328_game_outw() argument
440 snd_azf3328_game_inb(const struct snd_azf3328 *chip, unsigned reg) snd_azf3328_game_inb() argument
446 snd_azf3328_game_inw(const struct snd_azf3328 *chip, unsigned reg) snd_azf3328_game_inw() argument
452 snd_azf3328_mixer_outw(const struct snd_azf3328 *chip, unsigned reg, u16 value) snd_azf3328_mixer_outw() argument
458 snd_azf3328_mixer_inw(const struct snd_azf3328 *chip, unsigned reg) snd_azf3328_mixer_inw() argument
466 snd_azf3328_mixer_mute_control(const struct snd_azf3328 *chip, unsigned reg, bool do_mute ) snd_azf3328_mixer_mute_control() argument
482 snd_azf3328_mixer_mute_control_master(const struct snd_azf3328 *chip, bool do_mute ) snd_azf3328_mixer_mute_control_master() argument
494 snd_azf3328_mixer_mute_control_pcm(const struct snd_azf3328 *chip, bool do_mute ) snd_azf3328_mixer_mute_control_pcm() argument
506 snd_azf3328_mixer_reset(const struct snd_azf3328 *chip) snd_azf3328_mixer_reset() argument
518 snd_azf3328_mixer_ac97_map_unsupported(const struct snd_azf3328 *chip, unsigned short reg, const char *mode) snd_azf3328_mixer_ac97_map_unsupported() argument
653 const struct snd_azf3328 *chip = ac97->private_data; snd_azf3328_mixer_ac97_read() local
713 const struct snd_azf3328 *chip = ac97->private_data; snd_azf3328_mixer_ac97_write() local
756 snd_azf3328_mixer_new(struct snd_azf3328 *chip) snd_azf3328_mixer_new() argument
797 snd_azf3328_mixer_write_volume_gradually(const struct snd_azf3328 *chip, unsigned reg, unsigned char dst_vol_left, unsigned char dst_vol_right, int chan_sel, int delay ) snd_azf3328_mixer_write_volume_gradually() argument
938 struct snd_azf3328 *chip = snd_kcontrol_chip(kcontrol); snd_azf3328_get_mixer() local
967 struct snd_azf3328 *chip = snd_kcontrol_chip(kcontrol); snd_azf3328_put_mixer() local
1047 struct snd_azf3328 *chip = snd_kcontrol_chip(kcontrol); snd_azf3328_get_mixer_enum() local
1070 struct snd_azf3328 *chip = snd_kcontrol_chip(kcontrol); snd_azf3328_put_mixer_enum() local
1172 snd_azf3328_mixer_new(struct snd_azf3328 *chip) snd_azf3328_mixer_new() argument
1296 snd_azf3328_ctrl_reg_6AH_update(struct snd_azf3328 *chip, unsigned bitmask, bool enable ) snd_azf3328_ctrl_reg_6AH_update() argument
1313 snd_azf3328_ctrl_enable_codecs(struct snd_azf3328 *chip, bool enable) snd_azf3328_ctrl_enable_codecs() argument
1324 snd_azf3328_ctrl_codec_activity(struct snd_azf3328 *chip, enum snd_azf3328_codec_type codec_type, bool enable ) snd_azf3328_ctrl_codec_activity() argument
1373 snd_azf3328_codec_setdmaa(struct snd_azf3328 *chip, struct snd_azf3328_codec_data *codec, unsigned long addr, unsigned int period_bytes, unsigned int buffer_bytes ) snd_azf3328_codec_setdmaa() argument
1453 struct snd_azf3328 *chip = snd_pcm_substream_chip(substream); snd_azf3328_pcm_trigger() local
1633 snd_azf3328_gameport_irq_enable(struct snd_azf3328 *chip, bool enable ) snd_azf3328_gameport_irq_enable() argument
1645 snd_azf3328_gameport_legacy_address_enable(struct snd_azf3328 *chip, bool enable ) snd_azf3328_gameport_legacy_address_enable() argument
1657 snd_azf3328_gameport_set_counter_frequency(struct snd_azf3328 *chip, unsigned int freq_cfg ) snd_azf3328_gameport_set_counter_frequency() argument
1674 snd_azf3328_gameport_axis_circuit_enable(struct snd_azf3328 *chip, bool enable) snd_azf3328_gameport_axis_circuit_enable() argument
1682 snd_azf3328_gameport_interrupt(struct snd_azf3328 *chip) snd_azf3328_gameport_interrupt() argument
1697 struct snd_azf3328 *chip = gameport_get_port_data(gameport); snd_azf3328_gameport_open() local
1721 struct snd_azf3328 *chip = gameport_get_port_data(gameport); snd_azf3328_gameport_close() local
1735 struct snd_azf3328 *chip = gameport_get_port_data(gameport); snd_azf3328_gameport_cooked_read() local
1795 snd_azf3328_gameport(struct snd_azf3328 *chip, int dev) snd_azf3328_gameport() argument
1829 snd_azf3328_gameport_free(struct snd_azf3328 *chip) snd_azf3328_gameport_free() argument
1839 snd_azf3328_gameport(struct snd_azf3328 *chip, int dev) snd_azf3328_gameport() argument
1841 snd_azf3328_gameport_free(struct snd_azf3328 *chip) snd_azf3328_gameport_free() argument
1843 snd_azf3328_gameport_interrupt(struct snd_azf3328 *chip) snd_azf3328_gameport_interrupt() argument
1852 snd_azf3328_irq_log_unknown_type(struct snd_azf3328 *chip, u8 which) snd_azf3328_irq_log_unknown_type() argument
1860 snd_azf3328_pcm_interrupt(struct snd_azf3328 *chip, const struct snd_azf3328_codec_data *first_codec, u8 status ) snd_azf3328_pcm_interrupt() argument
1900 struct snd_azf3328 *chip = dev_id; snd_azf3328_interrupt() local
2019 struct snd_azf3328 *chip = snd_pcm_substream_chip(substream); snd_azf3328_pcm_open() local
2090 snd_azf3328_pcm(struct snd_azf3328 *chip) snd_azf3328_pcm() argument
2150 struct snd_azf3328 *chip; snd_azf3328_timer_start() local
2175 struct snd_azf3328 *chip; snd_azf3328_timer_stop() local
2212 snd_azf3328_timer(struct snd_azf3328 *chip, int device) snd_azf3328_timer() argument
2248 snd_azf3328_free(struct snd_azf3328 *chip) snd_azf3328_free() argument
2271 struct snd_azf3328 *chip = device->device_data; snd_azf3328_dev_free() local
2299 snd_azf3328_debug_show_ports(const struct snd_azf3328 *chip) snd_azf3328_debug_show_ports() argument
2356 struct snd_azf3328 *chip; snd_azf3328_create() local
2479 struct snd_azf3328 *chip; snd_azf3328_probe() local
2589 snd_azf3328_suspend_regs(const struct snd_azf3328 *chip, unsigned long io_addr, unsigned count, u32 *saved_regs) snd_azf3328_suspend_regs() argument
2604 snd_azf3328_resume_regs(const struct snd_azf3328 *chip, const u32 *saved_regs, unsigned long io_addr, unsigned count ) snd_azf3328_resume_regs() argument
2623 snd_azf3328_suspend_ac97(struct snd_azf3328 *chip) snd_azf3328_suspend_ac97() argument
2638 snd_azf3328_resume_ac97(const struct snd_azf3328 *chip) snd_azf3328_resume_ac97() argument
2658 struct snd_azf3328 *chip = card->private_data; snd_azf3328_suspend() local
2685 const struct snd_azf3328 *chip = card->private_data; snd_azf3328_resume() local
[all...]
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/
H A Dserdes.h13 #include "chip.h"
76 u8 mv88e6341_serdes_get_lane(struct mv88e6xxx_chip *chip, int port);
77 u8 mv88e6352_serdes_get_lane(struct mv88e6xxx_chip *chip, int port);
78 u8 mv88e6390_serdes_get_lane(struct mv88e6xxx_chip *chip, int port);
79 u8 mv88e6390x_serdes_get_lane(struct mv88e6xxx_chip *chip, int port);
80 int mv88e6352_serdes_pcs_config(struct mv88e6xxx_chip *chip, int port,
84 int mv88e6390_serdes_pcs_config(struct mv88e6xxx_chip *chip, int port,
88 int mv88e6352_serdes_pcs_get_state(struct mv88e6xxx_chip *chip, int port,
90 int mv88e6390_serdes_pcs_get_state(struct mv88e6xxx_chip *chip, int port,
92 int mv88e6352_serdes_pcs_an_restart(struct mv88e6xxx_chip *chip, in
133 mv88e6xxx_serdes_get_lane(struct mv88e6xxx_chip *chip, int port) mv88e6xxx_serdes_get_lane() argument
142 mv88e6xxx_serdes_power_up(struct mv88e6xxx_chip *chip, int port, u8 lane) mv88e6xxx_serdes_power_up() argument
151 mv88e6xxx_serdes_power_down(struct mv88e6xxx_chip *chip, int port, u8 lane) mv88e6xxx_serdes_power_down() argument
161 mv88e6xxx_serdes_irq_mapping(struct mv88e6xxx_chip *chip, int port) mv88e6xxx_serdes_irq_mapping() argument
169 mv88e6xxx_serdes_irq_enable(struct mv88e6xxx_chip *chip, int port, u8 lane) mv88e6xxx_serdes_irq_enable() argument
178 mv88e6xxx_serdes_irq_disable(struct mv88e6xxx_chip *chip, int port, u8 lane) mv88e6xxx_serdes_irq_disable() argument
188 mv88e6xxx_serdes_irq_status(struct mv88e6xxx_chip *chip, int port, u8 lane) mv88e6xxx_serdes_irq_status() argument
[all...]
H A Dport.c16 #include "chip.h"
20 int mv88e6xxx_port_read(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_read() argument
23 int addr = chip->info->port_base_addr + port; in mv88e6xxx_port_read()
25 return mv88e6xxx_read(chip, addr, reg, val); in mv88e6xxx_port_read()
28 int mv88e6xxx_port_write(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_write() argument
31 int addr = chip->info->port_base_addr + port; in mv88e6xxx_port_write()
33 return mv88e6xxx_write(chip, addr, reg, val); in mv88e6xxx_port_write()
41 int mv88e6185_port_set_pause(struct mv88e6xxx_chip *chip, int port, in mv88e6185_port_set_pause() argument
47 err = mv88e6xxx_port_read(chip, port, MV88E6XXX_PORT_STS, &reg); in mv88e6185_port_set_pause()
56 return mv88e6xxx_port_write(chip, por in mv88e6185_port_set_pause()
68 mv88e6xxx_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port, phy_interface_t mode) mv88e6xxx_port_set_rgmii_delay() argument
109 mv88e6352_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port, phy_interface_t mode) mv88e6352_port_set_rgmii_delay() argument
118 mv88e6390_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port, phy_interface_t mode) mv88e6390_port_set_rgmii_delay() argument
127 mv88e6xxx_port_set_link(struct mv88e6xxx_chip *chip, int port, int link) mv88e6xxx_port_set_link() argument
165 mv88e6xxx_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port, int speed, bool alt_bit, bool force_bit, int duplex) mv88e6xxx_port_set_speed_duplex() argument
253 mv88e6065_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port, int speed, int duplex) mv88e6065_port_set_speed_duplex() argument
268 mv88e6185_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port, int speed, int duplex) mv88e6185_port_set_speed_duplex() argument
282 mv88e6250_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port, int speed, int duplex) mv88e6250_port_set_speed_duplex() argument
296 mv88e6341_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port, int speed, int duplex) mv88e6341_port_set_speed_duplex() argument
324 mv88e6352_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port, int speed, int duplex) mv88e6352_port_set_speed_duplex() argument
341 mv88e6390_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port, int speed, int duplex) mv88e6390_port_set_speed_duplex() argument
369 mv88e6390x_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port, int speed, int duplex) mv88e6390x_port_set_speed_duplex() argument
393 mv88e6xxx_port_set_cmode(struct mv88e6xxx_chip *chip, int port, phy_interface_t mode, bool force) mv88e6xxx_port_set_cmode() argument
479 mv88e6390x_port_set_cmode(struct mv88e6xxx_chip *chip, int port, phy_interface_t mode) mv88e6390x_port_set_cmode() argument
488 mv88e6390_port_set_cmode(struct mv88e6xxx_chip *chip, int port, phy_interface_t mode) mv88e6390_port_set_cmode() argument
508 mv88e6341_port_set_cmode_writable(struct mv88e6xxx_chip *chip, int port) mv88e6341_port_set_cmode_writable() argument
533 mv88e6341_port_set_cmode(struct mv88e6xxx_chip *chip, int port, phy_interface_t mode) mv88e6341_port_set_cmode() argument
559 mv88e6185_port_get_cmode(struct mv88e6xxx_chip *chip, int port, u8 *cmode) mv88e6185_port_get_cmode() argument
573 mv88e6352_port_get_cmode(struct mv88e6xxx_chip *chip, int port, u8 *cmode) mv88e6352_port_get_cmode() argument
593 mv88e6097_port_pause_limit(struct mv88e6xxx_chip *chip, int port, u8 in, u8 out) mv88e6097_port_pause_limit() argument
600 mv88e6390_port_pause_limit(struct mv88e6xxx_chip *chip, int port, u8 in, u8 out) mv88e6390_port_pause_limit() argument
625 mv88e6xxx_port_set_state(struct mv88e6xxx_chip *chip, int port, u8 state) mv88e6xxx_port_set_state() argument
666 mv88e6xxx_port_set_egress_mode(struct mv88e6xxx_chip *chip, int port, enum mv88e6xxx_egress_mode mode) mv88e6xxx_port_set_egress_mode() argument
698 mv88e6085_port_set_frame_mode(struct mv88e6xxx_chip *chip, int port, enum mv88e6xxx_frame_mode mode) mv88e6085_port_set_frame_mode() argument
724 mv88e6351_port_set_frame_mode(struct mv88e6xxx_chip *chip, int port, enum mv88e6xxx_frame_mode mode) mv88e6351_port_set_frame_mode() argument
756 mv88e6185_port_set_forward_unknown(struct mv88e6xxx_chip *chip, int port, bool unicast) mv88e6185_port_set_forward_unknown() argument
774 mv88e6352_port_set_egress_floods(struct mv88e6xxx_chip *chip, int port, bool unicast, bool multicast) mv88e6352_port_set_egress_floods() argument
800 mv88e6xxx_port_set_message_port(struct mv88e6xxx_chip *chip, int port, bool message_port) mv88e6xxx_port_set_message_port() argument
820 mv88e6xxx_port_set_vlan_map(struct mv88e6xxx_chip *chip, int port, u16 map) mv88e6xxx_port_set_vlan_map() argument
842 mv88e6xxx_port_get_fid(struct mv88e6xxx_chip *chip, int port, u16 *fid) mv88e6xxx_port_get_fid() argument
868 mv88e6xxx_port_set_fid(struct mv88e6xxx_chip *chip, int port, u16 fid) mv88e6xxx_port_set_fid() argument
912 mv88e6xxx_port_get_pvid(struct mv88e6xxx_chip *chip, int port, u16 *pvid) mv88e6xxx_port_get_pvid() argument
927 mv88e6xxx_port_set_pvid(struct mv88e6xxx_chip *chip, int port, u16 pvid) mv88e6xxx_port_set_pvid() argument
959 mv88e6185_port_set_default_forward(struct mv88e6xxx_chip *chip, int port, bool multicast) mv88e6185_port_set_default_forward() argument
977 mv88e6185_port_set_egress_floods(struct mv88e6xxx_chip *chip, int port, bool unicast, bool multicast) mv88e6185_port_set_egress_floods() argument
989 mv88e6095_port_set_upstream_port(struct mv88e6xxx_chip *chip, int port, int upstream_port) mv88e6095_port_set_upstream_port() argument
1005 mv88e6xxx_port_set_mirror(struct mv88e6xxx_chip *chip, int port, enum mv88e6xxx_egress_direction direction, bool mirror) mv88e6xxx_port_set_mirror() argument
1042 mv88e6xxx_port_set_8021q_mode(struct mv88e6xxx_chip *chip, int port, u16 mode) mv88e6xxx_port_set_8021q_mode() argument
1065 mv88e6xxx_port_set_map_da(struct mv88e6xxx_chip *chip, int port) mv88e6xxx_port_set_map_da() argument
1079 mv88e6165_port_set_jumbo_size(struct mv88e6xxx_chip *chip, int port, size_t size) mv88e6165_port_set_jumbo_size() argument
1107 mv88e6095_port_egress_rate_limiting(struct mv88e6xxx_chip *chip, int port) mv88e6095_port_egress_rate_limiting() argument
1113 mv88e6097_port_egress_rate_limiting(struct mv88e6xxx_chip *chip, int port) mv88e6097_port_egress_rate_limiting() argument
1121 mv88e6xxx_port_disable_learn_limit(struct mv88e6xxx_chip *chip, int port) mv88e6xxx_port_disable_learn_limit() argument
1128 mv88e6xxx_port_disable_pri_override(struct mv88e6xxx_chip *chip, int port) mv88e6xxx_port_disable_pri_override() argument
1135 mv88e6351_port_set_ether_type(struct mv88e6xxx_chip *chip, int port, u16 etype) mv88e6351_port_set_ether_type() argument
1145 mv88e6095_port_tag_remap(struct mv88e6xxx_chip *chip, int port) mv88e6095_port_tag_remap() argument
1161 mv88e6xxx_port_ieeepmt_write(struct mv88e6xxx_chip *chip, int port, u16 table, u8 ptr, u16 data) mv88e6xxx_port_ieeepmt_write() argument
1174 mv88e6390_port_tag_remap(struct mv88e6xxx_chip *chip, int port) mv88e6390_port_tag_remap() argument
1207 mv88e6352_port_set_policy(struct mv88e6xxx_chip *chip, int port, enum mv88e6xxx_policy_mapping mapping, enum mv88e6xxx_policy_action action) mv88e6352_port_set_policy() argument
[all...]
H A Dchip.c3 * Marvell 88e6xxx Ethernet switch single-chip support
34 #include "chip.h"
45 static void assert_reg_lock(struct mv88e6xxx_chip *chip) in assert_reg_lock() argument
47 if (unlikely(!mutex_is_locked(&chip->reg_lock))) { in assert_reg_lock()
48 dev_err(chip->dev, "Switch registers lock not held!\n"); in assert_reg_lock()
53 int mv88e6xxx_read(struct mv88e6xxx_chip *chip, int addr, int reg, u16 *val) in mv88e6xxx_read() argument
57 assert_reg_lock(chip); in mv88e6xxx_read()
59 err = mv88e6xxx_smi_read(chip, addr, reg, val); in mv88e6xxx_read()
63 dev_dbg(chip->dev, "<- addr: 0x%.2x reg: 0x%.2x val: 0x%.4x\n", in mv88e6xxx_read()
69 int mv88e6xxx_write(struct mv88e6xxx_chip *chip, in argument
85 mv88e6xxx_wait_mask(struct mv88e6xxx_chip *chip, int addr, int reg, u16 mask, u16 val) mv88e6xxx_wait_mask() argument
108 mv88e6xxx_wait_bit(struct mv88e6xxx_chip *chip, int addr, int reg, int bit, int val) mv88e6xxx_wait_bit() argument
115 mv88e6xxx_default_mdio_bus(struct mv88e6xxx_chip *chip) mv88e6xxx_default_mdio_bus() argument
129 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); mv88e6xxx_g1_irq_mask() local
137 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); mv88e6xxx_g1_irq_unmask() local
143 mv88e6xxx_g1_irq_thread_work(struct mv88e6xxx_chip *chip) mv88e6xxx_g1_irq_thread_work() argument
187 struct mv88e6xxx_chip *chip = dev_id; mv88e6xxx_g1_irq_thread_fn() local
194 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); mv88e6xxx_g1_irq_bus_lock() local
201 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); mv88e6xxx_g1_irq_bus_sync_unlock() local
233 struct mv88e6xxx_chip *chip = d->host_data; mv88e6xxx_g1_irq_domain_map() local
248 mv88e6xxx_g1_irq_free_common(struct mv88e6xxx_chip *chip) mv88e6xxx_g1_irq_free_common() argument
265 mv88e6xxx_g1_irq_free(struct mv88e6xxx_chip *chip) mv88e6xxx_g1_irq_free() argument
278 mv88e6xxx_g1_irq_setup_common(struct mv88e6xxx_chip *chip) mv88e6xxx_g1_irq_setup_common() argument
328 mv88e6xxx_g1_irq_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_g1_irq_setup() argument
361 struct mv88e6xxx_chip *chip = container_of(work, mv88e6xxx_irq_poll() local
370 mv88e6xxx_irq_poll_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_irq_poll_setup() argument
391 mv88e6xxx_irq_poll_free(struct mv88e6xxx_chip *chip) mv88e6xxx_irq_poll_free() argument
401 mv88e6xxx_port_config_interface(struct mv88e6xxx_chip *chip, int port, phy_interface_t interface) mv88e6xxx_port_config_interface() argument
423 mv88e6xxx_port_setup_mac(struct mv88e6xxx_chip *chip, int port, int link, int speed, int duplex, int pause, phy_interface_t mode) mv88e6xxx_port_setup_mac() argument
463 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_phy_is_internal() local
468 mv88e6xxx_port_ppu_updates(struct mv88e6xxx_chip *chip, int port) mv88e6xxx_port_ppu_updates() argument
487 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_serdes_pcs_get_state() local
503 mv88e6xxx_serdes_pcs_config(struct mv88e6xxx_chip *chip, int port, unsigned int mode, phy_interface_t interface, const unsigned long *advertise) mv88e6xxx_serdes_pcs_config() argument
523 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_serdes_pcs_an_restart() local
542 mv88e6xxx_serdes_pcs_link_up(struct mv88e6xxx_chip *chip, int port, unsigned int mode, int speed, int duplex) mv88e6xxx_serdes_pcs_link_up() argument
559 mv88e6065_phylink_validate(struct mv88e6xxx_chip *chip, int port, unsigned long *mask, struct phylink_link_state *state) mv88e6065_phylink_validate() argument
572 mv88e6185_phylink_validate(struct mv88e6xxx_chip *chip, int port, unsigned long *mask, struct phylink_link_state *state) mv88e6185_phylink_validate() argument
585 mv88e6341_phylink_validate(struct mv88e6xxx_chip *chip, int port, unsigned long *mask, struct phylink_link_state *state) mv88e6341_phylink_validate() argument
599 mv88e6352_phylink_validate(struct mv88e6xxx_chip *chip, int port, unsigned long *mask, struct phylink_link_state *state) mv88e6352_phylink_validate() argument
610 mv88e6390_phylink_validate(struct mv88e6xxx_chip *chip, int port, unsigned long *mask, struct phylink_link_state *state) mv88e6390_phylink_validate() argument
626 mv88e6390x_phylink_validate(struct mv88e6xxx_chip *chip, int port, unsigned long *mask, struct phylink_link_state *state) mv88e6390x_phylink_validate() argument
643 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_validate() local
667 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_mac_config() local
726 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_mac_link_down() local
753 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_mac_link_up() local
795 mv88e6xxx_stats_snapshot(struct mv88e6xxx_chip *chip, int port) mv88e6xxx_stats_snapshot() argument
865 _mv88e6xxx_get_ethtool_stat(struct mv88e6xxx_chip *chip, struct mv88e6xxx_hw_stat *s, int port, u16 bank1_select, u16 histogram) _mv88e6xxx_get_ethtool_stat() argument
906 mv88e6xxx_stats_get_strings(struct mv88e6xxx_chip *chip, uint8_t *data, int types) mv88e6xxx_stats_get_strings() argument
924 mv88e6095_stats_get_strings(struct mv88e6xxx_chip *chip, uint8_t *data) mv88e6095_stats_get_strings() argument
931 mv88e6250_stats_get_strings(struct mv88e6xxx_chip *chip, uint8_t *data) mv88e6250_stats_get_strings() argument
937 mv88e6320_stats_get_strings(struct mv88e6xxx_chip *chip, uint8_t *data) mv88e6320_stats_get_strings() argument
965 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_strings() local
987 mv88e6xxx_stats_get_sset_count(struct mv88e6xxx_chip *chip, int types) mv88e6xxx_stats_get_sset_count() argument
1001 mv88e6095_stats_get_sset_count(struct mv88e6xxx_chip *chip) mv88e6095_stats_get_sset_count() argument
1007 mv88e6250_stats_get_sset_count(struct mv88e6xxx_chip *chip) mv88e6250_stats_get_sset_count() argument
1012 mv88e6320_stats_get_sset_count(struct mv88e6xxx_chip *chip) mv88e6320_stats_get_sset_count() argument
1020 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_sset_count() local
1049 mv88e6xxx_stats_get_stats(struct mv88e6xxx_chip *chip, int port, uint64_t *data, int types, u16 bank1_select, u16 histogram) mv88e6xxx_stats_get_stats() argument
1071 mv88e6095_stats_get_stats(struct mv88e6xxx_chip *chip, int port, uint64_t *data) mv88e6095_stats_get_stats() argument
1079 mv88e6250_stats_get_stats(struct mv88e6xxx_chip *chip, int port, uint64_t *data) mv88e6250_stats_get_stats() argument
1086 mv88e6320_stats_get_stats(struct mv88e6xxx_chip *chip, int port, uint64_t *data) mv88e6320_stats_get_stats() argument
1095 mv88e6390_stats_get_stats(struct mv88e6xxx_chip *chip, int port, uint64_t *data) mv88e6390_stats_get_stats() argument
1104 mv88e6xxx_atu_vtu_get_stats(struct mv88e6xxx_chip *chip, int port, uint64_t *data) mv88e6xxx_atu_vtu_get_stats() argument
1114 mv88e6xxx_get_stats(struct mv88e6xxx_chip *chip, int port, uint64_t *data) mv88e6xxx_get_stats() argument
1135 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_ethtool_stats() local
1152 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_regs_len() local
1165 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_regs() local
1205 mv88e6xxx_port_vlan(struct mv88e6xxx_chip *chip, int dev, int port) mv88e6xxx_port_vlan() argument
1245 mv88e6xxx_port_vlan_map(struct mv88e6xxx_chip *chip, int port) mv88e6xxx_port_vlan_map() argument
1258 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_stp_state_set() local
1269 mv88e6xxx_pri_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_pri_setup() argument
1288 mv88e6xxx_devmap_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_devmap_setup() argument
1322 mv88e6xxx_trunk_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_trunk_setup() argument
1331 mv88e6xxx_rmu_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_rmu_setup() argument
1339 mv88e6xxx_pot_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_pot_setup() argument
1347 mv88e6xxx_rsvd2cpu_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_rsvd2cpu_setup() argument
1355 mv88e6xxx_atu_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_atu_setup() argument
1370 mv88e6xxx_irl_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_irl_setup() argument
1390 mv88e6xxx_mac_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_mac_setup() argument
1403 mv88e6xxx_pvt_map(struct mv88e6xxx_chip *chip, int dev, int port) mv88e6xxx_pvt_map() argument
1417 mv88e6xxx_pvt_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_pvt_setup() argument
1445 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_fast_age() local
1456 mv88e6xxx_vtu_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_vtu_setup() argument
1464 mv88e6xxx_vtu_getnext(struct mv88e6xxx_chip *chip, struct mv88e6xxx_vtu_entry *entry) mv88e6xxx_vtu_getnext() argument
1473 mv88e6xxx_vtu_loadpurge(struct mv88e6xxx_chip *chip, struct mv88e6xxx_vtu_entry *entry) mv88e6xxx_vtu_loadpurge() argument
1482 mv88e6xxx_fid_map(struct mv88e6xxx_chip *chip, unsigned long *fid_bitmap) mv88e6xxx_fid_map() argument
1517 mv88e6xxx_atu_new(struct mv88e6xxx_chip *chip, u16 *fid) mv88e6xxx_atu_new() argument
1540 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_check_hw_vlan() local
1597 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_vlan_filtering() local
1616 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_vlan_prepare() local
1636 mv88e6xxx_port_db_load_purge(struct mv88e6xxx_chip *chip, int port, const unsigned char *addr, u16 vid, u8 state) mv88e6xxx_port_db_load_purge() argument
1696 mv88e6xxx_policy_apply(struct mv88e6xxx_chip *chip, int port, const struct mv88e6xxx_policy *policy) mv88e6xxx_policy_apply() argument
1744 mv88e6xxx_policy_insert(struct mv88e6xxx_chip *chip, int port, struct ethtool_rx_flow_spec *fs) mv88e6xxx_policy_insert() argument
1830 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_rxnfc() local
1877 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_set_rxnfc() local
1906 mv88e6xxx_port_add_broadcast(struct mv88e6xxx_chip *chip, int port, u16 vid) mv88e6xxx_port_add_broadcast() argument
1915 mv88e6xxx_broadcast_setup(struct mv88e6xxx_chip *chip, u16 vid) mv88e6xxx_broadcast_setup() argument
1929 mv88e6xxx_port_vlan_join(struct mv88e6xxx_chip *chip, int port, u16 vid, u8 member, bool warn) mv88e6xxx_port_vlan_join() argument
1986 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_vlan_add() local
2022 mv88e6xxx_port_vlan_leave(struct mv88e6xxx_chip *chip, int port, u16 vid) mv88e6xxx_port_vlan_leave() argument
2067 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_vlan_del() local
2101 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_fdb_add() local
2115 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_fdb_del() local
2125 mv88e6xxx_port_db_dump_fid(struct mv88e6xxx_chip *chip, u16 fid, u16 vid, int port, dsa_fdb_dump_cb_t *cb, void *data) mv88e6xxx_port_db_dump_fid() argument
2160 mv88e6xxx_port_db_dump(struct mv88e6xxx_chip *chip, int port, dsa_fdb_dump_cb_t *cb, void *data) mv88e6xxx_port_db_dump() argument
2200 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_fdb_dump() local
2210 mv88e6xxx_bridge_map(struct mv88e6xxx_chip *chip, struct net_device *br) mv88e6xxx_bridge_map() argument
2245 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_bridge_join() local
2258 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_bridge_leave() local
2271 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_crosschip_bridge_join() local
2288 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_crosschip_bridge_leave() local
2299 mv88e6xxx_software_reset(struct mv88e6xxx_chip *chip) mv88e6xxx_software_reset() argument
2307 mv88e6xxx_hardware_reset(struct mv88e6xxx_chip *chip) mv88e6xxx_hardware_reset() argument
2332 mv88e6xxx_disable_ports(struct mv88e6xxx_chip *chip) mv88e6xxx_disable_ports() argument
2351 mv88e6xxx_switch_reset(struct mv88e6xxx_chip *chip) mv88e6xxx_switch_reset() argument
2364 mv88e6xxx_set_port_mode(struct mv88e6xxx_chip *chip, int port, enum mv88e6xxx_frame_mode frame, enum mv88e6xxx_egress_mode egress, u16 etype) mv88e6xxx_set_port_mode() argument
2387 mv88e6xxx_set_port_mode_normal(struct mv88e6xxx_chip *chip, int port) mv88e6xxx_set_port_mode_normal() argument
2394 mv88e6xxx_set_port_mode_dsa(struct mv88e6xxx_chip *chip, int port) mv88e6xxx_set_port_mode_dsa() argument
2401 mv88e6xxx_set_port_mode_edsa(struct mv88e6xxx_chip *chip, int port) mv88e6xxx_set_port_mode_edsa() argument
2409 mv88e6xxx_setup_port_mode(struct mv88e6xxx_chip *chip, int port) mv88e6xxx_setup_port_mode() argument
2427 mv88e6xxx_setup_message_port(struct mv88e6xxx_chip *chip, int port) mv88e6xxx_setup_message_port() argument
2434 mv88e6xxx_setup_egress_floods(struct mv88e6xxx_chip *chip, int port) mv88e6xxx_setup_egress_floods() argument
2451 struct mv88e6xxx_chip *chip = mvp->chip; mv88e6xxx_serdes_irq_thread_fn() local
2465 mv88e6xxx_serdes_irq_request(struct mv88e6xxx_chip *chip, int port, u8 lane) mv88e6xxx_serdes_irq_request() argument
2494 mv88e6xxx_serdes_irq_free(struct mv88e6xxx_chip *chip, int port, u8 lane) mv88e6xxx_serdes_irq_free() argument
2517 mv88e6xxx_serdes_power(struct mv88e6xxx_chip *chip, int port, bool on) mv88e6xxx_serdes_power() argument
2544 mv88e6xxx_setup_upstream_port(struct mv88e6xxx_chip *chip, int port) mv88e6xxx_setup_upstream_port() argument
2584 mv88e6xxx_setup_port(struct mv88e6xxx_chip *chip, int port) mv88e6xxx_setup_port() argument
2746 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_max_mtu() local
2757 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_change_mtu() local
2787 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_enable() local
2799 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_disable() local
2810 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_set_ageing_time() local
2820 mv88e6xxx_stats_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_stats_setup() argument
2835 mv88e6390_setup_errata_applied(struct mv88e6xxx_chip *chip) mv88e6390_setup_errata_applied() argument
2859 mv88e6390_setup_errata(struct mv88e6xxx_chip *chip) mv88e6390_setup_errata() argument
2892 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_setup() local
3045 struct mv88e6xxx_chip *chip = mdio_bus->chip; mv88e6xxx_mdio_read() local
3071 struct mv88e6xxx_chip *chip = mdio_bus->chip; mv88e6xxx_mdio_write() local
3084 mv88e6xxx_mdio_register(struct mv88e6xxx_chip *chip, struct device_node *np, bool external) mv88e6xxx_mdio_register() argument
3149 mv88e6xxx_mdios_unregister(struct mv88e6xxx_chip *chip) mv88e6xxx_mdios_unregister() argument
3166 mv88e6xxx_mdios_register(struct mv88e6xxx_chip *chip, struct device_node *np) mv88e6xxx_mdios_register() argument
3203 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_eeprom_len() local
3211 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_eeprom() local
3232 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_set_eeprom() local
5211 mv88e6xxx_detect(struct mv88e6xxx_chip *chip) mv88e6xxx_detect() argument
5246 struct mv88e6xxx_chip *chip; mv88e6xxx_alloc_chip() local
5265 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_tag_protocol() local
5283 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_mdb_add() local
5296 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_mdb_del() local
5313 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_mirror_add() local
5355 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_mirror_del() local
5383 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_egress_floods() local
5452 mv88e6xxx_register_switch(struct mv88e6xxx_chip *chip) mv88e6xxx_register_switch() argument
5474 mv88e6xxx_unregister_switch(struct mv88e6xxx_chip *chip) mv88e6xxx_unregister_switch() argument
5513 struct mv88e6xxx_chip *chip; mv88e6xxx_probe() local
5655 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_remove() local
[all...]
/kernel/linux/linux-5.10/sound/pci/cs46xx/
H A Dcs46xx_lib.h45 static inline void snd_cs46xx_poke(struct snd_cs46xx *chip, unsigned long reg, unsigned int val) in snd_cs46xx_poke() argument
55 writel(val, chip->region.idx[bank+1].remap_addr + offset); in snd_cs46xx_poke()
58 static inline unsigned int snd_cs46xx_peek(struct snd_cs46xx *chip, unsigned long reg) in snd_cs46xx_peek() argument
62 return readl(chip->region.idx[bank+1].remap_addr + offset); in snd_cs46xx_peek()
65 static inline void snd_cs46xx_pokeBA0(struct snd_cs46xx *chip, unsigned long offset, unsigned int val) in snd_cs46xx_pokeBA0() argument
67 writel(val, chip->region.name.ba0.remap_addr + offset); in snd_cs46xx_pokeBA0()
70 static inline unsigned int snd_cs46xx_peekBA0(struct snd_cs46xx *chip, unsigned long offset) in snd_cs46xx_peekBA0() argument
72 return readl(chip->region.name.ba0.remap_addr + offset); in snd_cs46xx_peekBA0()
75 struct dsp_spos_instance *cs46xx_dsp_spos_create (struct snd_cs46xx * chip);
76 void cs46xx_dsp_spos_destroy (struct snd_cs46xx * chip);
[all...]
/kernel/linux/linux-6.6/sound/isa/sb/
H A Dsb_common.c30 int snd_sbdsp_command(struct snd_sb *chip, unsigned char val) in snd_sbdsp_command() argument
37 if ((inb(SBP(chip, STATUS)) & 0x80) == 0) { in snd_sbdsp_command()
38 outb(val, SBP(chip, COMMAND)); in snd_sbdsp_command()
41 snd_printd("%s [0x%lx]: timeout (0x%x)\n", __func__, chip->port, val); in snd_sbdsp_command()
45 int snd_sbdsp_get_byte(struct snd_sb *chip) in snd_sbdsp_get_byte() argument
50 if (inb(SBP(chip, DATA_AVAIL)) & 0x80) { in snd_sbdsp_get_byte()
51 val = inb(SBP(chip, READ)); in snd_sbdsp_get_byte()
58 snd_printd("%s [0x%lx]: timeout\n", __func__, chip->port); in snd_sbdsp_get_byte()
62 int snd_sbdsp_reset(struct snd_sb *chip) in snd_sbdsp_reset() argument
66 outb(1, SBP(chip, RESE in snd_sbdsp_reset()
81 snd_sbdsp_version(struct snd_sb * chip) snd_sbdsp_version() argument
91 snd_sbdsp_probe(struct snd_sb * chip) snd_sbdsp_probe() argument
180 struct snd_sb *chip; snd_sbdsp_create() local
[all...]
/kernel/linux/linux-6.6/sound/pci/cs46xx/
H A Dcs46xx_lib.h45 static inline void snd_cs46xx_poke(struct snd_cs46xx *chip, unsigned long reg, unsigned int val) in snd_cs46xx_poke() argument
55 writel(val, chip->region.idx[bank+1].remap_addr + offset); in snd_cs46xx_poke()
58 static inline unsigned int snd_cs46xx_peek(struct snd_cs46xx *chip, unsigned long reg) in snd_cs46xx_peek() argument
62 return readl(chip->region.idx[bank+1].remap_addr + offset); in snd_cs46xx_peek()
65 static inline void snd_cs46xx_pokeBA0(struct snd_cs46xx *chip, unsigned long offset, unsigned int val) in snd_cs46xx_pokeBA0() argument
67 writel(val, chip->region.name.ba0.remap_addr + offset); in snd_cs46xx_pokeBA0()
70 static inline unsigned int snd_cs46xx_peekBA0(struct snd_cs46xx *chip, unsigned long offset) in snd_cs46xx_peekBA0() argument
72 return readl(chip->region.name.ba0.remap_addr + offset); in snd_cs46xx_peekBA0()
75 struct dsp_spos_instance *cs46xx_dsp_spos_create (struct snd_cs46xx * chip);
76 void cs46xx_dsp_spos_destroy (struct snd_cs46xx * chip);
[all...]
/kernel/linux/linux-5.10/sound/isa/
H A Des18xx.c18 * - The chip has one half duplex pcm (with very limited full duplex support).
88 unsigned long port; /* port of ESS chip */
89 unsigned long ctrl_port; /* Control port of ESS chip */
93 int irq; /* IRQ number of ESS chip */
96 unsigned short version; /* version of ESS chip */
162 static int snd_es18xx_dsp_command(struct snd_es18xx *chip, unsigned char val) in snd_es18xx_dsp_command() argument
167 if ((inb(chip->port + 0x0C) & 0x80) == 0) { in snd_es18xx_dsp_command()
168 outb(val, chip->port + 0x0C); in snd_es18xx_dsp_command()
175 static int snd_es18xx_dsp_get_byte(struct snd_es18xx *chip) in snd_es18xx_dsp_get_byte() argument
180 if (inb(chip in snd_es18xx_dsp_get_byte()
189 snd_es18xx_write(struct snd_es18xx *chip, unsigned char reg, unsigned char data) snd_es18xx_write() argument
208 snd_es18xx_read(struct snd_es18xx *chip, unsigned char reg) snd_es18xx_read() argument
230 snd_es18xx_bits(struct snd_es18xx *chip, unsigned char reg, unsigned char mask, unsigned char val) snd_es18xx_bits() argument
268 snd_es18xx_mixer_write(struct snd_es18xx *chip, unsigned char reg, unsigned char data) snd_es18xx_mixer_write() argument
281 snd_es18xx_mixer_read(struct snd_es18xx *chip, unsigned char reg) snd_es18xx_mixer_read() argument
296 snd_es18xx_mixer_bits(struct snd_es18xx *chip, unsigned char reg, unsigned char mask, unsigned char val) snd_es18xx_mixer_bits() argument
317 snd_es18xx_mixer_writable(struct snd_es18xx *chip, unsigned char reg, unsigned char mask) snd_es18xx_mixer_writable() argument
337 snd_es18xx_reset(struct snd_es18xx *chip) snd_es18xx_reset() argument
349 snd_es18xx_reset_fifo(struct snd_es18xx *chip) snd_es18xx_reset_fifo() argument
398 snd_es18xx_rate_set(struct snd_es18xx *chip, struct snd_pcm_substream *substream, int mode) snd_es18xx_rate_set() argument
436 struct snd_es18xx *chip = snd_pcm_substream_chip(substream); snd_es18xx_playback_hw_params() local
459 snd_es18xx_playback1_prepare(struct snd_es18xx *chip, struct snd_pcm_substream *substream) snd_es18xx_playback1_prepare() argument
485 snd_es18xx_playback1_trigger(struct snd_es18xx *chip, struct snd_pcm_substream *substream, int cmd) snd_es18xx_playback1_trigger() argument
538 struct snd_es18xx *chip = snd_pcm_substream_chip(substream); snd_es18xx_capture_hw_params() local
558 struct snd_es18xx *chip = snd_pcm_substream_chip(substream); snd_es18xx_capture_prepare() local
596 struct snd_es18xx *chip = snd_pcm_substream_chip(substream); snd_es18xx_capture_trigger() local
622 snd_es18xx_playback2_prepare(struct snd_es18xx *chip, struct snd_pcm_substream *substream) snd_es18xx_playback2_prepare() argument
657 snd_es18xx_playback2_trigger(struct snd_es18xx *chip, struct snd_pcm_substream *substream, int cmd) snd_es18xx_playback2_trigger() argument
699 struct snd_es18xx *chip = snd_pcm_substream_chip(substream); snd_es18xx_playback_prepare() local
709 struct snd_es18xx *chip = snd_pcm_substream_chip(substream); snd_es18xx_playback_trigger() local
719 struct snd_es18xx *chip = card->private_data; snd_es18xx_interrupt() local
788 struct snd_es18xx *chip = snd_pcm_substream_chip(substream); snd_es18xx_playback_pointer() local
807 struct snd_es18xx *chip = snd_pcm_substream_chip(substream); snd_es18xx_capture_pointer() local
860 struct snd_es18xx *chip = snd_pcm_substream_chip(substream); snd_es18xx_playback_open() local
885 struct snd_es18xx *chip = snd_pcm_substream_chip(substream); snd_es18xx_capture_open() local
902 struct snd_es18xx *chip = snd_pcm_substream_chip(substream); snd_es18xx_playback_close() local
914 struct snd_es18xx *chip = snd_pcm_substream_chip(substream); snd_es18xx_capture_close() local
949 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); snd_es18xx_info_mux() local
969 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); snd_es18xx_get_mux() local
986 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); snd_es18xx_put_mux() local
1025 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); snd_es18xx_get_spatializer_enable() local
1033 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); snd_es18xx_put_spatializer_enable() local
1057 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); snd_es18xx_get_hw_volume() local
1067 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); snd_es18xx_get_hw_switch() local
1075 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); snd_es18xx_hwv_free() local
1082 snd_es18xx_reg_bits(struct snd_es18xx *chip, unsigned char reg, unsigned char mask, unsigned char val) snd_es18xx_reg_bits() argument
1091 snd_es18xx_reg_read(struct snd_es18xx *chip, unsigned char reg) snd_es18xx_reg_read() argument
1121 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); snd_es18xx_get_single() local
1141 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); snd_es18xx_put_single() local
1185 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); snd_es18xx_get_double() local
1210 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); snd_es18xx_put_double() local
1348 snd_es18xx_config_read(struct snd_es18xx *chip, unsigned char reg) snd_es18xx_config_read() argument
1357 snd_es18xx_config_write(struct snd_es18xx *chip, unsigned char reg, unsigned char data) snd_es18xx_config_write() argument
1369 snd_es18xx_initialize(struct snd_es18xx *chip, unsigned long mpu_port, unsigned long fm_port) snd_es18xx_initialize() argument
1534 snd_es18xx_identify(struct snd_es18xx *chip) snd_es18xx_identify() argument
1603 snd_es18xx_probe(struct snd_es18xx *chip, unsigned long mpu_port, unsigned long fm_port) snd_es18xx_probe() argument
1663 struct snd_es18xx *chip = card->private_data; snd_es18xx_pcm() local
1699 struct snd_es18xx *chip = card->private_data; snd_es18xx_suspend() local
1714 struct snd_es18xx *chip = card->private_data; snd_es18xx_resume() local
1726 struct snd_es18xx *chip = card->private_data; snd_es18xx_free() local
1755 struct snd_es18xx *chip = card->private_data; snd_es18xx_new_device() local
1814 struct snd_es18xx *chip = card->private_data; snd_es18xx_mixer() local
2025 snd_audiodrive_pnp(int dev, struct snd_es18xx *chip, struct pnp_dev *pdev) snd_audiodrive_pnp() argument
2055 snd_audiodrive_pnpc(int dev, struct snd_es18xx *chip, struct pnp_card_link *card, const struct pnp_card_device_id *id) snd_audiodrive_pnpc() argument
2096 struct snd_es18xx *chip = card->private_data; snd_audiodrive_probe() local
[all...]
/kernel/linux/linux-5.10/sound/pci/oxygen/
H A Doxygen_io.c16 u8 oxygen_read8(struct oxygen *chip, unsigned int reg) in oxygen_read8() argument
18 return inb(chip->addr + reg); in oxygen_read8()
22 u16 oxygen_read16(struct oxygen *chip, unsigned int reg) in oxygen_read16() argument
24 return inw(chip->addr + reg); in oxygen_read16()
28 u32 oxygen_read32(struct oxygen *chip, unsigned int reg) in oxygen_read32() argument
30 return inl(chip->addr + reg); in oxygen_read32()
34 void oxygen_write8(struct oxygen *chip, unsigned int reg, u8 value) in oxygen_write8() argument
36 outb(value, chip->addr + reg); in oxygen_write8()
37 chip->saved_registers._8[reg] = value; in oxygen_write8()
41 void oxygen_write16(struct oxygen *chip, unsigne argument
48 oxygen_write32(struct oxygen *chip, unsigned int reg, u32 value) oxygen_write32() argument
55 oxygen_write8_masked(struct oxygen *chip, unsigned int reg, u8 value, u8 mask) oxygen_write8_masked() argument
66 oxygen_write16_masked(struct oxygen *chip, unsigned int reg, u16 value, u16 mask) oxygen_write16_masked() argument
77 oxygen_write32_masked(struct oxygen *chip, unsigned int reg, u32 value, u32 mask) oxygen_write32_masked() argument
88 oxygen_ac97_wait(struct oxygen *chip, unsigned int mask) oxygen_ac97_wait() argument
117 oxygen_write_ac97(struct oxygen *chip, unsigned int codec, unsigned int index, u16 data) oxygen_write_ac97() argument
142 oxygen_read_ac97(struct oxygen *chip, unsigned int codec, unsigned int index) oxygen_read_ac97() argument
175 oxygen_write_ac97_masked(struct oxygen *chip, unsigned int codec, unsigned int index, u16 data, u16 mask) oxygen_write_ac97_masked() argument
185 oxygen_wait_spi(struct oxygen *chip) oxygen_wait_spi() argument
203 oxygen_write_spi(struct oxygen *chip, u8 control, unsigned int data) oxygen_write_spi() argument
218 oxygen_write_i2c(struct oxygen *chip, u8 device, u8 map, u8 data) oxygen_write_i2c() argument
230 _write_uart(struct oxygen *chip, unsigned int port, u8 data) _write_uart() argument
237 oxygen_reset_uart(struct oxygen *chip) oxygen_reset_uart() argument
245 oxygen_write_uart(struct oxygen *chip, u8 data) oxygen_write_uart() argument
251 oxygen_read_eeprom(struct oxygen *chip, unsigned int index) oxygen_read_eeprom() argument
266 oxygen_write_eeprom(struct oxygen *chip, unsigned int index, u16 value) oxygen_write_eeprom() argument
[all...]
H A Dxonar_cs43xx.c66 static void cs4398_write(struct oxygen *chip, u8 reg, u8 value) in cs4398_write() argument
68 struct xonar_cs43xx *data = chip->model_data; in cs4398_write()
70 oxygen_write_i2c(chip, I2C_DEVICE_CS4398, reg, value); in cs4398_write()
75 static void cs4398_write_cached(struct oxygen *chip, u8 reg, u8 value) in cs4398_write_cached() argument
77 struct xonar_cs43xx *data = chip->model_data; in cs4398_write_cached()
80 cs4398_write(chip, reg, value); in cs4398_write_cached()
83 static void cs4362a_write(struct oxygen *chip, u8 reg, u8 value) in cs4362a_write() argument
85 struct xonar_cs43xx *data = chip->model_data; in cs4362a_write()
87 oxygen_write_i2c(chip, I2C_DEVICE_CS4362A, reg, value); in cs4362a_write()
92 static void cs4362a_write_cached(struct oxygen *chip, u argument
100 cs43xx_registers_init(struct oxygen *chip) cs43xx_registers_init() argument
127 xonar_d1_init(struct oxygen *chip) xonar_d1_init() argument
175 xonar_dx_init(struct oxygen *chip) xonar_dx_init() argument
186 xonar_d1_cleanup(struct oxygen *chip) xonar_d1_cleanup() argument
193 xonar_d1_suspend(struct oxygen *chip) xonar_d1_suspend() argument
198 xonar_d1_resume(struct oxygen *chip) xonar_d1_resume() argument
206 set_cs43xx_params(struct oxygen *chip, struct snd_pcm_hw_params *params) set_cs43xx_params() argument
232 update_cs4362a_volumes(struct oxygen *chip) update_cs4362a_volumes() argument
243 update_cs43xx_volume(struct oxygen *chip) update_cs43xx_volume() argument
250 update_cs43xx_mute(struct oxygen *chip) update_cs43xx_mute() argument
261 update_cs43xx_center_lfe_mix(struct oxygen *chip, bool mixed) update_cs43xx_center_lfe_mix() argument
296 struct oxygen *chip = ctl->private_data; rolloff_get() local
307 struct oxygen *chip = ctl->private_data; rolloff_put() local
339 xonar_d1_line_mic_ac97_switch(struct oxygen *chip, unsigned int reg, unsigned int mute) xonar_d1_line_mic_ac97_switch() argument
353 xonar_d1_mixer_init(struct oxygen *chip) xonar_d1_mixer_init() argument
377 dump_d1_registers(struct oxygen *chip, struct snd_info_buffer *buffer) dump_d1_registers() argument
423 get_xonar_cs43xx_model(struct oxygen *chip, const struct pci_device_id *id) get_xonar_cs43xx_model() argument
[all...]
/kernel/linux/linux-6.6/sound/pci/oxygen/
H A Doxygen_io.c16 u8 oxygen_read8(struct oxygen *chip, unsigned int reg) in oxygen_read8() argument
18 return inb(chip->addr + reg); in oxygen_read8()
22 u16 oxygen_read16(struct oxygen *chip, unsigned int reg) in oxygen_read16() argument
24 return inw(chip->addr + reg); in oxygen_read16()
28 u32 oxygen_read32(struct oxygen *chip, unsigned int reg) in oxygen_read32() argument
30 return inl(chip->addr + reg); in oxygen_read32()
34 void oxygen_write8(struct oxygen *chip, unsigned int reg, u8 value) in oxygen_write8() argument
36 outb(value, chip->addr + reg); in oxygen_write8()
37 chip->saved_registers._8[reg] = value; in oxygen_write8()
41 void oxygen_write16(struct oxygen *chip, unsigne argument
48 oxygen_write32(struct oxygen *chip, unsigned int reg, u32 value) oxygen_write32() argument
55 oxygen_write8_masked(struct oxygen *chip, unsigned int reg, u8 value, u8 mask) oxygen_write8_masked() argument
66 oxygen_write16_masked(struct oxygen *chip, unsigned int reg, u16 value, u16 mask) oxygen_write16_masked() argument
77 oxygen_write32_masked(struct oxygen *chip, unsigned int reg, u32 value, u32 mask) oxygen_write32_masked() argument
88 oxygen_ac97_wait(struct oxygen *chip, unsigned int mask) oxygen_ac97_wait() argument
117 oxygen_write_ac97(struct oxygen *chip, unsigned int codec, unsigned int index, u16 data) oxygen_write_ac97() argument
142 oxygen_read_ac97(struct oxygen *chip, unsigned int codec, unsigned int index) oxygen_read_ac97() argument
175 oxygen_write_ac97_masked(struct oxygen *chip, unsigned int codec, unsigned int index, u16 data, u16 mask) oxygen_write_ac97_masked() argument
185 oxygen_wait_spi(struct oxygen *chip) oxygen_wait_spi() argument
203 oxygen_write_spi(struct oxygen *chip, u8 control, unsigned int data) oxygen_write_spi() argument
218 oxygen_write_i2c(struct oxygen *chip, u8 device, u8 map, u8 data) oxygen_write_i2c() argument
230 _write_uart(struct oxygen *chip, unsigned int port, u8 data) _write_uart() argument
237 oxygen_reset_uart(struct oxygen *chip) oxygen_reset_uart() argument
245 oxygen_write_uart(struct oxygen *chip, u8 data) oxygen_write_uart() argument
251 oxygen_read_eeprom(struct oxygen *chip, unsigned int index) oxygen_read_eeprom() argument
266 oxygen_write_eeprom(struct oxygen *chip, unsigned int index, u16 value) oxygen_write_eeprom() argument
[all...]
H A Dxonar_cs43xx.c66 static void cs4398_write(struct oxygen *chip, u8 reg, u8 value) in cs4398_write() argument
68 struct xonar_cs43xx *data = chip->model_data; in cs4398_write()
70 oxygen_write_i2c(chip, I2C_DEVICE_CS4398, reg, value); in cs4398_write()
75 static void cs4398_write_cached(struct oxygen *chip, u8 reg, u8 value) in cs4398_write_cached() argument
77 struct xonar_cs43xx *data = chip->model_data; in cs4398_write_cached()
80 cs4398_write(chip, reg, value); in cs4398_write_cached()
83 static void cs4362a_write(struct oxygen *chip, u8 reg, u8 value) in cs4362a_write() argument
85 struct xonar_cs43xx *data = chip->model_data; in cs4362a_write()
87 oxygen_write_i2c(chip, I2C_DEVICE_CS4362A, reg, value); in cs4362a_write()
92 static void cs4362a_write_cached(struct oxygen *chip, u argument
100 cs43xx_registers_init(struct oxygen *chip) cs43xx_registers_init() argument
127 xonar_d1_init(struct oxygen *chip) xonar_d1_init() argument
175 xonar_dx_init(struct oxygen *chip) xonar_dx_init() argument
186 xonar_d1_cleanup(struct oxygen *chip) xonar_d1_cleanup() argument
193 xonar_d1_suspend(struct oxygen *chip) xonar_d1_suspend() argument
198 xonar_d1_resume(struct oxygen *chip) xonar_d1_resume() argument
206 set_cs43xx_params(struct oxygen *chip, struct snd_pcm_hw_params *params) set_cs43xx_params() argument
232 update_cs4362a_volumes(struct oxygen *chip) update_cs4362a_volumes() argument
243 update_cs43xx_volume(struct oxygen *chip) update_cs43xx_volume() argument
250 update_cs43xx_mute(struct oxygen *chip) update_cs43xx_mute() argument
261 update_cs43xx_center_lfe_mix(struct oxygen *chip, bool mixed) update_cs43xx_center_lfe_mix() argument
296 struct oxygen *chip = ctl->private_data; rolloff_get() local
307 struct oxygen *chip = ctl->private_data; rolloff_put() local
339 xonar_d1_line_mic_ac97_switch(struct oxygen *chip, unsigned int reg, unsigned int mute) xonar_d1_line_mic_ac97_switch() argument
353 xonar_d1_mixer_init(struct oxygen *chip) xonar_d1_mixer_init() argument
377 dump_d1_registers(struct oxygen *chip, struct snd_info_buffer *buffer) dump_d1_registers() argument
423 get_xonar_cs43xx_model(struct oxygen *chip, const struct pci_device_id *id) get_xonar_cs43xx_model() argument
[all...]
/kernel/linux/linux-5.10/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf_pcm.c19 static int pdacf_pcm_clear_sram(struct snd_pdacf *chip) in pdacf_pcm_clear_sram() argument
23 while (inw(chip->port + PDAUDIOCF_REG_RDP) != inw(chip->port + PDAUDIOCF_REG_WDP)) { in pdacf_pcm_clear_sram()
26 inw(chip->port + PDAUDIOCF_REG_MD); in pdacf_pcm_clear_sram()
36 struct snd_pdacf *chip = snd_pcm_substream_chip(subs); in pdacf_pcm_trigger() local
41 if (chip->chip_status & PDAUDIOCF_STAT_IS_STALE) in pdacf_pcm_trigger()
46 chip->pcm_hwptr = 0; in pdacf_pcm_trigger()
47 chip->pcm_tdone = 0; in pdacf_pcm_trigger()
54 rate = snd_ak4117_check_rate_and_errors(chip->ak4117, AK4117_CHECK_NO_STAT|AK4117_CHECK_NO_RATE); in pdacf_pcm_trigger()
67 mutex_lock(&chip in pdacf_pcm_trigger()
91 struct snd_pdacf *chip = snd_pcm_substream_chip(subs); pdacf_pcm_prepare() local
199 struct snd_pdacf *chip = snd_pcm_substream_chip(subs); pdacf_pcm_capture_open() local
216 struct snd_pdacf *chip = snd_pcm_substream_chip(subs); pdacf_pcm_capture_close() local
231 struct snd_pdacf *chip = snd_pcm_substream_chip(subs); pdacf_pcm_capture_pointer() local
250 snd_pdacf_pcm_new(struct snd_pdacf *chip) snd_pdacf_pcm_new() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/misc/
H A Dqcom_eud.c63 struct eud_chip *chip = dev_get_drvdata(dev); in enable_show() local
65 return sysfs_emit(buf, "%d\n", chip->enabled); in enable_show()
72 struct eud_chip *chip = dev_get_drvdata(dev); in enable_store() local
80 ret = enable_eud(chip); in enable_store()
82 chip->enabled = enable; in enable_store()
84 disable_eud(chip); in enable_store()
86 disable_eud(chip); in enable_store()
100 static void usb_attach_detach(struct eud_chip *chip) in usb_attach_detach() argument
105 reg = readl(chip->base + EUD_REG_CTL_OUT_1); in usb_attach_detach()
106 chip in usb_attach_detach()
109 pet_eud(struct eud_chip *chip) pet_eud() argument
136 struct eud_chip *chip = data; handle_eud_irq() local
154 struct eud_chip *chip = data; handle_eud_irq_thread() local
173 struct eud_chip *chip = data; eud_role_switch_release() local
180 struct eud_chip *chip; eud_probe() local
222 struct eud_chip *chip = platform_get_drvdata(pdev); eud_remove() local
[all...]
/kernel/linux/linux-6.6/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf_pcm.c19 static int pdacf_pcm_clear_sram(struct snd_pdacf *chip) in pdacf_pcm_clear_sram() argument
23 while (inw(chip->port + PDAUDIOCF_REG_RDP) != inw(chip->port + PDAUDIOCF_REG_WDP)) { in pdacf_pcm_clear_sram()
26 inw(chip->port + PDAUDIOCF_REG_MD); in pdacf_pcm_clear_sram()
36 struct snd_pdacf *chip = snd_pcm_substream_chip(subs); in pdacf_pcm_trigger() local
41 if (chip->chip_status & PDAUDIOCF_STAT_IS_STALE) in pdacf_pcm_trigger()
46 chip->pcm_hwptr = 0; in pdacf_pcm_trigger()
47 chip->pcm_tdone = 0; in pdacf_pcm_trigger()
54 rate = snd_ak4117_check_rate_and_errors(chip->ak4117, AK4117_CHECK_NO_STAT|AK4117_CHECK_NO_RATE); in pdacf_pcm_trigger()
67 mutex_lock(&chip in pdacf_pcm_trigger()
91 struct snd_pdacf *chip = snd_pcm_substream_chip(subs); pdacf_pcm_prepare() local
199 struct snd_pdacf *chip = snd_pcm_substream_chip(subs); pdacf_pcm_capture_open() local
216 struct snd_pdacf *chip = snd_pcm_substream_chip(subs); pdacf_pcm_capture_close() local
231 struct snd_pdacf *chip = snd_pcm_substream_chip(subs); pdacf_pcm_capture_pointer() local
250 snd_pdacf_pcm_new(struct snd_pdacf *chip) snd_pdacf_pcm_new() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpio-max732x.c154 static int max732x_writeb(struct max732x_chip *chip, int group_a, uint8_t val) in max732x_writeb() argument
159 client = group_a ? chip->client_group_a : chip->client_group_b; in max732x_writeb()
169 static int max732x_readb(struct max732x_chip *chip, int group_a, uint8_t *val) in max732x_readb() argument
174 client = group_a ? chip->client_group_a : chip->client_group_b; in max732x_readb()
185 static inline int is_group_a(struct max732x_chip *chip, unsigned off) in is_group_a() argument
187 return (1u << off) & chip->mask_group_a; in is_group_a()
192 struct max732x_chip *chip = gpiochip_get_data(gc); in max732x_gpio_get_value() local
196 ret = max732x_readb(chip, is_group_ in max732x_gpio_get_value()
206 struct max732x_chip *chip = gpiochip_get_data(gc); max732x_gpio_set_mask() local
250 struct max732x_chip *chip = gpiochip_get_data(gc); max732x_gpio_direction_input() local
272 struct max732x_chip *chip = gpiochip_get_data(gc); max732x_gpio_direction_output() local
286 max732x_writew(struct max732x_chip *chip, uint16_t val) max732x_writew() argument
301 max732x_readw(struct max732x_chip *chip, uint16_t *val) max732x_readw() argument
315 max732x_irq_update_mask(struct max732x_chip *chip) max732x_irq_update_mask() argument
347 struct max732x_chip *chip = gpiochip_get_data(gc); max732x_irq_mask() local
356 struct max732x_chip *chip = gpiochip_get_data(gc); max732x_irq_unmask() local
365 struct max732x_chip *chip = gpiochip_get_data(gc); max732x_irq_bus_lock() local
374 struct max732x_chip *chip = gpiochip_get_data(gc); max732x_irq_bus_sync_unlock() local
393 struct max732x_chip *chip = gpiochip_get_data(gc); max732x_irq_set_type() local
424 struct max732x_chip *chip = irq_data_get_irq_chip_data(data); max732x_irq_set_wake() local
442 max732x_irq_pending(struct max732x_chip *chip) max732x_irq_pending() argument
475 struct max732x_chip *chip = devid; max732x_irq_handler() local
495 max732x_irq_setup(struct max732x_chip *chip, const struct i2c_device_id *id) max732x_irq_setup() argument
535 max732x_irq_setup(struct max732x_chip *chip, const struct i2c_device_id *id) max732x_irq_setup() argument
548 max732x_setup_gpio(struct max732x_chip *chip, const struct i2c_device_id *id, unsigned gpio_start) max732x_setup_gpio() argument
616 struct max732x_chip *chip; max732x_probe() local
[all...]
/kernel/linux/linux-6.6/sound/pci/
H A Dcs4281.c60 #define BA0_HISR_GPPI (1<<5) /* General Purpose Input (Primary chip) */
61 #define BA0_HISR_GPSI (1<<4) /* General Purpose Input (Secondary chip) */
498 static inline void snd_cs4281_pokeBA0(struct cs4281 *chip, unsigned long offset, in snd_cs4281_pokeBA0() argument
501 writel(val, chip->ba0 + offset); in snd_cs4281_pokeBA0()
504 static inline unsigned int snd_cs4281_peekBA0(struct cs4281 *chip, unsigned long offset) in snd_cs4281_peekBA0() argument
506 return readl(chip->ba0 + offset); in snd_cs4281_peekBA0()
519 struct cs4281 *chip = ac97->private_data; in snd_cs4281_ac97_write() local
534 snd_cs4281_pokeBA0(chip, BA0_ACCAD, reg); in snd_cs4281_ac97_write()
535 snd_cs4281_pokeBA0(chip, BA0_ACCDA, val); in snd_cs4281_ac97_write()
536 snd_cs4281_pokeBA0(chip, BA0_ACCT in snd_cs4281_ac97_write()
558 struct cs4281 *chip = ac97->private_data; snd_cs4281_ac97_read() local
655 struct cs4281 *chip = snd_pcm_substream_chip(substream); snd_cs4281_trigger() local
717 snd_cs4281_mode(struct cs4281 *chip, struct cs4281_dma *dma, struct snd_pcm_runtime *runtime, int capture, int src) snd_cs4281_mode() argument
786 struct cs4281 *chip = snd_pcm_substream_chip(substream); snd_cs4281_playback_prepare() local
798 struct cs4281 *chip = snd_pcm_substream_chip(substream); snd_cs4281_capture_prepare() local
810 struct cs4281 *chip = snd_pcm_substream_chip(substream); snd_cs4281_pointer() local
874 struct cs4281 *chip = snd_pcm_substream_chip(substream); snd_cs4281_playback_open() local
893 struct cs4281 *chip = snd_pcm_substream_chip(substream); snd_cs4281_capture_open() local
942 snd_cs4281_pcm(struct cs4281 *chip, int device) snd_cs4281_pcm() argument
984 struct cs4281 *chip = snd_kcontrol_chip(kcontrol); snd_cs4281_get_volume() local
1000 struct cs4281 *chip = snd_kcontrol_chip(kcontrol); snd_cs4281_put_volume() local
1048 struct cs4281 *chip = bus->private_data; snd_cs4281_mixer_free_ac97_bus() local
1054 struct cs4281 *chip = ac97->private_data; snd_cs4281_mixer_free_ac97() local
1061 snd_cs4281_mixer(struct cs4281 *chip) snd_cs4281_mixer() argument
1105 struct cs4281 *chip = entry->private_data; snd_cs4281_proc_read() local
1117 struct cs4281 *chip = entry->private_data; snd_cs4281_BA0_read() local
1129 struct cs4281 *chip = entry->private_data; snd_cs4281_BA1_read() local
1144 snd_cs4281_proc_init(struct cs4281 *chip) snd_cs4281_proc_init() argument
1171 struct cs4281 *chip = gameport_get_port_data(gameport); snd_cs4281_gameport_trigger() local
1180 struct cs4281 *chip = gameport_get_port_data(gameport); snd_cs4281_gameport_read() local
1191 struct cs4281 *chip = gameport_get_port_data(gameport); snd_cs4281_gameport_cooked_read() local
1231 snd_cs4281_create_gameport(struct cs4281 *chip) snd_cs4281_create_gameport() argument
1259 snd_cs4281_free_gameport(struct cs4281 *chip) snd_cs4281_free_gameport() argument
1267 snd_cs4281_create_gameport(struct cs4281 *chip) snd_cs4281_create_gameport() argument
1268 snd_cs4281_free_gameport(struct cs4281 *chip) snd_cs4281_free_gameport() argument
1273 struct cs4281 *chip = card->private_data; snd_cs4281_free() local
1291 struct cs4281 *chip = card->private_data; snd_cs4281_create() local
1334 snd_cs4281_chip_init(struct cs4281 *chip) snd_cs4281_chip_init() argument
1574 snd_cs4281_midi_reset(struct cs4281 *chip) snd_cs4281_midi_reset() argument
1583 struct cs4281 *chip = substream->rmidi->private_data; snd_cs4281_midi_input_open() local
1599 struct cs4281 *chip = substream->rmidi->private_data; snd_cs4281_midi_input_close() local
1616 struct cs4281 *chip = substream->rmidi->private_data; snd_cs4281_midi_output_open() local
1633 struct cs4281 *chip = substream->rmidi->private_data; snd_cs4281_midi_output_close() local
1651 struct cs4281 *chip = substream->rmidi->private_data; snd_cs4281_midi_input_trigger() local
1671 struct cs4281 *chip = substream->rmidi->private_data; snd_cs4281_midi_output_trigger() local
1712 snd_cs4281_midi(struct cs4281 *chip, int device) snd_cs4281_midi() argument
1735 struct cs4281 *chip = dev_id; snd_cs4281_interrupt() local
1811 struct cs4281 *chip = opl3->private_data; snd_cs4281_opl3_command() local
1835 struct cs4281 *chip; __snd_cs4281_probe() local
1923 struct cs4281 *chip = card->private_data; cs4281_suspend() local
1964 struct cs4281 *chip = card->private_data; cs4281_resume() local
[all...]
/kernel/linux/linux-5.10/sound/pci/aw2/
H A Daw2-alsa.c79 struct aw2 *chip; member
122 static int snd_aw2_new_pcm(struct aw2 *chip);
201 struct aw2 *chip = device->device_data; in snd_aw2_dev_free() local
204 snd_aw2_saa7146_free(&chip->saa7146); in snd_aw2_dev_free()
207 if (chip->irq >= 0) in snd_aw2_dev_free()
208 free_irq(chip->irq, (void *)chip); in snd_aw2_dev_free()
210 iounmap(chip->iobase_virt); in snd_aw2_dev_free()
211 pci_release_regions(chip->pci); in snd_aw2_dev_free()
213 pci_disable_device(chip in snd_aw2_dev_free()
224 struct aw2 *chip; snd_aw2_create() local
315 struct aw2 *chip; snd_aw2_probe() local
410 struct aw2 *chip = pcm_device->chip; snd_aw2_pcm_prepare_playback() local
439 struct aw2 *chip = pcm_device->chip; snd_aw2_pcm_prepare_capture() local
470 struct aw2 *chip = pcm_device->chip; snd_aw2_pcm_trigger_playback() local
496 struct aw2 *chip = pcm_device->chip; snd_aw2_pcm_trigger_capture() local
521 struct aw2 *chip = pcm_device->chip; snd_aw2_pcm_pointer_playback() local
540 struct aw2 *chip = pcm_device->chip; snd_aw2_pcm_pointer_capture() local
555 snd_aw2_new_pcm(struct aw2 *chip) snd_aw2_new_pcm() argument
685 struct aw2 *chip = snd_kcontrol_chip(kcontrol); snd_aw2_control_switch_capture_get() local
697 struct aw2 *chip = snd_kcontrol_chip(kcontrol); snd_aw2_control_switch_capture_put() local
[all...]
/kernel/linux/linux-6.6/drivers/thermal/qcom/
H A Dqcom-spmi-temp-alarm.c79 /* protects .thresh, .stage and chip registers */
90 static int qpnp_tm_read(struct qpnp_tm_chip *chip, u16 addr, u8 *data) in qpnp_tm_read() argument
95 ret = regmap_read(chip->map, chip->base + addr, &val); in qpnp_tm_read()
103 static int qpnp_tm_write(struct qpnp_tm_chip *chip, u16 addr, u8 data) in qpnp_tm_write() argument
105 return regmap_write(chip->map, chip->base + addr, data); in qpnp_tm_write()
111 * @chip: Pointer to the qpnp_tm chip
116 static long qpnp_tm_decode_temp(struct qpnp_tm_chip *chip, unsigne argument
131 qpnp_tm_get_temp_stage(struct qpnp_tm_chip *chip) qpnp_tm_get_temp_stage() argument
152 qpnp_tm_update_temp_no_adc(struct qpnp_tm_chip *chip) qpnp_tm_update_temp_no_adc() argument
189 struct qpnp_tm_chip *chip = thermal_zone_device_priv(tz); qpnp_tm_get_temp() local
219 qpnp_tm_update_critical_trip_temp(struct qpnp_tm_chip *chip, int temp) qpnp_tm_update_critical_trip_temp() argument
267 struct qpnp_tm_chip *chip = thermal_zone_device_priv(tz); qpnp_tm_set_trip_temp() local
292 struct qpnp_tm_chip *chip = data; qpnp_tm_isr() local
299 qpnp_tm_get_critical_trip_temp(struct qpnp_tm_chip *chip) qpnp_tm_get_critical_trip_temp() argument
322 qpnp_tm_init(struct qpnp_tm_chip *chip) qpnp_tm_init() argument
372 struct qpnp_tm_chip *chip; qpnp_tm_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/iio/light/
H A Dtsl2583.c125 static void tsl2583_defaults(struct tsl2583_chip *chip) in tsl2583_defaults() argument
131 chip->als_settings.als_time = 100; in tsl2583_defaults()
137 chip->als_settings.als_gain = 0; in tsl2583_defaults()
140 chip->als_settings.als_gain_trim = 1000; in tsl2583_defaults()
143 chip->als_settings.als_cal_target = 130; in tsl2583_defaults()
146 memcpy(chip->als_settings.als_device_lux, tsl2583_default_lux, in tsl2583_defaults()
171 struct tsl2583_chip *chip = iio_priv(indio_dev); in tsl2583_get_lux() local
174 ret = i2c_smbus_read_byte_data(chip->client, TSL2583_CMD_REG); in tsl2583_get_lux()
176 dev_err(&chip->client->dev, "%s: failed to read CMD_REG register\n", in tsl2583_get_lux()
183 dev_err(&chip in tsl2583_get_lux()
310 struct tsl2583_chip *chip = iio_priv(indio_dev); tsl2583_als_calibrate() local
366 tsl2583_set_als_time(struct tsl2583_chip *chip) tsl2583_set_als_time() argument
396 tsl2583_set_als_gain(struct tsl2583_chip *chip) tsl2583_set_als_gain() argument
412 tsl2583_set_power_state(struct tsl2583_chip *chip, u8 state) tsl2583_set_power_state() argument
432 struct tsl2583_chip *chip = iio_priv(indio_dev); tsl2583_chip_init_and_power_on() local
474 struct tsl2583_chip *chip = iio_priv(indio_dev); in_illuminance_input_target_show() local
489 struct tsl2583_chip *chip = iio_priv(indio_dev); in_illuminance_input_target_store() local
507 struct tsl2583_chip *chip = iio_priv(indio_dev); in_illuminance_calibrate_store() local
531 struct tsl2583_chip *chip = iio_priv(indio_dev); in_illuminance_lux_table_show() local
560 struct tsl2583_chip *chip = iio_priv(indio_dev); in_illuminance_lux_table_store() local
642 tsl2583_set_pm_runtime_busy(struct tsl2583_chip *chip, bool on) tsl2583_set_pm_runtime_busy() argument
660 struct tsl2583_chip *chip = iio_priv(indio_dev); tsl2583_read_raw() local
751 struct tsl2583_chip *chip = iio_priv(indio_dev); tsl2583_write_raw() local
815 struct tsl2583_chip *chip; tsl2583_probe() local
878 struct tsl2583_chip *chip = iio_priv(indio_dev); tsl2583_remove() local
891 struct tsl2583_chip *chip = iio_priv(indio_dev); tsl2583_suspend() local
906 struct tsl2583_chip *chip = iio_priv(indio_dev); tsl2583_resume() local
[all...]
/kernel/linux/linux-5.10/drivers/iio/light/
H A Dtsl2583.c125 static void tsl2583_defaults(struct tsl2583_chip *chip) in tsl2583_defaults() argument
131 chip->als_settings.als_time = 100; in tsl2583_defaults()
137 chip->als_settings.als_gain = 0; in tsl2583_defaults()
140 chip->als_settings.als_gain_trim = 1000; in tsl2583_defaults()
143 chip->als_settings.als_cal_target = 130; in tsl2583_defaults()
146 memcpy(chip->als_settings.als_device_lux, tsl2583_default_lux, in tsl2583_defaults()
171 struct tsl2583_chip *chip = iio_priv(indio_dev); in tsl2583_get_lux() local
174 ret = i2c_smbus_read_byte_data(chip->client, TSL2583_CMD_REG); in tsl2583_get_lux()
176 dev_err(&chip->client->dev, "%s: failed to read CMD_REG register\n", in tsl2583_get_lux()
183 dev_err(&chip in tsl2583_get_lux()
310 struct tsl2583_chip *chip = iio_priv(indio_dev); tsl2583_als_calibrate() local
366 tsl2583_set_als_time(struct tsl2583_chip *chip) tsl2583_set_als_time() argument
396 tsl2583_set_als_gain(struct tsl2583_chip *chip) tsl2583_set_als_gain() argument
412 tsl2583_set_power_state(struct tsl2583_chip *chip, u8 state) tsl2583_set_power_state() argument
432 struct tsl2583_chip *chip = iio_priv(indio_dev); tsl2583_chip_init_and_power_on() local
474 struct tsl2583_chip *chip = iio_priv(indio_dev); in_illuminance_input_target_show() local
489 struct tsl2583_chip *chip = iio_priv(indio_dev); in_illuminance_input_target_store() local
507 struct tsl2583_chip *chip = iio_priv(indio_dev); in_illuminance_calibrate_store() local
531 struct tsl2583_chip *chip = iio_priv(indio_dev); in_illuminance_lux_table_show() local
560 struct tsl2583_chip *chip = iio_priv(indio_dev); in_illuminance_lux_table_store() local
642 tsl2583_set_pm_runtime_busy(struct tsl2583_chip *chip, bool on) tsl2583_set_pm_runtime_busy() argument
662 struct tsl2583_chip *chip = iio_priv(indio_dev); tsl2583_read_raw() local
751 struct tsl2583_chip *chip = iio_priv(indio_dev); tsl2583_write_raw() local
814 struct tsl2583_chip *chip; tsl2583_probe() local
877 struct tsl2583_chip *chip = iio_priv(indio_dev); tsl2583_remove() local
891 struct tsl2583_chip *chip = iio_priv(indio_dev); tsl2583_suspend() local
906 struct tsl2583_chip *chip = iio_priv(indio_dev); tsl2583_resume() local
[all...]

Completed in 26 milliseconds

12345678910>>...136