Home
last modified time | relevance | path

Searched defs:chip (Results 1 – 25 of 1153) sorted by relevance

12345678910>>...47

/linux/drivers/net/dsa/mv88e6xxx/
H A Dglobal1.c16 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 Dglobal2.c19 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 Dchip.c47 static void assert_reg_lock(struct mv88e6xxx_chip *chip) in assert_reg_lock()
55 int mv88e6xxx_read(struct mv88e6xxx_chip *chip, int addr, int reg, u16 *val) in mv88e6xxx_read()
71 int mv88e6xxx_write(struct mv88e6xxx_chip *chip, int addr, int reg, u16 val) in mv88e6xxx_write()
87 int mv88e6xxx_wait_mask(struct mv88e6xxx_chip *chip, int addr, int reg, in mv88e6xxx_wait_mask()
124 int mv88e6xxx_wait_bit(struct mv88e6xxx_chip *chip, int addr, int reg, in mv88e6xxx_wait_bit()
131 struct mii_bus *mv88e6xxx_default_mdio_bus(struct mv88e6xxx_chip *chip) in mv88e6xxx_default_mdio_bus()
145 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); in mv88e6xxx_g1_irq_mask() local
153 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); in mv88e6xxx_g1_irq_unmask() local
159 static irqreturn_t mv88e6xxx_g1_irq_thread_work(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_irq_thread_work()
203 struct mv88e6xxx_chip *chip = dev_id; in mv88e6xxx_g1_irq_thread_fn() local
[all …]
H A Dphy.c16 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 Dglobal1_atu.c20 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 …]
/linux/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_chip.c22 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 Dtpm-chip.c40 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()
192 void tpm_put_ops(struct tpm_chip *chip) in tpm_put_ops()
[all …]
/linux/sound/pci/echoaudio/
H A Dechoaudio_dsp.c42 static int wait_handshake(struct echoaudio *chip) in wait_handshake()
66 static int send_vector(struct echoaudio *chip, u32 command) in send_vector()
91 static int write_dsp(struct echoaudio *chip, u32 data) in write_dsp()
115 static int read_dsp(struct echoaudio *chip, u32 *data) in read_dsp()
145 static int read_sn(struct echoaudio *chip) in read_sn()
167 static inline int check_asic_status(struct echoaudio *chip) in check_asic_status()
180 static int load_asic_generic(struct echoaudio *chip, u32 cmd, short asic) in load_asic_generic()
227 static int install_resident_loader(struct echoaudio *chip) in install_resident_loader()
335 static int load_dsp(struct echoaudio *chip, u16 *code) in load_dsp()
489 static int load_firmware(struct echoaudio *chip) in load_firmware()
[all …]
/linux/sound/pci/oxygen/
H A Doxygen.c139 static void ak4396_write(struct oxygen *chip, unsigned int codec, in ak4396_write()
157 static void ak4396_write_cached(struct oxygen *chip, unsigned int codec, in ak4396_write_cached()
166 static void wm8785_write(struct oxygen *chip, u8 reg, unsigned int value) in wm8785_write()
180 static void ak4396_registers_init(struct oxygen *chip) in ak4396_registers_init()
199 static void ak4396_init(struct oxygen *chip) in ak4396_init()
210 static void ak5385_init(struct oxygen *chip) in ak5385_init()
217 static void wm8785_registers_init(struct oxygen *chip) in wm8785_registers_init()
226 static void wm8785_init(struct oxygen *chip) in wm8785_init()
237 static void generic_init(struct oxygen *chip) in generic_init()
243 static void meridian_init(struct oxygen *chip) in meridian_init()
[all …]
H A Dxonar_pcm179x.c232 static inline void pcm1796_write_spi(struct oxygen *chip, unsigned int codec, in pcm1796_write_spi()
247 static inline void pcm1796_write_i2c(struct oxygen *chip, unsigned int codec, in pcm1796_write_i2c()
253 static void pcm1796_write(struct oxygen *chip, unsigned int codec, in pcm1796_write()
268 static void pcm1796_write_cached(struct oxygen *chip, unsigned int codec, in pcm1796_write_cached()
277 static void cs2000_write(struct oxygen *chip, u8 reg, u8 value) in cs2000_write()
285 static void cs2000_write_cached(struct oxygen *chip, u8 reg, u8 value) in cs2000_write_cached()
293 static void pcm1796_registers_init(struct oxygen *chip) in pcm1796_registers_init()
318 static void pcm1796_init(struct oxygen *chip) in pcm1796_init()
334 static void xonar_d2_init(struct oxygen *chip) in xonar_d2_init()
356 static void xonar_d2x_init(struct oxygen *chip) in xonar_d2x_init()
[all …]
H A Doxygen_io.c16 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 …]
H A Dxonar_cs43xx.c66 static void cs4398_write(struct oxygen *chip, u8 reg, u8 value) in cs4398_write()
75 static void cs4398_write_cached(struct oxygen *chip, u8 reg, u8 value) in cs4398_write_cached()
83 static void cs4362a_write(struct oxygen *chip, u8 reg, u8 value) in cs4362a_write()
92 static void cs4362a_write_cached(struct oxygen *chip, u8 reg, u8 value) in cs4362a_write_cached()
100 static void cs43xx_registers_init(struct oxygen *chip) in cs43xx_registers_init()
127 static void xonar_d1_init(struct oxygen *chip) in xonar_d1_init()
175 static void xonar_dx_init(struct oxygen *chip) in xonar_dx_init()
186 static void xonar_d1_cleanup(struct oxygen *chip) in xonar_d1_cleanup()
193 static void xonar_d1_suspend(struct oxygen *chip) in xonar_d1_suspend()
198 static void xonar_d1_resume(struct oxygen *chip) in xonar_d1_resume()
[all …]
/linux/sound/ppc/
H A Dpmac.c50 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/isa/sb/
H A Dsb16_main.c41 static void snd_sb16_csp_playback_prepare(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_playback_prepare()
89 static void snd_sb16_csp_capture_prepare(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_capture_prepare()
127 static void snd_sb16_csp_update(struct snd_sb *chip) in snd_sb16_csp_update()
140 static void snd_sb16_csp_playback_open(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_playback_open()
159 static void snd_sb16_csp_playback_close(struct snd_sb *chip) in snd_sb16_csp_playback_close()
171 static void snd_sb16_csp_capture_open(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_capture_open()
190 static void snd_sb16_csp_capture_close(struct snd_sb *chip) in snd_sb16_csp_capture_close()
202 #define snd_sb16_csp_playback_prepare(chip, runtime) /*nop*/ argument
203 #define snd_sb16_csp_capture_prepare(chip, runtime) /*nop*/ argument
204 #define snd_sb16_csp_update(chip) /*nop*/ argument
[all …]
/linux/sound/pci/cs46xx/
H A Dcs46xx_lib.c74 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()
468 int snd_cs46xx_clear_BA1(struct snd_cs46xx *chip, in snd_cs46xx_clear_BA1()
501 static int load_firmware(struct snd_cs46xx *chip) in load_firmware()
534 static __maybe_unused int snd_cs46xx_download_image(struct snd_cs46xx *chip) in snd_cs46xx_download_image()
557 static void snd_cs46xx_reset(struct snd_cs46xx *chip) in snd_cs46xx_reset()
[all …]
/linux/sound/isa/wss/
H A Dwss_lib.c151 static inline void wss_outb(struct snd_wss *chip, u8 offset, u8 val) in wss_outb()
156 static inline u8 wss_inb(struct snd_wss *chip, u8 offset) in wss_inb()
161 static void snd_wss_wait(struct snd_wss *chip) in snd_wss_wait()
171 static void snd_wss_dout(struct snd_wss *chip, unsigned char reg, in snd_wss_dout()
185 void snd_wss_out(struct snd_wss *chip, unsigned char reg, unsigned char value) in snd_wss_out()
203 unsigned char snd_wss_in(struct snd_wss *chip, unsigned char reg) in snd_wss_in()
217 void snd_cs4236_ext_out(struct snd_wss *chip, unsigned char reg, in snd_cs4236_ext_out()
231 unsigned char snd_cs4236_ext_in(struct snd_wss *chip, unsigned char reg) in snd_cs4236_ext_in()
347 static void snd_wss_busy_wait(struct snd_wss *chip) in snd_wss_busy_wait()
361 void snd_wss_mce_up(struct snd_wss *chip) in snd_wss_mce_up()
[all …]
/linux/sound/pci/
H A Dad1889.c97 ad1889_readw(struct snd_ad1889 *chip, unsigned reg) in ad1889_readw() argument
103 ad1889_writew(struct snd_ad1889 *chip, unsigned reg, u16 val) in ad1889_writew() argument
109 ad1889_readl(struct snd_ad1889 *chip, unsigned reg) in ad1889_readl() argument
115 ad1889_writel(struct snd_ad1889 *chip, unsigned reg, u32 val) in ad1889_writel() argument
121 ad1889_unmute(struct snd_ad1889 *chip) in ad1889_unmute() argument
131 ad1889_mute(struct snd_ad1889 * chip) ad1889_mute() argument
140 ad1889_load_adc_buffer_address(struct snd_ad1889 * chip,u32 address) ad1889_load_adc_buffer_address() argument
147 ad1889_load_adc_buffer_count(struct snd_ad1889 * chip,u32 count) ad1889_load_adc_buffer_count() argument
154 ad1889_load_adc_interrupt_count(struct snd_ad1889 * chip,u32 count) ad1889_load_adc_interrupt_count() argument
161 ad1889_load_wave_buffer_address(struct snd_ad1889 * chip,u32 address) ad1889_load_wave_buffer_address() argument
168 ad1889_load_wave_buffer_count(struct snd_ad1889 * chip,u32 count) ad1889_load_wave_buffer_count() argument
175 ad1889_load_wave_interrupt_count(struct snd_ad1889 * chip,u32 count) ad1889_load_wave_interrupt_count() argument
182 ad1889_channel_reset(struct snd_ad1889 * chip,unsigned int channel) ad1889_channel_reset() argument
230 struct snd_ad1889 *chip = ac97->private_data; snd_ad1889_ac97_read() local
237 struct snd_ad1889 *chip = ac97->private_data; snd_ad1889_ac97_write() local
242 snd_ad1889_ac97_ready(struct snd_ad1889 * chip) snd_ad1889_ac97_ready() argument
296 struct snd_ad1889 *chip = snd_pcm_substream_chip(ss); snd_ad1889_playback_open() local
308 struct snd_ad1889 *chip = snd_pcm_substream_chip(ss); snd_ad1889_capture_open() local
320 struct snd_ad1889 *chip = snd_pcm_substream_chip(ss); snd_ad1889_playback_close() local
328 struct snd_ad1889 *chip = snd_pcm_substream_chip(ss); snd_ad1889_capture_close() local
336 struct snd_ad1889 *chip = snd_pcm_substream_chip(ss); snd_ad1889_playback_prepare() local
386 struct snd_ad1889 *chip = snd_pcm_substream_chip(ss); snd_ad1889_capture_prepare() local
438 struct snd_ad1889 *chip = snd_pcm_substream_chip(ss); snd_ad1889_playback_trigger() local
479 struct snd_ad1889 *chip = snd_pcm_substream_chip(ss); snd_ad1889_capture_trigger() local
514 struct snd_ad1889 *chip = snd_pcm_substream_chip(ss); snd_ad1889_playback_pointer() local
533 struct snd_ad1889 *chip = snd_pcm_substream_chip(ss); snd_ad1889_capture_pointer() local
567 struct snd_ad1889 *chip = dev_id; snd_ad1889_interrupt() local
592 snd_ad1889_pcm_init(struct snd_ad1889 * chip,int device) snd_ad1889_pcm_init() argument
623 struct snd_ad1889 *chip = entry->private_data; snd_ad1889_proc_read() local
702 snd_ad1889_proc_init(struct snd_ad1889 * chip) snd_ad1889_proc_init() argument
720 snd_ad1889_ac97_xinit(struct snd_ad1889 * chip) snd_ad1889_ac97_xinit() argument
744 snd_ad1889_ac97_init(struct snd_ad1889 * chip,const char * quirk_override) snd_ad1889_ac97_init() argument
776 struct snd_ad1889 *chip = card->private_data; snd_ad1889_free() local
795 struct snd_ad1889 *chip = card->private_data; snd_ad1889_create() local
853 struct snd_ad1889 *chip; __snd_ad1889_probe() local
[all...]
/linux/drivers/mtd/nand/raw/
H A Dnand_legacy.c28 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/vx222/
H A Dvx222_ops.c76 struct snd_vx222 *chip = to_vx222(_chip); in vx2_reg_addr() local
85 static unsigned char vx2_inb(struct vx_core *chip, int offset) in vx2_inb()
96 static void vx2_outb(struct vx_core *chip, int offset, unsigned char val) in vx2_outb()
109 static unsigned int vx2_inl(struct vx_core *chip, int offset) in vx2_inl()
120 static void vx2_outl(struct vx_core *chip, int offset, unsigned int val) in vx2_outl()
132 #define vx_inb(chip,reg) vx2_inb((struct vx_core*)(chip), VX_##reg) argument
134 #define vx_outb(chip,reg,val) vx2_outb((struct vx_core*)(chip), VX_##reg, val) argument
136 #define vx_inl(chip,reg) vx2_inl((struct vx_core*)(chip), VX_##reg) argument
138 #define vx_outl(chip,reg,val) vx2_outl((struct vx_core*)(chip), VX_##reg, val) argument
149 struct snd_vx222 *chip = to_vx222(_chip); in vx2_reset_dsp() local
[all …]
/linux/sound/pci/ymfpci/
H A Dymfpci_main.c34 static inline void snd_ymfpci_writeb(struct snd_ymfpci *chip, u32 offset, u8 val) in snd_ymfpci_writeb()
39 static inline u16 snd_ymfpci_readw(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readw()
44 static inline void snd_ymfpci_writew(struct snd_ymfpci *chip, u32 offset, u16 val) in snd_ymfpci_writew()
49 static inline u32 snd_ymfpci_readl(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readl()
54 static inline void snd_ymfpci_writel(struct snd_ymfpci *chip, u32 offset, u32 val) in snd_ymfpci_writel()
59 static int snd_ymfpci_codec_ready(struct snd_ymfpci *chip, int secondary) in snd_ymfpci_codec_ready()
78 struct snd_ymfpci *chip = ac97->private_data; in snd_ymfpci_codec_write() local
88 struct snd_ymfpci *chip = ac97->private_data; in snd_ymfpci_codec_read() local
160 static void snd_ymfpci_hw_start(struct snd_ymfpci *chip) in snd_ymfpci_hw_start()
174 static void snd_ymfpci_hw_stop(struct snd_ymfpci *chip) in snd_ymfpci_hw_stop()
[all …]
/linux/sound/isa/ad1816a/
H A Dad1816a_lib.c20 static inline int snd_ad1816a_busy_wait(struct snd_ad1816a *chip) in snd_ad1816a_busy_wait()
32 static inline unsigned char snd_ad1816a_in(struct snd_ad1816a *chip, unsigned char reg) in snd_ad1816a_in()
38 static inline void snd_ad1816a_out(struct snd_ad1816a *chip, unsigned char reg, in snd_ad1816a_out()
45 static inline void snd_ad1816a_out_mask(struct snd_ad1816a *chip, unsigned char reg, in snd_ad1816a_out_mask()
52 static unsigned short snd_ad1816a_read(struct snd_ad1816a *chip, unsigned char reg) in snd_ad1816a_read()
59 static void snd_ad1816a_write(struct snd_ad1816a *chip, unsigned char reg, in snd_ad1816a_write()
67 static void snd_ad1816a_write_mask(struct snd_ad1816a *chip, unsigned char reg, in snd_ad1816a_write_mask()
75 static unsigned char snd_ad1816a_get_format(struct snd_ad1816a *chip, in snd_ad1816a_get_format()
97 static int snd_ad1816a_open(struct snd_ad1816a *chip, unsigned int mode) in snd_ad1816a_open()
133 static void snd_ad1816a_close(struct snd_ad1816a *chip, unsigned int mode) in snd_ad1816a_close()
[all …]
/linux/arch/mips/alchemy/common/
H A Dgpiolib.c38 static int gpio2_get(struct gpio_chip *chip, unsigned offset) in gpio2_get()
43 static void gpio2_set(struct gpio_chip *chip, unsigned offset, int value) in gpio2_set()
48 static int gpio2_direction_input(struct gpio_chip *chip, unsigned offset) in gpio2_direction_input()
53 static int gpio2_direction_output(struct gpio_chip *chip, unsigned offset, in gpio2_direction_output()
60 static int gpio2_to_irq(struct gpio_chip *chip, unsigned offset) in gpio2_to_irq()
66 static int gpio1_get(struct gpio_chip *chip, unsigned offset) in gpio1_get()
71 static void gpio1_set(struct gpio_chip *chip, in gpio1_set()
77 static int gpio1_direction_input(struct gpio_chip *chip, unsigned offset) in gpio1_direction_input()
82 static int gpio1_direction_output(struct gpio_chip *chip, in gpio1_direction_output()
89 static int gpio1_to_irq(struct gpio_chip *chip, unsigned offset) in gpio1_to_irq()
[all …]
/linux/sound/pcmcia/vx/
H A Dvxp_ops.c40 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reg_addr() local
48 static unsigned char vxp_inb(struct vx_core *chip, int offset) in vxp_inb()
58 static void vxp_outb(struct vx_core *chip, int offset, unsigned char val) in vxp_outb()
67 #define vx_inb(chip,reg) vxp_inb((struct vx_core *)(chip), VX_##reg) argument
69 #define vx_outb(chip,reg,val) vxp_outb((struct vx_core *)(chip), VX_##reg,val) argument
77 static int vx_check_magic(struct vx_core *chip) in vx_check_magic()
100 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reset_dsp() local
118 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reset_codec() local
137 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_load_xilinx_binary() local
274 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_test_and_ack() local
[all …]
/linux/sound/drivers/vx/
H A Dvx_core.c39 int snd_vx_check_reg_bit(struct vx_core *chip, int reg, int mask, int bit, int time) in snd_vx_check_reg_bit()
71 static int vx_send_irq_dsp(struct vx_core *chip, int num) in vx_send_irq_dsp()
92 static int vx_reset_chk(struct vx_core *chip) in vx_reset_chk()
111 static int vx_transfer_end(struct vx_core *chip, int cmd) in vx_transfer_end()
155 static int vx_read_status(struct vx_core *chip, struct vx_rmh *rmh) in vx_read_status()
236 int vx_send_msg_nolock(struct vx_core *chip, struct vx_rmh *rmh) in vx_send_msg_nolock()
345 int vx_send_msg(struct vx_core *chip, struct vx_rmh *rmh) in vx_send_msg()
367 int vx_send_rih_nolock(struct vx_core *chip, int cmd) in vx_send_rih_nolock()
405 int vx_send_rih(struct vx_core *chip, int cmd) in vx_send_rih()
422 int snd_vx_load_boot_image(struct vx_core *chip, const struct firmware *boot) in snd_vx_load_boot_image()
[all …]
H A Dvx_pcm.c45 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 …]

12345678910>>...47