| /OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/ |
| H A D | tcpci_maxim.c | 75 static int max_tcpci_read16(struct max_tcpci_chip *chip, unsigned int reg, u16 *val) in max_tcpci_read16() 80 static int max_tcpci_write16(struct max_tcpci_chip *chip, unsigned int reg, u16 val) in max_tcpci_write16() 85 static int max_tcpci_read8(struct max_tcpci_chip *chip, unsigned int reg, u8 *val) in max_tcpci_read8() 90 static int max_tcpci_write8(struct max_tcpci_chip *chip, unsigned int reg, u8 val) in max_tcpci_write8() 95 static void max_tcpci_init_regs(struct max_tcpci_chip *chip) in max_tcpci_init_regs() 150 static void process_rx(struct max_tcpci_chip *chip, u16 status) in process_rx() 216 struct max_tcpci_chip *chip = tdata_to_max_tcpci(tdata); in max_tcpci_set_vbus() local 242 static void process_power_status(struct max_tcpci_chip *chip) in process_power_status() 269 static void process_tx(struct max_tcpci_chip *chip, u16 status) in process_tx() 287 struct max_tcpci_chip *chip = tdata_to_max_tcpci(data); in max_tcpci_set_partner_usb_comm_capable() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpio-sprd.c | 36 struct gpio_chip chip; member 48 static void sprd_gpio_update(struct gpio_chip *chip, unsigned int offset, in sprd_gpio_update() 69 static int sprd_gpio_read(struct gpio_chip *chip, unsigned int offset, u16 reg) in sprd_gpio_read() 78 static int sprd_gpio_request(struct gpio_chip *chip, unsigned int offset) in sprd_gpio_request() 84 static void sprd_gpio_free(struct gpio_chip *chip, unsigned int offset) in sprd_gpio_free() 89 static int sprd_gpio_direction_input(struct gpio_chip *chip, in sprd_gpio_direction_input() 97 static int sprd_gpio_direction_output(struct gpio_chip *chip, in sprd_gpio_direction_output() 106 static int sprd_gpio_get(struct gpio_chip *chip, unsigned int offset) in sprd_gpio_get() 111 static void sprd_gpio_set(struct gpio_chip *chip, unsigned int offset, in sprd_gpio_set() 119 struct gpio_chip *chip = irq_data_get_irq_chip_data(data); in sprd_gpio_irq_mask() local [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/gpio/ |
| H A D | pca953x.c | 31 uint8_t chip; member 42 static int pca953x_ngpio(uint8_t chip) in pca953x_ngpio() 53 static int pca953x_ngpio(uint8_t chip) in pca953x_ngpio() 62 static int pca953x_reg_write(uint8_t chip, uint addr, uint mask, uint data) in pca953x_reg_write() 88 static int pca953x_reg_read(uint8_t chip, uint addr, uint *data) in pca953x_reg_read() 109 int pca953x_set_val(uint8_t chip, uint mask, uint data) in pca953x_set_val() 118 int pca953x_set_pol(uint8_t chip, uint mask, uint data) in pca953x_set_pol() 127 int pca953x_set_dir(uint8_t chip, uint mask, uint data) in pca953x_set_dir() 135 int pca953x_get_val(uint8_t chip) in pca953x_get_val() 149 static int pca953x_info(uint8_t chip) in pca953x_info() [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/ |
| H A D | es1968.c | 576 static void __maestro_write(struct es1968 *chip, u16 reg, u16 data) in __maestro_write() 583 static inline void maestro_write(struct es1968 *chip, u16 reg, u16 data) in maestro_write() 592 static u16 __maestro_read(struct es1968 *chip, u16 reg) in __maestro_read() 601 static inline u16 maestro_read(struct es1968 *chip, u16 reg) in maestro_read() 612 static int snd_es1968_ac97_wait(struct es1968 *chip) in snd_es1968_ac97_wait() 625 static int snd_es1968_ac97_wait_poll(struct es1968 *chip) in snd_es1968_ac97_wait_poll() 639 struct es1968 *chip = ac97->private_data; in snd_es1968_ac97_write() local 653 struct es1968 *chip = ac97->private_data; in snd_es1968_ac97_read() local 669 static void apu_index_set(struct es1968 *chip, u16 index) in apu_index_set() 680 static void apu_data_set(struct es1968 *chip, u16 data) in apu_data_set() [all …]
|
| H A D | intel8x0.c | 442 static inline u8 igetbyte(struct intel8x0 *chip, u32 offset) in igetbyte() 447 static inline u16 igetword(struct intel8x0 *chip, u32 offset) in igetword() 452 static inline u32 igetdword(struct intel8x0 *chip, u32 offset) in igetdword() 457 static inline void iputbyte(struct intel8x0 *chip, u32 offset, u8 val) in iputbyte() 462 static inline void iputword(struct intel8x0 *chip, u32 offset, u16 val) in iputword() 467 static inline void iputdword(struct intel8x0 *chip, u32 offset, u32 val) in iputdword() 476 static inline u16 iagetword(struct intel8x0 *chip, u32 offset) in iagetword() 481 static inline void iaputword(struct intel8x0 *chip, u32 offset, u16 val) in iaputword() 494 static int snd_intel8x0_codec_semaphore(struct intel8x0 *chip, unsigned int codec) in snd_intel8x0_codec_semaphore() 538 struct intel8x0 *chip = ac97->private_data; in snd_intel8x0_codec_write() local [all …]
|
| H A D | bt87x.c | 203 static inline u32 snd_bt87x_readl(struct snd_bt87x *chip, u32 reg) in snd_bt87x_readl() 208 static inline void snd_bt87x_writel(struct snd_bt87x *chip, u32 reg, u32 value) in snd_bt87x_writel() 213 static int snd_bt87x_create_risc(struct snd_bt87x *chip, struct snd_pcm_substream *substream, in snd_bt87x_create_risc() 264 static void snd_bt87x_free_risc(struct snd_bt87x *chip) in snd_bt87x_free_risc() 272 static void snd_bt87x_pci_error(struct snd_bt87x *chip, unsigned int status) in snd_bt87x_pci_error() 302 struct snd_bt87x *chip = dev_id; in snd_bt87x_interrupt() local 373 static int snd_bt87x_set_digital_hw(struct snd_bt87x *chip, struct snd_pcm_runtime *runtime) in snd_bt87x_set_digital_hw() 383 static int snd_bt87x_set_analog_hw(struct snd_bt87x *chip, struct snd_pcm_runtime *runtime) in snd_bt87x_set_analog_hw() 404 struct snd_bt87x *chip = snd_pcm_substream_chip(substream); in snd_bt87x_pcm_open() local 433 struct snd_bt87x *chip = snd_pcm_substream_chip(substream); in snd_bt87x_close() local [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/echoaudio/ |
| H A D | indigoio_dsp.c | 37 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) in init_hw() 68 static int set_mixer_defaults(struct echoaudio *chip) in set_mixer_defaults() 75 static u32 detect_input_clocks(const struct echoaudio *chip) in detect_input_clocks() 83 static int load_asic(struct echoaudio *chip) in load_asic() 90 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate() 104 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, in set_vmixer_gain() 128 static int update_vmixer_level(struct echoaudio *chip) in update_vmixer_level()
|
| H A D | indigo_dsp.c | 37 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) in init_hw() 68 static int set_mixer_defaults(struct echoaudio *chip) in set_mixer_defaults() 75 static u32 detect_input_clocks(const struct echoaudio *chip) in detect_input_clocks() 83 static int load_asic(struct echoaudio *chip) in load_asic() 90 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate() 134 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, in set_vmixer_gain() 158 static int update_vmixer_level(struct echoaudio *chip) in update_vmixer_level()
|
| H A D | indigodj_dsp.c | 37 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) in init_hw() 68 static int set_mixer_defaults(struct echoaudio *chip) in set_mixer_defaults() 75 static u32 detect_input_clocks(const struct echoaudio *chip) in detect_input_clocks() 83 static int load_asic(struct echoaudio *chip) in load_asic() 90 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate() 134 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, in set_vmixer_gain() 158 static int update_vmixer_level(struct echoaudio *chip) in update_vmixer_level()
|
| H A D | layla24_dsp.c | 39 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) in init_hw() 77 static int set_mixer_defaults(struct echoaudio *chip) in set_mixer_defaults() 87 static u32 detect_input_clocks(const struct echoaudio *chip) in detect_input_clocks() 112 static int load_asic(struct echoaudio *chip) in load_asic() 157 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate() 249 static int set_input_clock(struct echoaudio *chip, u16 clock) in set_input_clock() 298 static int switch_asic(struct echoaudio *chip, short asic) in switch_asic() 330 static int dsp_set_digital_mode(struct echoaudio *chip, u8 mode) in dsp_set_digital_mode()
|
| /OK3568_Linux_fs/kernel/sound/pci/pcxhr/ |
| H A D | pcxhr_mixer.c | 39 static int pcxhr_update_analog_audio_level(struct snd_pcxhr *chip, in pcxhr_update_analog_audio_level() 77 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_analog_vol_info() local 112 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_analog_vol_get() local 128 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_analog_vol_put() local 193 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_audio_sw_get() local 205 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_audio_sw_put() local 246 static int pcxhr_update_playback_stream_level(struct snd_pcxhr* chip, int idx) in pcxhr_update_playback_stream_level() 289 static int pcxhr_update_audio_pipe_level(struct snd_pcxhr *chip, in pcxhr_update_audio_pipe_level() 350 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_pcm_vol_get() local 369 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_pcm_vol_put() local [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/mixart/ |
| H A D | mixart_mixer.c | 290 static int mixart_update_analog_audio_level(struct snd_mixart* chip, int is_capture) in mixart_update_analog_audio_level() 346 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); in mixart_analog_vol_get() local 361 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); in mixart_analog_vol_put() local 410 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); in mixart_audio_sw_get() local 421 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); in mixart_audio_sw_put() local 710 int mixart_update_playback_stream_level(struct snd_mixart* chip, int is_aes, int idx) in mixart_update_playback_stream_level() 762 int mixart_update_capture_stream_level(struct snd_mixart* chip, int is_aes) in mixart_update_capture_stream_level() 823 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); in mixart_pcm_vol_get() local 845 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); in mixart_pcm_vol_put() local 903 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); in mixart_pcm_sw_get() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/zydas/zd1211rw/ |
| H A D | zd_rf_al7230b.c | 62 static int zd1211b_al7230b_finalize(struct zd_chip *chip) in zd1211b_al7230b_finalize() 90 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211_al7230b_init_hw() local 195 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211b_al7230b_init_hw() local 317 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211_al7230b_set_channel() local 364 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211b_al7230b_set_channel() local 409 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211_al7230b_switch_radio_on() local 420 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211b_al7230b_switch_radio_on() local 431 struct zd_chip *chip = zd_rf_to_chip(rf); in al7230b_switch_radio_off() local 444 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211b_al7230b_patch_6m() local 464 struct zd_chip *chip = zd_rf_to_chip(rf); in zd_rf_init_al7230b() local
|
| H A D | zd_rf_al2230.c | 14 #define IS_AL2230S(chip) ((chip)->al2230s_bit || (chip)->rf.type == AL2230S_RF) argument 66 static int zd1211b_al2230_finalize_rf(struct zd_chip *chip) in zd1211b_al2230_finalize_rf() 95 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211_al2230_init_hw() local 208 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211b_al2230_init_hw() local 351 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211_al2230_set_channel() local 367 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211b_al2230_set_channel() local 383 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211_al2230_switch_radio_on() local 394 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211b_al2230_switch_radio_on() local 405 struct zd_chip *chip = zd_rf_to_chip(rf); in al2230_switch_radio_off() local 416 struct zd_chip *chip = zd_rf_to_chip(rf); in zd_rf_init_al2230() local
|
| /OK3568_Linux_fs/kernel/sound/ppc/ |
| H A D | burgundy.c | 19 snd_pmac_burgundy_busy_wait(struct snd_pmac *chip) in snd_pmac_burgundy_busy_wait() 29 snd_pmac_burgundy_extend_wait(struct snd_pmac *chip) in snd_pmac_burgundy_extend_wait() 45 snd_pmac_burgundy_wcw(struct snd_pmac *chip, unsigned addr, unsigned val) in snd_pmac_burgundy_wcw() 58 snd_pmac_burgundy_rcw(struct snd_pmac *chip, unsigned addr) in snd_pmac_burgundy_rcw() 91 snd_pmac_burgundy_wcb(struct snd_pmac *chip, unsigned int addr, in snd_pmac_burgundy_wcb() 99 snd_pmac_burgundy_rcb(struct snd_pmac *chip, unsigned int addr) in snd_pmac_burgundy_rcb() 123 snd_pmac_burgundy_write_volume(struct snd_pmac *chip, unsigned int address, in snd_pmac_burgundy_write_volume() 142 snd_pmac_burgundy_read_volume(struct snd_pmac *chip, unsigned int address, in snd_pmac_burgundy_read_volume() 174 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_burgundy_get_volume() local 185 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_burgundy_put_volume() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/cx88/ |
| H A D | cx88-alsa.c | 114 static int _cx88_start_audio_dma(struct cx88_audio_dev *chip) in _cx88_start_audio_dma() 164 static int _cx88_stop_audio_dma(struct cx88_audio_dev *chip) in _cx88_stop_audio_dma() 206 static void cx8801_aud_irq(struct cx88_audio_dev *chip) in cx8801_aud_irq() 244 struct cx88_audio_dev *chip = dev_id; in cx8801_irq() local 274 static int cx88_alsa_dma_init(struct cx88_audio_dev *chip, in cx88_alsa_dma_init() 351 static int dsp_buffer_free(struct cx88_audio_dev *chip) in dsp_buffer_free() 406 struct cx88_audio_dev *chip = snd_pcm_substream_chip(substream); in snd_cx88_pcm_open() local 452 struct cx88_audio_dev *chip = snd_pcm_substream_chip(substream); in snd_cx88_hw_params() local 509 struct cx88_audio_dev *chip = snd_pcm_substream_chip(substream); in snd_cx88_hw_free() local 532 struct cx88_audio_dev *chip = snd_pcm_substream_chip(substream); in snd_cx88_card_trigger() local [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/misc/ |
| H A D | ds4510.c | 33 static int ds4510_mem_write(uint8_t chip, int offset, uint8_t *buf, int count) in ds4510_mem_write() 62 static int ds4510_mem_read(uint8_t chip, int offset, uint8_t *buf, int count) in ds4510_mem_read() 72 static int ds4510_see_write(uint8_t chip, uint8_t nv) in ds4510_see_write() 90 static int ds4510_rstdelay_write(uint8_t chip, uint8_t delay) in ds4510_rstdelay_write() 106 static int ds4510_pullup_write(uint8_t chip, uint8_t val) in ds4510_pullup_write() 116 static int ds4510_pullup_read(uint8_t chip) in ds4510_pullup_read() 129 static int ds4510_gpio_write(uint8_t chip, uint8_t val) in ds4510_gpio_write() 153 static int ds4510_gpio_read(uint8_t chip) in ds4510_gpio_read() 173 static int ds4510_gpio_read_val(uint8_t chip) in ds4510_gpio_read_val() 186 static int ds4510_info(uint8_t chip) in ds4510_info() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/tm6000/ |
| H A D | tm6000-alsa.c | 67 static int _tm6000_start_audio_dma(struct snd_tm6000_card *chip) in _tm6000_start_audio_dma() 84 static int _tm6000_stop_audio_dma(struct snd_tm6000_card *chip) in _tm6000_stop_audio_dma() 130 struct snd_tm6000_card *chip = snd_pcm_substream_chip(substream); in snd_tm6000_pcm_open() local 155 struct snd_tm6000_card *chip = snd_pcm_substream_chip(substream); in snd_tm6000_close() local 168 struct snd_tm6000_card *chip = core->adev; in tm6000_fillbuf() local 241 struct snd_tm6000_card *chip = snd_pcm_substream_chip(substream); in snd_tm6000_prepare() local 257 struct snd_tm6000_card *chip = core->adev; in audio_trigger() local 270 struct snd_tm6000_card *chip = snd_pcm_substream_chip(substream); in snd_tm6000_card_trigger() local 298 struct snd_tm6000_card *chip = snd_pcm_substream_chip(substream); in snd_tm6000_pointer() local 330 struct snd_tm6000_card *chip; in tm6000_audio_init() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/ssb/ |
| H A D | driver_gpio.c | 26 static int ssb_gpio_to_irq(struct gpio_chip *chip, unsigned int gpio) in ssb_gpio_to_irq() 41 static int ssb_gpio_chipco_get_value(struct gpio_chip *chip, unsigned int gpio) in ssb_gpio_chipco_get_value() 48 static void ssb_gpio_chipco_set_value(struct gpio_chip *chip, unsigned int gpio, in ssb_gpio_chipco_set_value() 56 static int ssb_gpio_chipco_direction_input(struct gpio_chip *chip, in ssb_gpio_chipco_direction_input() 65 static int ssb_gpio_chipco_direction_output(struct gpio_chip *chip, in ssb_gpio_chipco_direction_output() 75 static int ssb_gpio_chipco_request(struct gpio_chip *chip, unsigned int gpio) in ssb_gpio_chipco_request() 88 static void ssb_gpio_chipco_free(struct gpio_chip *chip, unsigned int gpio) in ssb_gpio_chipco_free() 144 struct gpio_chip *chip = &bus->gpio; in ssb_gpio_irq_chipco_domain_init() local 189 struct gpio_chip *chip = &bus->gpio; in ssb_gpio_irq_chipco_domain_exit() local 217 struct gpio_chip *chip = &bus->gpio; in ssb_gpio_chipco_init() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/char/tpm/st33zp24/ |
| H A D | st33zp24.c | 82 static void st33zp24_cancel(struct tpm_chip *chip) in st33zp24_cancel() 96 static u8 st33zp24_status(struct tpm_chip *chip) in st33zp24_status() 110 static bool check_locality(struct tpm_chip *chip) in check_locality() 130 static int request_locality(struct tpm_chip *chip) in request_locality() 162 static void release_locality(struct tpm_chip *chip) in release_locality() 177 static int get_burstcount(struct tpm_chip *chip) in get_burstcount() 215 static bool wait_for_tpm_stat_cond(struct tpm_chip *chip, u8 mask, in wait_for_tpm_stat_cond() 239 static int wait_for_stat(struct tpm_chip *chip, u8 mask, unsigned long timeout, in wait_for_stat() 304 static int recv_data(struct tpm_chip *chip, u8 *buf, size_t count) in recv_data() 336 struct tpm_chip *chip = dev_id; in tpm_ioserirq_handler() local [all …]
|
| /OK3568_Linux_fs/kernel/sound/i2c/other/ |
| H A D | ak4114.c | 52 static void snd_ak4114_free(struct ak4114 *chip) in snd_ak4114_free() 61 struct ak4114 *chip = device->device_data; in snd_ak4114_dev_free() local 71 struct ak4114 *chip; in snd_ak4114_create() local 113 void snd_ak4114_reg_write(struct ak4114 *chip, unsigned char reg, unsigned char mask, unsigned char… in snd_ak4114_reg_write() 123 static void ak4114_init_regs(struct ak4114 *chip) in ak4114_init_regs() 141 void snd_ak4114_reinit(struct ak4114 *chip) in snd_ak4114_reinit() 181 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); in snd_ak4114_in_error_get() local 196 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); in snd_ak4114_in_bit_get() local 218 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); in snd_ak4114_rate_get() local 234 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); in snd_ak4114_spdif_get() local [all …]
|
| H A D | ak4113.c | 42 static void snd_ak4113_free(struct ak4113 *chip) in snd_ak4113_free() 51 struct ak4113 *chip = device->device_data; in snd_ak4113_dev_free() local 60 struct ak4113 *chip; in snd_ak4113_create() local 101 void snd_ak4113_reg_write(struct ak4113 *chip, unsigned char reg, in snd_ak4113_reg_write() 110 static void ak4113_init_regs(struct ak4113 *chip) in ak4113_init_regs() 126 void snd_ak4113_reinit(struct ak4113 *chip) in snd_ak4113_reinit() 186 struct ak4113 *chip = snd_kcontrol_chip(kcontrol); in snd_ak4113_in_error_get() local 201 struct ak4113 *chip = snd_kcontrol_chip(kcontrol); in snd_ak4113_in_bit_get() local 224 struct ak4113 *chip = snd_kcontrol_chip(kcontrol); in snd_ak4113_rx_get() local 234 struct ak4113 *chip = snd_kcontrol_chip(kcontrol); in snd_ak4113_rx_put() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/leds/ |
| H A D | leds-lp55xx-common.c | 42 static void lp55xx_reset_device(struct lp55xx_chip *chip) in lp55xx_reset_device() 52 static int lp55xx_detect_device(struct lp55xx_chip *chip) in lp55xx_detect_device() 75 static int lp55xx_post_init_device(struct lp55xx_chip *chip) in lp55xx_post_init_device() 99 struct lp55xx_chip *chip = led->chip; in led_current_store() local 160 struct lp55xx_chip *chip, int chan) in lp55xx_init_led() 239 struct lp55xx_chip *chip = context; in lp55xx_firmware_loaded() local 263 static int lp55xx_request_firmware(struct lp55xx_chip *chip) in lp55xx_request_firmware() 277 struct lp55xx_chip *chip = led->chip; in select_engine_show() local 287 struct lp55xx_chip *chip = led->chip; in select_engine_store() local 318 static inline void lp55xx_run_engine(struct lp55xx_chip *chip, bool start) in lp55xx_run_engine() [all …]
|
| /OK3568_Linux_fs/kernel/sound/spi/ |
| H A D | at73c213.c | 84 snd_at73c213_write_reg(struct snd_at73c213 *chip, u8 reg, u8 val) in snd_at73c213_write_reg() 129 static int snd_at73c213_set_bitrate(struct snd_at73c213 *chip) in snd_at73c213_set_bitrate() 207 struct snd_at73c213 *chip = snd_pcm_substream_chip(substream); in snd_at73c213_pcm_open() local 230 struct snd_at73c213 *chip = snd_pcm_substream_chip(substream); in snd_at73c213_pcm_close() local 239 struct snd_at73c213 *chip = snd_pcm_substream_chip(substream); in snd_at73c213_pcm_hw_params() local 252 struct snd_at73c213 *chip = snd_pcm_substream_chip(substream); in snd_at73c213_pcm_prepare() local 275 struct snd_at73c213 *chip = snd_pcm_substream_chip(substream); in snd_at73c213_pcm_trigger() local 303 struct snd_at73c213 *chip = snd_pcm_substream_chip(substream); in snd_at73c213_pcm_pointer() local 327 static int snd_at73c213_pcm_new(struct snd_at73c213 *chip, int device) in snd_at73c213_pcm_new() 353 struct snd_at73c213 *chip = dev_id; in snd_at73c213_interrupt() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/bcm/ |
| H A D | pinctrl-nsp-gpio.c | 103 static inline void nsp_set_bit(struct nsp_gpio *chip, enum base_type address, in nsp_set_bit() 127 static inline bool nsp_get_bit(struct nsp_gpio *chip, enum base_type address, in nsp_get_bit() 139 struct nsp_gpio *chip = gpiochip_get_data(gc); in nsp_gpio_irq_handler() local 168 struct nsp_gpio *chip = gpiochip_get_data(gc); in nsp_gpio_irq_ack() local 187 struct nsp_gpio *chip = gpiochip_get_data(gc); in nsp_gpio_irq_set_mask() local 201 struct nsp_gpio *chip = gpiochip_get_data(gc); in nsp_gpio_irq_mask() local 212 struct nsp_gpio *chip = gpiochip_get_data(gc); in nsp_gpio_irq_unmask() local 223 struct nsp_gpio *chip = gpiochip_get_data(gc); in nsp_gpio_irq_set_type() local 274 struct nsp_gpio *chip = gpiochip_get_data(gc); in nsp_gpio_direction_input() local 288 struct nsp_gpio *chip = gpiochip_get_data(gc); in nsp_gpio_direction_output() local [all …]
|