Home
last modified time | relevance | path

Searched refs:chip (Results 1 - 25 of 3318) sorted by relevance

12345678910>>...133

/kernel/linux/linux-5.10/drivers/staging/rts5208/
H A Drtsx_chip.c23 static void rtsx_calibration(struct rtsx_chip *chip) in rtsx_calibration() argument
25 rtsx_write_phy_register(chip, 0x1B, 0x135E); in rtsx_calibration()
27 rtsx_write_phy_register(chip, 0x00, 0x0280); in rtsx_calibration()
28 rtsx_write_phy_register(chip, 0x01, 0x7112); in rtsx_calibration()
29 rtsx_write_phy_register(chip, 0x01, 0x7110); in rtsx_calibration()
30 rtsx_write_phy_register(chip, 0x01, 0x7112); in rtsx_calibration()
31 rtsx_write_phy_register(chip, 0x01, 0x7113); in rtsx_calibration()
32 rtsx_write_phy_register(chip, 0x00, 0x0288); in rtsx_calibration()
35 void rtsx_enable_card_int(struct rtsx_chip *chip) in rtsx_enable_card_int() argument
37 u32 reg = rtsx_readl(chip, RTSX_BIE in rtsx_enable_card_int()
54 rtsx_enable_bus_int(struct rtsx_chip *chip) rtsx_enable_bus_int() argument
93 rtsx_disable_bus_int(struct rtsx_chip *chip) rtsx_disable_bus_int() argument
98 rtsx_pre_handle_sdio_old(struct rtsx_chip *chip) rtsx_pre_handle_sdio_old() argument
142 rtsx_pre_handle_sdio_new(struct rtsx_chip *chip) rtsx_pre_handle_sdio_new() argument
248 rtsx_reset_aspm(struct rtsx_chip *chip) rtsx_reset_aspm() argument
287 rtsx_enable_pcie_intr(struct rtsx_chip *chip) rtsx_enable_pcie_intr() argument
334 rtsx_reset_chip(struct rtsx_chip *chip) rtsx_reset_chip() argument
635 rts5208_init(struct rtsx_chip *chip) rts5208_init() argument
694 rts5288_init(struct rtsx_chip *chip) rts5288_init() argument
754 rtsx_init_chip(struct rtsx_chip *chip) rtsx_init_chip() argument
888 rtsx_release_chip(struct rtsx_chip *chip) rtsx_release_chip() argument
897 rtsx_blink_led(struct rtsx_chip *chip) rtsx_blink_led() argument
910 rtsx_monitor_aspm_config(struct rtsx_chip *chip) rtsx_monitor_aspm_config() argument
959 rtsx_manage_ocp(struct rtsx_chip *chip) rtsx_manage_ocp() argument
978 rtsx_manage_sd_lock(struct rtsx_chip *chip) rtsx_manage_sd_lock() argument
1000 rtsx_is_ss_allowed(struct rtsx_chip *chip) rtsx_is_ss_allowed() argument
1016 rtsx_manage_ss(struct rtsx_chip *chip) rtsx_manage_ss() argument
1032 rtsx_manage_aspm(struct rtsx_chip *chip) rtsx_manage_aspm() argument
1061 rtsx_manage_idle(struct rtsx_chip *chip) rtsx_manage_idle() argument
1085 rtsx_manage_2lun_mode(struct rtsx_chip *chip) rtsx_manage_2lun_mode() argument
1111 rtsx_manage_1lun_mode(struct rtsx_chip *chip) rtsx_manage_1lun_mode() argument
1134 rtsx_delink_stage1(struct rtsx_chip *chip, int enter_L1, int stage3_cnt) rtsx_delink_stage1() argument
1166 rtsx_delink_stage(struct rtsx_chip *chip) rtsx_delink_stage() argument
1205 rtsx_polling_func(struct rtsx_chip *chip) rtsx_polling_func() argument
1270 rtsx_stop_cmd(struct rtsx_chip *chip, int card) rtsx_stop_cmd() argument
1298 rtsx_write_register(struct rtsx_chip *chip, u16 addr, u8 mask, u8 data) rtsx_write_register() argument
1322 rtsx_read_register(struct rtsx_chip *chip, u16 addr, u8 *data) rtsx_read_register() argument
1349 rtsx_write_cfg_dw(struct rtsx_chip *chip, u8 func_no, u16 addr, u32 mask, u32 val) rtsx_write_cfg_dw() argument
1396 rtsx_read_cfg_dw(struct rtsx_chip *chip, u8 func_no, u16 addr, u32 *val) rtsx_read_cfg_dw() argument
1435 rtsx_write_cfg_seq(struct rtsx_chip *chip, u8 func, u16 addr, u8 *buf, int len) rtsx_write_cfg_seq() argument
1495 rtsx_read_cfg_seq(struct rtsx_chip *chip, u8 func, u16 addr, u8 *buf, int len) rtsx_read_cfg_seq() argument
1541 rtsx_write_phy_register(struct rtsx_chip *chip, u8 addr, u16 val) rtsx_write_phy_register() argument
1577 rtsx_read_phy_register(struct rtsx_chip *chip, u8 addr, u16 *val) rtsx_read_phy_register() argument
1620 rtsx_read_efuse(struct rtsx_chip *chip, u8 addr, u8 *val) rtsx_read_efuse() argument
1651 rtsx_write_efuse(struct rtsx_chip *chip, u8 addr, u8 val) rtsx_write_efuse() argument
1690 rtsx_clr_phy_reg_bit(struct rtsx_chip *chip, u8 reg, u8 bit) rtsx_clr_phy_reg_bit() argument
1709 rtsx_set_phy_reg_bit(struct rtsx_chip *chip, u8 reg, u8 bit) rtsx_set_phy_reg_bit() argument
1728 rtsx_handle_pm_dstate(struct rtsx_chip *chip, u8 dstate) rtsx_handle_pm_dstate() argument
1753 rtsx_enter_L1(struct rtsx_chip *chip) rtsx_enter_L1() argument
1758 rtsx_exit_L1(struct rtsx_chip *chip) rtsx_exit_L1() argument
1764 rtsx_enter_ss(struct rtsx_chip *chip) rtsx_enter_ss() argument
1799 rtsx_exit_ss(struct rtsx_chip *chip) rtsx_exit_ss() argument
1820 rtsx_pre_handle_interrupt(struct rtsx_chip *chip) rtsx_pre_handle_interrupt() argument
1911 rtsx_do_before_power_down(struct rtsx_chip *chip, int pm_stat) rtsx_do_before_power_down() argument
1970 rtsx_enable_aspm(struct rtsx_chip *chip) rtsx_enable_aspm() argument
1995 rtsx_disable_aspm(struct rtsx_chip *chip) rtsx_disable_aspm() argument
2016 rtsx_read_ppbuf(struct rtsx_chip *chip, u8 *buf, int buf_len) rtsx_read_ppbuf() argument
2058 rtsx_write_ppbuf(struct rtsx_chip *chip, u8 *buf, int buf_len) rtsx_write_ppbuf() argument
2101 rtsx_check_chip_exist(struct rtsx_chip *chip) rtsx_check_chip_exist() argument
2109 rtsx_force_power_on(struct rtsx_chip *chip, u8 ctl) rtsx_force_power_on() argument
2137 rtsx_force_power_down(struct rtsx_chip *chip, u8 ctl) rtsx_force_power_down() argument
[all...]
H A Drtsx_card.c23 void do_remaining_work(struct rtsx_chip *chip) in do_remaining_work() argument
25 struct sd_info *sd_card = &chip->sd_card; in do_remaining_work()
27 struct xd_info *xd_card = &chip->xd_card; in do_remaining_work()
29 struct ms_info *ms_card = &chip->ms_card; in do_remaining_work()
31 if (chip->card_ready & SD_CARD) { in do_remaining_work()
33 rtsx_set_stat(chip, RTSX_STAT_RUN); in do_remaining_work()
41 if (chip->card_ready & XD_CARD) { in do_remaining_work()
43 rtsx_set_stat(chip, RTSX_STAT_RUN); in do_remaining_work()
51 if (chip->card_ready & MS_CARD) { in do_remaining_work()
54 rtsx_set_stat(chip, RTSX_STAT_RU in do_remaining_work()
81 try_to_switch_sdio_ctrl(struct rtsx_chip *chip) try_to_switch_sdio_ctrl() argument
99 dynamic_configure_sdio_aspm(struct rtsx_chip *chip) dynamic_configure_sdio_aspm() argument
138 do_reset_sd_card(struct rtsx_chip *chip) do_reset_sd_card() argument
192 do_reset_xd_card(struct rtsx_chip *chip) do_reset_xd_card() argument
240 do_reset_ms_card(struct rtsx_chip *chip) do_reset_ms_card() argument
288 release_sdio(struct rtsx_chip *chip) release_sdio() argument
308 rtsx_power_off_card(struct rtsx_chip *chip) rtsx_power_off_card() argument
326 rtsx_release_cards(struct rtsx_chip *chip) rtsx_release_cards() argument
349 rtsx_reset_cards(struct rtsx_chip *chip) rtsx_reset_cards() argument
397 rtsx_reinit_cards(struct rtsx_chip *chip, int reset_chip) rtsx_reinit_cards() argument
440 card_cd_debounce(struct rtsx_chip *chip, unsigned long *need_reset, unsigned long *need_release) card_cd_debounce() argument
514 rtsx_init_cards(struct rtsx_chip *chip) rtsx_init_cards() argument
622 switch_ssc_clock(struct rtsx_chip *chip, int clk) switch_ssc_clock() argument
692 switch_normal_clock(struct rtsx_chip *chip, int clk) switch_normal_clock() argument
820 trans_dma_enable(enum dma_data_direction dir, struct rtsx_chip *chip, u32 byte_cnt, u8 pack_size) trans_dma_enable() argument
846 enable_card_clock(struct rtsx_chip *chip, u8 card) enable_card_clock() argument
865 disable_card_clock(struct rtsx_chip *chip, u8 card) disable_card_clock() argument
884 card_power_on(struct rtsx_chip *chip, u8 card) card_power_on() argument
918 card_power_off(struct rtsx_chip *chip, u8 card) card_power_off() argument
938 card_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip, u32 sec_addr, u16 sec_cnt) card_rw() argument
977 card_share_mode(struct rtsx_chip *chip, int card) card_share_mode() argument
1015 select_card(struct rtsx_chip *chip, int card) select_card() argument
1046 toggle_gpio(struct rtsx_chip *chip, u8 gpio) toggle_gpio() argument
1055 turn_on_led(struct rtsx_chip *chip, u8 gpio) turn_on_led() argument
1064 turn_off_led(struct rtsx_chip *chip, u8 gpio) turn_off_led() argument
1073 detect_card_cd(struct rtsx_chip *chip, int card) detect_card_cd() argument
1095 check_card_exist(struct rtsx_chip *chip, unsigned int lun) check_card_exist() argument
1103 check_card_ready(struct rtsx_chip *chip, unsigned int lun) check_card_ready() argument
1111 check_card_wp(struct rtsx_chip *chip, unsigned int lun) check_card_wp() argument
1119 get_lun_card(struct rtsx_chip *chip, unsigned int lun) get_lun_card() argument
1131 eject_card(struct rtsx_chip *chip, unsigned int lun) eject_card() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/rts5208/
H A Drtsx_chip.c23 static void rtsx_calibration(struct rtsx_chip *chip) in rtsx_calibration() argument
25 rtsx_write_phy_register(chip, 0x1B, 0x135E); in rtsx_calibration()
27 rtsx_write_phy_register(chip, 0x00, 0x0280); in rtsx_calibration()
28 rtsx_write_phy_register(chip, 0x01, 0x7112); in rtsx_calibration()
29 rtsx_write_phy_register(chip, 0x01, 0x7110); in rtsx_calibration()
30 rtsx_write_phy_register(chip, 0x01, 0x7112); in rtsx_calibration()
31 rtsx_write_phy_register(chip, 0x01, 0x7113); in rtsx_calibration()
32 rtsx_write_phy_register(chip, 0x00, 0x0288); in rtsx_calibration()
35 void rtsx_enable_card_int(struct rtsx_chip *chip) in rtsx_enable_card_int() argument
37 u32 reg = rtsx_readl(chip, RTSX_BIE in rtsx_enable_card_int()
54 rtsx_enable_bus_int(struct rtsx_chip *chip) rtsx_enable_bus_int() argument
93 rtsx_disable_bus_int(struct rtsx_chip *chip) rtsx_disable_bus_int() argument
98 rtsx_pre_handle_sdio_old(struct rtsx_chip *chip) rtsx_pre_handle_sdio_old() argument
142 rtsx_pre_handle_sdio_new(struct rtsx_chip *chip) rtsx_pre_handle_sdio_new() argument
248 rtsx_reset_aspm(struct rtsx_chip *chip) rtsx_reset_aspm() argument
287 rtsx_enable_pcie_intr(struct rtsx_chip *chip) rtsx_enable_pcie_intr() argument
334 rtsx_reset_chip(struct rtsx_chip *chip) rtsx_reset_chip() argument
635 rts5208_init(struct rtsx_chip *chip) rts5208_init() argument
694 rts5288_init(struct rtsx_chip *chip) rts5288_init() argument
754 rtsx_init_chip(struct rtsx_chip *chip) rtsx_init_chip() argument
888 rtsx_release_chip(struct rtsx_chip *chip) rtsx_release_chip() argument
897 rtsx_blink_led(struct rtsx_chip *chip) rtsx_blink_led() argument
910 rtsx_monitor_aspm_config(struct rtsx_chip *chip) rtsx_monitor_aspm_config() argument
959 rtsx_manage_ocp(struct rtsx_chip *chip) rtsx_manage_ocp() argument
978 rtsx_manage_sd_lock(struct rtsx_chip *chip) rtsx_manage_sd_lock() argument
1000 rtsx_is_ss_allowed(struct rtsx_chip *chip) rtsx_is_ss_allowed() argument
1016 rtsx_manage_ss(struct rtsx_chip *chip) rtsx_manage_ss() argument
1032 rtsx_manage_aspm(struct rtsx_chip *chip) rtsx_manage_aspm() argument
1061 rtsx_manage_idle(struct rtsx_chip *chip) rtsx_manage_idle() argument
1085 rtsx_manage_2lun_mode(struct rtsx_chip *chip) rtsx_manage_2lun_mode() argument
1111 rtsx_manage_1lun_mode(struct rtsx_chip *chip) rtsx_manage_1lun_mode() argument
1134 rtsx_delink_stage1(struct rtsx_chip *chip, int enter_L1, int stage3_cnt) rtsx_delink_stage1() argument
1166 rtsx_delink_stage(struct rtsx_chip *chip) rtsx_delink_stage() argument
1205 rtsx_polling_func(struct rtsx_chip *chip) rtsx_polling_func() argument
1270 rtsx_stop_cmd(struct rtsx_chip *chip, int card) rtsx_stop_cmd() argument
1298 rtsx_write_register(struct rtsx_chip *chip, u16 addr, u8 mask, u8 data) rtsx_write_register() argument
1322 rtsx_read_register(struct rtsx_chip *chip, u16 addr, u8 *data) rtsx_read_register() argument
1349 rtsx_write_cfg_dw(struct rtsx_chip *chip, u8 func_no, u16 addr, u32 mask, u32 val) rtsx_write_cfg_dw() argument
1396 rtsx_read_cfg_dw(struct rtsx_chip *chip, u8 func_no, u16 addr, u32 *val) rtsx_read_cfg_dw() argument
1435 rtsx_write_cfg_seq(struct rtsx_chip *chip, u8 func, u16 addr, u8 *buf, int len) rtsx_write_cfg_seq() argument
1495 rtsx_read_cfg_seq(struct rtsx_chip *chip, u8 func, u16 addr, u8 *buf, int len) rtsx_read_cfg_seq() argument
1541 rtsx_write_phy_register(struct rtsx_chip *chip, u8 addr, u16 val) rtsx_write_phy_register() argument
1577 rtsx_read_phy_register(struct rtsx_chip *chip, u8 addr, u16 *val) rtsx_read_phy_register() argument
1620 rtsx_read_efuse(struct rtsx_chip *chip, u8 addr, u8 *val) rtsx_read_efuse() argument
1651 rtsx_write_efuse(struct rtsx_chip *chip, u8 addr, u8 val) rtsx_write_efuse() argument
1690 rtsx_clr_phy_reg_bit(struct rtsx_chip *chip, u8 reg, u8 bit) rtsx_clr_phy_reg_bit() argument
1709 rtsx_set_phy_reg_bit(struct rtsx_chip *chip, u8 reg, u8 bit) rtsx_set_phy_reg_bit() argument
1728 rtsx_handle_pm_dstate(struct rtsx_chip *chip, u8 dstate) rtsx_handle_pm_dstate() argument
1753 rtsx_enter_L1(struct rtsx_chip *chip) rtsx_enter_L1() argument
1758 rtsx_exit_L1(struct rtsx_chip *chip) rtsx_exit_L1() argument
1764 rtsx_enter_ss(struct rtsx_chip *chip) rtsx_enter_ss() argument
1799 rtsx_exit_ss(struct rtsx_chip *chip) rtsx_exit_ss() argument
1820 rtsx_pre_handle_interrupt(struct rtsx_chip *chip) rtsx_pre_handle_interrupt() argument
1911 rtsx_do_before_power_down(struct rtsx_chip *chip, int pm_stat) rtsx_do_before_power_down() argument
1970 rtsx_enable_aspm(struct rtsx_chip *chip) rtsx_enable_aspm() argument
1995 rtsx_disable_aspm(struct rtsx_chip *chip) rtsx_disable_aspm() argument
2016 rtsx_read_ppbuf(struct rtsx_chip *chip, u8 *buf, int buf_len) rtsx_read_ppbuf() argument
2058 rtsx_write_ppbuf(struct rtsx_chip *chip, u8 *buf, int buf_len) rtsx_write_ppbuf() argument
2101 rtsx_check_chip_exist(struct rtsx_chip *chip) rtsx_check_chip_exist() argument
2109 rtsx_force_power_on(struct rtsx_chip *chip, u8 ctl) rtsx_force_power_on() argument
2137 rtsx_force_power_down(struct rtsx_chip *chip, u8 ctl) rtsx_force_power_down() argument
[all...]
H A Drtsx_card.c23 void do_remaining_work(struct rtsx_chip *chip) in do_remaining_work() argument
25 struct sd_info *sd_card = &chip->sd_card; in do_remaining_work()
27 struct xd_info *xd_card = &chip->xd_card; in do_remaining_work()
29 struct ms_info *ms_card = &chip->ms_card; in do_remaining_work()
31 if (chip->card_ready & SD_CARD) { in do_remaining_work()
33 rtsx_set_stat(chip, RTSX_STAT_RUN); in do_remaining_work()
41 if (chip->card_ready & XD_CARD) { in do_remaining_work()
43 rtsx_set_stat(chip, RTSX_STAT_RUN); in do_remaining_work()
51 if (chip->card_ready & MS_CARD) { in do_remaining_work()
54 rtsx_set_stat(chip, RTSX_STAT_RU in do_remaining_work()
81 try_to_switch_sdio_ctrl(struct rtsx_chip *chip) try_to_switch_sdio_ctrl() argument
99 dynamic_configure_sdio_aspm(struct rtsx_chip *chip) dynamic_configure_sdio_aspm() argument
138 do_reset_sd_card(struct rtsx_chip *chip) do_reset_sd_card() argument
192 do_reset_xd_card(struct rtsx_chip *chip) do_reset_xd_card() argument
240 do_reset_ms_card(struct rtsx_chip *chip) do_reset_ms_card() argument
288 release_sdio(struct rtsx_chip *chip) release_sdio() argument
308 rtsx_power_off_card(struct rtsx_chip *chip) rtsx_power_off_card() argument
326 rtsx_release_cards(struct rtsx_chip *chip) rtsx_release_cards() argument
349 rtsx_reset_cards(struct rtsx_chip *chip) rtsx_reset_cards() argument
397 rtsx_reinit_cards(struct rtsx_chip *chip, int reset_chip) rtsx_reinit_cards() argument
440 card_cd_debounce(struct rtsx_chip *chip, unsigned long *need_reset, unsigned long *need_release) card_cd_debounce() argument
514 rtsx_init_cards(struct rtsx_chip *chip) rtsx_init_cards() argument
622 switch_ssc_clock(struct rtsx_chip *chip, int clk) switch_ssc_clock() argument
692 switch_normal_clock(struct rtsx_chip *chip, int clk) switch_normal_clock() argument
820 trans_dma_enable(enum dma_data_direction dir, struct rtsx_chip *chip, u32 byte_cnt, u8 pack_size) trans_dma_enable() argument
846 enable_card_clock(struct rtsx_chip *chip, u8 card) enable_card_clock() argument
865 disable_card_clock(struct rtsx_chip *chip, u8 card) disable_card_clock() argument
884 card_power_on(struct rtsx_chip *chip, u8 card) card_power_on() argument
918 card_power_off(struct rtsx_chip *chip, u8 card) card_power_off() argument
938 card_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip, u32 sec_addr, u16 sec_cnt) card_rw() argument
977 card_share_mode(struct rtsx_chip *chip, int card) card_share_mode() argument
1015 select_card(struct rtsx_chip *chip, int card) select_card() argument
1046 toggle_gpio(struct rtsx_chip *chip, u8 gpio) toggle_gpio() argument
1055 turn_on_led(struct rtsx_chip *chip, u8 gpio) turn_on_led() argument
1064 turn_off_led(struct rtsx_chip *chip, u8 gpio) turn_off_led() argument
1073 detect_card_cd(struct rtsx_chip *chip, int card) detect_card_cd() argument
1095 check_card_exist(struct rtsx_chip *chip, unsigned int lun) check_card_exist() argument
1103 check_card_ready(struct rtsx_chip *chip, unsigned int lun) check_card_ready() argument
1111 check_card_wp(struct rtsx_chip *chip, unsigned int lun) check_card_wp() argument
1119 get_lun_card(struct rtsx_chip *chip, unsigned int lun) get_lun_card() argument
1131 eject_card(struct rtsx_chip *chip, unsigned int lun) eject_card() argument
[all...]
/kernel/linux/linux-5.10/sound/isa/wss/
H A Dwss_lib.c8 * Yamaha OPL3-SA3 chip
151 static inline void wss_outb(struct snd_wss *chip, u8 offset, u8 val) in wss_outb() argument
153 outb(val, chip->port + offset); in wss_outb()
156 static inline u8 wss_inb(struct snd_wss *chip, u8 offset) in wss_inb() argument
158 return inb(chip->port + offset); in wss_inb()
161 static void snd_wss_wait(struct snd_wss *chip) in snd_wss_wait() argument
166 timeout > 0 && (wss_inb(chip, CS4231P(REGSEL)) & CS4231_INIT); in snd_wss_wait()
171 static void snd_wss_dout(struct snd_wss *chip, unsigned char reg, in snd_wss_dout() argument
177 timeout > 0 && (wss_inb(chip, CS4231P(REGSEL)) & CS4231_INIT); in snd_wss_dout()
180 wss_outb(chip, CS4231 in snd_wss_dout()
185 snd_wss_out(struct snd_wss *chip, unsigned char reg, unsigned char value) snd_wss_out() argument
202 snd_wss_in(struct snd_wss *chip, unsigned char reg) snd_wss_in() argument
216 snd_cs4236_ext_out(struct snd_wss *chip, unsigned char reg, unsigned char val) snd_cs4236_ext_out() argument
230 snd_cs4236_ext_in(struct snd_wss *chip, unsigned char reg) snd_cs4236_ext_in() argument
346 snd_wss_busy_wait(struct snd_wss *chip) snd_wss_busy_wait() argument
360 snd_wss_mce_up(struct snd_wss *chip) snd_wss_mce_up() argument
385 snd_wss_mce_down(struct snd_wss *chip) snd_wss_mce_down() argument
469 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_trigger() local
529 snd_wss_get_format(struct snd_wss *chip, snd_pcm_format_t format, int channels) snd_wss_get_format() argument
551 snd_wss_calibrate_mute(struct snd_wss *chip, int mute) snd_wss_calibrate_mute() argument
611 snd_wss_playback_format(struct snd_wss *chip, struct snd_pcm_hw_params *params, unsigned char pdfr) snd_wss_playback_format() argument
672 snd_wss_capture_format(struct snd_wss *chip, struct snd_pcm_hw_params *params, unsigned char cdfr) snd_wss_capture_format() argument
745 struct snd_wss *chip = snd_timer_chip(timer); snd_wss_timer_resolution() local
756 struct snd_wss *chip = snd_timer_chip(timer); snd_wss_timer_start() local
779 struct snd_wss *chip = snd_timer_chip(timer); snd_wss_timer_stop() local
788 snd_wss_init(struct snd_wss *chip) snd_wss_init() argument
858 snd_wss_open(struct snd_wss *chip, unsigned int mode) snd_wss_open() argument
900 snd_wss_close(struct snd_wss *chip, unsigned int mode) snd_wss_close() argument
952 struct snd_wss *chip = snd_timer_chip(timer); snd_wss_timer_open() local
959 struct snd_wss *chip = snd_timer_chip(timer); snd_wss_timer_close() local
983 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_playback_hw_params() local
995 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_playback_prepare() local
1018 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_capture_hw_params() local
1030 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_capture_prepare() local
1060 snd_wss_overrange(struct snd_wss *chip) snd_wss_overrange() argument
1075 struct snd_wss *chip = dev_id; snd_wss_interrupt() local
1126 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_playback_pointer() local
1137 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_capture_pointer() local
1150 snd_ad1848_probe(struct snd_wss *chip) snd_ad1848_probe() argument
1232 snd_wss_probe(struct snd_wss *chip) snd_wss_probe() argument
1472 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_playback_open() local
1514 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_capture_open() local
1554 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_playback_close() local
1563 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_capture_close() local
1570 snd_wss_thinkpad_twiddle(struct snd_wss *chip, int on) snd_wss_thinkpad_twiddle() argument
1593 snd_wss_suspend(struct snd_wss *chip) snd_wss_suspend() argument
1607 snd_wss_resume(struct snd_wss *chip) snd_wss_resume() argument
1656 snd_wss_free(struct snd_wss *chip) snd_wss_free() argument
1682 struct snd_wss *chip = device->device_data; snd_wss_dev_free() local
1686 snd_wss_chip_id(struct snd_wss *chip) snd_wss_chip_id() argument
1736 struct snd_wss *chip; snd_wss_new() local
1778 struct snd_wss *chip; snd_wss_create() local
1890 snd_wss_pcm(struct snd_wss *chip, int device) snd_wss_pcm() argument
1921 struct snd_wss *chip = timer->private_data; snd_wss_timer_free() local
1925 snd_wss_timer(struct snd_wss *chip, int device) snd_wss_timer() argument
1965 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_info_mux() local
1986 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_get_mux() local
1999 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_put_mux() local
2036 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_get_single() local
2055 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_put_single() local
2093 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_get_double() local
2117 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_put_double() local
2207 snd_wss_mixer(struct snd_wss *chip) snd_wss_mixer() argument
[all...]
/third_party/backends/backend/
H A Dmustek_usb_mid.c56 usb_mid_n600_prepare_rgb_600_dpi (ma1017 * chip) in usb_mid_n600_prepare_rgb_600_dpi() argument
61 RIE (usb_low_set_image_dpi (chip, SANE_TRUE, SW_P6P6)); in usb_mid_n600_prepare_rgb_600_dpi()
62 RIE (usb_low_set_soft_resample (chip, 1)); in usb_mid_n600_prepare_rgb_600_dpi()
63 RIE (usb_low_set_led_light_all (chip, SANE_FALSE)); in usb_mid_n600_prepare_rgb_600_dpi()
69 usb_mid_n600_prepare_rgb_400_dpi (ma1017 * chip) in usb_mid_n600_prepare_rgb_400_dpi() argument
74 RIE (usb_low_set_image_dpi (chip, SANE_TRUE, SW_P4P6)); in usb_mid_n600_prepare_rgb_400_dpi()
75 RIE (usb_low_set_soft_resample (chip, 1)); in usb_mid_n600_prepare_rgb_400_dpi()
76 RIE (usb_low_set_led_light_all (chip, SANE_FALSE)); in usb_mid_n600_prepare_rgb_400_dpi()
82 usb_mid_n600_prepare_rgb_300_dpi (ma1017 * chip) in usb_mid_n600_prepare_rgb_300_dpi() argument
87 RIE (usb_low_set_image_dpi (chip, SANE_TRU in usb_mid_n600_prepare_rgb_300_dpi()
95 usb_mid_n600_prepare_rgb_200_dpi(ma1017 * chip) usb_mid_n600_prepare_rgb_200_dpi() argument
108 usb_mid_n600_prepare_rgb_100_dpi(ma1017 * chip) usb_mid_n600_prepare_rgb_100_dpi() argument
121 usb_mid_n600_prepare_rgb_50_dpi(ma1017 * chip) usb_mid_n600_prepare_rgb_50_dpi() argument
134 usb_mid_n600_prepare_mono_600_dpi(ma1017 * chip) usb_mid_n600_prepare_mono_600_dpi() argument
147 usb_mid_n600_prepare_mono_400_dpi(ma1017 * chip) usb_mid_n600_prepare_mono_400_dpi() argument
160 usb_mid_n600_prepare_mono_300_dpi(ma1017 * chip) usb_mid_n600_prepare_mono_300_dpi() argument
173 usb_mid_n600_prepare_mono_200_dpi(ma1017 * chip) usb_mid_n600_prepare_mono_200_dpi() argument
186 usb_mid_n600_prepare_mono_100_dpi(ma1017 * chip) usb_mid_n600_prepare_mono_100_dpi() argument
199 usb_mid_n600_prepare_mono_50_dpi(ma1017 * chip) usb_mid_n600_prepare_mono_50_dpi() argument
212 usb_mid_n600_prepare_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_n600_prepare_rgb() argument
245 usb_mid_n600_prepare_mono(ma1017 * chip, SANE_Word dpi) usb_mid_n600_prepare_mono() argument
282 usb_mid_c600_prepare_rgb_600_dpi(ma1017 * chip) usb_mid_c600_prepare_rgb_600_dpi() argument
295 usb_mid_c600_prepare_rgb_400_dpi(ma1017 * chip) usb_mid_c600_prepare_rgb_400_dpi() argument
308 usb_mid_c600_prepare_rgb_300_dpi(ma1017 * chip) usb_mid_c600_prepare_rgb_300_dpi() argument
321 usb_mid_c600_prepare_rgb_200_dpi(ma1017 * chip) usb_mid_c600_prepare_rgb_200_dpi() argument
334 usb_mid_c600_prepare_rgb_150_dpi(ma1017 * chip) usb_mid_c600_prepare_rgb_150_dpi() argument
347 usb_mid_c600_prepare_rgb_100_dpi(ma1017 * chip) usb_mid_c600_prepare_rgb_100_dpi() argument
360 usb_mid_c600_prepare_rgb_50_dpi(ma1017 * chip) usb_mid_c600_prepare_rgb_50_dpi() argument
373 usb_mid_c600_prepare_mono_600_dpi(ma1017 * chip) usb_mid_c600_prepare_mono_600_dpi() argument
386 usb_mid_c600_prepare_mono_400_dpi(ma1017 * chip) usb_mid_c600_prepare_mono_400_dpi() argument
399 usb_mid_c600_prepare_mono_300_dpi(ma1017 * chip) usb_mid_c600_prepare_mono_300_dpi() argument
412 usb_mid_c600_prepare_mono_200_dpi(ma1017 * chip) usb_mid_c600_prepare_mono_200_dpi() argument
425 usb_mid_c600_prepare_mono_150_dpi(ma1017 * chip) usb_mid_c600_prepare_mono_150_dpi() argument
438 usb_mid_c600_prepare_mono_100_dpi(ma1017 * chip) usb_mid_c600_prepare_mono_100_dpi() argument
451 usb_mid_c600_prepare_mono_50_dpi(ma1017 * chip) usb_mid_c600_prepare_mono_50_dpi() argument
464 usb_mid_c600_prepare_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_c600_prepare_rgb() argument
500 usb_mid_c600_prepare_mono(ma1017 * chip, SANE_Word dpi) usb_mid_c600_prepare_mono() argument
543 usb_mid_c300600_prepare_rgb_600_dpi(ma1017 * chip) usb_mid_c300600_prepare_rgb_600_dpi() argument
556 usb_mid_c300600_prepare_rgb_400_dpi(ma1017 * chip) usb_mid_c300600_prepare_rgb_400_dpi() argument
569 usb_mid_c300600_prepare_rgb_300_dpi(ma1017 * chip) usb_mid_c300600_prepare_rgb_300_dpi() argument
582 usb_mid_c300600_prepare_rgb_200_dpi(ma1017 * chip) usb_mid_c300600_prepare_rgb_200_dpi() argument
596 usb_mid_c300600_prepare_rgb_150_dpi(ma1017 * chip) usb_mid_c300600_prepare_rgb_150_dpi() argument
609 usb_mid_c300600_prepare_rgb_100_dpi(ma1017 * chip) usb_mid_c300600_prepare_rgb_100_dpi() argument
622 usb_mid_c300600_prepare_rgb_50_dpi(ma1017 * chip) usb_mid_c300600_prepare_rgb_50_dpi() argument
635 usb_mid_c300600_prepare_mono_600_dpi(ma1017 * chip) usb_mid_c300600_prepare_mono_600_dpi() argument
648 usb_mid_c300600_prepare_mono_400_dpi(ma1017 * chip) usb_mid_c300600_prepare_mono_400_dpi() argument
661 usb_mid_c300600_prepare_mono_300_dpi(ma1017 * chip) usb_mid_c300600_prepare_mono_300_dpi() argument
674 usb_mid_c300600_prepare_mono_200_dpi(ma1017 * chip) usb_mid_c300600_prepare_mono_200_dpi() argument
687 usb_mid_c300600_prepare_mono_150_dpi(ma1017 * chip) usb_mid_c300600_prepare_mono_150_dpi() argument
700 usb_mid_c300600_prepare_mono_100_dpi(ma1017 * chip) usb_mid_c300600_prepare_mono_100_dpi() argument
713 usb_mid_c300600_prepare_mono_50_dpi(ma1017 * chip) usb_mid_c300600_prepare_mono_50_dpi() argument
726 usb_mid_c300600_prepare_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_c300600_prepare_rgb() argument
761 usb_mid_c300600_prepare_mono(ma1017 * chip, SANE_Word dpi) usb_mid_c300600_prepare_mono() argument
799 usb_mid_c300_prepare_rgb_300_dpi(ma1017 * chip) usb_mid_c300_prepare_rgb_300_dpi() argument
811 usb_mid_c300_prepare_rgb_200_dpi(ma1017 * chip) usb_mid_c300_prepare_rgb_200_dpi() argument
823 usb_mid_c300_prepare_rgb_150_dpi(ma1017 * chip) usb_mid_c300_prepare_rgb_150_dpi() argument
835 usb_mid_c300_prepare_rgb_100_dpi(ma1017 * chip) usb_mid_c300_prepare_rgb_100_dpi() argument
847 usb_mid_c300_prepare_rgb_50_dpi(ma1017 * chip) usb_mid_c300_prepare_rgb_50_dpi() argument
859 usb_mid_c300_prepare_mono_300_dpi(ma1017 * chip) usb_mid_c300_prepare_mono_300_dpi() argument
871 usb_mid_c300_prepare_mono_200_dpi(ma1017 * chip) usb_mid_c300_prepare_mono_200_dpi() argument
883 usb_mid_c300_prepare_mono_150_dpi(ma1017 * chip) usb_mid_c300_prepare_mono_150_dpi() argument
895 usb_mid_c300_prepare_mono_100_dpi(ma1017 * chip) usb_mid_c300_prepare_mono_100_dpi() argument
907 usb_mid_c300_prepare_mono_50_dpi(ma1017 * chip) usb_mid_c300_prepare_mono_50_dpi() argument
919 usb_mid_c300_prepare_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_c300_prepare_rgb() argument
948 usb_mid_c300_prepare_mono(ma1017 * chip, SANE_Word dpi) usb_mid_c300_prepare_mono() argument
979 usb_mid_sensor_is600_mode(ma1017 * chip, SANE_Word dpi) usb_mid_sensor_is600_mode() argument
1022 usb_mid_sensor_prepare_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_sensor_prepare_rgb() argument
1037 usb_mid_sensor_prepare_mono(ma1017 * chip, SANE_Word dpi) usb_mid_sensor_prepare_mono() argument
1052 usb_mid_sensor_get_dpi(ma1017 * chip, SANE_Word wanted_dpi, SANE_Word * dpi) usb_mid_sensor_get_dpi() argument
1093 usb_mid_motor1200_prepare_rgb_1200_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_1200_dpi() argument
1114 usb_mid_motor1200_prepare_rgb_600_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_600_dpi() argument
1134 usb_mid_motor1200_prepare_rgb_400_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_400_dpi() argument
1153 usb_mid_motor1200_prepare_rgb_300_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_300_dpi() argument
1173 usb_mid_motor1200_prepare_rgb_200_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_200_dpi() argument
1194 usb_mid_motor1200_prepare_rgb_150_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_150_dpi() argument
1214 usb_mid_motor1200_prepare_rgb_100_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_100_dpi() argument
1233 usb_mid_motor1200_prepare_rgb_50_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_50_dpi() argument
1255 usb_mid_motor1200_prepare_mono_1200_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_1200_dpi() argument
1273 usb_mid_motor1200_prepare_mono_600_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_600_dpi() argument
1315 usb_mid_motor1200_prepare_mono_400_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_400_dpi() argument
1334 usb_mid_motor1200_prepare_mono_300_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_300_dpi() argument
1376 usb_mid_motor1200_prepare_mono_200_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_200_dpi() argument
1396 usb_mid_motor1200_prepare_mono_150_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_150_dpi() argument
1414 usb_mid_motor1200_prepare_mono_100_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_100_dpi() argument
1433 usb_mid_motor1200_prepare_mono_50_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_50_dpi() argument
1455 usb_mid_motor1200_prepare_rgb_half_300_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_half_300_dpi() argument
1477 usb_mid_motor1200_prepare_rgb_bi_full_300_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_bi_full_300_dpi() argument
1499 usb_mid_motor1200_prepare_rgb_bi_full_x2300_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_bi_full_x2300_dpi() argument
1521 usb_mid_motor1200_prepare_mono_half_300_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_half_300_dpi() argument
1542 usb_mid_motor1200_prepare_mono_bi_full_300_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_bi_full_300_dpi() argument
1560 usb_mid_motor1200_prepare_mono_bi_full_x2300_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_bi_full_x2300_dpi() argument
1578 usb_mid_motor1200_prepare_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_motor1200_prepare_rgb() argument
1622 usb_mid_motor1200_prepare_mono(ma1017 * chip, SANE_Word dpi) usb_mid_motor1200_prepare_mono() argument
1666 usb_mid_motor1200_prepare_calibrate_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_motor1200_prepare_calibrate_rgb() argument
1701 usb_mid_motor1200_prepare_calibrate_mono(ma1017 * chip, SANE_Word dpi) usb_mid_motor1200_prepare_calibrate_mono() argument
1736 usb_mid_motor1200_prepare_step(ma1017 * chip, SANE_Word step_count) usb_mid_motor1200_prepare_step() argument
1779 usb_mid_motor1200_prepare_home(ma1017 * chip) usb_mid_motor1200_prepare_home() argument
1797 usb_mid_motor1200_prepare_adjust(ma1017 * chip, Channel channel) usb_mid_motor1200_prepare_adjust() argument
1872 usb_mid_motor600_prepare_rgb_600_dpi(ma1017 * chip) usb_mid_motor600_prepare_rgb_600_dpi() argument
1892 usb_mid_motor600_prepare_rgb_300_dpi(ma1017 * chip) usb_mid_motor600_prepare_rgb_300_dpi() argument
1912 usb_mid_motor600_prepare_rgb_200_dpi(ma1017 * chip) usb_mid_motor600_prepare_rgb_200_dpi() argument
1935 usb_mid_motor600_prepare_rgb_150_dpi(ma1017 * chip) usb_mid_motor600_prepare_rgb_150_dpi() argument
1954 usb_mid_motor600_prepare_rgb_100_dpi(ma1017 * chip) usb_mid_motor600_prepare_rgb_100_dpi() argument
1975 usb_mid_motor600_prepare_rgb_50_dpi(ma1017 * chip) usb_mid_motor600_prepare_rgb_50_dpi() argument
1994 usb_mid_motor600_prepare_mono_600_dpi(ma1017 * chip) usb_mid_motor600_prepare_mono_600_dpi() argument
2012 usb_mid_motor600_prepare_mono_300_dpi(ma1017 * chip) usb_mid_motor600_prepare_mono_300_dpi() argument
2030 usb_mid_motor600_prepare_mono_200_dpi(ma1017 * chip) usb_mid_motor600_prepare_mono_200_dpi() argument
2050 usb_mid_motor600_prepare_mono_150_dpi(ma1017 * chip) usb_mid_motor600_prepare_mono_150_dpi() argument
2068 usb_mid_motor600_prepare_mono_100_dpi(ma1017 * chip) usb_mid_motor600_prepare_mono_100_dpi() argument
2087 usb_mid_motor600_prepare_mono_50_dpi(ma1017 * chip) usb_mid_motor600_prepare_mono_50_dpi() argument
2106 usb_mid_motor600_prepare_rgb_half_300_dpi(ma1017 * chip) usb_mid_motor600_prepare_rgb_half_300_dpi() argument
2128 usb_mid_motor600_prepare_rgb_bi_full_300_dpi(ma1017 * chip) usb_mid_motor600_prepare_rgb_bi_full_300_dpi() argument
2150 usb_mid_motor600_prepare_mono_half_300_dpi(ma1017 * chip) usb_mid_motor600_prepare_mono_half_300_dpi() argument
2169 usb_mid_motor600_prepare_mono_bi_full_300_dpi(ma1017 * chip) usb_mid_motor600_prepare_mono_bi_full_300_dpi() argument
2188 usb_mid_motor600_prepare_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_motor600_prepare_rgb() argument
2220 usb_mid_motor600_prepare_mono(ma1017 * chip, SANE_Word dpi) usb_mid_motor600_prepare_mono() argument
2252 usb_mid_motor600_prepare_calibrate_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_motor600_prepare_calibrate_rgb() argument
2283 usb_mid_motor600_prepare_calibrate_mono(ma1017 * chip, SANE_Word dpi) usb_mid_motor600_prepare_calibrate_mono() argument
2314 usb_mid_motor600_prepare_step(ma1017 * chip, SANE_Word step_count) usb_mid_motor600_prepare_step() argument
2357 usb_mid_motor600_prepare_home(ma1017 * chip) usb_mid_motor600_prepare_home() argument
2371 usb_mid_motor600_prepare_adjust(ma1017 * chip, Channel channel) usb_mid_motor600_prepare_adjust() argument
2431 usb_mid_motor_prepare_home(ma1017 * chip) usb_mid_motor_prepare_home() argument
2440 usb_mid_motor_prepare_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_motor_prepare_rgb() argument
2449 usb_mid_motor_prepare_mono(ma1017 * chip, SANE_Word dpi) usb_mid_motor_prepare_mono() argument
2458 usb_mid_motor_prepare_adjust(ma1017 * chip, Channel channel) usb_mid_motor_prepare_adjust() argument
2467 usb_mid_motor_prepare_calibrate_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_motor_prepare_calibrate_rgb() argument
2476 usb_mid_motor_prepare_calibrate_mono(ma1017 * chip, SANE_Word dpi) usb_mid_motor_prepare_calibrate_mono() argument
2485 usb_mid_motor_prepare_step(ma1017 * chip, SANE_Word step_count) usb_mid_motor_prepare_step() argument
2494 usb_mid_motor_rgb_capability(ma1017 * chip, SANE_Word dpi) usb_mid_motor_rgb_capability() argument
2503 usb_mid_motor_mono_capability(ma1017 * chip, SANE_Word dpi) usb_mid_motor_mono_capability() argument
2513 usb_mid_motor_get_dpi(ma1017 * chip, SANE_Word wanted_dpi, SANE_Word * dpi) usb_mid_motor_get_dpi() argument
2544 usb_mid_front_set_front_end_mode(ma1017 * chip, SANE_Byte mode) usb_mid_front_set_front_end_mode() argument
2555 usb_mid_front_enable(ma1017 * chip, SANE_Bool is_enable) usb_mid_front_enable() argument
2566 usb_mid_front_set_top_reference(ma1017 * chip, SANE_Byte top) usb_mid_front_set_top_reference() argument
2580 usb_mid_front_set_red_offset(ma1017 * chip, SANE_Byte offset) usb_mid_front_set_red_offset() argument
2594 usb_mid_front_set_green_offset(ma1017 * chip, SANE_Byte offset) usb_mid_front_set_green_offset() argument
2608 usb_mid_front_set_blue_offset(ma1017 * chip, SANE_Byte offset) usb_mid_front_set_blue_offset() argument
2634 usb_mid_front_set_red_pga(ma1017 * chip, SANE_Byte pga) usb_mid_front_set_red_pga() argument
2648 usb_mid_front_set_green_pga(ma1017 * chip, SANE_Byte pga) usb_mid_front_set_green_pga() argument
2662 usb_mid_front_set_blue_pga(ma1017 * chip, SANE_Byte pga) usb_mid_front_set_blue_pga() argument
2676 usb_mid_front_set_rgb_signal(ma1017 * chip) usb_mid_front_set_rgb_signal() argument
[all...]
H A Dmustek_usb_low.c58 ma1017 *chip; in usb_low_init() local
64 chip = (ma1017 *) malloc (sizeof (ma1017)); in usb_low_init()
66 if (!chip) in usb_low_init()
68 DBG (3, "usb_low_init: couldn't malloc %ld bytes for chip\n", in usb_low_init()
73 *chip_address = chip; in usb_low_init()
76 chip->is_rowing = SANE_FALSE; in usb_low_init()
77 chip->is_opened = SANE_FALSE; in usb_low_init()
78 chip->fd = -1; in usb_low_init()
81 chip->is_opened = SANE_FALSE; in usb_low_init()
82 chip in usb_low_init()
161 usb_low_exit(ma1017 * chip) usb_low_exit() argument
179 usb_low_set_cmt_table(ma1017 * chip, SANE_Int index, Channel channel, SANE_Bool is_move_motor, SANE_Bool is_transfer) usb_low_set_cmt_table() argument
236 usb_low_get_a2(ma1017 * chip, SANE_Byte * value) usb_low_get_a2() argument
264 usb_low_start_cmt_table(ma1017 * chip) usb_low_start_cmt_table() argument
302 usb_low_stop_cmt_table(ma1017 * chip) usb_low_stop_cmt_table() argument
351 usb_low_set_test_sram_mode(ma1017 * chip, SANE_Bool is_test) usb_low_set_test_sram_mode() argument
384 usb_low_set_fix_pattern(ma1017 * chip, SANE_Bool is_fix) usb_low_set_fix_pattern() argument
417 usb_low_adjust_timing(ma1017 * chip, SANE_Byte data) usb_low_adjust_timing() argument
446 usb_low_get_a4(ma1017 * chip, SANE_Byte * value) usb_low_get_a4() argument
477 usb_low_select_timing(ma1017 * chip, SANE_Byte data) usb_low_select_timing() argument
507 usb_low_turn_frontend_mode(ma1017 * chip, SANE_Bool is_on) usb_low_turn_frontend_mode() argument
540 usb_low_get_a6(ma1017 * chip, SANE_Byte * value) usb_low_get_a6() argument
571 usb_low_set_asic_io_pins(ma1017 * chip, SANE_Byte data) usb_low_set_asic_io_pins() argument
601 usb_low_set_rgb_sel_pins(ma1017 * chip, SANE_Byte data) usb_low_set_rgb_sel_pins() argument
630 usb_low_get_a7(ma1017 * chip, SANE_Byte * value) usb_low_get_a7() argument
660 usb_low_set_timing(ma1017 * chip, SANE_Byte data) usb_low_set_timing() argument
688 usb_low_set_sram_bank(ma1017 * chip, Banksize banksize) usb_low_set_sram_bank() argument
732 usb_low_get_a8(ma1017 * chip, SANE_Byte * value) usb_low_get_a8() argument
769 usb_low_set_cmt_table_length(ma1017 * chip, SANE_Byte table_length) usb_low_set_cmt_table_length() argument
810 usb_low_get_a9(ma1017 * chip, SANE_Byte * value) usb_low_get_a9() argument
839 usb_low_set_cmt_second_position(ma1017 * chip, SANE_Byte position) usb_low_set_cmt_second_position() argument
877 usb_low_get_a10(ma1017 * chip, SANE_Byte * value) usb_low_get_a10() argument
910 usb_low_set_ccd_width(ma1017 * chip, SANE_Word ccd_width) usb_low_set_ccd_width() argument
954 usb_low_get_a11(ma1017 * chip, SANE_Byte * value) usb_low_get_a11() argument
985 usb_low_set_dummy(ma1017 * chip, SANE_Word dummy) usb_low_set_dummy() argument
1029 usb_low_get_a12(ma1017 * chip, SANE_Byte * value) usb_low_get_a12() argument
1064 usb_low_get_a13(ma1017 * chip, SANE_Byte * value) usb_low_get_a13() argument
1100 usb_low_set_image_byte_width(ma1017 * chip, SANE_Word row_size) usb_low_set_image_byte_width() argument
1144 usb_low_set_soft_resample(ma1017 * chip, SANE_Word soft_resample) usb_low_set_soft_resample() argument
1192 usb_low_set_cmt_loop_count(ma1017 * chip, SANE_Word loop_count) usb_low_set_cmt_loop_count() argument
1226 usb_low_get_a15(ma1017 * chip, SANE_Byte * value) usb_low_get_a15() argument
1260 usb_low_enable_motor(ma1017 * chip, SANE_Bool is_enable) usb_low_enable_motor() argument
1290 usb_low_set_motor_movement(ma1017 * chip, SANE_Bool is_full_step, SANE_Bool is_double_phase, SANE_Bool is_two_step) usb_low_set_motor_movement() argument
1325 usb_low_set_motor_direction(ma1017 * chip, SANE_Bool is_backward) usb_low_set_motor_direction() argument
1356 usb_low_set_motor_signal(ma1017 * chip, SANE_Byte signal) usb_low_set_motor_signal() argument
1385 usb_low_move_motor_home(ma1017 * chip, SANE_Bool is_home, SANE_Bool is_backward) usb_low_move_motor_home() argument
1425 usb_low_get_a16(ma1017 * chip, SANE_Byte * value) usb_low_get_a16() argument
1458 usb_low_set_image_dpi(ma1017 * chip, SANE_Bool is_optical600, Sampleway sampleway) usb_low_set_image_dpi() argument
1516 usb_low_set_pixel_depth(ma1017 * chip, Pixeldepth pixeldepth) usb_low_set_pixel_depth() argument
1562 usb_low_invert_image(ma1017 * chip, SANE_Bool is_invert) usb_low_invert_image() argument
1593 usb_low_get_a17(ma1017 * chip, SANE_Byte * value) usb_low_get_a17() argument
1622 usb_low_get_a18(ma1017 * chip, SANE_Byte * value) usb_low_get_a18() argument
1651 usb_low_get_a19(ma1017 * chip, SANE_Byte * value) usb_low_get_a19() argument
1680 usb_low_set_red_ref(ma1017 * chip, SANE_Byte red_ref) usb_low_set_red_ref() argument
1708 usb_low_set_green_ref(ma1017 * chip, SANE_Byte green_ref) usb_low_set_green_ref() argument
1738 usb_low_set_blue_ref(ma1017 * chip, SANE_Byte blue_ref) usb_low_set_blue_ref() argument
1768 usb_low_get_a20(ma1017 * chip, SANE_Byte * value) usb_low_get_a20() argument
1797 usb_low_get_a21(ma1017 * chip, SANE_Byte * value) usb_low_get_a21() argument
1827 usb_low_get_a22(ma1017 * chip, SANE_Byte * value) usb_low_get_a22() argument
1857 usb_low_set_red_pd(ma1017 * chip, SANE_Byte red_pd) usb_low_set_red_pd() argument
1886 usb_low_set_green_pd(ma1017 * chip, SANE_Byte green_pd) usb_low_set_green_pd() argument
1914 usb_low_set_blue_pd(ma1017 * chip, SANE_Byte blue_pd) usb_low_set_blue_pd() argument
1944 usb_low_get_a23(ma1017 * chip, SANE_Byte * value) usb_low_get_a23() argument
1973 usb_low_turn_peripheral_power(ma1017 * chip, SANE_Bool is_on) usb_low_turn_peripheral_power() argument
2003 usb_low_turn_lamp_power(ma1017 * chip, SANE_Bool is_on) usb_low_turn_lamp_power() argument
2034 usb_low_set_io_3(ma1017 * chip, SANE_Bool is_high) usb_low_set_io_3() argument
2065 usb_low_set_led_light_all(ma1017 * chip, SANE_Bool is_light_all) usb_low_set_led_light_all() argument
2097 usb_low_get_a24(ma1017 * chip, SANE_Byte * value) usb_low_get_a24() argument
2128 usb_low_set_ad_timing(ma1017 * chip, SANE_Byte data) usb_low_set_ad_timing() argument
2159 usb_low_set_serial_byte1(ma1017 * chip, SANE_Byte data) usb_low_set_serial_byte1() argument
2185 usb_low_set_serial_byte2(ma1017 * chip, SANE_Byte data) usb_low_set_serial_byte2() argument
2212 usb_low_get_a27(ma1017 * chip, SANE_Byte * value) usb_low_get_a27() argument
2244 usb_low_set_serial_format(ma1017 * chip, SANE_Byte data) usb_low_set_serial_format() argument
2275 usb_low_get_home_sensor(ma1017 * chip) usb_low_get_home_sensor() argument
2304 usb_low_start_rowing(ma1017 * chip) usb_low_start_rowing() argument
2356 usb_low_stop_rowing(ma1017 * chip) usb_low_stop_rowing() argument
2370 usb_low_wait_rowing_stop(ma1017 * chip) usb_low_wait_rowing_stop() argument
2388 usb_low_read_all_registers(ma1017 * chip) usb_low_read_all_registers() argument
2421 usb_low_get_row(ma1017 * chip, SANE_Byte * data, SANE_Word * lines_left) usb_low_get_row() argument
2432 usb_low_get_row_direct(ma1017 * chip, SANE_Byte * data, SANE_Word * lines_left) usb_low_get_row_direct() argument
2464 usb_low_get_row_resample(ma1017 * chip, SANE_Byte * data, SANE_Word * lines_left) usb_low_get_row_resample() argument
2578 usb_low_wait_rowing(ma1017 * chip) usb_low_wait_rowing() argument
2611 usb_low_read_rows(ma1017 * chip, SANE_Byte * data, SANE_Word byte_count) usb_low_read_rows() argument
2662 usb_low_write_reg(ma1017 * chip, SANE_Byte reg_no, SANE_Byte data) usb_low_write_reg() argument
2701 usb_low_read_reg(ma1017 * chip, SANE_Byte reg_no, SANE_Byte * data) usb_low_read_reg() argument
2816 usb_low_open(ma1017 * chip, SANE_String_Const devname) usb_low_open() argument
2881 usb_low_close(ma1017 * chip) usb_low_close() argument
[all...]
H A Dmustek_usb_mid.h58 static SANE_Status usb_mid_n600_prepare_rgb (ma1017 * chip, SANE_Word dpi);
60 static SANE_Status usb_mid_n600_prepare_mono (ma1017 * chip, SANE_Word dpi);
62 static SANE_Status usb_mid_n600_prepare_rgb_600_dpi (ma1017 * chip);
64 static SANE_Status usb_mid_n600_prepare_rgb_400_dpi (ma1017 * chip);
66 static SANE_Status usb_mid_n600_prepare_rgb_300_dpi (ma1017 * chip);
68 static SANE_Status usb_mid_n600_prepare_rgb_200_dpi (ma1017 * chip);
70 static SANE_Status usb_mid_n600_prepare_rgb_100_dpi (ma1017 * chip);
72 static SANE_Status usb_mid_n600_prepare_rgb_50_dpi (ma1017 * chip);
74 static SANE_Status usb_mid_n600_prepare_mono_600_dpi (ma1017 * chip);
76 static SANE_Status usb_mid_n600_prepare_mono_400_dpi (ma1017 * chip);
[all...]
/kernel/linux/linux-6.6/sound/isa/wss/
H A Dwss_lib.c8 * Yamaha OPL3-SA3 chip
151 static inline void wss_outb(struct snd_wss *chip, u8 offset, u8 val) in wss_outb() argument
153 outb(val, chip->port + offset); in wss_outb()
156 static inline u8 wss_inb(struct snd_wss *chip, u8 offset) in wss_inb() argument
158 return inb(chip->port + offset); in wss_inb()
161 static void snd_wss_wait(struct snd_wss *chip) in snd_wss_wait() argument
166 timeout > 0 && (wss_inb(chip, CS4231P(REGSEL)) & CS4231_INIT); in snd_wss_wait()
171 static void snd_wss_dout(struct snd_wss *chip, unsigned char reg, in snd_wss_dout() argument
177 timeout > 0 && (wss_inb(chip, CS4231P(REGSEL)) & CS4231_INIT); in snd_wss_dout()
180 wss_outb(chip, CS4231 in snd_wss_dout()
185 snd_wss_out(struct snd_wss *chip, unsigned char reg, unsigned char value) snd_wss_out() argument
202 snd_wss_in(struct snd_wss *chip, unsigned char reg) snd_wss_in() argument
216 snd_cs4236_ext_out(struct snd_wss *chip, unsigned char reg, unsigned char val) snd_cs4236_ext_out() argument
230 snd_cs4236_ext_in(struct snd_wss *chip, unsigned char reg) snd_cs4236_ext_in() argument
346 snd_wss_busy_wait(struct snd_wss *chip) snd_wss_busy_wait() argument
360 snd_wss_mce_up(struct snd_wss *chip) snd_wss_mce_up() argument
385 snd_wss_mce_down(struct snd_wss *chip) snd_wss_mce_down() argument
469 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_trigger() local
529 snd_wss_get_format(struct snd_wss *chip, snd_pcm_format_t format, int channels) snd_wss_get_format() argument
551 snd_wss_calibrate_mute(struct snd_wss *chip, int mute) snd_wss_calibrate_mute() argument
611 snd_wss_playback_format(struct snd_wss *chip, struct snd_pcm_hw_params *params, unsigned char pdfr) snd_wss_playback_format() argument
672 snd_wss_capture_format(struct snd_wss *chip, struct snd_pcm_hw_params *params, unsigned char cdfr) snd_wss_capture_format() argument
745 struct snd_wss *chip = snd_timer_chip(timer); snd_wss_timer_resolution() local
756 struct snd_wss *chip = snd_timer_chip(timer); snd_wss_timer_start() local
779 struct snd_wss *chip = snd_timer_chip(timer); snd_wss_timer_stop() local
788 snd_wss_init(struct snd_wss *chip) snd_wss_init() argument
858 snd_wss_open(struct snd_wss *chip, unsigned int mode) snd_wss_open() argument
900 snd_wss_close(struct snd_wss *chip, unsigned int mode) snd_wss_close() argument
952 struct snd_wss *chip = snd_timer_chip(timer); snd_wss_timer_open() local
959 struct snd_wss *chip = snd_timer_chip(timer); snd_wss_timer_close() local
983 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_playback_hw_params() local
995 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_playback_prepare() local
1018 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_capture_hw_params() local
1030 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_capture_prepare() local
1060 snd_wss_overrange(struct snd_wss *chip) snd_wss_overrange() argument
1075 struct snd_wss *chip = dev_id; snd_wss_interrupt() local
1126 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_playback_pointer() local
1137 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_capture_pointer() local
1150 snd_ad1848_probe(struct snd_wss *chip) snd_ad1848_probe() argument
1232 snd_wss_probe(struct snd_wss *chip) snd_wss_probe() argument
1472 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_playback_open() local
1515 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_capture_open() local
1556 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_playback_close() local
1565 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_capture_close() local
1572 snd_wss_thinkpad_twiddle(struct snd_wss *chip, int on) snd_wss_thinkpad_twiddle() argument
1595 snd_wss_suspend(struct snd_wss *chip) snd_wss_suspend() argument
1609 snd_wss_resume(struct snd_wss *chip) snd_wss_resume() argument
1658 snd_wss_chip_id(struct snd_wss *chip) snd_wss_chip_id() argument
1708 struct snd_wss *chip; snd_wss_new() local
1747 struct snd_wss *chip; snd_wss_create() local
1847 snd_wss_pcm(struct snd_wss *chip, int device) snd_wss_pcm() argument
1878 struct snd_wss *chip = timer->private_data; snd_wss_timer_free() local
1882 snd_wss_timer(struct snd_wss *chip, int device) snd_wss_timer() argument
1923 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_info_mux() local
1944 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_get_mux() local
1957 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_put_mux() local
1994 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_get_single() local
2013 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_put_single() local
2051 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_get_double() local
2075 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_put_double() local
2165 snd_wss_mixer(struct snd_wss *chip) snd_wss_mixer() argument
[all...]
/kernel/linux/linux-6.6/drivers/char/tpm/
H A Dtpm-chip.c15 * TPM chip management routines.
40 static int tpm_request_locality(struct tpm_chip *chip) in tpm_request_locality() argument
44 if (!chip->ops->request_locality) in tpm_request_locality()
47 rc = chip->ops->request_locality(chip, 0); in tpm_request_locality()
51 chip->locality = rc; in tpm_request_locality()
55 static void tpm_relinquish_locality(struct tpm_chip *chip) in tpm_relinquish_locality() argument
59 if (!chip->ops->relinquish_locality) in tpm_relinquish_locality()
62 rc = chip->ops->relinquish_locality(chip, chi in tpm_relinquish_locality()
69 tpm_cmd_ready(struct tpm_chip *chip) tpm_cmd_ready() argument
77 tpm_go_idle(struct tpm_chip *chip) tpm_go_idle() argument
85 tpm_clk_enable(struct tpm_chip *chip) tpm_clk_enable() argument
91 tpm_clk_disable(struct tpm_chip *chip) tpm_clk_disable() argument
105 tpm_chip_start(struct tpm_chip *chip) tpm_chip_start() argument
138 tpm_chip_stop(struct tpm_chip *chip) tpm_chip_stop() argument
157 tpm_try_get_ops(struct tpm_chip *chip) tpm_try_get_ops() argument
189 tpm_put_ops(struct tpm_chip *chip) tpm_put_ops() argument
203 struct tpm_chip *chip, *res = NULL; tpm_default_chip() local
240 tpm_find_get_ops(struct tpm_chip *chip) tpm_find_get_ops() argument
269 struct tpm_chip *chip = container_of(dev, struct tpm_chip, dev); tpm_dev_release() local
292 struct tpm_chip *chip = container_of(dev, struct tpm_chip, dev); tpm_class_shutdown() local
320 struct tpm_chip *chip; tpm_chip_alloc() local
394 struct tpm_chip *chip; tpmm_chip_alloc() local
413 tpm_add_char_device(struct tpm_chip *chip) tpm_add_char_device() argument
444 tpm_del_char_device(struct tpm_chip *chip) tpm_del_char_device() argument
473 tpm_del_legacy_sysfs(struct tpm_chip *chip) tpm_del_legacy_sysfs() argument
491 tpm_add_legacy_sysfs(struct tpm_chip *chip) tpm_add_legacy_sysfs() argument
520 struct tpm_chip *chip = container_of(rng, struct tpm_chip, hwrng); tpm_hwrng_read() local
529 tpm_is_hwrng_enabled(struct tpm_chip *chip) tpm_is_hwrng_enabled() argument
540 tpm_add_hwrng(struct tpm_chip *chip) tpm_add_hwrng() argument
552 tpm_get_pcr_allocation(struct tpm_chip *chip) tpm_get_pcr_allocation() argument
576 tpm_chip_bootstrap(struct tpm_chip *chip) tpm_chip_bootstrap() argument
616 tpm_chip_register(struct tpm_chip *chip) tpm_chip_register() argument
669 tpm_chip_unregister(struct tpm_chip *chip) tpm_chip_unregister() argument
[all...]
/kernel/linux/linux-6.6/sound/pci/lola/
H A Dlola.c73 static int corb_send_verb(struct lola *chip, unsigned int nid, in corb_send_verb() argument
80 chip->last_cmd_nid = nid; in corb_send_verb()
81 chip->last_verb = verb; in corb_send_verb()
82 chip->last_data = data; in corb_send_verb()
83 chip->last_extdata = extdata; in corb_send_verb()
86 spin_lock_irqsave(&chip->reg_lock, flags); in corb_send_verb()
87 if (chip->rirb.cmds < LOLA_CORB_ENTRIES - 1) { in corb_send_verb()
88 unsigned int wp = chip->corb.wp + 1; in corb_send_verb()
90 chip->corb.wp = wp; in corb_send_verb()
91 chip in corb_send_verb()
102 lola_queue_unsol_event(struct lola *chip, unsigned int res, unsigned int res_ex) lola_queue_unsol_event() argument
109 lola_update_rirb(struct lola *chip) lola_update_rirb() argument
137 rirb_get_response(struct lola *chip, unsigned int *val, unsigned int *extval) rirb_get_response() argument
181 lola_codec_write(struct lola *chip, unsigned int nid, unsigned int verb, unsigned int data, unsigned int extdata) lola_codec_write() argument
190 lola_codec_read(struct lola *chip, unsigned int nid, unsigned int verb, unsigned int data, unsigned int extdata, unsigned int *val, unsigned int *extval) lola_codec_read() argument
206 lola_codec_flush(struct lola *chip) lola_codec_flush() argument
217 struct lola *chip = dev_id; lola_interrupt() local
295 reset_controller(struct lola *chip) reset_controller() argument
322 lola_irq_enable(struct lola *chip) lola_irq_enable() argument
338 lola_irq_disable(struct lola *chip) lola_irq_disable() argument
345 setup_corb_rirb(struct lola *chip) setup_corb_rirb() argument
409 stop_corb_rirb(struct lola *chip) stop_corb_rirb() argument
416 lola_reset_setups(struct lola *chip) lola_reset_setups() argument
432 lola_parse_tree(struct lola *chip) lola_parse_tree() argument
524 lola_stop_hw(struct lola *chip) lola_stop_hw() argument
532 struct lola *chip = card->private_data; lola_free() local
541 struct lola *chip = card->private_data; lola_create() local
645 struct lola *chip; __lola_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/char/tpm/
H A Dtpm-chip.c15 * TPM chip management routines.
35 static int tpm_request_locality(struct tpm_chip *chip) in tpm_request_locality() argument
39 if (!chip->ops->request_locality) in tpm_request_locality()
42 rc = chip->ops->request_locality(chip, 0); in tpm_request_locality()
46 chip->locality = rc; in tpm_request_locality()
50 static void tpm_relinquish_locality(struct tpm_chip *chip) in tpm_relinquish_locality() argument
54 if (!chip->ops->relinquish_locality) in tpm_relinquish_locality()
57 rc = chip->ops->relinquish_locality(chip, chi in tpm_relinquish_locality()
64 tpm_cmd_ready(struct tpm_chip *chip) tpm_cmd_ready() argument
72 tpm_go_idle(struct tpm_chip *chip) tpm_go_idle() argument
80 tpm_clk_enable(struct tpm_chip *chip) tpm_clk_enable() argument
86 tpm_clk_disable(struct tpm_chip *chip) tpm_clk_disable() argument
100 tpm_chip_start(struct tpm_chip *chip) tpm_chip_start() argument
133 tpm_chip_stop(struct tpm_chip *chip) tpm_chip_stop() argument
152 tpm_try_get_ops(struct tpm_chip *chip) tpm_try_get_ops() argument
184 tpm_put_ops(struct tpm_chip *chip) tpm_put_ops() argument
198 struct tpm_chip *chip, *res = NULL; tpm_default_chip() local
235 tpm_find_get_ops(struct tpm_chip *chip) tpm_find_get_ops() argument
264 struct tpm_chip *chip = container_of(dev, struct tpm_chip, dev); tpm_dev_release() local
288 struct tpm_chip *chip = container_of(dev, struct tpm_chip, dev); tpm_class_shutdown() local
316 struct tpm_chip *chip; tpm_chip_alloc() local
386 struct tpm_chip *chip; tpmm_chip_alloc() local
405 tpm_add_char_device(struct tpm_chip *chip) tpm_add_char_device() argument
436 tpm_del_char_device(struct tpm_chip *chip) tpm_del_char_device() argument
457 tpm_del_legacy_sysfs(struct tpm_chip *chip) tpm_del_legacy_sysfs() argument
474 tpm_add_legacy_sysfs(struct tpm_chip *chip) tpm_add_legacy_sysfs() argument
502 struct tpm_chip *chip = container_of(rng, struct tpm_chip, hwrng); tpm_hwrng_read() local
507 tpm_add_hwrng(struct tpm_chip *chip) tpm_add_hwrng() argument
519 tpm_get_pcr_allocation(struct tpm_chip *chip) tpm_get_pcr_allocation() argument
544 tpm_chip_register(struct tpm_chip *chip) tpm_chip_register() argument
607 tpm_chip_unregister(struct tpm_chip *chip) tpm_chip_unregister() argument
[all...]
/kernel/linux/linux-5.10/sound/pci/oxygen/
H A Doxygen_lib.c29 static inline int oxygen_uart_input_ready(struct oxygen *chip) in oxygen_uart_input_ready() argument
31 return !(oxygen_read8(chip, OXYGEN_MPU401 + 1) & MPU401_RX_EMPTY); in oxygen_uart_input_ready()
34 static void oxygen_read_uart(struct oxygen *chip) in oxygen_read_uart() argument
36 if (unlikely(!oxygen_uart_input_ready(chip))) { in oxygen_read_uart()
38 oxygen_read8(chip, OXYGEN_MPU401); in oxygen_read_uart()
42 u8 data = oxygen_read8(chip, OXYGEN_MPU401); in oxygen_read_uart()
45 if (chip->uart_input_count >= ARRAY_SIZE(chip->uart_input)) in oxygen_read_uart()
46 chip->uart_input_count = 0; in oxygen_read_uart()
47 chip in oxygen_read_uart()
55 struct oxygen *chip = dev_id; oxygen_interrupt() local
120 struct oxygen *chip = container_of(work, struct oxygen, oxygen_spdif_input_bits_changed() local
181 struct oxygen *chip = container_of(work, struct oxygen, gpio_work); oxygen_gpio_changed() local
190 struct oxygen *chip = entry->private_data; oxygen_proc_read() local
233 oxygen_proc_init(struct oxygen *chip) oxygen_proc_init() argument
239 oxygen_search_pci_id(struct oxygen *chip, const struct pci_device_id ids[]) oxygen_search_pci_id() argument
269 oxygen_restore_eeprom(struct oxygen *chip, const struct pci_device_id *id) oxygen_restore_eeprom() argument
353 oxygen_init(struct oxygen *chip) oxygen_init() argument
558 oxygen_shutdown(struct oxygen *chip) oxygen_shutdown() argument
570 struct oxygen *chip = card->private_data; oxygen_card_free() local
584 oxygen_pci_probe(struct pci_dev *pci, int index, char *id, struct module *owner, const struct pci_device_id *ids, int (*get_model)(struct oxygen *chip, const struct pci_device_id *id ) ) oxygen_pci_probe() argument
593 struct oxygen *chip; oxygen_pci_probe() local
732 struct oxygen *chip = card->private_data; oxygen_pci_suspend() local
767 oxygen_restore_ac97(struct oxygen *chip, unsigned int codec) oxygen_restore_ac97() argument
782 struct oxygen *chip = card->private_data; oxygen_pci_resume() local
811 struct oxygen *chip = card->private_data; oxygen_pci_shutdown() local
[all...]
/kernel/linux/linux-6.6/sound/pci/oxygen/
H A Doxygen_lib.c29 static inline int oxygen_uart_input_ready(struct oxygen *chip) in oxygen_uart_input_ready() argument
31 return !(oxygen_read8(chip, OXYGEN_MPU401 + 1) & MPU401_RX_EMPTY); in oxygen_uart_input_ready()
34 static void oxygen_read_uart(struct oxygen *chip) in oxygen_read_uart() argument
36 if (unlikely(!oxygen_uart_input_ready(chip))) { in oxygen_read_uart()
38 oxygen_read8(chip, OXYGEN_MPU401); in oxygen_read_uart()
42 u8 data = oxygen_read8(chip, OXYGEN_MPU401); in oxygen_read_uart()
45 if (chip->uart_input_count >= ARRAY_SIZE(chip->uart_input)) in oxygen_read_uart()
46 chip->uart_input_count = 0; in oxygen_read_uart()
47 chip in oxygen_read_uart()
55 struct oxygen *chip = dev_id; oxygen_interrupt() local
120 struct oxygen *chip = container_of(work, struct oxygen, oxygen_spdif_input_bits_changed() local
181 struct oxygen *chip = container_of(work, struct oxygen, gpio_work); oxygen_gpio_changed() local
190 struct oxygen *chip = entry->private_data; oxygen_proc_read() local
233 oxygen_proc_init(struct oxygen *chip) oxygen_proc_init() argument
239 oxygen_search_pci_id(struct oxygen *chip, const struct pci_device_id ids[]) oxygen_search_pci_id() argument
269 oxygen_restore_eeprom(struct oxygen *chip, const struct pci_device_id *id) oxygen_restore_eeprom() argument
353 oxygen_init(struct oxygen *chip) oxygen_init() argument
558 oxygen_shutdown(struct oxygen *chip) oxygen_shutdown() argument
570 struct oxygen *chip = card->private_data; oxygen_card_free() local
579 __oxygen_pci_probe(struct pci_dev *pci, int index, char *id, struct module *owner, const struct pci_device_id *ids, int (*get_model)(struct oxygen *chip, const struct pci_device_id *id ) ) __oxygen_pci_probe() argument
588 struct oxygen *chip; __oxygen_pci_probe() local
705 oxygen_pci_probe(struct pci_dev *pci, int index, char *id, struct module *owner, const struct pci_device_id *ids, int (*get_model)(struct oxygen *chip, const struct pci_device_id *id)) oxygen_pci_probe() argument
720 struct oxygen *chip = card->private_data; oxygen_pci_suspend() local
755 oxygen_restore_ac97(struct oxygen *chip, unsigned int codec) oxygen_restore_ac97() argument
770 struct oxygen *chip = card->private_data; oxygen_pci_resume() local
799 struct oxygen *chip = card->private_data; oxygen_pci_shutdown() local
[all...]
/kernel/linux/linux-5.10/sound/pci/echoaudio/
H A Dechoaudio_dsp.c35 static int restore_dsp_rettings(struct echoaudio *chip);
42 static int wait_handshake(struct echoaudio *chip) in wait_handshake() argument
50 if (chip->comm_page->handshake) { in wait_handshake()
56 dev_err(chip->card->dev, "wait_handshake(): Timeout waiting for DSP\n"); in wait_handshake()
66 static int send_vector(struct echoaudio *chip, u32 command) in send_vector() argument
74 if (!(get_dsp_register(chip, CHI32_VECTOR_REG) & in send_vector()
76 set_dsp_register(chip, CHI32_VECTOR_REG, command); in send_vector()
83 dev_err(chip->card->dev, "timeout on send_vector\n"); in send_vector()
91 static int write_dsp(struct echoaudio *chip, u32 data) in write_dsp() argument
96 status = get_dsp_register(chip, CHI32_STATUS_RE in write_dsp()
115 read_dsp(struct echoaudio *chip, u32 *data) read_dsp() argument
145 read_sn(struct echoaudio *chip) read_sn() argument
167 check_asic_status(struct echoaudio *chip) check_asic_status() argument
180 load_asic_generic(struct echoaudio *chip, u32 cmd, short asic) load_asic_generic() argument
227 install_resident_loader(struct echoaudio *chip) install_resident_loader() argument
335 load_dsp(struct echoaudio *chip, u16 *code) load_dsp() argument
488 load_firmware(struct echoaudio *chip) load_firmware() argument
528 set_nominal_level(struct echoaudio *chip, u16 index, char consumer) set_nominal_level() argument
552 set_output_gain(struct echoaudio *chip, u16 channel, s8 gain) set_output_gain() argument
570 set_monitor_gain(struct echoaudio *chip, u16 output, u16 input, s8 gain) set_monitor_gain() argument
588 update_output_line_level(struct echoaudio *chip) update_output_line_level() argument
599 update_input_line_level(struct echoaudio *chip) update_input_line_level() argument
611 set_meters_on(struct echoaudio *chip, char on) set_meters_on() argument
636 get_audio_meters(struct echoaudio *chip, long *meters) get_audio_meters() argument
666 restore_dsp_rettings(struct echoaudio *chip) restore_dsp_rettings() argument
777 set_audio_format(struct echoaudio *chip, u16 pipe_index, const struct audioformat *format) set_audio_format() argument
855 start_transport(struct echoaudio *chip, u32 channel_mask, u32 cyclic_mask) start_transport() argument
881 pause_transport(struct echoaudio *chip, u32 channel_mask) pause_transport() argument
907 stop_transport(struct echoaudio *chip, u32 channel_mask) stop_transport() argument
933 is_pipe_allocated(struct echoaudio *chip, u16 pipe_index) is_pipe_allocated() argument
942 rest_in_peace(struct echoaudio *chip) rest_in_peace() argument
967 init_dsp_comm_page(struct echoaudio *chip) init_dsp_comm_page() argument
1004 init_line_levels(struct echoaudio *chip) init_line_levels() argument
1021 service_irq(struct echoaudio *chip) service_irq() argument
1050 allocate_pipes(struct echoaudio *chip, struct audiopipe *pipe, int pipe_index, int interleave) allocate_pipes() argument
1088 free_pipes(struct echoaudio *chip, struct audiopipe *pipe) free_pipes() argument
1112 sglist_init(struct echoaudio *chip, struct audiopipe *pipe) sglist_init() argument
1123 sglist_add_mapping(struct echoaudio *chip, struct audiopipe *pipe, dma_addr_t address, size_t length) sglist_add_mapping() argument
1142 sglist_add_irq(struct echoaudio *chip, struct audiopipe *pipe) sglist_add_irq() argument
1149 sglist_wrap(struct echoaudio *chip, struct audiopipe *pipe) sglist_wrap() argument
[all...]
/kernel/linux/linux-6.6/sound/pci/echoaudio/
H A Dechoaudio_dsp.c35 static int restore_dsp_rettings(struct echoaudio *chip);
42 static int wait_handshake(struct echoaudio *chip) in wait_handshake() argument
50 if (chip->comm_page->handshake) { in wait_handshake()
56 dev_err(chip->card->dev, "wait_handshake(): Timeout waiting for DSP\n"); in wait_handshake()
66 static int send_vector(struct echoaudio *chip, u32 command) in send_vector() argument
74 if (!(get_dsp_register(chip, CHI32_VECTOR_REG) & in send_vector()
76 set_dsp_register(chip, CHI32_VECTOR_REG, command); in send_vector()
83 dev_err(chip->card->dev, "timeout on send_vector\n"); in send_vector()
91 static int write_dsp(struct echoaudio *chip, u32 data) in write_dsp() argument
96 status = get_dsp_register(chip, CHI32_STATUS_RE in write_dsp()
115 read_dsp(struct echoaudio *chip, u32 *data) read_dsp() argument
145 read_sn(struct echoaudio *chip) read_sn() argument
167 check_asic_status(struct echoaudio *chip) check_asic_status() argument
180 load_asic_generic(struct echoaudio *chip, u32 cmd, short asic) load_asic_generic() argument
227 install_resident_loader(struct echoaudio *chip) install_resident_loader() argument
335 load_dsp(struct echoaudio *chip, u16 *code) load_dsp() argument
489 load_firmware(struct echoaudio *chip) load_firmware() argument
531 set_nominal_level(struct echoaudio *chip, u16 index, char consumer) set_nominal_level() argument
555 set_output_gain(struct echoaudio *chip, u16 channel, s8 gain) set_output_gain() argument
573 set_monitor_gain(struct echoaudio *chip, u16 output, u16 input, s8 gain) set_monitor_gain() argument
591 update_output_line_level(struct echoaudio *chip) update_output_line_level() argument
602 update_input_line_level(struct echoaudio *chip) update_input_line_level() argument
614 set_meters_on(struct echoaudio *chip, char on) set_meters_on() argument
639 get_audio_meters(struct echoaudio *chip, long *meters) get_audio_meters() argument
669 restore_dsp_rettings(struct echoaudio *chip) restore_dsp_rettings() argument
781 set_audio_format(struct echoaudio *chip, u16 pipe_index, const struct audioformat *format) set_audio_format() argument
859 start_transport(struct echoaudio *chip, u32 channel_mask, u32 cyclic_mask) start_transport() argument
885 pause_transport(struct echoaudio *chip, u32 channel_mask) pause_transport() argument
911 stop_transport(struct echoaudio *chip, u32 channel_mask) stop_transport() argument
937 is_pipe_allocated(struct echoaudio *chip, u16 pipe_index) is_pipe_allocated() argument
946 rest_in_peace(struct echoaudio *chip) rest_in_peace() argument
971 init_dsp_comm_page(struct echoaudio *chip) init_dsp_comm_page() argument
1008 init_line_levels(struct echoaudio *chip) init_line_levels() argument
1025 service_irq(struct echoaudio *chip) service_irq() argument
1054 allocate_pipes(struct echoaudio *chip, struct audiopipe *pipe, int pipe_index, int interleave) allocate_pipes() argument
1092 free_pipes(struct echoaudio *chip, struct audiopipe *pipe) free_pipes() argument
1116 sglist_init(struct echoaudio *chip, struct audiopipe *pipe) sglist_init() argument
1127 sglist_add_mapping(struct echoaudio *chip, struct audiopipe *pipe, dma_addr_t address, size_t length) sglist_add_mapping() argument
1146 sglist_add_irq(struct echoaudio *chip, struct audiopipe *pipe) sglist_add_irq() argument
1153 sglist_wrap(struct echoaudio *chip, struct audiopipe *pipe) sglist_wrap() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/dsa/mv88e6xxx/
H A Dglobal2.c15 #include "chip.h"
19 int mv88e6xxx_g2_read(struct mv88e6xxx_chip *chip, int reg, u16 *val) in mv88e6xxx_g2_read() argument
21 return mv88e6xxx_read(chip, chip->info->global2_addr, reg, val); in mv88e6xxx_g2_read()
24 int mv88e6xxx_g2_write(struct mv88e6xxx_chip *chip, int reg, u16 val) in mv88e6xxx_g2_write() argument
26 return mv88e6xxx_write(chip, chip->info->global2_addr, reg, val); in mv88e6xxx_g2_write()
29 int mv88e6xxx_g2_wait_bit(struct mv88e6xxx_chip *chip, int reg, int in mv88e6xxx_g2_wait_bit() argument
32 return mv88e6xxx_wait_bit(chip, chip in mv88e6xxx_g2_wait_bit()
38 mv88e6xxx_g2_int_source(struct mv88e6xxx_chip *chip, u16 *src) mv88e6xxx_g2_int_source() argument
46 mv88e6xxx_g2_int_mask(struct mv88e6xxx_chip *chip, u16 mask) mv88e6xxx_g2_int_mask() argument
53 mv88e6xxx_g2_mgmt_enable_2x(struct mv88e6xxx_chip *chip, u16 en2x) mv88e6xxx_g2_mgmt_enable_2x() argument
60 mv88e6xxx_g2_mgmt_enable_0x(struct mv88e6xxx_chip *chip, u16 en0x) mv88e6xxx_g2_mgmt_enable_0x() argument
67 mv88e6xxx_g2_switch_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip, bool enable) mv88e6xxx_g2_switch_mgmt_rsvd2cpu() argument
85 mv88e6185_g2_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip) mv88e6185_g2_mgmt_rsvd2cpu() argument
99 mv88e6352_g2_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip) mv88e6352_g2_mgmt_rsvd2cpu() argument
115 mv88e6xxx_g2_device_mapping_write(struct mv88e6xxx_chip *chip, int target, int port) mv88e6xxx_g2_device_mapping_write() argument
129 mv88e6xxx_g2_trunk_mask_write(struct mv88e6xxx_chip *chip, int num, bool hash, u16 mask) mv88e6xxx_g2_trunk_mask_write() argument
143 mv88e6xxx_g2_trunk_mapping_write(struct mv88e6xxx_chip *chip, int id, u16 map) mv88e6xxx_g2_trunk_mapping_write() argument
153 mv88e6xxx_g2_trunk_clear(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_trunk_clear() argument
179 mv88e6xxx_g2_irl_wait(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_irl_wait() argument
186 mv88e6xxx_g2_irl_op(struct mv88e6xxx_chip *chip, u16 op, int port, int res, int reg) mv88e6xxx_g2_irl_op() argument
200 mv88e6352_g2_irl_init_all(struct mv88e6xxx_chip *chip, int port) mv88e6352_g2_irl_init_all() argument
206 mv88e6390_g2_irl_init_all(struct mv88e6xxx_chip *chip, int port) mv88e6390_g2_irl_init_all() argument
216 mv88e6xxx_g2_pvt_op_wait(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_pvt_op_wait() argument
223 mv88e6xxx_g2_pvt_op(struct mv88e6xxx_chip *chip, int src_dev, int src_port, u16 op) mv88e6xxx_g2_pvt_op() argument
242 mv88e6xxx_g2_pvt_read(struct mv88e6xxx_chip *chip, int src_dev, int src_port, u16 *data) mv88e6xxx_g2_pvt_read() argument
259 mv88e6xxx_g2_pvt_write(struct mv88e6xxx_chip *chip, int src_dev, int src_port, u16 data) mv88e6xxx_g2_pvt_write() argument
278 mv88e6xxx_g2_switch_mac_write(struct mv88e6xxx_chip *chip, unsigned int pointer, u8 data) mv88e6xxx_g2_switch_mac_write() argument
287 mv88e6xxx_g2_set_switch_mac(struct mv88e6xxx_chip *chip, u8 *addr) mv88e6xxx_g2_set_switch_mac() argument
302 mv88e6xxx_g2_atu_stats_set(struct mv88e6xxx_chip *chip, u16 kind, u16 bin) mv88e6xxx_g2_atu_stats_set() argument
308 mv88e6xxx_g2_atu_stats_get(struct mv88e6xxx_chip *chip, u16 *stats) mv88e6xxx_g2_atu_stats_get() argument
315 mv88e6xxx_g2_pot_write(struct mv88e6xxx_chip *chip, int pointer, u8 data) mv88e6xxx_g2_pot_write() argument
324 mv88e6xxx_g2_pot_clear(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_pot_clear() argument
343 mv88e6xxx_g2_eeprom_wait(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_eeprom_wait() argument
357 mv88e6xxx_g2_eeprom_cmd(struct mv88e6xxx_chip *chip, u16 cmd) mv88e6xxx_g2_eeprom_cmd() argument
369 mv88e6xxx_g2_eeprom_read8(struct mv88e6xxx_chip *chip, u16 addr, u8 *data) mv88e6xxx_g2_eeprom_read8() argument
396 mv88e6xxx_g2_eeprom_write8(struct mv88e6xxx_chip *chip, u16 addr, u8 data) mv88e6xxx_g2_eeprom_write8() argument
414 mv88e6xxx_g2_eeprom_read16(struct mv88e6xxx_chip *chip, u8 addr, u16 *data) mv88e6xxx_g2_eeprom_read16() argument
431 mv88e6xxx_g2_eeprom_write16(struct mv88e6xxx_chip *chip, u8 addr, u16 data) mv88e6xxx_g2_eeprom_write16() argument
448 mv88e6xxx_g2_get_eeprom8(struct mv88e6xxx_chip *chip, struct ethtool_eeprom *eeprom, u8 *data) mv88e6xxx_g2_get_eeprom8() argument
471 mv88e6xxx_g2_set_eeprom8(struct mv88e6xxx_chip *chip, struct ethtool_eeprom *eeprom, u8 *data) mv88e6xxx_g2_set_eeprom8() argument
494 mv88e6xxx_g2_get_eeprom16(struct mv88e6xxx_chip *chip, struct ethtool_eeprom *eeprom, u8 *data) mv88e6xxx_g2_get_eeprom16() argument
544 mv88e6xxx_g2_set_eeprom16(struct mv88e6xxx_chip *chip, struct ethtool_eeprom *eeprom, u8 *data) mv88e6xxx_g2_set_eeprom16() argument
614 mv88e6xxx_g2_smi_phy_wait(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_smi_phy_wait() argument
621 mv88e6xxx_g2_smi_phy_cmd(struct mv88e6xxx_chip *chip, u16 cmd) mv88e6xxx_g2_smi_phy_cmd() argument
633 mv88e6xxx_g2_smi_phy_access(struct mv88e6xxx_chip *chip, bool external, bool c45, u16 op, int dev, int reg) mv88e6xxx_g2_smi_phy_access() argument
656 mv88e6xxx_g2_smi_phy_access_c22(struct mv88e6xxx_chip *chip, bool external, u16 op, int dev, int reg) mv88e6xxx_g2_smi_phy_access_c22() argument
664 mv88e6xxx_g2_smi_phy_read_data_c22(struct mv88e6xxx_chip *chip, bool external, int dev, int reg, u16 *data) mv88e6xxx_g2_smi_phy_read_data_c22() argument
683 mv88e6xxx_g2_smi_phy_write_data_c22(struct mv88e6xxx_chip *chip, bool external, int dev, int reg, u16 data) mv88e6xxx_g2_smi_phy_write_data_c22() argument
701 mv88e6xxx_g2_smi_phy_access_c45(struct mv88e6xxx_chip *chip, bool external, u16 op, int port, int dev) mv88e6xxx_g2_smi_phy_access_c45() argument
709 mv88e6xxx_g2_smi_phy_write_addr_c45(struct mv88e6xxx_chip *chip, bool external, int port, int dev, int addr) mv88e6xxx_g2_smi_phy_write_addr_c45() argument
728 mv88e6xxx_g2_smi_phy_read_data_c45(struct mv88e6xxx_chip *chip, bool external, int port, int dev, u16 *data) mv88e6xxx_g2_smi_phy_read_data_c45() argument
742 _mv88e6xxx_g2_smi_phy_read_c45(struct mv88e6xxx_chip *chip, bool external, int port, int devad, int reg, u16 *data) _mv88e6xxx_g2_smi_phy_read_c45() argument
758 mv88e6xxx_g2_smi_phy_write_data_c45(struct mv88e6xxx_chip *chip, bool external, int port, int dev, u16 data) mv88e6xxx_g2_smi_phy_write_data_c45() argument
772 _mv88e6xxx_g2_smi_phy_write_c45(struct mv88e6xxx_chip *chip, bool external, int port, int devad, int reg, u16 data) _mv88e6xxx_g2_smi_phy_write_c45() argument
787 mv88e6xxx_g2_smi_phy_read_c22(struct mv88e6xxx_chip *chip, struct mii_bus *bus, int addr, int reg, u16 *val) mv88e6xxx_g2_smi_phy_read_c22() argument
798 mv88e6xxx_g2_smi_phy_read_c45(struct mv88e6xxx_chip *chip, struct mii_bus *bus, int addr, int devad, int reg, u16 *val) mv88e6xxx_g2_smi_phy_read_c45() argument
809 mv88e6xxx_g2_smi_phy_write_c22(struct mv88e6xxx_chip *chip, struct mii_bus *bus, int addr, int reg, u16 val) mv88e6xxx_g2_smi_phy_write_c22() argument
820 mv88e6xxx_g2_smi_phy_write_c45(struct mv88e6xxx_chip *chip, struct mii_bus *bus, int addr, int devad, int reg, u16 val) mv88e6xxx_g2_smi_phy_write_c45() argument
832 mv88e6097_watchdog_action(struct mv88e6xxx_chip *chip, int irq) mv88e6097_watchdog_action() argument
843 mv88e6097_watchdog_free(struct mv88e6xxx_chip *chip) mv88e6097_watchdog_free() argument
855 mv88e6097_watchdog_setup(struct mv88e6xxx_chip *chip) mv88e6097_watchdog_setup() argument
869 mv88e6250_watchdog_free(struct mv88e6xxx_chip *chip) mv88e6250_watchdog_free() argument
881 mv88e6250_watchdog_setup(struct mv88e6xxx_chip *chip) mv88e6250_watchdog_setup() argument
895 mv88e6390_watchdog_setup(struct mv88e6xxx_chip *chip) mv88e6390_watchdog_setup() argument
906 mv88e6390_watchdog_action(struct mv88e6xxx_chip *chip, int irq) mv88e6390_watchdog_action() argument
933 mv88e6390_watchdog_free(struct mv88e6xxx_chip *chip) mv88e6390_watchdog_free() argument
946 mv88e6393x_watchdog_action(struct mv88e6xxx_chip *chip, int irq) mv88e6393x_watchdog_action() argument
968 struct mv88e6xxx_chip *chip = dev_id; mv88e6xxx_g2_watchdog_thread_fn() local
979 mv88e6xxx_g2_watchdog_free(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_watchdog_free() argument
990 mv88e6xxx_g2_watchdog_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_watchdog_setup() argument
1019 mv88e6xxx_g2_misc_5_bit_port(struct mv88e6xxx_chip *chip, bool port_5_bit) mv88e6xxx_g2_misc_5_bit_port() argument
1037 mv88e6xxx_g2_misc_4_bit_port(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_misc_4_bit_port() argument
1044 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); mv88e6xxx_g2_irq_mask() local
1052 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); mv88e6xxx_g2_irq_unmask() local
1060 struct mv88e6xxx_chip *chip = dev_id; mv88e6xxx_g2_irq_thread_fn() local
1086 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); mv88e6xxx_g2_irq_bus_lock() local
1093 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); mv88e6xxx_g2_irq_bus_sync_unlock() local
1115 struct mv88e6xxx_chip *chip = d->host_data; mv88e6xxx_g2_irq_domain_map() local
1129 mv88e6xxx_g2_irq_free(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_irq_free() argument
1146 mv88e6xxx_g2_irq_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_irq_setup() argument
1196 mv88e6xxx_g2_irq_mdio_setup(struct mv88e6xxx_chip *chip, struct mii_bus *bus) mv88e6xxx_g2_irq_mdio_setup() argument
1214 mv88e6xxx_g2_irq_mdio_free(struct mv88e6xxx_chip *chip, struct mii_bus *bus) mv88e6xxx_g2_irq_mdio_free() argument
[all...]
H A Dphy.c13 #include "chip.h"
16 int mv88e6165_phy_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus, in mv88e6165_phy_read() argument
19 return mv88e6xxx_read(chip, addr, reg, val); in mv88e6165_phy_read()
22 int mv88e6165_phy_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus, in mv88e6165_phy_write() argument
25 return mv88e6xxx_write(chip, addr, reg, val); in mv88e6165_phy_write()
28 int mv88e6xxx_phy_read(struct mv88e6xxx_chip *chip, int phy, int reg, u16 *val) in mv88e6xxx_phy_read() argument
33 bus = mv88e6xxx_default_mdio_bus(chip); in mv88e6xxx_phy_read()
37 if (!chip->info->ops->phy_read) in mv88e6xxx_phy_read()
40 return chip->info->ops->phy_read(chip, bu in mv88e6xxx_phy_read()
43 mv88e6xxx_phy_write(struct mv88e6xxx_chip *chip, int phy, int reg, u16 val) mv88e6xxx_phy_write() argument
58 mv88e6xxx_phy_read_c45(struct mv88e6xxx_chip *chip, int phy, int devad, int reg, u16 *val) mv88e6xxx_phy_read_c45() argument
74 mv88e6xxx_phy_write_c45(struct mv88e6xxx_chip *chip, int phy, int devad, int reg, u16 val) mv88e6xxx_phy_write_c45() argument
90 mv88e6xxx_phy_page_get(struct mv88e6xxx_chip *chip, int phy, u8 page) mv88e6xxx_phy_page_get() argument
95 mv88e6xxx_phy_page_put(struct mv88e6xxx_chip *chip, int phy) mv88e6xxx_phy_page_put() argument
111 mv88e6xxx_phy_page_read(struct mv88e6xxx_chip *chip, int phy, u8 page, int reg, u16 *val) mv88e6xxx_phy_page_read() argument
129 mv88e6xxx_phy_page_write(struct mv88e6xxx_chip *chip, int phy, u8 page, int reg, u16 val) mv88e6xxx_phy_page_write() argument
150 mv88e6xxx_phy_ppu_disable(struct mv88e6xxx_chip *chip) mv88e6xxx_phy_ppu_disable() argument
158 mv88e6xxx_phy_ppu_enable(struct mv88e6xxx_chip *chip) mv88e6xxx_phy_ppu_enable() argument
168 struct mv88e6xxx_chip *chip; mv88e6xxx_phy_ppu_reenable_work() local
185 struct mv88e6xxx_chip *chip = from_timer(chip, t, ppu_timer); mv88e6xxx_phy_ppu_reenable_timer() local
190 mv88e6xxx_phy_ppu_access_get(struct mv88e6xxx_chip *chip) mv88e6xxx_phy_ppu_access_get() argument
216 mv88e6xxx_phy_ppu_access_put(struct mv88e6xxx_chip *chip) mv88e6xxx_phy_ppu_access_put() argument
223 mv88e6xxx_phy_ppu_state_init(struct mv88e6xxx_chip *chip) mv88e6xxx_phy_ppu_state_init() argument
230 mv88e6xxx_phy_ppu_state_destroy(struct mv88e6xxx_chip *chip) mv88e6xxx_phy_ppu_state_destroy() argument
235 mv88e6185_phy_ppu_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus, int addr, int reg, u16 *val) mv88e6185_phy_ppu_read() argument
249 mv88e6185_phy_ppu_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus, int addr, int reg, u16 val) mv88e6185_phy_ppu_write() argument
263 mv88e6xxx_phy_init(struct mv88e6xxx_chip *chip) mv88e6xxx_phy_init() argument
269 mv88e6xxx_phy_destroy(struct mv88e6xxx_chip *chip) mv88e6xxx_phy_destroy() argument
275 mv88e6xxx_phy_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_phy_setup() argument
[all...]
/kernel/linux/linux-5.10/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() argument
54 rec->space = dma_alloc_coherent(&chip->pdev->dev, rsize, 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() argument
71 dma_free_coherent(&chip->pdev->dev, rsize, rec->space, rec->dma_base); 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() argument
89 if (rate > chip->freq_table[0]) in snd_pmac_rate_index()
92 for (i = 0; i < chip->num_freqs; i++, ok >>= 1) { in snd_pmac_rate_index()
95 if (rate >= chip->freq_table[i]) 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() argument
117 return &chip in snd_pmac_get_stream()
141 snd_pmac_pcm_set_format(struct snd_pmac *chip) snd_pmac_pcm_set_format() argument
179 snd_pmac_pcm_prepare(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_substream *subs) snd_pmac_pcm_prepare() argument
243 snd_pmac_pcm_trigger(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_substream *subs, int cmd) snd_pmac_pcm_trigger() argument
290 snd_pmac_pcm_pointer(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_substream *subs) snd_pmac_pcm_pointer() argument
317 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_playback_prepare() local
324 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_playback_trigger() local
330 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_playback_pointer() local
341 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_capture_prepare() local
348 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_capture_trigger() local
354 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_capture_pointer() local
431 snd_pmac_pcm_update(struct snd_pmac *chip, struct pmac_stream *rec) snd_pmac_pcm_update() argument
553 snd_pmac_pcm_open(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_substream *subs) snd_pmac_pcm_open() argument
602 snd_pmac_pcm_close(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_substream *subs) snd_pmac_pcm_close() argument
622 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_playback_open() local
630 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_capture_open() local
638 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_playback_close() local
645 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_capture_close() local
669 snd_pmac_pcm_new(struct snd_pmac *chip) snd_pmac_pcm_new() argument
708 snd_pmac_dbdma_reset(struct snd_pmac *chip) snd_pmac_dbdma_reset() argument
720 snd_pmac_beep_dma_start(struct snd_pmac *chip, int bytes, unsigned long addr, int speed) snd_pmac_beep_dma_start() argument
738 snd_pmac_beep_dma_stop(struct snd_pmac *chip) snd_pmac_beep_dma_stop() argument
752 struct snd_pmac *chip = devid; snd_pmac_tx_intr() local
761 struct snd_pmac *chip = devid; snd_pmac_rx_intr() local
770 struct snd_pmac *chip = devid; snd_pmac_ctrl_intr() local
793 snd_pmac_sound_feature(struct snd_pmac *chip, int enable) snd_pmac_sound_feature() argument
803 snd_pmac_free(struct snd_pmac *chip) snd_pmac_free() argument
859 struct snd_pmac *chip = device->device_data; snd_pmac_dev_free() local
868 detect_byte_swap(struct snd_pmac *chip) detect_byte_swap() argument
894 snd_pmac_detect(struct snd_pmac *chip) snd_pmac_detect() argument
1078 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); pmac_auto_mute_get() local
1086 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); pmac_auto_mute_put() local
1099 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); pmac_hp_detect_get() local
1122 snd_pmac_add_automute(struct snd_pmac *chip) snd_pmac_add_automute() argument
1141 struct snd_pmac *chip; snd_pmac_new() local
1324 snd_pmac_suspend(struct snd_pmac *chip) snd_pmac_suspend() argument
1343 snd_pmac_resume(struct snd_pmac *chip) snd_pmac_resume() argument
[all...]
/kernel/linux/linux-6.6/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() argument
54 rec->space = dma_alloc_coherent(&chip->pdev->dev, rsize, 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() argument
71 dma_free_coherent(&chip->pdev->dev, rsize, rec->space, rec->dma_base); 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() argument
89 if (rate > chip->freq_table[0]) in snd_pmac_rate_index()
92 for (i = 0; i < chip->num_freqs; i++, ok >>= 1) { in snd_pmac_rate_index()
95 if (rate >= chip->freq_table[i]) 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() argument
117 return &chip in snd_pmac_get_stream()
141 snd_pmac_pcm_set_format(struct snd_pmac *chip) snd_pmac_pcm_set_format() argument
179 snd_pmac_pcm_prepare(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_substream *subs) snd_pmac_pcm_prepare() argument
243 snd_pmac_pcm_trigger(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_substream *subs, int cmd) snd_pmac_pcm_trigger() argument
290 snd_pmac_pcm_pointer(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_substream *subs) snd_pmac_pcm_pointer() argument
317 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_playback_prepare() local
324 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_playback_trigger() local
330 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_playback_pointer() local
341 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_capture_prepare() local
348 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_capture_trigger() local
354 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_capture_pointer() local
431 snd_pmac_pcm_update(struct snd_pmac *chip, struct pmac_stream *rec) snd_pmac_pcm_update() argument
553 snd_pmac_pcm_open(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_substream *subs) snd_pmac_pcm_open() argument
602 snd_pmac_pcm_close(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_substream *subs) snd_pmac_pcm_close() argument
622 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_playback_open() local
630 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_capture_open() local
638 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_playback_close() local
645 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_capture_close() local
669 snd_pmac_pcm_new(struct snd_pmac *chip) snd_pmac_pcm_new() argument
708 snd_pmac_dbdma_reset(struct snd_pmac *chip) snd_pmac_dbdma_reset() argument
720 snd_pmac_beep_dma_start(struct snd_pmac *chip, int bytes, unsigned long addr, int speed) snd_pmac_beep_dma_start() argument
738 snd_pmac_beep_dma_stop(struct snd_pmac *chip) snd_pmac_beep_dma_stop() argument
752 struct snd_pmac *chip = devid; snd_pmac_tx_intr() local
761 struct snd_pmac *chip = devid; snd_pmac_rx_intr() local
770 struct snd_pmac *chip = devid; snd_pmac_ctrl_intr() local
793 snd_pmac_sound_feature(struct snd_pmac *chip, int enable) snd_pmac_sound_feature() argument
803 snd_pmac_free(struct snd_pmac *chip) snd_pmac_free() argument
859 struct snd_pmac *chip = device->device_data; snd_pmac_dev_free() local
868 detect_byte_swap(struct snd_pmac *chip) detect_byte_swap() argument
894 snd_pmac_detect(struct snd_pmac *chip) snd_pmac_detect() argument
1078 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); pmac_auto_mute_get() local
1086 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); pmac_auto_mute_put() local
1099 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); pmac_hp_detect_get() local
1122 snd_pmac_add_automute(struct snd_pmac *chip) snd_pmac_add_automute() argument
1141 struct snd_pmac *chip; snd_pmac_new() local
1326 snd_pmac_suspend(struct snd_pmac *chip) snd_pmac_suspend() argument
1345 snd_pmac_resume(struct snd_pmac *chip) snd_pmac_resume() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/
H A Dglobal2.c15 #include "chip.h"
19 int mv88e6xxx_g2_read(struct mv88e6xxx_chip *chip, int reg, u16 *val) in mv88e6xxx_g2_read() argument
21 return mv88e6xxx_read(chip, chip->info->global2_addr, reg, val); in mv88e6xxx_g2_read()
24 int mv88e6xxx_g2_write(struct mv88e6xxx_chip *chip, int reg, u16 val) in mv88e6xxx_g2_write() argument
26 return mv88e6xxx_write(chip, chip->info->global2_addr, reg, val); in mv88e6xxx_g2_write()
29 int mv88e6xxx_g2_wait_bit(struct mv88e6xxx_chip *chip, int reg, int in mv88e6xxx_g2_wait_bit() argument
32 return mv88e6xxx_wait_bit(chip, chip in mv88e6xxx_g2_wait_bit()
38 mv88e6xxx_g2_int_source(struct mv88e6xxx_chip *chip, u16 *src) mv88e6xxx_g2_int_source() argument
46 mv88e6xxx_g2_int_mask(struct mv88e6xxx_chip *chip, u16 mask) mv88e6xxx_g2_int_mask() argument
53 mv88e6xxx_g2_mgmt_enable_2x(struct mv88e6xxx_chip *chip, u16 en2x) mv88e6xxx_g2_mgmt_enable_2x() argument
60 mv88e6xxx_g2_mgmt_enable_0x(struct mv88e6xxx_chip *chip, u16 en0x) mv88e6xxx_g2_mgmt_enable_0x() argument
67 mv88e6xxx_g2_switch_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip, bool enable) mv88e6xxx_g2_switch_mgmt_rsvd2cpu() argument
85 mv88e6185_g2_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip) mv88e6185_g2_mgmt_rsvd2cpu() argument
99 mv88e6352_g2_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip) mv88e6352_g2_mgmt_rsvd2cpu() argument
115 mv88e6xxx_g2_device_mapping_write(struct mv88e6xxx_chip *chip, int target, int port) mv88e6xxx_g2_device_mapping_write() argument
129 mv88e6xxx_g2_trunk_mask_write(struct mv88e6xxx_chip *chip, int num, bool hash, u16 mask) mv88e6xxx_g2_trunk_mask_write() argument
143 mv88e6xxx_g2_trunk_mapping_write(struct mv88e6xxx_chip *chip, int id, u16 map) mv88e6xxx_g2_trunk_mapping_write() argument
153 mv88e6xxx_g2_trunk_clear(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_trunk_clear() argument
179 mv88e6xxx_g2_irl_wait(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_irl_wait() argument
186 mv88e6xxx_g2_irl_op(struct mv88e6xxx_chip *chip, u16 op, int port, int res, int reg) mv88e6xxx_g2_irl_op() argument
200 mv88e6352_g2_irl_init_all(struct mv88e6xxx_chip *chip, int port) mv88e6352_g2_irl_init_all() argument
206 mv88e6390_g2_irl_init_all(struct mv88e6xxx_chip *chip, int port) mv88e6390_g2_irl_init_all() argument
216 mv88e6xxx_g2_pvt_op_wait(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_pvt_op_wait() argument
223 mv88e6xxx_g2_pvt_op(struct mv88e6xxx_chip *chip, int src_dev, int src_port, u16 op) mv88e6xxx_g2_pvt_op() argument
242 mv88e6xxx_g2_pvt_write(struct mv88e6xxx_chip *chip, int src_dev, int src_port, u16 data) mv88e6xxx_g2_pvt_write() argument
261 mv88e6xxx_g2_switch_mac_write(struct mv88e6xxx_chip *chip, unsigned int pointer, u8 data) mv88e6xxx_g2_switch_mac_write() argument
270 mv88e6xxx_g2_set_switch_mac(struct mv88e6xxx_chip *chip, u8 *addr) mv88e6xxx_g2_set_switch_mac() argument
285 mv88e6xxx_g2_atu_stats_set(struct mv88e6xxx_chip *chip, u16 kind, u16 bin) mv88e6xxx_g2_atu_stats_set() argument
291 mv88e6xxx_g2_atu_stats_get(struct mv88e6xxx_chip *chip, u16 *stats) mv88e6xxx_g2_atu_stats_get() argument
298 mv88e6xxx_g2_pot_write(struct mv88e6xxx_chip *chip, int pointer, u8 data) mv88e6xxx_g2_pot_write() argument
307 mv88e6xxx_g2_pot_clear(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_pot_clear() argument
326 mv88e6xxx_g2_eeprom_wait(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_eeprom_wait() argument
340 mv88e6xxx_g2_eeprom_cmd(struct mv88e6xxx_chip *chip, u16 cmd) mv88e6xxx_g2_eeprom_cmd() argument
352 mv88e6xxx_g2_eeprom_read8(struct mv88e6xxx_chip *chip, u16 addr, u8 *data) mv88e6xxx_g2_eeprom_read8() argument
379 mv88e6xxx_g2_eeprom_write8(struct mv88e6xxx_chip *chip, u16 addr, u8 data) mv88e6xxx_g2_eeprom_write8() argument
397 mv88e6xxx_g2_eeprom_read16(struct mv88e6xxx_chip *chip, u8 addr, u16 *data) mv88e6xxx_g2_eeprom_read16() argument
414 mv88e6xxx_g2_eeprom_write16(struct mv88e6xxx_chip *chip, u8 addr, u16 data) mv88e6xxx_g2_eeprom_write16() argument
431 mv88e6xxx_g2_get_eeprom8(struct mv88e6xxx_chip *chip, struct ethtool_eeprom *eeprom, u8 *data) mv88e6xxx_g2_get_eeprom8() argument
454 mv88e6xxx_g2_set_eeprom8(struct mv88e6xxx_chip *chip, struct ethtool_eeprom *eeprom, u8 *data) mv88e6xxx_g2_set_eeprom8() argument
477 mv88e6xxx_g2_get_eeprom16(struct mv88e6xxx_chip *chip, struct ethtool_eeprom *eeprom, u8 *data) mv88e6xxx_g2_get_eeprom16() argument
527 mv88e6xxx_g2_set_eeprom16(struct mv88e6xxx_chip *chip, struct ethtool_eeprom *eeprom, u8 *data) mv88e6xxx_g2_set_eeprom16() argument
597 mv88e6xxx_g2_smi_phy_wait(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_smi_phy_wait() argument
604 mv88e6xxx_g2_smi_phy_cmd(struct mv88e6xxx_chip *chip, u16 cmd) mv88e6xxx_g2_smi_phy_cmd() argument
616 mv88e6xxx_g2_smi_phy_access(struct mv88e6xxx_chip *chip, bool external, bool c45, u16 op, int dev, int reg) mv88e6xxx_g2_smi_phy_access() argument
639 mv88e6xxx_g2_smi_phy_access_c22(struct mv88e6xxx_chip *chip, bool external, u16 op, int dev, int reg) mv88e6xxx_g2_smi_phy_access_c22() argument
647 mv88e6xxx_g2_smi_phy_read_data_c22(struct mv88e6xxx_chip *chip, bool external, int dev, int reg, u16 *data) mv88e6xxx_g2_smi_phy_read_data_c22() argument
666 mv88e6xxx_g2_smi_phy_write_data_c22(struct mv88e6xxx_chip *chip, bool external, int dev, int reg, u16 data) mv88e6xxx_g2_smi_phy_write_data_c22() argument
684 mv88e6xxx_g2_smi_phy_access_c45(struct mv88e6xxx_chip *chip, bool external, u16 op, int port, int dev) mv88e6xxx_g2_smi_phy_access_c45() argument
692 mv88e6xxx_g2_smi_phy_write_addr_c45(struct mv88e6xxx_chip *chip, bool external, int port, int dev, int addr) mv88e6xxx_g2_smi_phy_write_addr_c45() argument
711 mv88e6xxx_g2_smi_phy_read_data_c45(struct mv88e6xxx_chip *chip, bool external, int port, int dev, u16 *data) mv88e6xxx_g2_smi_phy_read_data_c45() argument
725 mv88e6xxx_g2_smi_phy_read_c45(struct mv88e6xxx_chip *chip, bool external, int port, int reg, u16 *data) mv88e6xxx_g2_smi_phy_read_c45() argument
743 mv88e6xxx_g2_smi_phy_write_data_c45(struct mv88e6xxx_chip *chip, bool external, int port, int dev, u16 data) mv88e6xxx_g2_smi_phy_write_data_c45() argument
757 mv88e6xxx_g2_smi_phy_write_c45(struct mv88e6xxx_chip *chip, bool external, int port, int reg, u16 data) mv88e6xxx_g2_smi_phy_write_c45() argument
774 mv88e6xxx_g2_smi_phy_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus, int addr, int reg, u16 *val) mv88e6xxx_g2_smi_phy_read() argument
788 mv88e6xxx_g2_smi_phy_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus, int addr, int reg, u16 val) mv88e6xxx_g2_smi_phy_write() argument
803 mv88e6097_watchdog_action(struct mv88e6xxx_chip *chip, int irq) mv88e6097_watchdog_action() argument
814 mv88e6097_watchdog_free(struct mv88e6xxx_chip *chip) mv88e6097_watchdog_free() argument
826 mv88e6097_watchdog_setup(struct mv88e6xxx_chip *chip) mv88e6097_watchdog_setup() argument
840 mv88e6250_watchdog_free(struct mv88e6xxx_chip *chip) mv88e6250_watchdog_free() argument
852 mv88e6250_watchdog_setup(struct mv88e6xxx_chip *chip) mv88e6250_watchdog_setup() argument
866 mv88e6390_watchdog_setup(struct mv88e6xxx_chip *chip) mv88e6390_watchdog_setup() argument
877 mv88e6390_watchdog_action(struct mv88e6xxx_chip *chip, int irq) mv88e6390_watchdog_action() argument
904 mv88e6390_watchdog_free(struct mv88e6xxx_chip *chip) mv88e6390_watchdog_free() argument
919 struct mv88e6xxx_chip *chip = dev_id; mv88e6xxx_g2_watchdog_thread_fn() local
930 mv88e6xxx_g2_watchdog_free(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_watchdog_free() argument
941 mv88e6xxx_g2_watchdog_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_watchdog_setup() argument
970 mv88e6xxx_g2_misc_5_bit_port(struct mv88e6xxx_chip *chip, bool port_5_bit) mv88e6xxx_g2_misc_5_bit_port() argument
988 mv88e6xxx_g2_misc_4_bit_port(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_misc_4_bit_port() argument
995 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); mv88e6xxx_g2_irq_mask() local
1003 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); mv88e6xxx_g2_irq_unmask() local
1011 struct mv88e6xxx_chip *chip = dev_id; mv88e6xxx_g2_irq_thread_fn() local
1037 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); mv88e6xxx_g2_irq_bus_lock() local
1044 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); mv88e6xxx_g2_irq_bus_sync_unlock() local
1066 struct mv88e6xxx_chip *chip = d->host_data; mv88e6xxx_g2_irq_domain_map() local
1080 mv88e6xxx_g2_irq_free(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_irq_free() argument
1097 mv88e6xxx_g2_irq_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_g2_irq_setup() argument
1147 mv88e6xxx_g2_irq_mdio_setup(struct mv88e6xxx_chip *chip, struct mii_bus *bus) mv88e6xxx_g2_irq_mdio_setup() argument
1170 mv88e6xxx_g2_irq_mdio_free(struct mv88e6xxx_chip *chip, struct mii_bus *bus) mv88e6xxx_g2_irq_mdio_free() argument
[all...]
/kernel/linux/linux-5.10/sound/pci/lola/
H A Dlola.c74 static int corb_send_verb(struct lola *chip, unsigned int nid, in corb_send_verb() argument
81 chip->last_cmd_nid = nid; in corb_send_verb()
82 chip->last_verb = verb; in corb_send_verb()
83 chip->last_data = data; in corb_send_verb()
84 chip->last_extdata = extdata; in corb_send_verb()
87 spin_lock_irqsave(&chip->reg_lock, flags); in corb_send_verb()
88 if (chip->rirb.cmds < LOLA_CORB_ENTRIES - 1) { in corb_send_verb()
89 unsigned int wp = chip->corb.wp + 1; in corb_send_verb()
91 chip->corb.wp = wp; in corb_send_verb()
92 chip in corb_send_verb()
103 lola_queue_unsol_event(struct lola *chip, unsigned int res, unsigned int res_ex) lola_queue_unsol_event() argument
110 lola_update_rirb(struct lola *chip) lola_update_rirb() argument
138 rirb_get_response(struct lola *chip, unsigned int *val, unsigned int *extval) rirb_get_response() argument
182 lola_codec_write(struct lola *chip, unsigned int nid, unsigned int verb, unsigned int data, unsigned int extdata) lola_codec_write() argument
191 lola_codec_read(struct lola *chip, unsigned int nid, unsigned int verb, unsigned int data, unsigned int extdata, unsigned int *val, unsigned int *extval) lola_codec_read() argument
207 lola_codec_flush(struct lola *chip) lola_codec_flush() argument
218 struct lola *chip = dev_id; lola_interrupt() local
296 reset_controller(struct lola *chip) reset_controller() argument
323 lola_irq_enable(struct lola *chip) lola_irq_enable() argument
339 lola_irq_disable(struct lola *chip) lola_irq_disable() argument
346 setup_corb_rirb(struct lola *chip) setup_corb_rirb() argument
412 stop_corb_rirb(struct lola *chip) stop_corb_rirb() argument
419 lola_reset_setups(struct lola *chip) lola_reset_setups() argument
435 lola_parse_tree(struct lola *chip) lola_parse_tree() argument
527 lola_stop_hw(struct lola *chip) lola_stop_hw() argument
533 lola_free(struct lola *chip) lola_free() argument
559 struct lola *chip; lola_create() local
694 struct lola *chip; lola_probe() local
[all...]
/kernel/linux/linux-5.10/sound/sh/
H A Dsh_dac_audio.c54 static void dac_audio_start_timer(struct snd_sh_dac *chip) in dac_audio_start_timer() argument
56 hrtimer_start(&chip->hrtimer, chip->wakeups_per_second, in dac_audio_start_timer()
60 static void dac_audio_stop_timer(struct snd_sh_dac *chip) in dac_audio_stop_timer() argument
62 hrtimer_cancel(&chip->hrtimer); in dac_audio_stop_timer()
65 static void dac_audio_reset(struct snd_sh_dac *chip) in dac_audio_reset() argument
67 dac_audio_stop_timer(chip); in dac_audio_reset()
68 chip->buffer_begin = chip->buffer_end = chip in dac_audio_reset()
73 dac_audio_set_rate(struct snd_sh_dac *chip) dac_audio_set_rate() argument
101 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); snd_sh_dac_pcm_open() local
118 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); snd_sh_dac_pcm_close() local
130 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); snd_sh_dac_pcm_prepare() local
141 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); snd_sh_dac_pcm_trigger() local
165 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); snd_sh_dac_pcm_copy() local
184 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); snd_sh_dac_pcm_copy_kernel() local
202 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); snd_sh_dac_pcm_silence() local
218 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); snd_sh_dac_pcm_pointer() local
237 snd_sh_dac_pcm(struct snd_sh_dac *chip, int device) snd_sh_dac_pcm() argument
268 snd_sh_dac_free(struct snd_sh_dac *chip) snd_sh_dac_free() argument
279 struct snd_sh_dac *chip = device->device_data; snd_sh_dac_dev_free() local
286 struct snd_sh_dac *chip = container_of(handle, struct snd_sh_dac, sh_dac_audio_timer() local
322 struct snd_sh_dac *chip; snd_sh_dac_create() local
366 struct snd_sh_dac *chip; snd_sh_dac_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/input/misc/
H A Dmax8997_haptic.c56 static int max8997_haptic_set_duty_cycle(struct max8997_haptic *chip) in max8997_haptic_set_duty_cycle() argument
60 if (chip->mode == MAX8997_EXTERNAL_MODE) { in max8997_haptic_set_duty_cycle()
61 unsigned int duty = chip->pwm_period * chip->level / 100; in max8997_haptic_set_duty_cycle()
62 ret = pwm_config(chip->pwm, duty, chip->pwm_period); in max8997_haptic_set_duty_cycle()
68 if (chip->level <= i * 100 / 64) { in max8997_haptic_set_duty_cycle()
73 switch (chip->internal_mode_pattern) { in max8997_haptic_set_duty_cycle()
75 max8997_write_reg(chip->client, in max8997_haptic_set_duty_cycle()
79 max8997_write_reg(chip in max8997_haptic_set_duty_cycle()
97 max8997_haptic_configure(struct max8997_haptic *chip) max8997_haptic_configure() argument
157 max8997_haptic_enable(struct max8997_haptic *chip) max8997_haptic_enable() argument
191 max8997_haptic_disable(struct max8997_haptic *chip) max8997_haptic_disable() argument
208 struct max8997_haptic *chip = max8997_haptic_play_effect_work() local
220 struct max8997_haptic *chip = input_get_drvdata(dev); max8997_haptic_play_effect() local
233 struct max8997_haptic *chip = input_get_drvdata(dev); max8997_haptic_close() local
245 struct max8997_haptic *chip; max8997_haptic_probe() local
362 struct max8997_haptic *chip = platform_get_drvdata(pdev); max8997_haptic_remove() local
378 struct max8997_haptic *chip = platform_get_drvdata(pdev); max8997_haptic_suspend() local
[all...]
/kernel/linux/linux-6.6/drivers/input/misc/
H A Dmax8997_haptic.c56 static int max8997_haptic_set_duty_cycle(struct max8997_haptic *chip) in max8997_haptic_set_duty_cycle() argument
60 if (chip->mode == MAX8997_EXTERNAL_MODE) { in max8997_haptic_set_duty_cycle()
61 unsigned int duty = chip->pwm_period * chip->level / 100; in max8997_haptic_set_duty_cycle()
62 ret = pwm_config(chip->pwm, duty, chip->pwm_period); in max8997_haptic_set_duty_cycle()
66 duty_index = DIV_ROUND_UP(chip->level * 64, 100); in max8997_haptic_set_duty_cycle()
68 switch (chip->internal_mode_pattern) { in max8997_haptic_set_duty_cycle()
70 max8997_write_reg(chip->client, in max8997_haptic_set_duty_cycle()
74 max8997_write_reg(chip in max8997_haptic_set_duty_cycle()
92 max8997_haptic_configure(struct max8997_haptic *chip) max8997_haptic_configure() argument
152 max8997_haptic_enable(struct max8997_haptic *chip) max8997_haptic_enable() argument
186 max8997_haptic_disable(struct max8997_haptic *chip) max8997_haptic_disable() argument
203 struct max8997_haptic *chip = max8997_haptic_play_effect_work() local
215 struct max8997_haptic *chip = input_get_drvdata(dev); max8997_haptic_play_effect() local
228 struct max8997_haptic *chip = input_get_drvdata(dev); max8997_haptic_close() local
240 struct max8997_haptic *chip; max8997_haptic_probe() local
356 struct max8997_haptic *chip = platform_get_drvdata(pdev); max8997_haptic_remove() local
372 struct max8997_haptic *chip = platform_get_drvdata(pdev); max8997_haptic_suspend() local
[all...]

Completed in 31 milliseconds

12345678910>>...133