| /linux/drivers/net/dsa/mv88e6xxx/ |
| H A D | global1.c | 16 int mv88e6xxx_g1_read(struct mv88e6xxx_chip *chip, int reg, u16 *val) in mv88e6xxx_g1_read() 23 int mv88e6xxx_g1_write(struct mv88e6xxx_chip *chip, int reg, u16 val) in mv88e6xxx_g1_write() 30 int mv88e6xxx_g1_wait_bit(struct mv88e6xxx_chip *chip, int reg, int in mv88e6xxx_g1_wait_bit() 37 int mv88e6xxx_g1_wait_mask(struct mv88e6xxx_chip *chip, int reg, in mv88e6xxx_g1_wait_mask() 46 static int mv88e6185_g1_wait_ppu_disabled(struct mv88e6xxx_chip *chip) in mv88e6185_g1_wait_ppu_disabled() 53 static int mv88e6185_g1_wait_ppu_polling(struct mv88e6xxx_chip *chip) in mv88e6185_g1_wait_ppu_polling() 60 static int mv88e6352_g1_wait_ppu_polling(struct mv88e6xxx_chip *chip) in mv88e6352_g1_wait_ppu_polling() 67 static int mv88e6xxx_g1_wait_init_ready(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_wait_init_ready() 78 static int mv88e6250_g1_eeprom_reload(struct mv88e6xxx_chip *chip) in mv88e6250_g1_eeprom_reload() 99 static int mv88e6xxx_g1_is_eeprom_done(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_is_eeprom_done() [all …]
|
| H A D | global2.c | 19 int mv88e6xxx_g2_read(struct mv88e6xxx_chip *chip, int reg, u16 *val) in mv88e6xxx_g2_read() 24 int mv88e6xxx_g2_write(struct mv88e6xxx_chip *chip, int reg, u16 val) in mv88e6xxx_g2_write() 29 int mv88e6xxx_g2_wait_bit(struct mv88e6xxx_chip *chip, int reg, int in mv88e6xxx_g2_wait_bit() 38 static int mv88e6xxx_g2_int_source(struct mv88e6xxx_chip *chip, u16 *src) in mv88e6xxx_g2_int_source() 46 static int mv88e6xxx_g2_int_mask(struct mv88e6xxx_chip *chip, u16 mask) in mv88e6xxx_g2_int_mask() 53 static int mv88e6xxx_g2_mgmt_enable_2x(struct mv88e6xxx_chip *chip, u16 en2x) in mv88e6xxx_g2_mgmt_enable_2x() 60 static int mv88e6xxx_g2_mgmt_enable_0x(struct mv88e6xxx_chip *chip, u16 en0x) in mv88e6xxx_g2_mgmt_enable_0x() 67 static int mv88e6xxx_g2_switch_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip, in mv88e6xxx_g2_switch_mgmt_rsvd2cpu() 85 int mv88e6185_g2_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip) in mv88e6185_g2_mgmt_rsvd2cpu() 99 int mv88e6352_g2_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip) in mv88e6352_g2_mgmt_rsvd2cpu() [all …]
|
| H A D | chip.c | 49 static void assert_reg_lock(struct mv88e6xxx_chip *chip) in assert_reg_lock() 57 int mv88e6xxx_read(struct mv88e6xxx_chip *chip, int addr, int reg, u16 *val) in mv88e6xxx_read() 73 int mv88e6xxx_write(struct mv88e6xxx_chip *chip, int addr, int reg, u16 val) in mv88e6xxx_write() 89 int mv88e6xxx_wait_mask(struct mv88e6xxx_chip *chip, int addr, int reg, in mv88e6xxx_wait_mask() 126 int mv88e6xxx_wait_bit(struct mv88e6xxx_chip *chip, int addr, int reg, in mv88e6xxx_wait_bit() 133 struct mii_bus *mv88e6xxx_default_mdio_bus(struct mv88e6xxx_chip *chip) in mv88e6xxx_default_mdio_bus() 147 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); in mv88e6xxx_g1_irq_mask() local 155 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); in mv88e6xxx_g1_irq_unmask() local 161 static irqreturn_t mv88e6xxx_g1_irq_thread_work(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_irq_thread_work() 205 struct mv88e6xxx_chip *chip = dev_id; in mv88e6xxx_g1_irq_thread_fn() local [all …]
|
| H A D | phy.c | 16 int mv88e6165_phy_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus, in mv88e6165_phy_read() 22 int mv88e6165_phy_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus, in mv88e6165_phy_write() 28 int mv88e6xxx_phy_read(struct mv88e6xxx_chip *chip, int phy, int reg, u16 *val) in mv88e6xxx_phy_read() 43 int mv88e6xxx_phy_write(struct mv88e6xxx_chip *chip, int phy, int reg, u16 val) in mv88e6xxx_phy_write() 58 int mv88e6xxx_phy_read_c45(struct mv88e6xxx_chip *chip, int phy, int devad, in mv88e6xxx_phy_read_c45() 74 int mv88e6xxx_phy_write_c45(struct mv88e6xxx_chip *chip, int phy, int devad, in mv88e6xxx_phy_write_c45() 90 static int mv88e6xxx_phy_page_get(struct mv88e6xxx_chip *chip, int phy, u8 page) in mv88e6xxx_phy_page_get() 95 static void mv88e6xxx_phy_page_put(struct mv88e6xxx_chip *chip, int phy) in mv88e6xxx_phy_page_put() 111 int mv88e6xxx_phy_page_read(struct mv88e6xxx_chip *chip, int phy, in mv88e6xxx_phy_page_read() 129 int mv88e6xxx_phy_page_write(struct mv88e6xxx_chip *chip, int phy, in mv88e6xxx_phy_page_write() [all …]
|
| H A D | global1_atu.c | 20 static int mv88e6xxx_g1_atu_fid_write(struct mv88e6xxx_chip *chip, u16 fid) 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() 44 int mv88e6xxx_g1_atu_set_age_time(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_atu_set_age_time() 78 int mv88e6165_g1_atu_get_hash(struct mv88e6xxx_chip *chip, u8 *hash) in mv88e6165_g1_atu_get_hash() 92 int mv88e6165_g1_atu_set_hash(struct mv88e6xxx_chip *chip, u8 hash) in mv88e6165_g1_atu_set_hash() 112 static int mv88e6xxx_g1_atu_op_wait(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_atu_op_wait() 119 static int mv88e6xxx_g1_read_atu_violation(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_read_atu_violation() 132 static int mv88e6xxx_g1_atu_op(struct mv88e6xxx_chip *chip, u16 fid, u16 op) in mv88e6xxx_g1_atu_op() 172 int mv88e6xxx_g1_atu_get_next(struct mv88e6xxx_chip *chip, u16 fid) in mv88e6xxx_g1_atu_get_next() 177 static int mv88e6xxx_g1_atu_fid_read(struct mv88e6xxx_chip *chip, u16 *fid) in mv88e6xxx_g1_atu_fid_read() [all …]
|
| H A D | global2_avb.c | 32 static int mv88e6xxx_g2_avb_wait(struct mv88e6xxx_chip *chip) in mv88e6xxx_g2_avb_wait() 39 static int mv88e6xxx_g2_avb_read(struct mv88e6xxx_chip *chip, u16 readop, in mv88e6xxx_g2_avb_read() 73 static int mv88e6xxx_g2_avb_write(struct mv88e6xxx_chip *chip, u16 writeop, in mv88e6xxx_g2_avb_write() 92 static int mv88e6352_g2_avb_port_ptp_read(struct mv88e6xxx_chip *chip, in mv88e6352_g2_avb_port_ptp_read() 104 static int mv88e6352_g2_avb_port_ptp_write(struct mv88e6xxx_chip *chip, in mv88e6352_g2_avb_port_ptp_write() 113 static int mv88e6352_g2_avb_ptp_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_ptp_read() 121 static int mv88e6352_g2_avb_ptp_write(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_ptp_write() 129 static int mv88e6352_g2_avb_tai_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_tai_read() 137 static int mv88e6352_g2_avb_tai_write(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_tai_write() 154 static int mv88e6165_g2_avb_tai_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6165_g2_avb_tai_read() [all …]
|
| /linux/drivers/net/wireless/zydas/zd1211rw/ |
| H A D | zd_chip.c | 22 void zd_chip_init(struct zd_chip *chip, in zd_chip_init() 32 void zd_chip_clear(struct zd_chip *chip) in zd_chip_clear() 41 static int scnprint_mac_oui(struct zd_chip *chip, char *buffer, size_t size) in scnprint_mac_oui() 48 static int scnprint_id(struct zd_chip *chip, char *buffer, size_t size) in scnprint_id() 68 static void print_id(struct zd_chip *chip) in print_id() 92 int zd_ioread32v_locked(struct zd_chip *chip, u32 *values, const zd_addr_t *addr, in zd_ioread32v_locked() 131 static int _zd_iowrite32v_async_locked(struct zd_chip *chip, in _zd_iowrite32v_async_locked() 170 int _zd_iowrite32v_locked(struct zd_chip *chip, const struct zd_ioreq32 *ioreqs, in _zd_iowrite32v_locked() 184 int zd_iowrite16a_locked(struct zd_chip *chip, in zd_iowrite16a_locked() 222 int zd_iowrite32a_locked(struct zd_chip *chip, in zd_iowrite32a_locked() [all …]
|
| /linux/drivers/char/tpm/ |
| H A D | tpm-chip.c | 40 static int tpm_request_locality(struct tpm_chip *chip) in tpm_request_locality() 55 static void tpm_relinquish_locality(struct tpm_chip *chip) in tpm_relinquish_locality() 69 static int tpm_cmd_ready(struct tpm_chip *chip) in tpm_cmd_ready() 77 static int tpm_go_idle(struct tpm_chip *chip) in tpm_go_idle() 85 static void tpm_clk_enable(struct tpm_chip *chip) in tpm_clk_enable() 91 static void tpm_clk_disable(struct tpm_chip *chip) in tpm_clk_disable() 105 int tpm_chip_start(struct tpm_chip *chip) in tpm_chip_start() 138 void tpm_chip_stop(struct tpm_chip *chip) in tpm_chip_stop() 157 int tpm_try_get_ops(struct tpm_chip *chip) in tpm_try_get_ops() 197 void tpm_put_ops(struct tpm_chip *chip) in tpm_put_ops() [all …]
|
| H A D | tpm-interface.c | 52 unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal) in tpm_calc_ordinal_duration() argument 61 static void tpm_chip_cancel(struct tpm_chip *chip) in tpm_chip_cancel() argument 69 tpm_chip_status(struct tpm_chip * chip) tpm_chip_status() argument 77 tpm_chip_req_canceled(struct tpm_chip * chip,u8 status) tpm_chip_req_canceled() argument 85 tpm_transmit_completed(u8 status,struct tpm_chip * chip) tpm_transmit_completed() argument 92 tpm_try_transmit(struct tpm_chip * chip,void * buf,size_t bufsiz) tpm_try_transmit() argument 204 tpm_transmit(struct tpm_chip * chip,u8 * buf,size_t bufsiz) tpm_transmit() argument 264 tpm_transmit_cmd(struct tpm_chip * chip,struct tpm_buf * buf,size_t min_rsp_body_length,const char * desc) tpm_transmit_cmd() argument 291 tpm_get_timeouts(struct tpm_chip * chip) tpm_get_timeouts() argument 312 tpm_is_tpm2(struct tpm_chip * chip) tpm_is_tpm2() argument 339 tpm_pcr_read(struct tpm_chip * chip,u32 pcr_idx,struct tpm_digest * digest) tpm_pcr_read() argument 372 tpm_pcr_extend(struct tpm_chip * chip,u32 pcr_idx,struct tpm_digest * digests) tpm_pcr_extend() argument 406 tpm_auto_startup(struct tpm_chip * chip) tpm_auto_startup() argument 427 struct tpm_chip *chip = dev_get_drvdata(dev); tpm_pm_suspend() local 472 struct tpm_chip *chip = dev_get_drvdata(dev); tpm_pm_resume() local 497 tpm_get_random(struct tpm_chip * chip,u8 * out,size_t max) tpm_get_random() argument [all...] |
| /linux/sound/pci/echoaudio/ |
| H A D | echoaudio_dsp.c | 27 static int wait_handshake(struct echoaudio *chip) in wait_handshake() 51 static int send_vector(struct echoaudio *chip, u32 command) in send_vector() 76 static int write_dsp(struct echoaudio *chip, u32 data) in write_dsp() 100 static int read_dsp(struct echoaudio *chip, u32 *data) in read_dsp() 130 static int read_sn(struct echoaudio *chip) in read_sn() 152 static inline int check_asic_status(struct echoaudio *chip) in check_asic_status() 165 static int load_asic_generic(struct echoaudio *chip, u32 cmd, short asic) in load_asic_generic() 212 static int install_resident_loader(struct echoaudio *chip) in install_resident_loader() 320 static int load_dsp(struct echoaudio *chip, u16 *code) in load_dsp() 474 static int load_firmware(struct echoaudio *chip) in load_firmware() [all …]
|
| H A D | echoaudio.c | 33 struct echoaudio *chip, const short fw_index) in get_firmware() 61 struct echoaudio *chip) in free_firmware() 68 static void free_firmware_cache(struct echoaudio *chip) in free_firmware_cache() 236 struct echoaudio *chip = rule->private; in hw_rule_sample_rate() local 257 struct echoaudio *chip; in pcm_open() local 351 struct echoaudio *chip = snd_pcm_substream_chip(substream); in pcm_analog_in_open() local 378 struct echoaudio *chip = snd_pcm_substream_chip(substream); in pcm_analog_out_open() local 413 struct echoaudio *chip = snd_pcm_substream_chip(substream); in pcm_digital_in_open() local 450 struct echoaudio *chip = snd_pcm_substream_chip(substream); in pcm_digital_out_open() local 491 struct echoaudio *chip = snd_pcm_substream_chip(substream); in pcm_close() local [all …]
|
| H A D | layla20_dsp.c | 24 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) in init_hw() 59 static int set_mixer_defaults(struct echoaudio *chip) in set_mixer_defaults() 67 static u32 detect_input_clocks(const struct echoaudio *chip) in detect_input_clocks() 98 static int check_asic_status(struct echoaudio *chip) in check_asic_status() 128 static int load_asic(struct echoaudio *chip) in load_asic() 146 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate() 173 static int set_input_clock(struct echoaudio *chip, u16 clock_source) in set_input_clock() 213 static int set_output_clock(struct echoaudio *chip, u16 clock) in set_output_clock() 239 static int set_input_gain(struct echoaudio *chip, u16 input, int gain) in set_input_gain() 256 static int update_flags(struct echoaudio *chip) in update_flags() [all …]
|
| /linux/sound/ppc/ |
| H A D | pmac.c | 50 static int snd_pmac_dbdma_alloc(struct snd_pmac *chip, struct pmac_dbdma *rec, int size) in snd_pmac_dbdma_alloc() 66 static void snd_pmac_dbdma_free(struct snd_pmac *chip, struct pmac_dbdma *rec) in snd_pmac_dbdma_free() 84 unsigned int snd_pmac_rate_index(struct snd_pmac *chip, struct pmac_stream *rec, unsigned int rate) in snd_pmac_rate_index() 113 static struct pmac_stream *snd_pmac_get_stream(struct snd_pmac *chip, int stream) in snd_pmac_get_stream() 141 static void snd_pmac_pcm_set_format(struct snd_pmac *chip) in snd_pmac_pcm_set_format() 179 static int snd_pmac_pcm_prepare(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_subs… in snd_pmac_pcm_prepare() 243 static int snd_pmac_pcm_trigger(struct snd_pmac *chip, struct pmac_stream *rec, in snd_pmac_pcm_trigger() 289 static snd_pcm_uframes_t snd_pmac_pcm_pointer(struct snd_pmac *chip, in snd_pmac_pcm_pointer() 315 struct snd_pmac *chip = snd_pcm_substream_chip(subs); in snd_pmac_playback_prepare() local 322 struct snd_pmac *chip = snd_pcm_substream_chip(subs); in snd_pmac_playback_trigger() local [all …]
|
| /linux/sound/pci/cs46xx/ |
| H A D | cs46xx_lib.c | 74 static unsigned short snd_cs46xx_codec_read(struct snd_cs46xx *chip, in snd_cs46xx_codec_read() 204 struct snd_cs46xx *chip = ac97->private_data; in snd_cs46xx_ac97_read() local 218 static void snd_cs46xx_codec_write(struct snd_cs46xx *chip, in snd_cs46xx_codec_write() 289 struct snd_cs46xx *chip = ac97->private_data; in snd_cs46xx_ac97_write() local 304 int snd_cs46xx_download(struct snd_cs46xx *chip, in snd_cs46xx_download() 382 static int load_firmware(struct snd_cs46xx *chip, in load_firmware() 464 int snd_cs46xx_clear_BA1(struct snd_cs46xx *chip, in snd_cs46xx_clear_BA1() 497 static int load_firmware(struct snd_cs46xx *chip) in load_firmware() 524 static __maybe_unused int snd_cs46xx_download_image(struct snd_cs46xx *chip) in snd_cs46xx_download_image() 547 static void snd_cs46xx_reset(struct snd_cs46xx *chip) in snd_cs46xx_reset() [all …]
|
| H A D | dsp_spos_scb_lib.c | 27 struct snd_cs46xx *chip; member 30 static void remove_symbol (struct snd_cs46xx * chip, struct dsp_symbol_entry * symbol) in remove_symbol() 62 struct snd_cs46xx *chip = scb_info->chip; in cs46xx_dsp_proc_scb_info_read() local 97 static void _dsp_unlink_scb (struct snd_cs46xx *chip, struct dsp_scb_descriptor * scb) in _dsp_unlink_scb() 147 static void _dsp_clear_sample_buffer (struct snd_cs46xx *chip, u32 sample_buffer_addr, in _dsp_clear_sample_buffer() 159 void cs46xx_dsp_remove_scb (struct snd_cs46xx *chip, struct dsp_scb_descriptor * scb) in cs46xx_dsp_remove_scb() 210 struct snd_cs46xx *chip = scb_info->chip; in cs46xx_dsp_proc_free_scb_desc() local 223 void cs46xx_dsp_proc_register_scb_desc (struct snd_cs46xx *chip, in cs46xx_dsp_proc_register_scb_desc() 256 _dsp_create_generic_scb (struct snd_cs46xx *chip, char * name, u32 * scb_data, u32 dest, in _dsp_create_generic_scb() 330 cs46xx_dsp_create_generic_scb (struct snd_cs46xx *chip, char * name, u32 * scb_data, in cs46xx_dsp_create_generic_scb() [all …]
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | nand_legacy.c | 28 static uint8_t nand_read_byte(struct nand_chip *chip) in nand_read_byte() 40 static uint8_t nand_read_byte16(struct nand_chip *chip) in nand_read_byte16() 52 static void nand_select_chip(struct nand_chip *chip, int chipnr) in nand_select_chip() 74 static void nand_write_byte(struct nand_chip *chip, uint8_t byte) in nand_write_byte() 86 static void nand_write_byte16(struct nand_chip *chip, uint8_t byte) in nand_write_byte16() 117 static void nand_write_buf(struct nand_chip *chip, const uint8_t *buf, int len) in nand_write_buf() 130 static void nand_read_buf(struct nand_chip *chip, uint8_t *buf, int len) in nand_read_buf() 143 static void nand_write_buf16(struct nand_chip *chip, const uint8_t *buf, in nand_write_buf16() 159 static void nand_read_buf16(struct nand_chip *chip, uint8_t *buf, int len) in nand_read_buf16() 174 static void panic_nand_wait_ready(struct nand_chip *chip, unsigned long timeo) in panic_nand_wait_ready() [all …]
|
| /linux/sound/pci/ymfpci/ |
| H A D | ymfpci_main.c | 34 static inline void snd_ymfpci_writeb(struct snd_ymfpci *chip, u32 offset, u8 val) in snd_ymfpci_writeb() argument 39 static inline u16 snd_ymfpci_readw(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readw() argument 44 static inline void snd_ymfpci_writew(struct snd_ymfpci *chip, u32 offset, u16 val) in snd_ymfpci_writew() argument 49 static inline u32 snd_ymfpci_readl(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readl() argument 54 static inline void snd_ymfpci_writel(struct snd_ymfpci *chip, u3 argument 59 snd_ymfpci_codec_ready(struct snd_ymfpci * chip,int secondary) snd_ymfpci_codec_ready() argument 78 struct snd_ymfpci *chip = ac97->private_data; snd_ymfpci_codec_write() local 88 struct snd_ymfpci *chip = ac97->private_data; snd_ymfpci_codec_read() local 160 snd_ymfpci_hw_start(struct snd_ymfpci * chip) snd_ymfpci_hw_start() argument 170 snd_ymfpci_hw_stop(struct snd_ymfpci * chip) snd_ymfpci_hw_stop() argument 193 voice_alloc(struct snd_ymfpci * chip,enum snd_ymfpci_voice_type type,int pair,struct snd_ymfpci_voice ** rvoice) voice_alloc() argument 231 snd_ymfpci_voice_alloc(struct snd_ymfpci * chip,enum snd_ymfpci_voice_type type,int pair,struct snd_ymfpci_voice ** rvoice) snd_ymfpci_voice_alloc() argument 253 snd_ymfpci_voice_free(struct snd_ymfpci * chip,struct snd_ymfpci_voice * pvoice) snd_ymfpci_voice_free() argument 273 snd_ymfpci_pcm_interrupt(struct snd_ymfpci * chip,struct snd_ymfpci_voice * voice) snd_ymfpci_pcm_interrupt() argument 331 struct snd_ymfpci *chip = ypcm->chip; snd_ymfpci_pcm_capture_interrupt() local 361 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_trigger() local 401 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_capture_trigger() local 563 snd_ymfpci_ac3_init(struct snd_ymfpci * chip) snd_ymfpci_ac3_init() argument 584 snd_ymfpci_ac3_done(struct snd_ymfpci * chip) snd_ymfpci_ac3_done() argument 613 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_hw_free() local 636 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_prepare() local 660 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_capture_hw_free() local 669 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_capture_prepare() local 713 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_pointer() local 725 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_capture_pointer() local 734 snd_ymfpci_irq_wait(struct snd_ymfpci * chip) snd_ymfpci_irq_wait() argument 752 struct snd_ymfpci *chip = dev_id; snd_ymfpci_interrupt() local 851 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_open_1() local 879 ymfpci_open_extension(struct snd_ymfpci * chip) ymfpci_open_extension() argument 892 ymfpci_close_extension(struct snd_ymfpci * chip) ymfpci_close_extension() argument 905 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_open() local 927 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_spdif_open() local 956 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_4ch_open() local 977 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_capture_open() local 1024 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_close() local 1038 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_spdif_close() local 1055 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_4ch_close() local 1068 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_capture_close() local 1098 snd_ymfpci_pcm(struct snd_ymfpci * chip,int device) snd_ymfpci_pcm() argument 1132 snd_ymfpci_pcm2(struct snd_ymfpci * chip,int device) snd_ymfpci_pcm2() argument 1166 snd_ymfpci_pcm_spdif(struct snd_ymfpci * chip,int device) snd_ymfpci_pcm_spdif() argument 1207 snd_ymfpci_pcm_4ch(struct snd_ymfpci * chip,int device) snd_ymfpci_pcm_4ch() argument 1241 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_spdif_default_get() local 1253 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_spdif_default_put() local 1286 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_spdif_mask_get() local 1313 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_spdif_stream_get() local 1325 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_spdif_stream_put() local 1358 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_drec_source_get() local 1372 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_drec_source_put() local 1409 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_get_single() local 1427 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_put_single() local 1474 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_get_double() local 1490 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_put_double() local 1513 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_put_nativedacvol() local 1536 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_get_dup4ch() local 1543 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_put_dup4ch() local 1594 snd_ymfpci_get_gpio_out(struct snd_ymfpci * chip,int pin) snd_ymfpci_get_gpio_out() argument 1612 snd_ymfpci_set_gpio_out(struct snd_ymfpci * chip,int pin,int enable) snd_ymfpci_set_gpio_out() argument 1631 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_gpio_sw_get() local 1639 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_gpio_sw_put() local 1676 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_pcm_vol_get() local 1687 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_pcm_vol_put() local 1729 struct snd_ymfpci *chip = bus->private_data; snd_ymfpci_mixer_free_ac97_bus() local 1735 struct snd_ymfpci *chip = ac97->private_data; snd_ymfpci_mixer_free_ac97() local 1739 snd_ymfpci_mixer(struct snd_ymfpci * chip,int rear_switch) snd_ymfpci_mixer() argument 1845 struct snd_ymfpci *chip; snd_ymfpci_timer_start() local 1868 struct snd_ymfpci *chip; snd_ymfpci_timer_stop() local 1893 snd_ymfpci_timer(struct snd_ymfpci * chip,int device) snd_ymfpci_timer() argument 1922 struct snd_ymfpci *chip = entry->private_data; snd_ymfpci_proc_read() local 1930 snd_ymfpci_proc_init(struct snd_card * card,struct snd_ymfpci * chip) snd_ymfpci_proc_init() argument 1957 snd_ymfpci_enable_dsp(struct snd_ymfpci * chip) snd_ymfpci_enable_dsp() argument 1962 snd_ymfpci_disable_dsp(struct snd_ymfpci * chip) snd_ymfpci_disable_dsp() argument 1977 snd_ymfpci_request_firmware(struct snd_ymfpci * chip) snd_ymfpci_request_firmware() argument 2016 snd_ymfpci_download_image(struct snd_ymfpci * chip) snd_ymfpci_download_image() argument 2049 snd_ymfpci_memalloc(struct snd_ymfpci * chip) snd_ymfpci_memalloc() argument 2152 struct snd_ymfpci *chip = card->private_data; snd_ymfpci_free() local 2181 struct snd_ymfpci *chip = card->private_data; snd_ymfpci_suspend() local 2209 struct snd_ymfpci *chip = card->private_data; snd_ymfpci_resume() local 2245 struct snd_ymfpci *chip = card->private_data; snd_ymfpci_create() local [all...] |
| /linux/sound/pci/oxygen/ |
| H A D | oxygen_io.c | 16 u8 oxygen_read8(struct oxygen *chip, unsigned int reg) in oxygen_read8() 22 u16 oxygen_read16(struct oxygen *chip, unsigned int reg) in oxygen_read16() 28 u32 oxygen_read32(struct oxygen *chip, unsigned int reg) in oxygen_read32() 34 void oxygen_write8(struct oxygen *chip, unsigned int reg, u8 value) in oxygen_write8() 41 void oxygen_write16(struct oxygen *chip, unsigned int reg, u16 value) in oxygen_write16() 48 void oxygen_write32(struct oxygen *chip, unsigned int reg, u32 value) in oxygen_write32() 55 void oxygen_write8_masked(struct oxygen *chip, unsigned int reg, in oxygen_write8_masked() 66 void oxygen_write16_masked(struct oxygen *chip, unsigned int reg, in oxygen_write16_masked() 77 void oxygen_write32_masked(struct oxygen *chip, unsigned int reg, in oxygen_write32_masked() 88 static int oxygen_ac97_wait(struct oxygen *chip, unsigned int mask) in oxygen_ac97_wait() [all …]
|
| /linux/sound/pci/lx6464es/ |
| H A D | lx_core.c | 55 static void __iomem *lx_dsp_register(struct lx6464es *chip, int port) in lx_dsp_register() 61 unsigned long lx_dsp_reg_read(struct lx6464es *chip, int port) in lx_dsp_reg_read() 67 static void lx_dsp_reg_readbuf(struct lx6464es *chip, int port, u32 *data, in lx_dsp_reg_readbuf() 79 void lx_dsp_reg_write(struct lx6464es *chip, int port, unsigned data) in lx_dsp_reg_write() 85 static void lx_dsp_reg_writebuf(struct lx6464es *chip, int port, in lx_dsp_reg_writebuf() 112 static void __iomem *lx_plx_register(struct lx6464es *chip, int port) in lx_plx_register() 118 unsigned long lx_plx_reg_read(struct lx6464es *chip, int port) in lx_plx_reg_read() 124 void lx_plx_reg_write(struct lx6464es *chip, int port, u32 data) in lx_plx_reg_write() 256 static int lx_message_send_atomic(struct lx6464es *chip, struct lx_rmh *rmh) in lx_message_send_atomic() 317 int lx_dsp_get_version(struct lx6464es *chip, u32 *rdsp_version) in lx_dsp_get_version() [all …]
|
| H A D | lx6464es.c | 95 static int lx_hardware_open(struct lx6464es *chip, in lx_hardware_open() 122 static int lx_hardware_start(struct lx6464es *chip, in lx_hardware_start() 154 static int lx_hardware_stop(struct lx6464es *chip, in lx_hardware_stop() 185 static int lx_hardware_close(struct lx6464es *chip, in lx_hardware_close() 204 struct lx6464es *chip = snd_pcm_substream_chip(substream); in lx_pcm_open() local 267 struct lx6464es *chip = snd_pcm_substream_chip(substream); in lx_pcm_stream_pointer() local 285 struct lx6464es *chip = snd_pcm_substream_chip(substream); in lx_pcm_prepare() local 337 struct lx6464es *chip = snd_pcm_substream_chip(substream); in lx_pcm_hw_params() local 365 struct lx6464es *chip = snd_pcm_substream_chip(substream); in lx_pcm_hw_free() local 398 static void lx_trigger_start(struct lx6464es *chip, struct lx_stream *lx_stream) in lx_trigger_start() [all …]
|
| /linux/sound/hda/controllers/ |
| H A D | intel.c | 251 #define azx_get_snoop_type(chip) \ argument 338 #define use_vga_switcheroo(chip) ((chip)->use_vga_switcheroo) argument 339 #define needs_eld_notify_link(chip) ((chip)->bus.keep_power) argument 341 #define use_vga_switcheroo(chip) 0 argument 342 #define needs_eld_notify_link(chip) false argument 388 static void azx_init_pci(struct azx *chip) in azx_init_pci() 455 static void bxt_reduce_dma_latency(struct azx *chip) in bxt_reduce_dma_latency() 473 static int intel_get_lctl_scf(struct azx *chip) in intel_get_lctl_scf() 492 static int intel_ml_lctl_set_power(struct azx *chip, int state) in intel_ml_lctl_set_power() 519 static void intel_init_lctl(struct azx *chip) in intel_init_lctl() [all …]
|
| /linux/sound/drivers/vx/ |
| H A D | vx_pcm.c | 45 static void vx_pcm_read_per_bytes(struct vx_core *chip, struct snd_pcm_runtime *runtime, in vx_pcm_read_per_bytes() 72 static void vx_set_pcx_time(struct vx_core *chip, pcx_time_t *pc_time, in vx_set_pcx_time() 89 static int vx_set_differed_time(struct vx_core *chip, struct vx_rmh *rmh, in vx_set_differed_time() 123 static int vx_set_stream_format(struct vx_core *chip, struct vx_pipe *pipe, in vx_set_stream_format() 150 static int vx_set_format(struct vx_core *chip, struct vx_pipe *pipe, in vx_set_format() 179 static int vx_set_ibl(struct vx_core *chip, struct vx_ibl_info *info) in vx_set_ibl() 211 static int vx_get_pipe_state(struct vx_core *chip, struct vx_pipe *pipe, int *state) in vx_get_pipe_state() 236 static int vx_query_hbuffer_size(struct vx_core *chip, struct vx_pipe *pipe) in vx_query_hbuffer_size() 260 static int vx_pipe_can_start(struct vx_core *chip, struct vx_pipe *pipe) in vx_pipe_can_start() 281 static int vx_conf_pipe(struct vx_core *chip, struct vx_pipe *pipe) in vx_conf_pipe() [all …]
|
| /linux/sound/drivers/pcsp/ |
| H A D | pcsp_lib.c | 45 static u64 pcsp_timer_update(struct snd_pcsp *chip) in pcsp_timer_update() 89 static void pcsp_pointer_update(struct snd_pcsp *chip) in pcsp_pointer_update() 130 struct snd_pcsp *chip = container_of(handle, struct snd_pcsp, timer); in pcsp_do_timer() local 152 static int pcsp_start_playing(struct snd_pcsp *chip) in pcsp_start_playing() 173 static void pcsp_stop_playing(struct snd_pcsp *chip) in pcsp_stop_playing() 192 void pcsp_sync_stop(struct snd_pcsp *chip) in pcsp_sync_stop() 203 struct snd_pcsp *chip = snd_pcm_substream_chip(substream); in snd_pcsp_playback_close() local 215 struct snd_pcsp *chip = snd_pcm_substream_chip(substream); in snd_pcsp_playback_hw_params() local 222 struct snd_pcsp *chip = snd_pcm_substream_chip(substream); in snd_pcsp_playback_hw_free() local 232 struct snd_pcsp *chip = snd_pcm_substream_chip(substream); in snd_pcsp_playback_prepare() local [all …]
|
| /linux/sound/pcmcia/pdaudiocf/ |
| H A D | pdaudiocf_core.c | 20 struct snd_pdacf *chip = private_data; in pdacf_ak4117_read() local 52 struct snd_pdacf *chip = private_data; in pdacf_ak4117_write() local 91 static int pdacf_reset(struct snd_pdacf *chip, int powerdown) in pdacf_reset() 114 void pdacf_reinit(struct snd_pdacf *chip, int resume) in pdacf_reinit() 127 struct snd_pdacf *chip = entry->private_data; in pdacf_proc_read() local 136 static void pdacf_proc_init(struct snd_pdacf *chip) in pdacf_proc_init() 143 struct snd_pdacf *chip; in snd_pdacf_create() local 159 struct snd_pdacf *chip = ak4117->change_callback_private; in snd_pdacf_ak4117_change() local 173 int snd_pdacf_ak4117_create(struct snd_pdacf *chip) in snd_pdacf_ak4117_create() 229 void snd_pdacf_powerdown(struct snd_pdacf *chip) in snd_pdacf_powerdown() [all …]
|
| /linux/arch/arm/mach-s3c/ |
| H A D | gpio-samsung.c | 40 static int samsung_gpio_setpull_updown(struct samsung_gpio_chip *chip, in samsung_gpio_setpull_updown() 55 static samsung_gpio_pull_t samsung_gpio_getpull_updown(struct samsung_gpio_chip *chip, in samsung_gpio_getpull_updown() 68 static int samsung_gpio_setcfg_2bit(struct samsung_gpio_chip *chip, in samsung_gpio_setcfg_2bit() 101 static unsigned int samsung_gpio_getcfg_2bit(struct samsung_gpio_chip *chip, in samsung_gpio_getcfg_2bit() 131 static int samsung_gpio_setcfg_4bit(struct samsung_gpio_chip *chip, in samsung_gpio_setcfg_4bit() 166 static unsigned samsung_gpio_getcfg_4bit(struct samsung_gpio_chip *chip, in samsung_gpio_getcfg_4bit() 245 static int samsung_gpiolib_2bit_input(struct gpio_chip *chip, unsigned offset) in samsung_gpiolib_2bit_input() 263 static int samsung_gpiolib_2bit_output(struct gpio_chip *chip, in samsung_gpiolib_2bit_output() 307 static int samsung_gpiolib_4bit_input(struct gpio_chip *chip, in samsung_gpiolib_4bit_input() 326 static int samsung_gpiolib_4bit_output(struct gpio_chip *chip, in samsung_gpiolib_4bit_output() [all …]
|