Home
last modified time | relevance | path

Searched defs:chip (Results 51 – 75 of 1461) sorted by relevance

12345678910>>...59

/OK3568_Linux_fs/kernel/drivers/staging/rts5208/
H A Dxd.c27 static inline void xd_set_err_code(struct rtsx_chip *chip, u8 err_code) in xd_set_err_code()
34 static inline int xd_check_err_code(struct rtsx_chip *chip, u8 err_code) in xd_check_err_code()
41 static int xd_set_init_para(struct rtsx_chip *chip) in xd_set_init_para()
58 static int xd_switch_clock(struct rtsx_chip *chip) in xd_switch_clock()
74 static int xd_read_id(struct rtsx_chip *chip, u8 id_cmd, u8 *id_buf, u8 buf_len) in xd_read_id()
104 static void xd_assign_phy_addr(struct rtsx_chip *chip, u32 addr, u8 mode) in xd_assign_phy_addr()
138 static int xd_read_redundant(struct rtsx_chip *chip, u32 page_addr, in xd_read_redundant()
175 static int xd_read_data_from_ppb(struct rtsx_chip *chip, int offset, in xd_read_data_from_ppb()
200 static int xd_read_cis(struct rtsx_chip *chip, u32 page_addr, u8 *buf, in xd_read_cis()
303 static void xd_fill_pull_ctl_disable(struct rtsx_chip *chip) in xd_fill_pull_ctl_disable()
[all …]
/OK3568_Linux_fs/kernel/sound/pci/oxygen/
H A Doxygen_mixer.c19 struct oxygen *chip = ctl->private_data; in dac_volume_info() local
31 struct oxygen *chip = ctl->private_data; in dac_volume_get() local
44 struct oxygen *chip = ctl->private_data; in dac_volume_put() local
64 struct oxygen *chip = ctl->private_data; in dac_mute_get() local
75 struct oxygen *chip = ctl->private_data; in dac_mute_put() local
88 static unsigned int upmix_item_count(struct oxygen *chip) in upmix_item_count()
107 struct oxygen *chip = ctl->private_data; in upmix_info() local
115 struct oxygen *chip = ctl->private_data; in upmix_get() local
123 void oxygen_update_dac_routing(struct oxygen *chip) in oxygen_update_dac_routing()
185 struct oxygen *chip = ctl->private_data; in upmix_put() local
[all …]
H A Dxonar_dg.c57 int cs4245_write_spi(struct oxygen *chip, u8 reg) in cs4245_write_spi()
74 int cs4245_read_spi(struct oxygen *chip, u8 addr) in cs4245_read_spi()
100 int cs4245_shadow_control(struct oxygen *chip, enum cs4245_shadow_operation op) in cs4245_shadow_control()
116 static void cs4245_init(struct oxygen *chip) in cs4245_init()
148 void dg_init(struct oxygen *chip) in dg_init()
164 void dg_cleanup(struct oxygen *chip) in dg_cleanup()
169 void dg_suspend(struct oxygen *chip) in dg_suspend()
174 void dg_resume(struct oxygen *chip) in dg_resume()
181 void set_cs4245_dac_params(struct oxygen *chip, in set_cs4245_dac_params()
206 void set_cs4245_adc_params(struct oxygen *chip, in set_cs4245_adc_params()
[all …]
/OK3568_Linux_fs/kernel/sound/pci/echoaudio/
H A Dmidi.c37 static int enable_midi_input(struct echoaudio *chip, char enable) in enable_midi_input()
60 static int write_midi(struct echoaudio *chip, u8 *data, int bytes) in write_midi()
90 static inline int mtc_process_data(struct echoaudio *chip, short midi_byte) in mtc_process_data()
116 static int midi_service_irq(struct echoaudio *chip) in midi_service_irq()
157 struct echoaudio *chip = substream->rmidi->private_data; in snd_echo_midi_input_open() local
168 struct echoaudio *chip = substream->rmidi->private_data; in snd_echo_midi_input_trigger() local
182 struct echoaudio *chip = substream->rmidi->private_data; in snd_echo_midi_input_close() local
192 struct echoaudio *chip = substream->rmidi->private_data; in snd_echo_midi_output_open() local
204 struct echoaudio *chip = from_timer(chip, t, timer); in snd_echo_midi_output_write() local
254 struct echoaudio *chip = substream->rmidi->private_data; in snd_echo_midi_output_trigger() local
[all …]
H A Dmia_dsp.c40 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) in init_hw()
74 static int set_mixer_defaults(struct echoaudio *chip) in set_mixer_defaults()
81 static u32 detect_input_clocks(const struct echoaudio *chip) in detect_input_clocks()
100 static int load_asic(struct echoaudio *chip) in load_asic()
107 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate()
154 static int set_input_clock(struct echoaudio *chip, u16 clock) in set_input_clock()
168 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, in set_vmixer_gain()
192 static int update_vmixer_level(struct echoaudio *chip) in update_vmixer_level()
203 static int update_flags(struct echoaudio *chip) in update_flags()
213 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif()
H A Dgina20_dsp.c36 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) in init_hw()
70 static int set_mixer_defaults(struct echoaudio *chip) in set_mixer_defaults()
78 static u32 detect_input_clocks(const struct echoaudio *chip) in detect_input_clocks()
97 static int load_asic(struct echoaudio *chip) in load_asic()
104 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate()
149 static int set_input_clock(struct echoaudio *chip, u16 clock) in set_input_clock()
178 static int set_input_gain(struct echoaudio *chip, u16 input, int gain) in set_input_gain()
195 static int update_flags(struct echoaudio *chip) in update_flags()
205 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif()
/OK3568_Linux_fs/kernel/sound/pci/lola/
H A Dlola.c74 static int corb_send_verb(struct lola *chip, unsigned int nid, in corb_send_verb()
103 static void lola_queue_unsol_event(struct lola *chip, unsigned int res, in lola_queue_unsol_event()
110 static void lola_update_rirb(struct lola *chip) in lola_update_rirb()
138 static int rirb_get_response(struct lola *chip, unsigned int *val, in rirb_get_response()
182 int lola_codec_write(struct lola *chip, unsigned int nid, unsigned int verb, in lola_codec_write()
191 int lola_codec_read(struct lola *chip, unsigned int nid, unsigned int verb, in lola_codec_read()
207 int lola_codec_flush(struct lola *chip) in lola_codec_flush()
218 struct lola *chip = dev_id; in lola_interrupt() local
296 static int reset_controller(struct lola *chip) in reset_controller()
323 static void lola_irq_enable(struct lola *chip) in lola_irq_enable()
[all …]
H A Dlola_pcm.c23 struct lola *chip = snd_pcm_substream_chip(substream); in lola_get_pcm() local
34 static unsigned int lola_get_lrc(struct lola *chip) in lola_get_lrc()
39 static unsigned int lola_get_tstamp(struct lola *chip, bool quick_no_sync) in lola_get_tstamp()
51 static void lola_stream_clear_pending_irq(struct lola *chip, in lola_stream_clear_pending_irq()
60 static void lola_stream_start(struct lola *chip, struct lola_stream *str, in lola_stream_start()
72 static void lola_stream_stop(struct lola *chip, struct lola_stream *str, in lola_stream_stop()
83 static void wait_for_srst_clear(struct lola *chip, struct lola_stream *str) in wait_for_srst_clear()
96 static int lola_stream_wait_for_fifo(struct lola *chip, in lola_stream_wait_for_fifo()
115 static int lola_sync_wait_for_fifo(struct lola *chip, in lola_sync_wait_for_fifo()
151 static void lola_sync_pause(struct lola *chip, in lola_sync_pause()
[all …]
/OK3568_Linux_fs/kernel/sound/drivers/vx/
H A Dvx_uer.c20 static int vx_modify_board_clock(struct vx_core *chip, int sync) in vx_modify_board_clock()
34 static int vx_modify_board_inputs(struct vx_core *chip) in vx_modify_board_inputs()
48 static int vx_read_one_cbit(struct vx_core *chip, int index) in vx_read_one_cbit()
71 static void vx_write_one_cbit(struct vx_core *chip, int index, int val) in vx_write_one_cbit()
92 static int vx_read_uer_status(struct vx_core *chip, unsigned int *mode) in vx_read_uer_status()
148 static int vx_calc_clock_from_freq(struct vx_core *chip, int freq) in vx_calc_clock_from_freq()
177 static void vx_change_clock_source(struct vx_core *chip, int source) in vx_change_clock_source()
193 void vx_set_internal_clock(struct vx_core *chip, unsigned int freq) in vx_set_internal_clock()
216 void vx_set_iec958_status(struct vx_core *chip, unsigned int bits) in vx_set_iec958_status()
231 int vx_set_clock(struct vx_core *chip, unsigned int freq) in vx_set_clock()
[all …]
H A Dvx_mixer.c20 static void vx_write_codec_reg(struct vx_core *chip, int codec, unsigned int data) in vx_write_codec_reg()
74 static void vx_set_codec_reg(struct vx_core *chip, int codec, int reg, int val) in vx_set_codec_reg()
91 static void vx_set_analog_output_level(struct vx_core *chip, int codec, int left, int right) in vx_set_analog_output_level()
115 void vx_toggle_dac_mute(struct vx_core *chip, int mute) in vx_toggle_dac_mute()
130 void vx_reset_codec(struct vx_core *chip, int cold_reset) in vx_reset_codec()
164 static void vx_change_audio_source(struct vx_core *chip, int src) in vx_change_audio_source()
179 int vx_sync_audio_source(struct vx_core *chip) in vx_sync_audio_source()
204 static int vx_adjust_audio_level(struct vx_core *chip, int audio, int capture, in vx_adjust_audio_level()
270 int vx_set_monitor_level(struct vx_core *chip, int audio, int level, int active) in vx_set_monitor_level()
288 static int vx_set_audio_switch(struct vx_core *chip, int audio, int active) in vx_set_audio_switch()
[all …]
/OK3568_Linux_fs/kernel/sound/pci/cs46xx/
H A Ddsp_spos.c45 static int shadow_and_reallocate_code (struct snd_cs46xx * chip, u32 * data, u32 size, in shadow_and_reallocate_code()
139 static int add_symbols (struct snd_cs46xx * chip, struct dsp_module_desc * module) in add_symbols()
185 add_symbol (struct snd_cs46xx * chip, char * symbol_name, u32 address, int type) in add_symbol()
222 struct dsp_spos_instance *cs46xx_dsp_spos_create (struct snd_cs46xx * chip) in cs46xx_dsp_spos_create()
278 void cs46xx_dsp_spos_destroy (struct snd_cs46xx * chip) in cs46xx_dsp_spos_destroy()
303 static int dsp_load_parameter(struct snd_cs46xx *chip, in dsp_load_parameter()
328 static int dsp_load_sample(struct snd_cs46xx *chip, in dsp_load_sample()
354 int cs46xx_dsp_load_module (struct snd_cs46xx * chip, struct dsp_module_desc * module) in cs46xx_dsp_load_module()
445 cs46xx_dsp_lookup_symbol (struct snd_cs46xx * chip, char * symbol_name, int symbol_type) in cs46xx_dsp_lookup_symbol()
472 cs46xx_dsp_lookup_symbol_addr (struct snd_cs46xx * chip, u32 address, int symbol_type) in cs46xx_dsp_lookup_symbol_addr()
[all …]
/OK3568_Linux_fs/kernel/sound/sh/
H A Dsh_dac_audio.c54 static void dac_audio_start_timer(struct snd_sh_dac *chip) in dac_audio_start_timer()
60 static void dac_audio_stop_timer(struct snd_sh_dac *chip) in dac_audio_stop_timer()
65 static void dac_audio_reset(struct snd_sh_dac *chip) in dac_audio_reset()
73 static void dac_audio_set_rate(struct snd_sh_dac *chip) in dac_audio_set_rate()
101 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); in snd_sh_dac_pcm_open() local
118 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); in snd_sh_dac_pcm_close() local
130 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); in snd_sh_dac_pcm_prepare() local
141 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); in snd_sh_dac_pcm_trigger() local
165 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); in snd_sh_dac_pcm_copy() local
184 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); in snd_sh_dac_pcm_copy_kernel() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/dsa/mv88e6xxx/
H A Ddevlink.c10 static int mv88e6xxx_atu_get_hash(struct mv88e6xxx_chip *chip, u8 *hash) in mv88e6xxx_atu_get_hash()
18 static int mv88e6xxx_atu_set_hash(struct mv88e6xxx_chip *chip, u8 hash) in mv88e6xxx_atu_set_hash()
34 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_devlink_param_get() local
56 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_devlink_param_set() local
101 static u64 mv88e6xxx_devlink_atu_bin_get(struct mv88e6xxx_chip *chip, in mv88e6xxx_devlink_atu_bin_get()
138 struct mv88e6xxx_chip *chip = priv; in mv88e6xxx_devlink_atu_bin_0_get() local
146 struct mv88e6xxx_chip *chip = priv; in mv88e6xxx_devlink_atu_bin_1_get() local
154 struct mv88e6xxx_chip *chip = priv; in mv88e6xxx_devlink_atu_bin_2_get() local
162 struct mv88e6xxx_chip *chip = priv; in mv88e6xxx_devlink_atu_bin_3_get() local
179 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_setup_devlink_resources() local
[all …]
H A Dhwtstamp.c21 static int mv88e6xxx_port_ptp_read(struct mv88e6xxx_chip *chip, int port, in mv88e6xxx_port_ptp_read()
31 static int mv88e6xxx_port_ptp_write(struct mv88e6xxx_chip *chip, int port, in mv88e6xxx_port_ptp_write()
41 static int mv88e6xxx_ptp_write(struct mv88e6xxx_chip *chip, int addr, in mv88e6xxx_ptp_write()
50 static int mv88e6xxx_ptp_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6xxx_ptp_read()
70 struct mv88e6xxx_chip *chip; in mv88e6xxx_get_ts_info() local
91 static int mv88e6xxx_set_hwtstamp_config(struct mv88e6xxx_chip *chip, int port, in mv88e6xxx_set_hwtstamp_config()
178 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_port_hwtstamp_set() local
203 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_port_hwtstamp_get() local
217 static struct ptp_header *mv88e6xxx_should_tstamp(struct mv88e6xxx_chip *chip, in mv88e6xxx_should_tstamp()
256 static void mv88e6xxx_get_rxts(struct mv88e6xxx_chip *chip, in mv88e6xxx_get_rxts()
[all …]
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
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()
281 static int nand_isbad_bbm(struct nand_chip *chip, loff_t ofs) in nand_isbad_bbm()
300 static void nand_get_device(struct nand_chip *chip) in nand_get_device()
322 static int nand_check_wp(struct nand_chip *chip) in nand_check_wp()
346 static uint8_t *nand_fill_oob(struct nand_chip *chip, uint8_t *oob, size_t len, in nand_fill_oob()
[all …]
H A Dnand_toshiba.c29 static int toshiba_nand_benand_read_eccstatus_op(struct nand_chip *chip, in toshiba_nand_benand_read_eccstatus_op()
50 static int toshiba_nand_benand_eccstatus(struct nand_chip *chip) in toshiba_nand_benand_eccstatus()
96 toshiba_nand_read_page_benand(struct nand_chip *chip, uint8_t *buf, in toshiba_nand_read_page_benand()
109 toshiba_nand_read_subpage_benand(struct nand_chip *chip, uint32_t data_offs, in toshiba_nand_read_subpage_benand()
122 static void toshiba_nand_benand_init(struct nand_chip *chip) in toshiba_nand_benand_init()
146 static void toshiba_nand_decode_id(struct nand_chip *chip) in toshiba_nand_decode_id()
202 tc58teg5dclta00_choose_interface_config(struct nand_chip *chip, in tc58teg5dclta00_choose_interface_config()
211 tc58nvg0s3e_choose_interface_config(struct nand_chip *chip, in tc58nvg0s3e_choose_interface_config()
220 th58nvg2s3hbai4_choose_interface_config(struct nand_chip *chip, in th58nvg2s3hbai4_choose_interface_config()
246 static int tc58teg5dclta00_init(struct nand_chip *chip) in tc58teg5dclta00_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/char/tpm/
H A Dtpm_tis_core.c32 static bool wait_for_tpm_stat_cond(struct tpm_chip *chip, u8 mask, in wait_for_tpm_stat_cond()
47 static int wait_for_tpm_stat(struct tpm_chip *chip, u8 mask, in wait_for_tpm_stat()
99 static int wait_startup(struct tpm_chip *chip, int l) in wait_startup()
119 static bool check_locality(struct tpm_chip *chip, int l) in check_locality()
139 static int release_locality(struct tpm_chip *chip, int l) in release_locality()
148 static int request_locality(struct tpm_chip *chip, int l) in request_locality()
189 static u8 tpm_tis_status(struct tpm_chip *chip) in tpm_tis_status()
224 static void tpm_tis_ready(struct tpm_chip *chip) in tpm_tis_ready()
232 static int get_burstcount(struct tpm_chip *chip) in get_burstcount()
257 static int recv_data(struct tpm_chip *chip, u8 *buf, size_t count) in recv_data()
[all …]
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Dnand_base.c109 struct nand_chip *chip = mtd_to_nand(mtd); in check_offs_len() local
135 struct nand_chip *chip = mtd_to_nand(mtd); in nand_release_device() local
149 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_byte() local
162 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_byte16() local
174 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_word() local
187 struct nand_chip *chip = mtd_to_nand(mtd); in nand_select_chip() local
210 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_byte() local
224 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_byte16() local
289 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_buf() local
304 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_buf() local
[all …]
/OK3568_Linux_fs/kernel/sound/atmel/
H A Dac97c.c59 #define ac97c_writel(chip, reg, val) \ argument
61 #define ac97c_readl(chip, reg) \ argument
88 struct atmel_ac97c *chip = snd_pcm_substream_chip(substream); in atmel_ac97c_playback_open() local
107 struct atmel_ac97c *chip = snd_pcm_substream_chip(substream); in atmel_ac97c_capture_open() local
126 struct atmel_ac97c *chip = snd_pcm_substream_chip(substream); in atmel_ac97c_playback_close() local
143 struct atmel_ac97c *chip = snd_pcm_substream_chip(substream); in atmel_ac97c_capture_close() local
161 struct atmel_ac97c *chip = snd_pcm_substream_chip(substream); in atmel_ac97c_playback_hw_params() local
175 struct atmel_ac97c *chip = snd_pcm_substream_chip(substream); in atmel_ac97c_capture_hw_params() local
188 struct atmel_ac97c *chip = snd_pcm_substream_chip(substream); in atmel_ac97c_playback_prepare() local
270 struct atmel_ac97c *chip = snd_pcm_substream_chip(substream); in atmel_ac97c_capture_prepare() local
[all …]
/OK3568_Linux_fs/kernel/drivers/misc/
H A Dbh1770glc.c179 static inline int bh1770_lux_interrupt_control(struct bh1770_chip *chip, in bh1770_lux_interrupt_control()
189 static inline int bh1770_prox_interrupt_control(struct bh1770_chip *chip, in bh1770_prox_interrupt_control()
199 static int bh1770_lux_rate(struct bh1770_chip *chip, int rate_index) in bh1770_lux_rate()
214 static int bh1770_prox_rate(struct bh1770_chip *chip, int mode) in bh1770_prox_rate()
227 static inline int bh1770_led_cfg(struct bh1770_chip *chip) in bh1770_led_cfg()
243 static inline u8 bh1770_psraw_to_adjusted(struct bh1770_chip *chip, u8 psraw) in bh1770_psraw_to_adjusted()
253 static inline u8 bh1770_psadjusted_to_raw(struct bh1770_chip *chip, u8 ps) in bh1770_psadjusted_to_raw()
271 static int bh1770_prox_set_threshold(struct bh1770_chip *chip) in bh1770_prox_set_threshold()
286 static inline u16 bh1770_lux_raw_to_adjusted(struct bh1770_chip *chip, u16 raw) in bh1770_lux_raw_to_adjusted()
293 static inline u16 bh1770_lux_adjusted_to_raw(struct bh1770_chip *chip, in bh1770_lux_adjusted_to_raw()
[all …]
/OK3568_Linux_fs/kernel/sound/pci/
H A Dazt3328.c398 snd_azf3328_ctrl_outb(const struct snd_azf3328 *chip, unsigned reg, u8 value) in snd_azf3328_ctrl_outb()
404 snd_azf3328_ctrl_inb(const struct snd_azf3328 *chip, unsigned reg) in snd_azf3328_ctrl_inb()
410 snd_azf3328_ctrl_inw(const struct snd_azf3328 *chip, unsigned reg) in snd_azf3328_ctrl_inw()
416 snd_azf3328_ctrl_outw(const struct snd_azf3328 *chip, unsigned reg, u16 value) in snd_azf3328_ctrl_outw()
422 snd_azf3328_ctrl_outl(const struct snd_azf3328 *chip, unsigned reg, u32 value) in snd_azf3328_ctrl_outl()
428 snd_azf3328_game_outb(const struct snd_azf3328 *chip, unsigned reg, u8 value) in snd_azf3328_game_outb()
434 snd_azf3328_game_outw(const struct snd_azf3328 *chip, unsigned reg, u16 value) in snd_azf3328_game_outw()
440 snd_azf3328_game_inb(const struct snd_azf3328 *chip, unsigned reg) in snd_azf3328_game_inb()
446 snd_azf3328_game_inw(const struct snd_azf3328 *chip, unsigned reg) in snd_azf3328_game_inw()
452 snd_azf3328_mixer_outw(const struct snd_azf3328 *chip, unsigned reg, u16 value) in snd_azf3328_mixer_outw()
[all …]
/OK3568_Linux_fs/kernel/sound/isa/msnd/
H A Dmsnd.c195 static inline long get_play_delay_jiffies(struct snd_msnd *chip, long size) in get_play_delay_jiffies()
201 static void snd_msnd_dsp_write_flush(struct snd_msnd *chip) in snd_msnd_dsp_write_flush()
216 void snd_msnd_dsp_halt(struct snd_msnd *chip, struct file *file) in snd_msnd_dsp_halt()
246 int snd_msnd_DARQ(struct snd_msnd *chip, int bank) in snd_msnd_DARQ()
295 int snd_msnd_DAPQ(struct snd_msnd *chip, int start) in snd_msnd_DAPQ()
355 static void snd_msnd_play_reset_queue(struct snd_msnd *chip, in snd_msnd_play_reset_queue()
383 static void snd_msnd_capture_reset_queue(struct snd_msnd *chip, in snd_msnd_capture_reset_queue()
469 struct snd_msnd *chip = snd_pcm_substream_chip(substream); in snd_msnd_playback_open() local
485 struct snd_msnd *chip = snd_pcm_substream_chip(substream); in snd_msnd_playback_close() local
497 struct snd_msnd *chip = snd_pcm_substream_chip(substream); in snd_msnd_playback_hw_params() local
[all …]
/OK3568_Linux_fs/kernel/sound/pci/hda/
H A Dhda_controller.c40 azx_assign_device(struct azx *chip, struct snd_pcm_substream *substream) in azx_assign_device()
91 struct azx *chip = apcm->chip; in azx_pcm_close() local
109 struct azx *chip = apcm->chip; in azx_pcm_hw_params() local
150 struct azx *chip = apcm->chip; in azx_pcm_prepare() local
205 struct azx *chip = apcm->chip; in azx_pcm_trigger() local
278 unsigned int azx_get_pos_lpib(struct azx *chip, struct azx_dev *azx_dev) in azx_get_pos_lpib()
284 unsigned int azx_get_pos_posbuf(struct azx *chip, struct azx_dev *azx_dev) in azx_get_pos_posbuf()
290 unsigned int azx_get_position(struct azx *chip, in azx_get_position()
326 struct azx *chip = apcm->chip; in azx_pcm_pointer() local
370 struct azx *chip = apcm->chip; in azx_get_sync_time() local
[all …]
/OK3568_Linux_fs/kernel/drivers/rtc/
H A Drtc-v3020.c62 static int v3020_mmio_map(struct v3020 *chip, struct platform_device *pdev, in v3020_mmio_map()
79 static void v3020_mmio_unmap(struct v3020 *chip) in v3020_mmio_unmap()
84 static void v3020_mmio_write_bit(struct v3020 *chip, unsigned char bit) in v3020_mmio_write_bit()
89 static unsigned char v3020_mmio_read_bit(struct v3020 *chip) in v3020_mmio_read_bit()
108 static int v3020_gpio_map(struct v3020 *chip, struct platform_device *pdev, in v3020_gpio_map()
126 static void v3020_gpio_unmap(struct v3020 *chip) in v3020_gpio_unmap()
131 static void v3020_gpio_write_bit(struct v3020 *chip, unsigned char bit) in v3020_gpio_write_bit()
141 static unsigned char v3020_gpio_read_bit(struct v3020 *chip) in v3020_gpio_read_bit()
164 static void v3020_set_reg(struct v3020 *chip, unsigned char address, in v3020_set_reg()
187 static unsigned char v3020_get_reg(struct v3020 *chip, unsigned char address) in v3020_get_reg()
[all …]
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dmax17040_battery.c160 static int max17040_reset(struct max17040_chip *chip) in max17040_reset()
165 static int max17040_set_low_soc_alert(struct max17040_chip *chip, u32 level) in max17040_set_low_soc_alert()
172 static int max17040_set_soc_alert(struct max17040_chip *chip, bool enable) in max17040_set_soc_alert()
178 static int max17040_set_rcomp(struct max17040_chip *chip, u16 rcomp) in max17040_set_rcomp()
186 static int max17040_raw_vcell_to_uvolts(struct max17040_chip *chip, u16 vcell) in max17040_raw_vcell_to_uvolts()
194 static int max17040_get_vcell(struct max17040_chip *chip) in max17040_get_vcell()
203 static int max17040_get_soc(struct max17040_chip *chip) in max17040_get_soc()
212 static int max17040_get_version(struct max17040_chip *chip) in max17040_get_version()
222 static int max17040_get_online(struct max17040_chip *chip) in max17040_get_online()
228 static int max17040_get_status(struct max17040_chip *chip) in max17040_get_status()
[all …]

12345678910>>...59