| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | da903x.c | 129 struct da903x_chip *chip = dev_get_drvdata(dev); in da903x_register_notifier() local 139 struct da903x_chip *chip = dev_get_drvdata(dev); in da903x_unregister_notifier() local 172 struct da903x_chip *chip = dev_get_drvdata(dev); in da903x_set_bits() local 194 struct da903x_chip *chip = dev_get_drvdata(dev); in da903x_clr_bits() local 216 struct da903x_chip *chip = dev_get_drvdata(dev); in da903x_update() local 238 struct da903x_chip *chip = dev_get_drvdata(dev); in da903x_query_status() local 246 static int da9030_init_chip(struct da903x_chip *chip) in da9030_init_chip() 263 static int da9030_unmask_events(struct da903x_chip *chip, unsigned int events) in da9030_unmask_events() 276 static int da9030_mask_events(struct da903x_chip *chip, unsigned int events) in da9030_mask_events() 289 static int da9030_read_events(struct da903x_chip *chip, unsigned int *events) in da9030_read_events() [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/oxygen/ |
| H A D | xonar_lib.c | 22 void xonar_enable_output(struct oxygen *chip) in xonar_enable_output() 31 void xonar_disable_output(struct oxygen *chip) in xonar_disable_output() 38 static void xonar_ext_power_gpio_changed(struct oxygen *chip) in xonar_ext_power_gpio_changed() 57 void xonar_init_ext_power(struct oxygen *chip) in xonar_init_ext_power() 69 void xonar_init_cs53x1(struct oxygen *chip) in xonar_init_cs53x1() 76 void xonar_set_cs53x1_params(struct oxygen *chip, in xonar_set_cs53x1_params() 94 struct oxygen *chip = ctl->private_data; in xonar_gpio_bit_switch_get() local 106 struct oxygen *chip = ctl->private_data; in xonar_gpio_bit_switch_put() local
|
| H A D | oxygen_pcm.c | 123 struct oxygen *chip = snd_pcm_substream_chip(substream); in oxygen_open() local 221 struct oxygen *chip = snd_pcm_substream_chip(substream); in oxygen_close() local 305 struct oxygen *chip = snd_pcm_substream_chip(substream); in oxygen_hw_params() local 324 static u16 get_mclk(struct oxygen *chip, unsigned int channel, in get_mclk() 347 struct oxygen *chip = snd_pcm_substream_chip(substream); in oxygen_rec_a_hw_params() local 378 struct oxygen *chip = snd_pcm_substream_chip(substream); in oxygen_rec_b_hw_params() local 416 struct oxygen *chip = snd_pcm_substream_chip(substream); in oxygen_rec_c_hw_params() local 453 struct oxygen *chip = snd_pcm_substream_chip(substream); in oxygen_spdif_hw_params() local 479 struct oxygen *chip = snd_pcm_substream_chip(substream); in oxygen_multich_hw_params() local 514 struct oxygen *chip = snd_pcm_substream_chip(substream); in oxygen_hw_free() local [all …]
|
| H A D | xonar_hdmi.c | 18 static void hdmi_write_command(struct oxygen *chip, u8 command, in hdmi_write_command() 36 static void xonar_hdmi_init_commands(struct oxygen *chip, in xonar_hdmi_init_commands() 49 void xonar_hdmi_init(struct oxygen *chip, struct xonar_hdmi *hdmi) in xonar_hdmi_init() 56 void xonar_hdmi_cleanup(struct oxygen *chip) in xonar_hdmi_cleanup() 63 void xonar_hdmi_resume(struct oxygen *chip, struct xonar_hdmi *hdmi) in xonar_hdmi_resume() 80 void xonar_set_hdmi_params(struct oxygen *chip, struct xonar_hdmi *hdmi, in xonar_set_hdmi_params() 107 void xonar_hdmi_uart_input(struct oxygen *chip) in xonar_hdmi_uart_input()
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/cx23885/ |
| H A D | cx23885-alsa.c | 71 static int cx23885_alsa_dma_init(struct cx23885_audio_dev *chip, in cx23885_alsa_dma_init() 151 static int cx23885_start_audio_dma(struct cx23885_audio_dev *chip) in cx23885_start_audio_dma() 204 static int cx23885_stop_audio_dma(struct cx23885_audio_dev *chip) in cx23885_stop_audio_dma() 229 struct cx23885_audio_dev *chip = dev->audio_dev; in cx23885_audio_irq() local 259 static int dsp_buffer_free(struct cx23885_audio_dev *chip) in dsp_buffer_free() 313 struct cx23885_audio_dev *chip = snd_pcm_substream_chip(substream); in snd_cx23885_pcm_open() local 361 struct cx23885_audio_dev *chip = snd_pcm_substream_chip(substream); in snd_cx23885_hw_params() local 421 struct cx23885_audio_dev *chip = snd_pcm_substream_chip(substream); in snd_cx23885_hw_free() local 445 struct cx23885_audio_dev *chip = snd_pcm_substream_chip(substream); in snd_cx23885_card_trigger() local 474 struct cx23885_audio_dev *chip = snd_pcm_substream_chip(substream); in snd_cx23885_pointer() local [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/ |
| H A D | intel8x0m.c | 236 static inline u8 igetbyte(struct intel8x0m *chip, u32 offset) in igetbyte() 241 static inline u16 igetword(struct intel8x0m *chip, u32 offset) in igetword() 246 static inline u32 igetdword(struct intel8x0m *chip, u32 offset) in igetdword() 251 static inline void iputbyte(struct intel8x0m *chip, u32 offset, u8 val) in iputbyte() 256 static inline void iputword(struct intel8x0m *chip, u32 offset, u16 val) in iputword() 261 static inline void iputdword(struct intel8x0m *chip, u32 offset, u32 val) in iputdword() 270 static inline u16 iagetword(struct intel8x0m *chip, u32 offset) in iagetword() 275 static inline void iaputword(struct intel8x0m *chip, u32 offset, u16 val) in iaputword() 289 static unsigned int get_ich_codec_bit(struct intel8x0m *chip, unsigned int codec) in get_ich_codec_bit() 299 static int snd_intel8x0m_codec_semaphore(struct intel8x0m *chip, unsigned int codec) in snd_intel8x0m_codec_semaphore() [all …]
|
| H A D | via82xx.c | 416 struct via82xx *chip = snd_pcm_substream_chip(substream); in build_via_table() local 502 static inline unsigned int snd_via82xx_codec_xread(struct via82xx *chip) in snd_via82xx_codec_xread() 507 static inline void snd_via82xx_codec_xwrite(struct via82xx *chip, unsigned int val) in snd_via82xx_codec_xwrite() 512 static int snd_via82xx_codec_ready(struct via82xx *chip, int secondary) in snd_via82xx_codec_ready() 527 static int snd_via82xx_codec_valid(struct via82xx *chip, int secondary) in snd_via82xx_codec_valid() 546 struct via82xx *chip = ac97->private_data; in snd_via82xx_codec_wait() local 558 struct via82xx *chip = ac97->private_data; in snd_via82xx_codec_write() local 571 struct via82xx *chip = ac97->private_data; in snd_via82xx_codec_read() local 597 static void snd_via82xx_channel_reset(struct via82xx *chip, struct viadev *viadev) in snd_via82xx_channel_reset() 620 struct via82xx *chip = dev_id; in snd_via686_interrupt() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/char/tpm/ |
| H A D | tpm2-space.c | 31 static void tpm2_flush_sessions(struct tpm_chip *chip, struct tpm_space *space) in tpm2_flush_sessions() 59 void tpm2_del_space(struct tpm_chip *chip, struct tpm_space *space) in tpm2_del_space() 71 static int tpm2_load_context(struct tpm_chip *chip, u8 *buf, in tpm2_load_context() 122 static int tpm2_save_context(struct tpm_chip *chip, u32 handle, u8 *buf, in tpm2_save_context() 164 void tpm2_flush_space(struct tpm_chip *chip) in tpm2_flush_space() 176 static int tpm2_load_space(struct tpm_chip *chip) in tpm2_load_space() 239 static int tpm2_map_command(struct tpm_chip *chip, u32 cc, u8 *cmd) in tpm2_map_command() 265 static int tpm_find_and_validate_cc(struct tpm_chip *chip, in tpm_find_and_validate_cc() 300 int tpm2_prepare_space(struct tpm_chip *chip, struct tpm_space *space, u8 *cmd, in tpm2_prepare_space() 338 static bool tpm2_add_session(struct tpm_chip *chip, u32 handle) in tpm2_add_session() [all …]
|
| H A D | tpm1-cmd.c | 291 unsigned long tpm1_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal) in tpm1_calc_ordinal_duration() 324 static int tpm1_startup(struct tpm_chip *chip) in tpm1_startup() 342 int tpm1_get_timeouts(struct tpm_chip *chip) in tpm1_get_timeouts() 463 int tpm1_pcr_extend(struct tpm_chip *chip, u32 pcr_idx, const u8 *hash, in tpm1_pcr_extend() 482 ssize_t tpm1_getcap(struct tpm_chip *chip, u32 subcap_id, cap_t *cap, in tpm1_getcap() 530 int tpm1_get_random(struct tpm_chip *chip, u8 *dest, size_t max) in tpm1_get_random() 584 int tpm1_pcr_read(struct tpm_chip *chip, u32 pcr_idx, u8 *res_buf) in tpm1_pcr_read() 620 static int tpm1_continue_selftest(struct tpm_chip *chip) in tpm1_continue_selftest() 642 int tpm1_do_selftest(struct tpm_chip *chip) in tpm1_do_selftest() 704 int tpm1_auto_startup(struct tpm_chip *chip) in tpm1_auto_startup() [all …]
|
| /OK3568_Linux_fs/kernel/sound/isa/sb/ |
| H A D | sb_common.c | 30 int snd_sbdsp_command(struct snd_sb *chip, unsigned char val) in snd_sbdsp_command() 45 int snd_sbdsp_get_byte(struct snd_sb *chip) in snd_sbdsp_get_byte() 62 int snd_sbdsp_reset(struct snd_sb *chip) in snd_sbdsp_reset() 81 static int snd_sbdsp_version(struct snd_sb * chip) in snd_sbdsp_version() 91 static int snd_sbdsp_probe(struct snd_sb * chip) in snd_sbdsp_probe() 171 static int snd_sbdsp_free(struct snd_sb *chip) in snd_sbdsp_free() 192 struct snd_sb *chip = device->device_data; in snd_sbdsp_dev_free() local 205 struct snd_sb *chip; in snd_sbdsp_create() local
|
| /OK3568_Linux_fs/kernel/drivers/pwm/ |
| H A D | pwm-samsung.c | 82 struct pwm_chip chip; member 109 struct samsung_pwm_chip *to_samsung_pwm_chip(struct pwm_chip *chip) in to_samsung_pwm_chip() 140 static int pwm_samsung_is_tdiv(struct samsung_pwm_chip *chip, unsigned int chan) in pwm_samsung_is_tdiv() 152 static unsigned long pwm_samsung_get_tin_rate(struct samsung_pwm_chip *chip, in pwm_samsung_get_tin_rate() 168 static unsigned long pwm_samsung_calc_tin(struct samsung_pwm_chip *chip, in pwm_samsung_calc_tin() 214 static int pwm_samsung_request(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_samsung_request() 235 static void pwm_samsung_free(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_samsung_free() 240 static int pwm_samsung_enable(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_samsung_enable() 266 static void pwm_samsung_disable(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_samsung_disable() 284 static void pwm_samsung_manual_update(struct samsung_pwm_chip *chip, in pwm_samsung_manual_update() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/usb/gadget/ |
| H A D | fotg210.c | 39 struct fotg210_chip *chip; member 67 static inline int fifo_to_ep(struct fotg210_chip *chip, int id, int in) in fifo_to_ep() 72 static inline int ep_to_fifo(struct fotg210_chip *chip, int id) in ep_to_fifo() 77 static inline int ep_reset(struct fotg210_chip *chip, uint8_t ep_addr) in ep_reset() 101 static int fotg210_reset(struct fotg210_chip *chip) in fotg210_reset() 190 static inline int fotg210_cxwait(struct fotg210_chip *chip, uint32_t mask) in fotg210_cxwait() 211 struct fotg210_chip *chip = ep->chip; in fotg210_dma() local 319 static void fotg210_setup(struct fotg210_chip *chip) in fotg210_setup() 467 static void fotg210_recv(struct fotg210_chip *chip, int ep_id) in fotg210_recv() 505 struct fotg210_chip *chip = ep->chip; in fotg210_ep_enable() local [all …]
|
| /OK3568_Linux_fs/kernel/sound/mips/ |
| H A D | sgio2audio.c | 104 struct snd_sgio2audio *chip = priv; in read_ad1843_reg() local 127 struct snd_sgio2audio *chip = priv; in write_ad1843_reg() local 147 struct snd_sgio2audio *chip = snd_kcontrol_chip(kcontrol); in sgio2audio_gain_info() local 160 struct snd_sgio2audio *chip = snd_kcontrol_chip(kcontrol); in sgio2audio_gain_get() local 174 struct snd_sgio2audio *chip = snd_kcontrol_chip(kcontrol); in sgio2audio_gain_put() local 199 struct snd_sgio2audio *chip = snd_kcontrol_chip(kcontrol); in sgio2audio_source_get() local 208 struct snd_sgio2audio *chip = snd_kcontrol_chip(kcontrol); in sgio2audio_source_put() local 299 static int snd_sgio2audio_new_mixer(struct snd_sgio2audio *chip) in snd_sgio2audio_new_mixer() 344 static int snd_sgio2audio_dma_pull_frag(struct snd_sgio2audio *chip, in snd_sgio2audio_dma_pull_frag() 392 static int snd_sgio2audio_dma_push_frag(struct snd_sgio2audio *chip, in snd_sgio2audio_dma_push_frag() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpio-max732x.c | 158 static int max732x_writeb(struct max732x_chip *chip, int group_a, uint8_t val) in max732x_writeb() 173 static int max732x_readb(struct max732x_chip *chip, int group_a, uint8_t *val) in max732x_readb() 189 static inline int is_group_a(struct max732x_chip *chip, unsigned off) in is_group_a() 196 struct max732x_chip *chip = gpiochip_get_data(gc); in max732x_gpio_get_value() local 210 struct max732x_chip *chip = gpiochip_get_data(gc); in max732x_gpio_set_mask() local 254 struct max732x_chip *chip = gpiochip_get_data(gc); in max732x_gpio_direction_input() local 276 struct max732x_chip *chip = gpiochip_get_data(gc); in max732x_gpio_direction_output() local 290 static int max732x_writew(struct max732x_chip *chip, uint16_t val) in max732x_writew() 305 static int max732x_readw(struct max732x_chip *chip, uint16_t *val) in max732x_readw() 319 static void max732x_irq_update_mask(struct max732x_chip *chip) in max732x_irq_update_mask() [all …]
|
| H A D | gpio-pch.c | 101 struct pch_gpio *chip = gpiochip_get_data(gpio); in pch_gpio_set() local 117 struct pch_gpio *chip = gpiochip_get_data(gpio); in pch_gpio_get() local 125 struct pch_gpio *chip = gpiochip_get_data(gpio); in pch_gpio_direction_output() local 151 struct pch_gpio *chip = gpiochip_get_data(gpio); in pch_gpio_direction_input() local 168 static void __maybe_unused pch_gpio_save_reg_conf(struct pch_gpio *chip) in pch_gpio_save_reg_conf() 184 static void __maybe_unused pch_gpio_restore_reg_conf(struct pch_gpio *chip) in pch_gpio_restore_reg_conf() 201 struct pch_gpio *chip = gpiochip_get_data(gpio); in pch_gpio_to_irq() local 206 static void pch_gpio_setup(struct pch_gpio *chip) in pch_gpio_setup() 226 struct pch_gpio *chip = gc->private; in pch_irq_type() local 281 struct pch_gpio *chip = gc->private; in pch_irq_unmask() local [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/echoaudio/ |
| H A D | mona_dsp.c | 40 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) in init_hw() 79 static int set_mixer_defaults(struct echoaudio *chip) in set_mixer_defaults() 89 static u32 detect_input_clocks(const struct echoaudio *chip) in detect_input_clocks() 115 static int load_asic(struct echoaudio *chip) in load_asic() 162 static int switch_asic(struct echoaudio *chip, char double_speed) in switch_asic() 196 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate() 298 static int set_input_clock(struct echoaudio *chip, u16 clock) in set_input_clock() 359 static int dsp_set_digital_mode(struct echoaudio *chip, u8 mode) in dsp_set_digital_mode()
|
| /OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/ |
| H A D | tcpci_husb311.c | 35 static int husb311_read8(struct husb311_chip *chip, unsigned int reg, u8 *val) in husb311_read8() 40 static int husb311_write8(struct husb311_chip *chip, unsigned int reg, u8 val) in husb311_write8() 45 static int husb311_write16(struct husb311_chip *chip, unsigned int reg, u16 val) in husb311_write16() 61 static int husb311_sw_reset(struct husb311_chip *chip) in husb311_sw_reset() 70 struct husb311_chip *chip = tdata_to_husb311(tdata); in husb311_init() local 88 struct husb311_chip *chip = tdata_to_husb311(tdata); in husb311_set_vbus() local 114 struct husb311_chip *chip = dev_id; in husb311_irq() local 152 struct husb311_chip *chip; in husb311_probe() local 209 struct husb311_chip *chip = i2c_get_clientdata(client); in husb311_remove() local 217 struct husb311_chip *chip = dev->driver_data; in husb311_pm_suspend() local [all …]
|
| H A D | tcpci_et7303.c | 39 static int et7303_read16(struct et7303_chip *chip, unsigned int reg, u16 *val) in et7303_read16() 44 static int et7303_write16(struct et7303_chip *chip, unsigned int reg, u16 val) in et7303_write16() 49 static int et7303_read8(struct et7303_chip *chip, unsigned int reg, u8 *val) in et7303_read8() 54 static int et7303_write8(struct et7303_chip *chip, unsigned int reg, u8 val) in et7303_write8() 73 struct et7303_chip *chip = tdata_to_et7303(tdata); in et7303_init() local 94 struct et7303_chip *chip = tdata_to_et7303(tdata); in et7303_set_vbus() local 121 struct et7303_chip *chip = tdata_to_et7303(tdata); in et7303_set_vconn() local 131 struct et7303_chip *chip = tdata_to_et7303(tdata); in et7303_start_drp_toggling() local 171 struct et7303_chip *chip = dev_id; in et7303_irq() local 190 static int et7303_sw_reset(struct et7303_chip *chip) in et7303_sw_reset() [all …]
|
| H A D | tcpci_rt1711h.c | 44 static int rt1711h_read16(struct rt1711h_chip *chip, unsigned int reg, u16 *val) in rt1711h_read16() 49 static int rt1711h_write16(struct rt1711h_chip *chip, unsigned int reg, u16 val) in rt1711h_write16() 54 static int rt1711h_read8(struct rt1711h_chip *chip, unsigned int reg, u8 *val) in rt1711h_read8() 59 static int rt1711h_write8(struct rt1711h_chip *chip, unsigned int reg, u8 val) in rt1711h_write8() 79 struct rt1711h_chip *chip = tdata_to_rt1711h(tdata); in rt1711h_init() local 110 struct rt1711h_chip *chip = tdata_to_rt1711h(tdata); in rt1711h_set_vconn() local 120 struct rt1711h_chip *chip = tdata_to_rt1711h(tdata); in rt1711h_start_drp_toggling() local 160 struct rt1711h_chip *chip = dev_id; in rt1711h_irq() local 182 static int rt1711h_sw_reset(struct rt1711h_chip *chip) in rt1711h_sw_reset() 219 struct rt1711h_chip *chip; in rt1711h_probe() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/keyboard/ |
| H A D | tca6416-keypad.c | 54 static int tca6416_write_reg(struct tca6416_keypad_chip *chip, int reg, u16 val) in tca6416_write_reg() 71 static int tca6416_read_reg(struct tca6416_keypad_chip *chip, int reg, u16 *val) in tca6416_read_reg() 88 static void tca6416_keys_scan(struct tca6416_keypad_chip *chip) in tca6416_keys_scan() 125 struct tca6416_keypad_chip *chip = dev_id; in tca6416_keys_isr() local 134 struct tca6416_keypad_chip *chip = in tca6416_keys_work_func() local 143 struct tca6416_keypad_chip *chip = input_get_drvdata(dev); in tca6416_keys_open() local 158 struct tca6416_keypad_chip *chip = input_get_drvdata(dev); in tca6416_keys_close() local 166 static int tca6416_setup_registers(struct tca6416_keypad_chip *chip) in tca6416_setup_registers() 201 struct tca6416_keypad_chip *chip; in tca6416_keypad_probe() local 313 struct tca6416_keypad_chip *chip = i2c_get_clientdata(client); in tca6416_keypad_remove() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rts5208/ |
| H A D | rtsx.c | 125 struct rtsx_chip *chip = dev->chip; in queuecommand_lck() local 161 struct rtsx_chip *chip = dev->chip; in DEF_SCSI_QCMD() local 241 struct rtsx_chip *chip = dev->chip; in rtsx_acquire_irq() local 268 struct rtsx_chip *chip; in rtsx_suspend() local 300 struct rtsx_chip *chip; in rtsx_resume() local 335 struct rtsx_chip *chip; in rtsx_shutdown() local 358 struct rtsx_chip *chip = dev->chip; in rtsx_control_thread() local 466 struct rtsx_chip *chip = dev->chip; in rtsx_polling_thread() local 514 struct rtsx_chip *chip; in rtsx_interrupt() local 612 struct rtsx_chip *chip = dev->chip; in quiesce_and_remove_host() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/usbtv/ |
| H A D | usbtv-audio.c | 67 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_pcm_open() local 78 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_pcm_close() local 90 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_prepare() local 100 struct usbtv *chip = urb->context; in usbtv_audio_urb_received() local 172 static int usbtv_audio_start(struct usbtv *chip) in usbtv_audio_start() 231 static int usbtv_audio_stop(struct usbtv *chip) in usbtv_audio_stop() 270 struct usbtv *chip = container_of(work, struct usbtv, snd_trigger); in snd_usbtv_trigger() local 283 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_card_trigger() local 307 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_pointer() local
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | mt6660.c | 47 struct mt6660_chip *chip = context; in mt6660_reg_write() local 61 struct mt6660_chip *chip = context; in mt6660_reg_read() local 193 struct mt6660_chip *chip = (struct mt6660_chip *) in mt6660_component_get_volsw() local 220 static int _mt6660_chip_power_on(struct mt6660_chip *chip, int on_off) in _mt6660_chip_power_on() 263 struct mt6660_chip *chip = snd_soc_component_get_drvdata(component); in mt6660_component_setting() local 296 struct mt6660_chip *chip = snd_soc_component_get_drvdata(component); in mt6660_component_probe() local 414 static int _mt6660_chip_id_check(struct mt6660_chip *chip) in _mt6660_chip_id_check() 430 static int _mt6660_chip_sw_reset(struct mt6660_chip *chip) in _mt6660_chip_sw_reset() 445 static int _mt6660_read_chip_revision(struct mt6660_chip *chip) in _mt6660_read_chip_revision() 463 struct mt6660_chip *chip = NULL; in mt6660_i2c_probe() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/dsa/mv88e6xxx/ |
| H A D | global2_scratch.c | 15 static int mv88e6xxx_g2_scratch_read(struct mv88e6xxx_chip *chip, int reg, in mv88e6xxx_g2_scratch_read() 35 static int mv88e6xxx_g2_scratch_write(struct mv88e6xxx_chip *chip, int reg, in mv88e6xxx_g2_scratch_write() 51 static int mv88e6xxx_g2_scratch_get_bit(struct mv88e6xxx_chip *chip, in mv88e6xxx_g2_scratch_get_bit() 78 static int mv88e6xxx_g2_scratch_set_bit(struct mv88e6xxx_chip *chip, in mv88e6xxx_g2_scratch_set_bit() 106 static int mv88e6352_g2_scratch_gpio_get_data(struct mv88e6xxx_chip *chip, in mv88e6352_g2_scratch_gpio_get_data() 127 static int mv88e6352_g2_scratch_gpio_set_data(struct mv88e6xxx_chip *chip, in mv88e6352_g2_scratch_gpio_set_data() 151 static int mv88e6352_g2_scratch_gpio_get_dir(struct mv88e6xxx_chip *chip, in mv88e6352_g2_scratch_gpio_get_dir() 172 static int mv88e6352_g2_scratch_gpio_set_dir(struct mv88e6xxx_chip *chip, in mv88e6352_g2_scratch_gpio_set_dir() 191 static int mv88e6352_g2_scratch_gpio_get_pctl(struct mv88e6xxx_chip *chip, in mv88e6352_g2_scratch_gpio_get_pctl() 215 static int mv88e6352_g2_scratch_gpio_set_pctl(struct mv88e6xxx_chip *chip, in mv88e6352_g2_scratch_gpio_set_pctl() [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/lola/ |
| H A D | lola_proc.c | 17 struct lola *chip, int nid, const char *name) in print_audio_widget() 28 struct lola *chip, int nid, unsigned int ampcap, in print_pin_widget() 49 struct lola *chip, int nid) in print_clock_widget() 89 struct lola *chip, int nid) in print_mixer_widget() 100 struct lola *chip = entry->private_data; in lola_proc_codec_read() local 137 struct lola *chip = entry->private_data; in lola_proc_codec_rw_write() local 152 struct lola *chip = entry->private_data; in lola_proc_codec_rw_read() local 162 struct lola *chip = entry->private_data; in lola_proc_regs_read() local 196 void lola_proc_debug_new(struct lola *chip) in lola_proc_debug_new()
|