Home
last modified time | relevance | path

Searched defs:chip (Results 76 – 100 of 1489) sorted by relevance

12345678910>>...60

/openbmc/linux/drivers/net/wireless/purelifi/plfxlc/
H A Dchip.c13 void plfxlc_chip_init(struct plfxlc_chip *chip, in plfxlc_chip_init()
22 void plfxlc_chip_release(struct plfxlc_chip *chip) in plfxlc_chip_release()
28 int plfxlc_set_beacon_interval(struct plfxlc_chip *chip, u16 interval, in plfxlc_set_beacon_interval()
43 int plfxlc_chip_init_hw(struct plfxlc_chip *chip) in plfxlc_chip_init_hw()
58 int plfxlc_chip_switch_radio(struct plfxlc_chip *chip, u16 value) in plfxlc_chip_switch_radio()
70 int plfxlc_chip_enable_rxtx(struct plfxlc_chip *chip) in plfxlc_chip_enable_rxtx()
76 void plfxlc_chip_disable_rxtx(struct plfxlc_chip *chip) in plfxlc_chip_disable_rxtx()
86 int plfxlc_chip_set_rate(struct plfxlc_chip *chip, u8 rate) in plfxlc_chip_set_rate()
/openbmc/linux/sound/pci/
H A Dazt3328.c388 snd_azf3328_ctrl_outb(const struct snd_azf3328 *chip, unsigned reg, u8 value) in snd_azf3328_ctrl_outb()
394 snd_azf3328_ctrl_inb(const struct snd_azf3328 *chip, unsigned reg) in snd_azf3328_ctrl_inb()
400 snd_azf3328_ctrl_inw(const struct snd_azf3328 *chip, unsigned reg) in snd_azf3328_ctrl_inw()
406 snd_azf3328_ctrl_outw(const struct snd_azf3328 *chip, unsigned reg, u16 value) in snd_azf3328_ctrl_outw()
412 snd_azf3328_ctrl_outl(const struct snd_azf3328 *chip, unsigned reg, u32 value) in snd_azf3328_ctrl_outl()
418 snd_azf3328_game_outb(const struct snd_azf3328 *chip, unsigned reg, u8 value) in snd_azf3328_game_outb()
424 snd_azf3328_game_outw(const struct snd_azf3328 *chip, unsigned reg, u16 value) in snd_azf3328_game_outw()
430 snd_azf3328_game_inb(const struct snd_azf3328 *chip, unsigned reg) in snd_azf3328_game_inb()
436 snd_azf3328_game_inw(const struct snd_azf3328 *chip, unsigned reg) in snd_azf3328_game_inw()
442 snd_azf3328_mixer_outw(const struct snd_azf3328 *chip, unsigned reg, u16 value) in snd_azf3328_mixer_outw()
[all …]
H A Des1938.c71 #define SLIO_REG(chip, x) ((chip)->io_port + ESSIO_REG_##x) argument
73 #define SLDM_REG(chip, x) ((chip)->ddma_port + ESSDM_REG_##x) argument
75 #define SLSB_REG(chip, x) ((chip)->sb_port + ESSSB_REG_##x) argument
240 static void snd_es1938_mixer_write(struct es1938 *chip, unsigned char reg, unsigned char val) in snd_es1938_mixer_write()
253 static int snd_es1938_mixer_read(struct es1938 *chip, unsigned char reg) in snd_es1938_mixer_read()
268 static int snd_es1938_mixer_bits(struct es1938 *chip, unsigned char reg, in snd_es1938_mixer_bits()
291 static void snd_es1938_write_cmd(struct es1938 *chip, unsigned char cmd) in snd_es1938_write_cmd()
309 static int snd_es1938_get_byte(struct es1938 *chip) in snd_es1938_get_byte()
325 static void snd_es1938_write(struct es1938 *chip, unsigned char reg, unsigned char val) in snd_es1938_write()
338 static unsigned char snd_es1938_read(struct es1938 *chip, unsigned char reg) in snd_es1938_read()
[all …]
H A Datiixp_modem.c266 static int snd_atiixp_update_bits(struct atiixp_modem *chip, unsigned int reg, in snd_atiixp_update_bits()
283 #define atiixp_write(chip,reg,value) \ argument
285 #define atiixp_read(chip,reg) \ argument
287 #define atiixp_update(chip,reg,mask,val) \ argument
309 static int atiixp_build_dma_packets(struct atiixp_modem *chip, in atiixp_build_dma_packets()
368 static void atiixp_clear_dma_packets(struct atiixp_modem *chip, in atiixp_clear_dma_packets()
382 static int snd_atiixp_acquire_codec(struct atiixp_modem *chip) in snd_atiixp_acquire_codec()
396 static unsigned short snd_atiixp_codec_read(struct atiixp_modem *chip, in snd_atiixp_codec_read()
426 static void snd_atiixp_codec_write(struct atiixp_modem *chip, in snd_atiixp_codec_write()
444 struct atiixp_modem *chip = ac97->private_data; in snd_atiixp_ac97_read() local
[all …]
/openbmc/linux/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 …]
/openbmc/linux/drivers/usb/storage/
H A Drealtek_cr.c63 #define rts51x_set_stat(chip, stat) \ argument
65 #define rts51x_get_stat(chip) ((chip)->state) argument
67 #define SET_LUN_READY(chip, lun) ((chip)->lun_ready |= ((u8)1 << (lun))) argument
68 #define CLR_LUN_READY(chip, lun) ((chip)->lun_ready &= ~((u8)1 << (lun))) argument
69 #define TST_LUN_READY(chip, lun) ((chip)->lun_ready & ((u8)1 << (lun))) argument
124 #define SET_AUTO_DELINK(chip) ((chip)->flag |= FLIDX_AUTO_DELINK) argument
125 #define CLR_AUTO_DELINK(chip) ((chip)->flag &= ~FLIDX_AUTO_DELINK) argument
126 #define CHK_AUTO_DELINK(chip) ((chip)->flag & FLIDX_AUTO_DELINK) argument
128 #define RTS51X_GET_VID(chip) ((chip)->vendor_id) argument
129 #define RTS51X_GET_PID(chip) ((chip)->product_id) argument
[all …]
/openbmc/linux/drivers/mfd/
H A D88pm860x-core.c464 struct pm860x_chip *chip = data; in pm860x_irq() local
485 struct pm860x_chip *chip = irq_data_get_irq_chip_data(data); in pm860x_irq_lock() local
492 struct pm860x_chip *chip = irq_data_get_irq_chip_data(data); in pm860x_irq_sync_unlock() local
567 static int device_irq_init(struct pm860x_chip *chip, in device_irq_init()
646 static void device_irq_exit(struct pm860x_chip *chip) in device_irq_exit()
652 int pm8606_osc_enable(struct pm860x_chip *chip, unsigned short client) in pm8606_osc_enable()
693 int pm8606_osc_disable(struct pm860x_chip *chip, unsigned short client) in pm8606_osc_disable()
736 struct pm860x_chip *chip = i2c_get_clientdata(i2c); in device_osc_init() local
749 static void device_bk_init(struct pm860x_chip *chip, in device_bk_init()
769 static void device_led_init(struct pm860x_chip *chip, in device_led_init()
[all …]
/openbmc/linux/drivers/staging/iio/addac/
H A Dadt7316.c226 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_enabled() local
231 static ssize_t _adt7316_store_enabled(struct adt7316_chip_info *chip, in _adt7316_store_enabled()
257 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_enabled() local
281 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_select_ex_temp() local
295 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_select_ex_temp() local
325 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_mode() local
339 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_mode() local
375 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_ad_channel() local
414 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_ad_channel() local
459 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_all_ad_channels() local
[all …]
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-cy8c95x0.c313 static inline u8 cypress_get_port(struct cy8c95x0_pinctrl *chip, unsigned int pin) in cypress_get_port()
319 static int cypress_get_pin_mask(struct cy8c95x0_pinctrl *chip, unsigned int pin) in cypress_get_pin_mask()
410 static int cy8c95x0_write_regs_mask(struct cy8c95x0_pinctrl *chip, int reg, in cy8c95x0_write_regs_mask()
480 static int cy8c95x0_read_regs_mask(struct cy8c95x0_pinctrl *chip, int reg, in cy8c95x0_read_regs_mask()
566 struct cy8c95x0_pinctrl *chip = gpiochip_get_data(gc); in cy8c95x0_gpio_direction_output() local
582 struct cy8c95x0_pinctrl *chip = gpiochip_get_data(gc); in cy8c95x0_gpio_get_value() local
605 struct cy8c95x0_pinctrl *chip = gpiochip_get_data(gc); in cy8c95x0_gpio_set_value() local
614 struct cy8c95x0_pinctrl *chip = gpiochip_get_data(gc); in cy8c95x0_gpio_get_direction() local
641 static int cy8c95x0_gpio_get_pincfg(struct cy8c95x0_pinctrl *chip, in cy8c95x0_gpio_get_pincfg()
727 static int cy8c95x0_gpio_set_pincfg(struct cy8c95x0_pinctrl *chip, in cy8c95x0_gpio_set_pincfg()
[all …]
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dptp.c81 static int mv88e6xxx_tai_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6xxx_tai_read()
90 static int mv88e6xxx_tai_write(struct mv88e6xxx_chip *chip, int addr, u16 data) in mv88e6xxx_tai_write()
99 static int mv88e6352_set_gpio_func(struct mv88e6xxx_chip *chip, int pin, in mv88e6352_set_gpio_func()
115 mv88e6xxx_cc_coeff_get(struct mv88e6xxx_chip *chip) in mv88e6xxx_cc_coeff_get()
143 struct mv88e6xxx_chip *chip = cc_to_chip(cc); in mv88e6352_ptp_clock_read() local
157 struct mv88e6xxx_chip *chip = cc_to_chip(cc); in mv88e6165_ptp_clock_read() local
175 static int mv88e6352_config_eventcap(struct mv88e6xxx_chip *chip, int event, in mv88e6352_config_eventcap()
211 struct mv88e6xxx_chip *chip = dw_tai_event_to_chip(dw); in mv88e6352_tai_event_work() local
257 struct mv88e6xxx_chip *chip = ptp_to_chip(ptp); in mv88e6xxx_ptp_adjfine() local
284 struct mv88e6xxx_chip *chip = ptp_to_chip(ptp); in mv88e6xxx_ptp_adjtime() local
[all …]
/openbmc/linux/sound/isa/
H A Des18xx.c159 static int snd_es18xx_dsp_command(struct snd_es18xx *chip, unsigned char val) in snd_es18xx_dsp_command()
172 static int snd_es18xx_dsp_get_byte(struct snd_es18xx *chip) in snd_es18xx_dsp_get_byte()
186 static int snd_es18xx_write(struct snd_es18xx *chip, in snd_es18xx_write()
205 static int snd_es18xx_read(struct snd_es18xx *chip, unsigned char reg) in snd_es18xx_read()
227 static int snd_es18xx_bits(struct snd_es18xx *chip, unsigned char reg, in snd_es18xx_bits()
265 static inline void snd_es18xx_mixer_write(struct snd_es18xx *chip, in snd_es18xx_mixer_write()
278 static inline int snd_es18xx_mixer_read(struct snd_es18xx *chip, unsigned char reg) in snd_es18xx_mixer_read()
293 static inline int snd_es18xx_mixer_bits(struct snd_es18xx *chip, unsigned char reg, in snd_es18xx_mixer_bits()
314 static inline int snd_es18xx_mixer_writable(struct snd_es18xx *chip, unsigned char reg, in snd_es18xx_mixer_writable()
334 static int snd_es18xx_reset(struct snd_es18xx *chip) in snd_es18xx_reset()
[all …]
/openbmc/linux/sound/sparc/
H A Dcs4231.c128 #define CS4231U(chip, x) ((chip)->port + ((c_d_c_CS4231##x) << 2)) argument
277 static void snd_cs4231_ready(struct snd_cs4231 *chip) in snd_cs4231_ready()
289 static void snd_cs4231_dout(struct snd_cs4231 *chip, unsigned char reg, in snd_cs4231_dout()
305 static inline void snd_cs4231_outm(struct snd_cs4231 *chip, unsigned char reg, in snd_cs4231_outm()
315 static void snd_cs4231_out(struct snd_cs4231 *chip, unsigned char reg, in snd_cs4231_out()
323 static unsigned char snd_cs4231_in(struct snd_cs4231 *chip, unsigned char reg) in snd_cs4231_in()
340 static void snd_cs4231_busy_wait(struct snd_cs4231 *chip) in snd_cs4231_busy_wait()
357 static void snd_cs4231_mce_up(struct snd_cs4231 *chip) in snd_cs4231_mce_up()
380 static void snd_cs4231_mce_down(struct snd_cs4231 *chip) in snd_cs4231_mce_down()
445 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); in cs4231_dma_trigger() local
[all …]
/openbmc/linux/sound/pci/echoaudio/
H A Dindigoio_dsp.c37 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()
77 static u32 detect_input_clocks(const struct echoaudio *chip) in detect_input_clocks()
85 static int load_asic(struct echoaudio *chip) in load_asic()
92 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate()
106 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, in set_vmixer_gain()
130 static int update_vmixer_level(struct echoaudio *chip) in update_vmixer_level()
H A Dindigodj_dsp.c37 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()
77 static u32 detect_input_clocks(const struct echoaudio *chip) in detect_input_clocks()
85 static int load_asic(struct echoaudio *chip) in load_asic()
92 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate()
136 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, in set_vmixer_gain()
160 static int update_vmixer_level(struct echoaudio *chip) in update_vmixer_level()
H A Dindigo_dsp.c37 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()
77 static u32 detect_input_clocks(const struct echoaudio *chip) in detect_input_clocks()
85 static int load_asic(struct echoaudio *chip) in load_asic()
92 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate()
136 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, in set_vmixer_gain()
160 static int update_vmixer_level(struct echoaudio *chip) in update_vmixer_level()
/openbmc/linux/sound/isa/sb/
H A Dsb8_midi.c22 irqreturn_t snd_sb8dsp_midi_interrupt(struct snd_sb *chip) in snd_sb8dsp_midi_interrupt()
53 struct snd_sb *chip; in snd_sb8dsp_midi_input_open() local
80 struct snd_sb *chip; in snd_sb8dsp_midi_output_open() local
107 struct snd_sb *chip; in snd_sb8dsp_midi_input_close() local
125 struct snd_sb *chip; in snd_sb8dsp_midi_output_close() local
144 struct snd_sb *chip; in snd_sb8dsp_midi_input_trigger() local
167 struct snd_sb *chip; in snd_sb8dsp_midi_output_write() local
202 struct snd_sb *chip = from_timer(chip, t, midi_timer); in snd_sb8dsp_midi_output_timer() local
215 struct snd_sb *chip; in snd_sb8dsp_midi_output_trigger() local
249 int snd_sb8dsp_midi(struct snd_sb *chip, int device) in snd_sb8dsp_midi()
/openbmc/linux/sound/pci/oxygen/
H A Dxonar_dg_mixer.c22 static int output_select_apply(struct oxygen *chip) in output_select_apply()
62 struct oxygen *chip = ctl->private_data; in output_select_get() local
74 struct oxygen *chip = ctl->private_data; in output_select_put() local
107 struct oxygen *chip = ctl->private_data; in hp_stereo_volume_get() local
123 struct oxygen *chip = ctl->private_data; in hp_stereo_volume_put() local
153 struct oxygen *chip = ctl->private_data; in hp_mute_get() local
166 struct oxygen *chip = ctl->private_data; in hp_mute_put() local
185 static int input_volume_apply(struct oxygen *chip, char left, char right) in input_volume_apply()
211 struct oxygen *chip = ctl->private_data; in input_vol_get() local
225 struct oxygen *chip = ctl->private_data; in input_vol_put() local
[all …]
/openbmc/linux/drivers/pwm/
H A Dcore.c54 static void free_pwms(struct pwm_chip *chip) in free_pwms()
64 struct pwm_chip *chip; in pwmchip_find_by_name() local
130 of_pwm_xlate_with_flags(struct pwm_chip *chip, const struct of_phandle_args *args) in of_pwm_xlate_with_flags()
161 of_pwm_single_xlate(struct pwm_chip *chip, const struct of_phandle_args *args) in of_pwm_single_xlate()
186 static void of_pwmchip_add(struct pwm_chip *chip) in of_pwmchip_add()
205 static void of_pwmchip_remove(struct pwm_chip *chip) in of_pwmchip_remove()
241 static bool pwm_ops_check(const struct pwm_chip *chip) in pwm_ops_check()
263 int pwmchip_add(struct pwm_chip *chip) in pwmchip_add()
317 void pwmchip_remove(struct pwm_chip *chip) in pwmchip_remove()
336 struct pwm_chip *chip = data; in devm_pwmchip_remove() local
[all …]
/openbmc/linux/drivers/power/supply/
H A Dmax17042_battery.c94 static int max17042_get_temperature(struct max17042_chip *chip, int *temp) in max17042_get_temperature()
111 static int max17042_get_status(struct max17042_chip *chip, int *status) in max17042_get_status()
174 static int max17042_get_battery_health(struct max17042_chip *chip, int *health) in max17042_get_battery_health()
234 struct max17042_chip *chip = power_supply_get_drvdata(psy); in max17042_get_property() local
443 struct max17042_chip *chip = power_supply_get_drvdata(psy); in max17042_set_property() local
530 static inline void max17042_unlock_model(struct max17042_chip *chip) in max17042_unlock_model()
538 static inline void max17042_lock_model(struct max17042_chip *chip) in max17042_lock_model()
546 static inline void max17042_write_model_data(struct max17042_chip *chip, in max17042_write_model_data()
557 static inline void max17042_read_model_data(struct max17042_chip *chip, in max17042_read_model_data()
570 static inline int max17042_model_data_compare(struct max17042_chip *chip, in max17042_model_data_compare()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-pca953x.c175 #define NBANK(chip) DIV_ROUND_UP(chip->gpio_chip.ngpio, BANK_SZ) argument
224 static int pca953x_bank_shift(struct pca953x_chip *chip) in pca953x_bank_shift()
274 static bool pca953x_check_register(struct pca953x_chip *chip, unsigned int reg, in pca953x_check_register()
306 static bool pcal6534_check_register(struct pca953x_chip *chip, unsigned int reg, in pcal6534_check_register()
347 struct pca953x_chip *chip = dev_get_drvdata(dev); in pca953x_readable_register() local
370 struct pca953x_chip *chip = dev_get_drvdata(dev); in pca953x_writeable_register() local
390 struct pca953x_chip *chip = dev_get_drvdata(dev); in pca953x_volatile_register() local
436 static u8 pca953x_recalc_addr(struct pca953x_chip *chip, int reg, int off) in pca953x_recalc_addr()
450 static u8 pcal6534_recalc_addr(struct pca953x_chip *chip, int reg, int off) in pcal6534_recalc_addr()
481 static int pca953x_write_regs(struct pca953x_chip *chip, int reg, unsigned long *val) in pca953x_write_regs()
[all …]
H A Dgpio-cs5535.c47 struct gpio_chip chip; member
60 static void errata_outl(struct cs5535_gpio_chip *chip, u32 val, in errata_outl()
83 static void __cs5535_gpio_set(struct cs5535_gpio_chip *chip, unsigned offset, in __cs5535_gpio_set()
96 struct cs5535_gpio_chip *chip = &cs5535_gpio_chip; in cs5535_gpio_set() local
105 static void __cs5535_gpio_clear(struct cs5535_gpio_chip *chip, unsigned offset, in __cs5535_gpio_clear()
118 struct cs5535_gpio_chip *chip = &cs5535_gpio_chip; in cs5535_gpio_clear() local
129 struct cs5535_gpio_chip *chip = &cs5535_gpio_chip; in cs5535_gpio_isset() local
167 struct cs5535_gpio_chip *chip = &cs5535_gpio_chip; in cs5535_gpio_setup_event() local
205 struct cs5535_gpio_chip *chip = gpiochip_get_data(c); in chip_gpio_request() local
230 static int chip_gpio_get(struct gpio_chip *chip, unsigned offset) in chip_gpio_get()
[all …]
/openbmc/u-boot/drivers/tpm/
H A Dtpm2_tis_core.c17 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_get_desc() local
39 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_check_locality() local
64 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_request_locality() local
94 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_status() local
120 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_release_locality() local
174 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_get_burstcount() local
210 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_ready() local
220 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_send() local
306 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_recv_data() local
342 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_recv() local
[all …]
/openbmc/linux/sound/pci/aw2/
H A Daw2-saa7146.c39 int snd_aw2_saa7146_free(struct snd_aw2_saa7146 *chip) in snd_aw2_saa7146_free()
53 void snd_aw2_saa7146_setup(struct snd_aw2_saa7146 *chip, in snd_aw2_saa7146_setup()
141 void snd_aw2_saa7146_pcm_init_playback(struct snd_aw2_saa7146 *chip, in snd_aw2_saa7146_pcm_init_playback()
199 void snd_aw2_saa7146_pcm_init_capture(struct snd_aw2_saa7146 *chip, in snd_aw2_saa7146_pcm_init_capture()
271 void snd_aw2_saa7146_pcm_trigger_start_playback(struct snd_aw2_saa7146 *chip, in snd_aw2_saa7146_pcm_trigger_start_playback()
294 void snd_aw2_saa7146_pcm_trigger_stop_playback(struct snd_aw2_saa7146 *chip, in snd_aw2_saa7146_pcm_trigger_stop_playback()
314 void snd_aw2_saa7146_pcm_trigger_start_capture(struct snd_aw2_saa7146 *chip, in snd_aw2_saa7146_pcm_trigger_start_capture()
323 void snd_aw2_saa7146_pcm_trigger_stop_capture(struct snd_aw2_saa7146 *chip, in snd_aw2_saa7146_pcm_trigger_stop_capture()
334 struct snd_aw2_saa7146 *chip = dev_id; in snd_aw2_saa7146_interrupt() local
372 unsigned int snd_aw2_saa7146_get_hw_ptr_playback(struct snd_aw2_saa7146 *chip, in snd_aw2_saa7146_get_hw_ptr_playback()
[all …]
/openbmc/linux/drivers/misc/
H A Dapds990x.c186 static int apds990x_read_byte(struct apds990x_chip *chip, u8 reg, u8 *data) in apds990x_read_byte()
199 static int apds990x_read_word(struct apds990x_chip *chip, u8 reg, u16 *data) in apds990x_read_word()
212 static int apds990x_write_byte(struct apds990x_chip *chip, u8 reg, u8 data) in apds990x_write_byte()
224 static int apds990x_write_word(struct apds990x_chip *chip, u8 reg, u16 data) in apds990x_write_word()
236 static int apds990x_mode_on(struct apds990x_chip *chip) in apds990x_mode_on()
248 static u16 apds990x_lux_to_threshold(struct apds990x_chip *chip, u32 lux) in apds990x_lux_to_threshold()
306 static inline int apds990x_set_atime(struct apds990x_chip *chip, u32 time_ms) in apds990x_set_atime()
319 static int apds990x_refresh_pthres(struct apds990x_chip *chip, int data) in apds990x_refresh_pthres()
344 static int apds990x_refresh_athres(struct apds990x_chip *chip) in apds990x_refresh_athres()
360 static void apds990x_force_a_refresh(struct apds990x_chip *chip) in apds990x_force_a_refresh()
[all …]
/openbmc/u-boot/drivers/gpio/
H A Dpca953x.c30 uint8_t chip; member
41 static int pca953x_ngpio(uint8_t chip) in pca953x_ngpio()
52 static int pca953x_ngpio(uint8_t chip) in pca953x_ngpio()
61 static int pca953x_reg_write(uint8_t chip, uint addr, uint mask, uint data) in pca953x_reg_write()
87 static int pca953x_reg_read(uint8_t chip, uint addr, uint *data) in pca953x_reg_read()
108 int pca953x_set_val(uint8_t chip, uint mask, uint data) in pca953x_set_val()
117 int pca953x_set_pol(uint8_t chip, uint mask, uint data) in pca953x_set_pol()
126 int pca953x_set_dir(uint8_t chip, uint mask, uint data) in pca953x_set_dir()
134 int pca953x_get_val(uint8_t chip) in pca953x_get_val()
148 static int pca953x_info(uint8_t chip) in pca953x_info()
[all …]

12345678910>>...60