Home
last modified time | relevance | path

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

12345678910>>...41

/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 …]
H A Dglobal2_avb.c32 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 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()
197 void tpm_put_ops(struct tpm_chip *chip) in tpm_put_ops()
[all …]
H A Dtpm_tis_core.c35 static bool wait_for_tpm_stat_cond(struct tpm_chip *chip, u8 mask, in wait_for_tpm_stat_cond()
64 static int wait_for_tpm_stat(struct tpm_chip *chip, u8 mask, in wait_for_tpm_stat()
130 static int wait_startup(struct tpm_chip *chip, int l) in wait_startup()
150 static bool check_locality(struct tpm_chip *chip, int l) in check_locality()
177 static int tpm_tis_relinquish_locality(struct tpm_chip *chip, int l) in tpm_tis_relinquish_locality()
190 static int __tpm_tis_request_locality(struct tpm_chip *chip, int l) in __tpm_tis_request_locality()
231 static int tpm_tis_request_locality(struct tpm_chip *chip, int l) in tpm_tis_request_locality()
245 static u8 tpm_tis_status(struct tpm_chip *chip) in tpm_tis_status()
279 static void tpm_tis_ready(struct tpm_chip *chip) in tpm_tis_ready()
287 static int get_burstcount(struct tpm_chip *chip) in get_burstcount()
[all …]
H A Dtpm-interface.c52 unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal) in tpm_calc_ordinal_duration()
61 static void tpm_chip_cancel(struct tpm_chip *chip) in tpm_chip_cancel()
69 static u8 tpm_chip_status(struct tpm_chip *chip) in tpm_chip_status()
77 static bool tpm_chip_req_canceled(struct tpm_chip *chip, u8 status) in tpm_chip_req_canceled()
85 static bool tpm_transmit_completed(u8 status, struct tpm_chip *chip) in tpm_transmit_completed()
92 static ssize_t tpm_try_transmit(struct tpm_chip *chip, void *buf, size_t bufsiz) in tpm_try_transmit()
204 ssize_t tpm_transmit(struct tpm_chip *chip, u8 *buf, size_t bufsiz) in tpm_transmit()
264 ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_buf *buf, in tpm_transmit_cmd()
291 int tpm_get_timeouts(struct tpm_chip *chip) in tpm_get_timeouts()
312 int tpm_is_tpm2(struct tpm_chip *chip) in tpm_is_tpm2()
[all …]
/linux/sound/pci/echoaudio/
H A Dechoaudio_dsp.c27 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 Dechoaudio.c33 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 …]
/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/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 …]
H A Ddsp_spos_scb_lib.c27 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 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 …]
H A Dnand_base.c99 static int check_offs_len(struct nand_chip *chip, loff_t ofs, uint64_t len) in check_offs_len()
171 void nand_select_target(struct nand_chip *chip, unsigned int cs) in nand_select_target()
194 void nand_deselect_target(struct nand_chip *chip) in nand_deselect_target()
209 static void nand_release_device(struct nand_chip *chip) in nand_release_device()
225 int nand_bbm_get_next_page(struct nand_chip *chip, int page) in nand_bbm_get_next_page()
252 static int nand_block_bad(struct nand_chip *chip, loff_t ofs) in nand_block_bad()
291 static bool nand_region_is_secured(struct nand_chip *chip, loff_t offset, u64 size) in nand_region_is_secured()
312 static int nand_isbad_bbm(struct nand_chip *chip, loff_t ofs) in nand_isbad_bbm()
338 static void nand_get_device(struct nand_chip *chip) in nand_get_device()
360 static int nand_check_wp(struct nand_chip *chip) in nand_check_wp()
[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()
170 static void snd_ymfpci_hw_stop(struct snd_ymfpci *chip) in snd_ymfpci_hw_stop()
[all …]
/linux/sound/pci/oxygen/
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 …]
/linux/arch/mips/alchemy/common/
H A Dgpiolib.c38 static int gpio2_get(struct gpio_chip *chip, unsigned offset) in gpio2_get()
43 static int gpio2_set(struct gpio_chip *chip, unsigned offset, int value) in gpio2_set()
50 static int gpio2_direction_input(struct gpio_chip *chip, unsigned offset) in gpio2_direction_input()
55 static int gpio2_direction_output(struct gpio_chip *chip, unsigned offset, in gpio2_direction_output()
62 static int gpio2_to_irq(struct gpio_chip *chip, unsigned offset) in gpio2_to_irq()
68 static int gpio1_get(struct gpio_chip *chip, unsigned offset) in gpio1_get()
73 static int gpio1_set(struct gpio_chip *chip, in gpio1_set()
81 static int gpio1_direction_input(struct gpio_chip *chip, unsigned offset) in gpio1_direction_input()
86 static int gpio1_direction_output(struct gpio_chip *chip, in gpio1_direction_output()
93 static int gpio1_to_irq(struct gpio_chip *chip, unsigned offset) in gpio1_to_irq()
[all …]
/linux/sound/drivers/vx/
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 …]
/linux/sound/hda/controllers/
H A Dintel.c248 #define azx_get_snoop_type(chip) \ argument
332 #define use_vga_switcheroo(chip) ((chip)->use_vga_switcheroo) argument
333 #define needs_eld_notify_link(chip) ((chip)->bus.keep_power) argument
335 #define use_vga_switcheroo(chip) 0 argument
336 #define needs_eld_notify_link(chip) false argument
381 azx_init_pci(struct azx * chip) azx_init_pci() argument
448 bxt_reduce_dma_latency(struct azx * chip) bxt_reduce_dma_latency() argument
466 intel_get_lctl_scf(struct azx * chip) intel_get_lctl_scf() argument
485 intel_ml_lctl_set_power(struct azx * chip,int state) intel_ml_lctl_set_power() argument
512 intel_init_lctl(struct azx * chip) intel_init_lctl() argument
549 hda_intel_init_chip(struct azx * chip,bool full_reset) hda_intel_init_chip() argument
579 azx_get_delay_from_lpib(struct azx * chip,struct azx_dev * azx_dev,unsigned int pos) azx_get_delay_from_lpib() argument
613 azx_position_check(struct azx * chip,struct azx_dev * azx_dev) azx_position_check() argument
630 display_power(chip,enable) global() argument
644 azx_position_ok(struct azx * chip,struct azx_dev * azx_dev) azx_position_ok() argument
722 struct azx *chip = &hda->chip; azx_irq_pending_work() local
762 azx_clear_irq_pending(struct azx * chip) azx_clear_irq_pending() argument
774 azx_acquire_irq(struct azx * chip,int do_disconnect) azx_acquire_irq() argument
802 azx_via_get_position(struct azx * chip,struct azx_dev * azx_dev) azx_via_get_position() argument
857 azx_get_pos_fifo(struct azx * chip,struct azx_dev * azx_dev) azx_get_pos_fifo() argument
888 azx_get_delay_from_fifo(struct azx * chip,struct azx_dev * azx_dev,unsigned int pos) azx_get_delay_from_fifo() argument
897 __azx_shutdown_chip(struct azx * chip,bool skip_link_reset) __azx_shutdown_chip() argument
909 azx_shutdown_chip(struct azx * chip) azx_shutdown_chip() argument
914 azx_add_card_list(struct azx * chip) azx_add_card_list() argument
922 azx_del_card_list(struct azx * chip) azx_del_card_list() argument
934 struct azx *chip; param_set_xint() local
960 struct azx *chip; azx_is_pm_ready() local
972 __azx_runtime_resume(struct azx * chip) __azx_runtime_resume() argument
1008 struct azx *chip; azx_prepare() local
1028 struct azx *chip; azx_complete() local
1041 struct azx *chip; azx_suspend() local
1056 struct azx *chip; azx_resume() local
1075 struct azx *chip = card->private_data; azx_freeze_noirq() local
1089 struct azx *chip = card->private_data; azx_thaw_noirq() local
1103 struct azx *chip; azx_runtime_suspend() local
1120 struct azx *chip; azx_runtime_resume() local
1137 struct azx *chip; azx_runtime_idle() local
1178 struct azx *chip = card->private_data; azx_vs_set_state() local
1232 struct azx *chip = card->private_data; azx_vs_can_switch() local
1250 setup_vga_switcheroo_runtime_pm(struct azx * chip) setup_vga_switcheroo_runtime_pm() argument
1268 struct azx *chip = card->private_data; azx_vs_gpu_bound() local
1275 init_vga_switcheroo(struct azx * chip) init_vga_switcheroo() argument
1301 register_vga_switcheroo(struct azx * chip) register_vga_switcheroo() argument
1321 init_vga_switcheroo(chip) global() argument
1322 register_vga_switcheroo(chip) global() argument
1324 setup_vga_switcheroo_runtime_pm(chip) global() argument
1330 azx_free(struct azx * chip) azx_free() argument
1398 struct azx *chip = device->device_data; azx_dev_disconnect() local
1522 check_position_fix(struct azx * chip,int fix) check_position_fix() argument
1565 assign_position_fix(struct azx * chip,int fix) assign_position_fix() argument
1619 check_probe_mask(struct azx * chip,int dev) check_probe_mask() argument
1660 check_msi(struct azx * chip) check_msi() argument
1686 azx_check_snoop_available(struct azx * chip) azx_check_snoop_available() argument
1729 default_bdl_pos_adj(struct azx * chip) default_bdl_pos_adj() argument
1773 struct azx *chip; azx_create() local
1847 azx_first_init(struct azx * chip) azx_first_init() argument
2040 struct azx *chip = card->private_data; azx_firmware_cb() local
2053 disable_msi_reset_irq(struct azx * chip) disable_msi_reset_irq() argument
2116 struct azx *chip; azx_probe() local
2288 set_default_power_save(struct azx * chip) set_default_power_save() argument
2316 azx_probe_continue(struct azx * chip) azx_probe_continue() argument
2415 struct azx *chip; azx_remove() local
2446 struct azx *chip; azx_shutdown() local
[all...]
/linux/sound/drivers/pcsp/
H A Dpcsp_lib.c45 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 Dpdaudiocf_core.c20 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 Dgpio-samsung.c40 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 …]

12345678910>>...41