Home
last modified time | relevance | path

Searched refs:dev (Results 1 - 25 of 40793) sorted by relevance

12345678910>>...1632

/kernel/linux/linux-5.10/net/nfc/
H A Dcore.c33 int nfc_fw_download(struct nfc_dev *dev, const char *firmware_name) in nfc_fw_download() argument
37 pr_debug("%s do firmware %s\n", dev_name(&dev->dev), firmware_name); in nfc_fw_download()
39 device_lock(&dev->dev); in nfc_fw_download()
41 if (dev->shutting_down) { in nfc_fw_download()
46 if (dev->dev_up) { in nfc_fw_download()
51 if (!dev->ops->fw_download) { in nfc_fw_download()
56 dev->fw_download_in_progress = true; in nfc_fw_download()
57 rc = dev in nfc_fw_download()
73 nfc_fw_download_done(struct nfc_dev *dev, const char *firmware_name, u32 result) nfc_fw_download_done() argument
89 nfc_dev_up(struct nfc_dev *dev) nfc_dev_up() argument
137 nfc_dev_down(struct nfc_dev *dev) nfc_dev_down() argument
172 struct nfc_dev *dev = data; nfc_rfkill_set_block() local
197 nfc_start_poll(struct nfc_dev *dev, u32 im_protocols, u32 tm_protocols) nfc_start_poll() argument
240 nfc_stop_poll(struct nfc_dev *dev) nfc_stop_poll() argument
267 nfc_find_target(struct nfc_dev *dev, u32 target_idx) nfc_find_target() argument
279 nfc_dep_link_up(struct nfc_dev *dev, int target_index, u8 comm_mode) nfc_dep_link_up() argument
326 nfc_dep_link_down(struct nfc_dev *dev) nfc_dep_link_down() argument
362 nfc_dep_link_is_up(struct nfc_dev *dev, u32 target_idx, u8 comm_mode, u8 rf_mode) nfc_dep_link_is_up() argument
393 nfc_activate_target(struct nfc_dev *dev, u32 target_idx, u32 protocol) nfc_activate_target() argument
440 nfc_deactivate_target(struct nfc_dev *dev, u32 target_idx, u8 mode) nfc_deactivate_target() argument
486 nfc_data_exchange(struct nfc_dev *dev, u32 target_idx, struct sk_buff *skb, data_exchange_cb_t cb, void *cb_context) nfc_data_exchange() argument
532 nfc_find_se(struct nfc_dev *dev, u32 se_idx) nfc_find_se() argument
544 nfc_enable_se(struct nfc_dev *dev, u32 se_idx) nfc_enable_se() argument
593 nfc_disable_se(struct nfc_dev *dev, u32 se_idx) nfc_disable_se() argument
637 nfc_set_remote_general_bytes(struct nfc_dev *dev, const u8 *gb, u8 gb_len) nfc_set_remote_general_bytes() argument
645 nfc_get_local_general_bytes(struct nfc_dev *dev, size_t *gb_len) nfc_get_local_general_bytes() argument
653 nfc_tm_data_received(struct nfc_dev *dev, struct sk_buff *skb) nfc_tm_data_received() argument
665 nfc_tm_activated(struct nfc_dev *dev, u32 protocol, u8 comm_mode, const u8 *gb, size_t gb_len) nfc_tm_activated() argument
694 nfc_tm_deactivated(struct nfc_dev *dev) nfc_tm_deactivated() argument
708 nfc_alloc_send_skb(struct nfc_dev *dev, struct sock *sk, unsigned int flags, unsigned int size, unsigned int *err) nfc_alloc_send_skb() argument
762 nfc_targets_found(struct nfc_dev *dev, struct nfc_target *targets, int n_targets) nfc_targets_found() argument
819 nfc_target_lost(struct nfc_dev *dev, u32 target_idx) nfc_target_lost() argument
859 nfc_driver_failure(struct nfc_dev *dev, int err) nfc_driver_failure() argument
865 nfc_add_se(struct nfc_dev *dev, u32 se_idx, u16 type) nfc_add_se() argument
899 nfc_remove_se(struct nfc_dev *dev, u32 se_idx) nfc_remove_se() argument
922 nfc_se_transaction(struct nfc_dev *dev, u8 se_idx, struct nfc_evt_transaction *evt_transaction) nfc_se_transaction() argument
943 nfc_se_connectivity(struct nfc_dev *dev, u8 se_idx) nfc_se_connectivity() argument
958 struct nfc_dev *dev = to_nfc_dev(d); nfc_release() local
979 struct nfc_dev *dev = container_of(work, struct nfc_dev, nfc_check_pres_work() local
1007 struct nfc_dev *dev = from_timer(dev, t, check_pres_timer); nfc_check_pres_timeout() local
1020 struct nfc_dev *dev = to_nfc_dev(d); match_idx() local
1047 struct nfc_dev *dev; nfc_allocate_device() local
1102 nfc_register_device(struct nfc_dev *dev) nfc_register_device() argument
1146 nfc_unregister_device(struct nfc_dev *dev) nfc_unregister_device() argument
[all...]
/kernel/linux/linux-6.6/net/nfc/
H A Dcore.c33 int nfc_fw_download(struct nfc_dev *dev, const char *firmware_name) in nfc_fw_download() argument
37 pr_debug("%s do firmware %s\n", dev_name(&dev->dev), firmware_name); in nfc_fw_download()
39 device_lock(&dev->dev); in nfc_fw_download()
41 if (dev->shutting_down) { in nfc_fw_download()
46 if (dev->dev_up) { in nfc_fw_download()
51 if (!dev->ops->fw_download) { in nfc_fw_download()
56 dev->fw_download_in_progress = true; in nfc_fw_download()
57 rc = dev in nfc_fw_download()
73 nfc_fw_download_done(struct nfc_dev *dev, const char *firmware_name, u32 result) nfc_fw_download_done() argument
89 nfc_dev_up(struct nfc_dev *dev) nfc_dev_up() argument
137 nfc_dev_down(struct nfc_dev *dev) nfc_dev_down() argument
172 struct nfc_dev *dev = data; nfc_rfkill_set_block() local
198 nfc_start_poll(struct nfc_dev *dev, u32 im_protocols, u32 tm_protocols) nfc_start_poll() argument
241 nfc_stop_poll(struct nfc_dev *dev) nfc_stop_poll() argument
268 nfc_find_target(struct nfc_dev *dev, u32 target_idx) nfc_find_target() argument
280 nfc_dep_link_up(struct nfc_dev *dev, int target_index, u8 comm_mode) nfc_dep_link_up() argument
327 nfc_dep_link_down(struct nfc_dev *dev) nfc_dep_link_down() argument
363 nfc_dep_link_is_up(struct nfc_dev *dev, u32 target_idx, u8 comm_mode, u8 rf_mode) nfc_dep_link_is_up() argument
394 nfc_activate_target(struct nfc_dev *dev, u32 target_idx, u32 protocol) nfc_activate_target() argument
442 nfc_deactivate_target(struct nfc_dev *dev, u32 target_idx, u8 mode) nfc_deactivate_target() argument
488 nfc_data_exchange(struct nfc_dev *dev, u32 target_idx, struct sk_buff *skb, data_exchange_cb_t cb, void *cb_context) nfc_data_exchange() argument
534 nfc_find_se(struct nfc_dev *dev, u32 se_idx) nfc_find_se() argument
546 nfc_enable_se(struct nfc_dev *dev, u32 se_idx) nfc_enable_se() argument
595 nfc_disable_se(struct nfc_dev *dev, u32 se_idx) nfc_disable_se() argument
639 nfc_set_remote_general_bytes(struct nfc_dev *dev, const u8 *gb, u8 gb_len) nfc_set_remote_general_bytes() argument
647 nfc_get_local_general_bytes(struct nfc_dev *dev, size_t *gb_len) nfc_get_local_general_bytes() argument
655 nfc_tm_data_received(struct nfc_dev *dev, struct sk_buff *skb) nfc_tm_data_received() argument
667 nfc_tm_activated(struct nfc_dev *dev, u32 protocol, u8 comm_mode, const u8 *gb, size_t gb_len) nfc_tm_activated() argument
696 nfc_tm_deactivated(struct nfc_dev *dev) nfc_tm_deactivated() argument
714 nfc_alloc_send_skb(struct nfc_dev *dev, struct sock *sk, unsigned int flags, unsigned int size, unsigned int *err) nfc_alloc_send_skb() argument
768 nfc_targets_found(struct nfc_dev *dev, struct nfc_target *targets, int n_targets) nfc_targets_found() argument
825 nfc_target_lost(struct nfc_dev *dev, u32 target_idx) nfc_target_lost() argument
865 nfc_driver_failure(struct nfc_dev *dev, int err) nfc_driver_failure() argument
871 nfc_add_se(struct nfc_dev *dev, u32 se_idx, u16 type) nfc_add_se() argument
905 nfc_remove_se(struct nfc_dev *dev, u32 se_idx) nfc_remove_se() argument
928 nfc_se_transaction(struct nfc_dev *dev, u8 se_idx, struct nfc_evt_transaction *evt_transaction) nfc_se_transaction() argument
949 nfc_se_connectivity(struct nfc_dev *dev, u8 se_idx) nfc_se_connectivity() argument
964 struct nfc_dev *dev = to_nfc_dev(d); nfc_release() local
985 struct nfc_dev *dev = container_of(work, struct nfc_dev, nfc_check_pres_work() local
1013 struct nfc_dev *dev = from_timer(dev, t, check_pres_timer); nfc_check_pres_timeout() local
1026 struct nfc_dev *dev = to_nfc_dev(d); match_idx() local
1055 struct nfc_dev *dev; nfc_allocate_device() local
1110 nfc_register_device(struct nfc_dev *dev) nfc_register_device() argument
1154 nfc_unregister_device(struct nfc_dev *dev) nfc_unregister_device() argument
[all...]
/third_party/backends/backend/
H A Dmustek_usb_high.c722 usb_high_scan_init (Mustek_Usb_Device * dev) in usb_high_scan_init() argument
728 dev->init_bytes_per_strip = 8 * 1024; in usb_high_scan_init()
729 dev->adjust_length_300 = 2560; in usb_high_scan_init()
730 dev->adjust_length_600 = 5120; in usb_high_scan_init()
731 dev->init_min_expose_time = 4992; in usb_high_scan_init()
732 dev->init_skips_per_row_300 = 56; /* this value must be times of 6 */ in usb_high_scan_init()
733 dev->init_skips_per_row_600 = 72; /* this value must be times of 6 */ in usb_high_scan_init()
734 dev->init_j_lines = 154; in usb_high_scan_init()
735 dev->init_k_lines = 16; in usb_high_scan_init()
736 dev in usb_high_scan_init()
850 usb_high_scan_exit(Mustek_Usb_Device * dev) usb_high_scan_exit() argument
868 usb_high_scan_prepare(Mustek_Usb_Device * dev) usb_high_scan_prepare() argument
894 usb_high_scan_clearup(Mustek_Usb_Device * dev) usb_high_scan_clearup() argument
917 usb_high_scan_turn_power(Mustek_Usb_Device * dev, SANE_Bool is_on) usb_high_scan_turn_power() argument
955 usb_high_scan_back_home(Mustek_Usb_Device * dev) usb_high_scan_back_home() argument
975 usb_high_scan_set_threshold(Mustek_Usb_Device * dev, SANE_Byte threshold) usb_high_scan_set_threshold() argument
986 usb_high_scan_embed_gamma(Mustek_Usb_Device * dev, SANE_Word * gamma_table) usb_high_scan_embed_gamma() argument
1002 usb_high_scan_reset(Mustek_Usb_Device * dev) usb_high_scan_reset() argument
1033 usb_high_scan_wait_carriage_home(Mustek_Usb_Device * dev) usb_high_scan_wait_carriage_home() argument
1061 usb_high_scan_hardware_calibration(Mustek_Usb_Device * dev) usb_high_scan_hardware_calibration() argument
1171 usb_high_scan_line_calibration(Mustek_Usb_Device * dev) usb_high_scan_line_calibration() argument
1206 usb_high_scan_prepare_scan(Mustek_Usb_Device * dev) usb_high_scan_prepare_scan() argument
1246 usb_high_scan_suggest_parameters(Mustek_Usb_Device * dev, SANE_Word dpi, SANE_Word x, SANE_Word y, SANE_Word width, SANE_Word height, Colormode color_mode) usb_high_scan_suggest_parameters() argument
1287 usb_high_scan_detect_sensor(Mustek_Usb_Device * dev) usb_high_scan_detect_sensor() argument
1426 usb_high_scan_setup_scan(Mustek_Usb_Device * dev, Colormode color_mode, SANE_Word x_dpi, SANE_Word y_dpi, SANE_Bool is_invert, SANE_Word x, SANE_Word y, SANE_Word width) usb_high_scan_setup_scan() argument
1524 usb_high_scan_get_rows(Mustek_Usb_Device * dev, SANE_Byte * block, SANE_Word rows, SANE_Bool is_order_invert) usb_high_scan_get_rows() argument
1551 usb_high_scan_stop_scan(Mustek_Usb_Device * dev) usb_high_scan_stop_scan() argument
1601 usb_high_scan_init_asic(Mustek_Usb_Device * dev, Sensor_Type sensor) usb_high_scan_init_asic() argument
1692 usb_high_scan_evaluate_max_level(Mustek_Usb_Device * dev, SANE_Word sample_lines, SANE_Int sample_length, SANE_Byte * ret_max_level) usb_high_scan_evaluate_max_level() argument
1726 usb_high_scan_bssc_power_delay(Mustek_Usb_Device * dev, Powerdelay_Function set_power_delay, Signal_State * signal_state, SANE_Byte * target, SANE_Byte max, SANE_Byte min, SANE_Byte threshold, SANE_Int length) usb_high_scan_bssc_power_delay() argument
1799 usb_high_scan_adjust_rgb_600_power_delay(Mustek_Usb_Device * dev) usb_high_scan_adjust_rgb_600_power_delay() argument
1864 usb_high_scan_adjust_mono_600_power_delay(Mustek_Usb_Device * dev) usb_high_scan_adjust_mono_600_power_delay() argument
1911 usb_high_scan_adjust_mono_600_exposure(Mustek_Usb_Device * dev) usb_high_scan_adjust_mono_600_exposure() argument
1968 usb_high_scan_adjust_rgb_300_power_delay(Mustek_Usb_Device * dev) usb_high_scan_adjust_rgb_300_power_delay() argument
2034 usb_high_scan_adjust_mono_300_power_delay(Mustek_Usb_Device * dev) usb_high_scan_adjust_mono_300_power_delay() argument
2081 usb_high_scan_evaluate_pixel_rate(Mustek_Usb_Device * dev) usb_high_scan_evaluate_pixel_rate() argument
2093 usb_high_scan_calibration_rgb_24(Mustek_Usb_Device * dev) usb_high_scan_calibration_rgb_24() argument
2242 usb_high_scan_calibration_mono_8(Mustek_Usb_Device * dev) usb_high_scan_calibration_mono_8() argument
2306 usb_high_scan_step_forward(Mustek_Usb_Device * dev, SANE_Int step_count) usb_high_scan_step_forward() argument
2333 usb_high_scan_safe_forward(Mustek_Usb_Device * dev, SANE_Int step_count) usb_high_scan_safe_forward() argument
2354 usb_high_scan_calculate_max_rgb_600_expose(Mustek_Usb_Device * dev, SANE_Byte * ideal_red_pd, SANE_Byte * ideal_green_pd, SANE_Byte * ideal_blue_pd) usb_high_scan_calculate_max_rgb_600_expose() argument
2392 usb_high_scan_calculate_max_mono_600_expose(Mustek_Usb_Device * dev, SANE_Byte * ideal_red_pd, SANE_Byte * ideal_green_pd, SANE_Byte * ideal_blue_pd) usb_high_scan_calculate_max_mono_600_expose() argument
2433 usb_high_scan_calculate_max_rgb_300_expose(Mustek_Usb_Device * dev, SANE_Byte * ideal_red_pd, SANE_Byte * ideal_green_pd, SANE_Byte * ideal_blue_pd) usb_high_scan_calculate_max_rgb_300_expose() argument
2478 usb_high_scan_calculate_max_mono_300_expose(Mustek_Usb_Device * dev, SANE_Byte * ideal_red_pd, SANE_Byte * ideal_green_pd, SANE_Byte * ideal_blue_pd) usb_high_scan_calculate_max_mono_300_expose() argument
2528 usb_high_scan_prepare_rgb_signal_600_dpi(Mustek_Usb_Device * dev) usb_high_scan_prepare_rgb_signal_600_dpi() argument
2556 usb_high_scan_prepare_mono_signal_600_dpi(Mustek_Usb_Device * dev) usb_high_scan_prepare_mono_signal_600_dpi() argument
2584 usb_high_scan_prepare_rgb_signal_300_dpi(Mustek_Usb_Device * dev) usb_high_scan_prepare_rgb_signal_300_dpi() argument
2613 usb_high_scan_prepare_mono_signal_300_dpi(Mustek_Usb_Device * dev) usb_high_scan_prepare_mono_signal_300_dpi() argument
2642 usb_high_scan_prepare_rgb_24(Mustek_Usb_Device * dev) usb_high_scan_prepare_rgb_24() argument
2655 usb_high_scan_prepare_mono_8(Mustek_Usb_Device * dev) usb_high_scan_prepare_mono_8() argument
2668 usb_high_scan_get_rgb_24_bit_line(Mustek_Usb_Device * dev, SANE_Byte * line, SANE_Bool is_order_invert) usb_high_scan_get_rgb_24_bit_line() argument
2697 usb_high_scan_get_mono_8_bit_line(Mustek_Usb_Device * dev, SANE_Byte * line, SANE_Bool is_order_invert) usb_high_scan_get_mono_8_bit_line() argument
2714 usb_high_scan_backtrack_rgb_24(Mustek_Usb_Device * dev) usb_high_scan_backtrack_rgb_24() argument
2721 usb_high_scan_backtrack_mono_8(Mustek_Usb_Device * dev) usb_high_scan_backtrack_mono_8() argument
[all...]
H A Dxerox_mfp.c99 * Decode jpeg from `infilename` into dev->decData of dev->decDataSize size.
101 static int decompress(struct device __sane_unused__ *dev, in decompress() argument
138 dev->decDataSize = bmp_size; in decompress()
146 buffer[0] = dev->decData + \ in decompress()
159 /* copy from decoded jpeg image (dev->decData) into user's buffer (pDest) */
161 static int copy_decompress_data(struct device *dev, unsigned char *pDest, int maxlen, int *destLen) in copy_decompress_data() argument
167 if (!dev->decDataSize) in copy_decompress_data()
169 data_size = dev->decDataSize - dev in copy_decompress_data()
185 decompress_tempfile(struct device *dev) decompress_tempfile() argument
192 dump_to_tmp_file(struct device *dev) dump_to_tmp_file() argument
207 isSupportedDevice(struct device __sane_unused__ *dev) isSupportedDevice() argument
228 isJPEGEnabled(struct device __sane_unused__ *dev) isJPEGEnabled() argument
233 dbg_dump(struct device *dev) dbg_dump() argument
255 dev_command(struct device *dev, SANE_Byte *cmd, size_t reqlen) dev_command() argument
343 dev_cmd(struct device *dev, SANE_Byte command) dev_cmd() argument
351 dev_stop(struct device *dev) dev_stop() argument
374 ret_cancel(struct device *dev, SANE_Status ret) ret_cancel() argument
384 cancelled(struct device *dev) cancelled() argument
393 dev_cmd_wait(struct device *dev, int cmd) dev_cmd_wait() argument
447 resolv_inq_dpi(struct device *dev) resolv_inq_dpi() argument
523 reset_options(struct device *dev) reset_options() argument
546 init_options(struct device *dev) init_options() argument
657 set_parameters(struct device *dev) set_parameters() argument
706 fix_window(struct device *dev) fix_window() argument
778 dev_set_window(struct device *dev) dev_set_window() argument
824 dev_inquiry(struct device *dev) dev_inquiry() argument
896 struct device *dev = h; sane_get_option_descriptor() local
908 struct device *dev = h; sane_control_option() local
964 dev_free(struct device *dev) dev_free() argument
991 struct device *dev; free_devices() local
1014 struct device *dev; list_one_device() local
1080 struct device *dev; sane_exit() local
1093 struct device *dev; sane_get_devices() local
1133 struct device *dev = h; sane_close() local
1145 struct device *dev; sane_open() local
1175 struct device *dev = h; sane_get_parameters() local
1187 dev_acquire(struct device *dev) dev_acquire() argument
1230 fill_slack(struct device *dev, SANE_Byte *buf, int maxlen) fill_slack() argument
1243 copy_plain_trim(struct device *dev, SANE_Byte *buf, int maxlen, int *olenp) copy_plain_trim() argument
1266 copy_mix_bands_trim(struct device *dev, SANE_Byte *buf, int maxlen, int *olenp) copy_mix_bands_trim() argument
1307 struct device *dev = h; sane_read() local
1455 struct device *dev = h; sane_start() local
1541 struct device *dev = h; sane_set_io_mode() local
1561 struct device *dev = h; sane_cancel() local
[all...]
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-designware-master.c26 static void i2c_dw_configure_fifo_master(struct dw_i2c_dev *dev) in i2c_dw_configure_fifo_master() argument
29 regmap_write(dev->map, DW_IC_TX_TL, dev->tx_fifo_depth / 2); in i2c_dw_configure_fifo_master()
30 regmap_write(dev->map, DW_IC_RX_TL, 0); in i2c_dw_configure_fifo_master()
33 regmap_write(dev->map, DW_IC_CON, dev->master_cfg); in i2c_dw_configure_fifo_master()
36 static int i2c_dw_set_timings_master(struct dw_i2c_dev *dev) in i2c_dw_set_timings_master() argument
41 struct i2c_timings *t = &dev->timings; in i2c_dw_set_timings_master()
45 ret = i2c_dw_acquire_lock(dev); in i2c_dw_set_timings_master()
49 ret = regmap_read(dev in i2c_dw_set_timings_master()
183 i2c_dw_init_master(struct dw_i2c_dev *dev) i2c_dw_init_master() argument
218 i2c_dw_xfer_init(struct dw_i2c_dev *dev) i2c_dw_xfer_init() argument
270 i2c_dw_xfer_msg(struct dw_i2c_dev *dev) i2c_dw_xfer_msg() argument
396 i2c_dw_recv_len(struct dw_i2c_dev *dev, u8 len) i2c_dw_recv_len() argument
421 i2c_dw_read(struct dw_i2c_dev *dev) i2c_dw_read() argument
483 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); i2c_dw_xfer() local
579 i2c_dw_read_clear_intrbits(struct dw_i2c_dev *dev) i2c_dw_read_clear_intrbits() argument
638 i2c_dw_irq_handler_master(struct dw_i2c_dev *dev) i2c_dw_irq_handler_master() argument
682 struct dw_i2c_dev *dev = dev_id; i2c_dw_isr() local
696 i2c_dw_configure_master(struct dw_i2c_dev *dev) i2c_dw_configure_master() argument
722 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); i2c_dw_prepare_recovery() local
731 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); i2c_dw_unprepare_recovery() local
738 i2c_dw_init_recovery_info(struct dw_i2c_dev *dev) i2c_dw_init_recovery_info() argument
766 i2c_dw_probe_master(struct dw_i2c_dev *dev) i2c_dw_probe_master() argument
[all...]
/kernel/linux/linux-6.6/drivers/base/power/
H A Druntime.c21 static pm_callback_t __rpm_get_callback(struct device *dev, size_t cb_offset) in __rpm_get_callback() argument
26 if (dev->pm_domain) in __rpm_get_callback()
27 ops = &dev->pm_domain->ops; in __rpm_get_callback()
28 else if (dev->type && dev->type->pm) in __rpm_get_callback()
29 ops = dev->type->pm; in __rpm_get_callback()
30 else if (dev->class && dev->class->pm) in __rpm_get_callback()
31 ops = dev->class->pm; in __rpm_get_callback()
32 else if (dev in __rpm_get_callback()
65 update_pm_runtime_accounting(struct device *dev) update_pm_runtime_accounting() argument
93 __update_runtime_status(struct device *dev, enum rpm_status status) __update_runtime_status() argument
99 rpm_get_accounted_time(struct device *dev, bool suspended) rpm_get_accounted_time() argument
114 pm_runtime_active_time(struct device *dev) pm_runtime_active_time() argument
119 pm_runtime_suspended_time(struct device *dev) pm_runtime_suspended_time() argument
129 pm_runtime_deactivate_timer(struct device *dev) pm_runtime_deactivate_timer() argument
141 pm_runtime_cancel_pending(struct device *dev) pm_runtime_cancel_pending() argument
163 pm_runtime_autosuspend_expiration(struct device *dev) pm_runtime_autosuspend_expiration() argument
184 dev_memalloc_noio(struct device *dev, void *data) dev_memalloc_noio() argument
217 pm_runtime_set_memalloc_noio(struct device *dev, bool enable) pm_runtime_set_memalloc_noio() argument
257 rpm_check_suspend_allowed(struct device *dev) rpm_check_suspend_allowed() argument
283 rpm_get_suppliers(struct device *dev) rpm_get_suppliers() argument
326 __rpm_put_suppliers(struct device *dev, bool try_to_suspend) __rpm_put_suppliers() argument
338 rpm_put_suppliers(struct device *dev) rpm_put_suppliers() argument
343 rpm_suspend_suppliers(struct device *dev) rpm_suspend_suppliers() argument
383 rpm_put_suppliers(dev); global() variable
426 rpm_callback(int (*cb)(struct device *), struct device *dev) rpm_callback() argument
466 rpm_idle(struct device *dev, int rpmflags) rpm_idle() argument
615 pm_runtime_cancel_pending(dev); global() variable
678 pm_runtime_deactivate_timer(dev); global() variable
710 rpm_suspend_suppliers(dev); global() variable
739 pm_runtime_cancel_pending(dev); global() variable
791 pm_runtime_deactivate_timer(dev); global() variable
915 pm_runtime_cancel_pending(dev); global() variable
920 pm_runtime_mark_last_busy(dev); global() variable
952 struct device *dev = container_of(work, struct device, power.work); pm_runtime_work() local
993 struct device *dev = container_of(timer, struct device, power.suspend_timer); pm_suspend_timer_fn() local
1020 pm_schedule_suspend(struct device *dev, unsigned int delay) pm_schedule_suspend() argument
1052 rpm_drop_usage_count(struct device *dev) rpm_drop_usage_count() argument
1084 __pm_runtime_idle(struct device *dev, int rpmflags) __pm_runtime_idle() argument
1122 __pm_runtime_suspend(struct device *dev, int rpmflags) __pm_runtime_suspend() argument
1158 __pm_runtime_resume(struct device *dev, int rpmflags) __pm_runtime_resume() argument
1199 pm_runtime_get_if_active(struct device *dev, bool ign_usage_count) pm_runtime_get_if_active() argument
1246 __pm_runtime_set_status(struct device *dev, unsigned int status) __pm_runtime_set_status() argument
1357 __pm_runtime_barrier(struct device *dev) __pm_runtime_barrier() argument
1408 pm_runtime_barrier(struct device *dev) pm_runtime_barrier() argument
1444 __pm_runtime_disable(struct device *dev, bool check_resume) __pm_runtime_disable() argument
1488 pm_runtime_enable(struct device *dev) pm_runtime_enable() argument
1529 devm_pm_runtime_enable(struct device *dev) devm_pm_runtime_enable() argument
1545 pm_runtime_forbid(struct device *dev) pm_runtime_forbid() argument
1566 pm_runtime_allow(struct device *dev) pm_runtime_allow() argument
1594 pm_runtime_no_callbacks(struct device *dev) pm_runtime_no_callbacks() argument
1615 pm_runtime_irq_safe(struct device *dev) pm_runtime_irq_safe() argument
1637 update_autosuspend(struct device *dev, int old_delay, int old_use) update_autosuspend() argument
1674 pm_runtime_set_autosuspend_delay(struct device *dev, int delay) pm_runtime_set_autosuspend_delay() argument
1695 __pm_runtime_use_autosuspend(struct device *dev, bool use) __pm_runtime_use_autosuspend() argument
1712 pm_runtime_init(struct device *dev) pm_runtime_init() argument
1744 pm_runtime_reinit(struct device *dev) pm_runtime_reinit() argument
1763 pm_runtime_remove(struct device *dev) pm_runtime_remove() argument
1773 pm_runtime_get_suppliers(struct device *dev) pm_runtime_get_suppliers() argument
1794 pm_runtime_put_suppliers(struct device *dev) pm_runtime_put_suppliers() argument
1811 pm_runtime_new_link(struct device *dev) pm_runtime_new_link() argument
1818 pm_runtime_drop_link_count(struct device *dev) pm_runtime_drop_link_count() argument
1844 pm_runtime_need_not_resume(struct device *dev) pm_runtime_need_not_resume() argument
1872 pm_runtime_force_suspend(struct device *dev) pm_runtime_force_suspend() argument
1924 pm_runtime_force_resume(struct device *dev) pm_runtime_force_resume() argument
[all...]
/kernel/linux/linux-5.10/drivers/misc/mei/
H A Dhbm.c91 * @dev: mei device
95 static inline int mei_hbm_write_message(struct mei_device *dev, in mei_hbm_write_message() argument
99 return mei_write_message(dev, hdr, sizeof(*hdr), data, hdr->length); in mei_hbm_write_message()
105 * @dev: the device structure
107 void mei_hbm_idle(struct mei_device *dev) in mei_hbm_idle() argument
109 dev->init_clients_timer = 0; in mei_hbm_idle()
110 dev->hbm_state = MEI_HBM_IDLE; in mei_hbm_idle()
116 * @dev: the device structure
118 void mei_hbm_reset(struct mei_device *dev) in mei_hbm_reset() argument
120 mei_me_cl_rm_all(dev); in mei_hbm_reset()
170 mei_hbm_cl_write(struct mei_device *dev, struct mei_cl *cl, u8 hbm_cmd, void *buf, size_t len) mei_hbm_cl_write() argument
206 mei_hbm_cl_find_by_cmd(struct mei_device *dev, void *buf) mei_hbm_cl_find_by_cmd() argument
225 mei_hbm_start_wait(struct mei_device *dev) mei_hbm_start_wait() argument
253 mei_hbm_start_req(struct mei_device *dev) mei_hbm_start_req() argument
289 mei_hbm_dma_setup_req(struct mei_device *dev) mei_hbm_dma_setup_req() argument
331 mei_hbm_capabilities_req(struct mei_device *dev) mei_hbm_capabilities_req() argument
364 mei_hbm_enum_clients_req(struct mei_device *dev) mei_hbm_enum_clients_req() argument
400 mei_hbm_me_cl_add(struct mei_device *dev, struct hbm_props_response *res) mei_hbm_me_cl_add() argument
432 mei_hbm_add_cl_resp(struct mei_device *dev, u8 addr, u8 status) mei_hbm_add_cl_resp() argument
462 mei_hbm_fw_add_cl_req(struct mei_device *dev, struct hbm_add_client_request *req) mei_hbm_fw_add_cl_req() argument
490 mei_hbm_cl_notify_req(struct mei_device *dev, struct mei_cl *cl, u8 start) mei_hbm_cl_notify_req() argument
534 mei_hbm_cl_notify_start_res(struct mei_device *dev, struct mei_cl *cl, struct mei_hbm_cl_cmd *cmd) mei_hbm_cl_notify_start_res() argument
560 mei_hbm_cl_notify_stop_res(struct mei_device *dev, struct mei_cl *cl, struct mei_hbm_cl_cmd *cmd) mei_hbm_cl_notify_stop_res() argument
585 mei_hbm_cl_notify(struct mei_device *dev, struct mei_hbm_cl_cmd *cmd) mei_hbm_cl_notify() argument
603 mei_hbm_prop_req(struct mei_device *dev, unsigned long start_idx) mei_hbm_prop_req() argument
648 mei_hbm_pg(struct mei_device *dev, u8 pg_cmd) mei_hbm_pg() argument
676 mei_hbm_stop_req(struct mei_device *dev) mei_hbm_stop_req() argument
698 mei_hbm_cl_flow_control_req(struct mei_device *dev, struct mei_cl *cl) mei_hbm_cl_flow_control_req() argument
715 mei_hbm_add_single_tx_flow_ctrl_creds(struct mei_device *dev, struct hbm_flow_control *fctrl) mei_hbm_add_single_tx_flow_ctrl_creds() argument
748 mei_hbm_cl_tx_flow_ctrl_creds_res(struct mei_device *dev, struct hbm_flow_control *fctrl) mei_hbm_cl_tx_flow_ctrl_creds_res() argument
776 mei_hbm_cl_disconnect_req(struct mei_device *dev, struct mei_cl *cl) mei_hbm_cl_disconnect_req() argument
792 mei_hbm_cl_disconnect_rsp(struct mei_device *dev, struct mei_cl *cl) mei_hbm_cl_disconnect_rsp() argument
808 mei_hbm_cl_disconnect_res(struct mei_device *dev, struct mei_cl *cl, struct mei_hbm_cl_cmd *cmd) mei_hbm_cl_disconnect_res() argument
829 mei_hbm_cl_connect_req(struct mei_device *dev, struct mei_cl *cl) mei_hbm_cl_connect_req() argument
845 mei_hbm_cl_connect_res(struct mei_device *dev, struct mei_cl *cl, struct mei_hbm_cl_cmd *cmd) mei_hbm_cl_connect_res() argument
875 mei_hbm_cl_res(struct mei_device *dev, struct mei_hbm_cl_cmd *rs, enum mei_cb_file_ops fop_type) mei_hbm_cl_res() argument
930 mei_hbm_fw_disconnect_req(struct mei_device *dev, struct hbm_client_connect_request *disconnect_req) mei_hbm_fw_disconnect_req() argument
957 mei_hbm_pg_enter_res(struct mei_device *dev) mei_hbm_pg_enter_res() argument
977 mei_hbm_pg_resume(struct mei_device *dev) mei_hbm_pg_resume() argument
990 mei_hbm_pg_exit_res(struct mei_device *dev) mei_hbm_pg_exit_res() argument
1029 mei_hbm_config_features(struct mei_device *dev) mei_hbm_config_features() argument
1097 mei_hbm_version_is_supported(struct mei_device *dev) mei_hbm_version_is_supported() argument
1113 mei_hbm_dispatch(struct mei_device *dev, struct mei_msg_hdr *hdr) mei_hbm_dispatch() argument
[all...]
/kernel/linux/linux-5.10/drivers/base/power/
H A Druntime.c21 static pm_callback_t __rpm_get_callback(struct device *dev, size_t cb_offset) in __rpm_get_callback() argument
26 if (dev->pm_domain) in __rpm_get_callback()
27 ops = &dev->pm_domain->ops; in __rpm_get_callback()
28 else if (dev->type && dev->type->pm) in __rpm_get_callback()
29 ops = dev->type->pm; in __rpm_get_callback()
30 else if (dev->class && dev->class->pm) in __rpm_get_callback()
31 ops = dev->class->pm; in __rpm_get_callback()
32 else if (dev in __rpm_get_callback()
65 update_pm_runtime_accounting(struct device *dev) update_pm_runtime_accounting() argument
93 __update_runtime_status(struct device *dev, enum rpm_status status) __update_runtime_status() argument
99 rpm_get_accounted_time(struct device *dev, bool suspended) rpm_get_accounted_time() argument
114 pm_runtime_active_time(struct device *dev) pm_runtime_active_time() argument
119 pm_runtime_suspended_time(struct device *dev) pm_runtime_suspended_time() argument
129 pm_runtime_deactivate_timer(struct device *dev) pm_runtime_deactivate_timer() argument
141 pm_runtime_cancel_pending(struct device *dev) pm_runtime_cancel_pending() argument
163 pm_runtime_autosuspend_expiration(struct device *dev) pm_runtime_autosuspend_expiration() argument
184 dev_memalloc_noio(struct device *dev, void *data) dev_memalloc_noio() argument
217 pm_runtime_set_memalloc_noio(struct device *dev, bool enable) pm_runtime_set_memalloc_noio() argument
258 rpm_check_suspend_allowed(struct device *dev) rpm_check_suspend_allowed() argument
286 rpm_get_suppliers(struct device *dev) rpm_get_suppliers() argument
329 __rpm_put_suppliers(struct device *dev, bool try_to_suspend) __rpm_put_suppliers() argument
341 rpm_put_suppliers(struct device *dev) rpm_put_suppliers() argument
346 rpm_suspend_suppliers(struct device *dev) rpm_suspend_suppliers() argument
386 rpm_put_suppliers(dev); global() variable
436 rpm_idle(struct device *dev, int rpmflags) rpm_idle() argument
511 rpm_callback(int (*cb)(struct device *), struct device *dev) rpm_callback() argument
619 pm_runtime_cancel_pending(dev); global() variable
682 pm_runtime_deactivate_timer(dev); global() variable
714 rpm_suspend_suppliers(dev); global() variable
743 pm_runtime_cancel_pending(dev); global() variable
793 pm_runtime_deactivate_timer(dev); global() variable
912 pm_runtime_cancel_pending(dev); global() variable
917 pm_runtime_mark_last_busy(dev); global() variable
949 struct device *dev = container_of(work, struct device, power.work); pm_runtime_work() local
990 struct device *dev = container_of(timer, struct device, power.suspend_timer); pm_suspend_timer_fn() local
1017 pm_schedule_suspend(struct device *dev, unsigned int delay) pm_schedule_suspend() argument
1061 __pm_runtime_idle(struct device *dev, int rpmflags) __pm_runtime_idle() argument
1095 __pm_runtime_suspend(struct device *dev, int rpmflags) __pm_runtime_suspend() argument
1128 __pm_runtime_resume(struct device *dev, int rpmflags) __pm_runtime_resume() argument
1169 pm_runtime_get_if_active(struct device *dev, bool ign_usage_count) pm_runtime_get_if_active() argument
1216 __pm_runtime_set_status(struct device *dev, unsigned int status) __pm_runtime_set_status() argument
1326 __pm_runtime_barrier(struct device *dev) __pm_runtime_barrier() argument
1377 pm_runtime_barrier(struct device *dev) pm_runtime_barrier() argument
1413 __pm_runtime_disable(struct device *dev, bool check_resume) __pm_runtime_disable() argument
1455 pm_runtime_enable(struct device *dev) pm_runtime_enable() argument
1496 devm_pm_runtime_enable(struct device *dev) devm_pm_runtime_enable() argument
1512 pm_runtime_forbid(struct device *dev) pm_runtime_forbid() argument
1533 pm_runtime_allow(struct device *dev) pm_runtime_allow() argument
1558 pm_runtime_no_callbacks(struct device *dev) pm_runtime_no_callbacks() argument
1579 pm_runtime_irq_safe(struct device *dev) pm_runtime_irq_safe() argument
1600 update_autosuspend(struct device *dev, int old_delay, int old_use) update_autosuspend() argument
1637 pm_runtime_set_autosuspend_delay(struct device *dev, int delay) pm_runtime_set_autosuspend_delay() argument
1658 __pm_runtime_use_autosuspend(struct device *dev, bool use) __pm_runtime_use_autosuspend() argument
1675 pm_runtime_init(struct device *dev) pm_runtime_init() argument
1706 pm_runtime_reinit(struct device *dev) pm_runtime_reinit() argument
1725 pm_runtime_remove(struct device *dev) pm_runtime_remove() argument
1735 pm_runtime_get_suppliers(struct device *dev) pm_runtime_get_suppliers() argument
1757 pm_runtime_put_suppliers(struct device *dev) pm_runtime_put_suppliers() argument
1781 pm_runtime_new_link(struct device *dev) pm_runtime_new_link() argument
1788 pm_runtime_drop_link_count(struct device *dev) pm_runtime_drop_link_count() argument
1814 pm_runtime_need_not_resume(struct device *dev) pm_runtime_need_not_resume() argument
1838 pm_runtime_force_suspend(struct device *dev) pm_runtime_force_suspend() argument
1886 pm_runtime_force_resume(struct device *dev) pm_runtime_force_resume() argument
[all...]
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-designware-master.c31 static void i2c_dw_configure_fifo_master(struct dw_i2c_dev *dev) in i2c_dw_configure_fifo_master() argument
34 regmap_write(dev->map, DW_IC_TX_TL, dev->tx_fifo_depth / 2); in i2c_dw_configure_fifo_master()
35 regmap_write(dev->map, DW_IC_RX_TL, 0); in i2c_dw_configure_fifo_master()
38 regmap_write(dev->map, DW_IC_CON, dev->master_cfg); in i2c_dw_configure_fifo_master()
41 static int i2c_dw_set_timings_master(struct dw_i2c_dev *dev) in i2c_dw_set_timings_master() argument
45 struct i2c_timings *t = &dev->timings; in i2c_dw_set_timings_master()
50 ret = i2c_dw_acquire_lock(dev); in i2c_dw_set_timings_master()
54 ret = regmap_read(dev in i2c_dw_set_timings_master()
176 i2c_dw_init_master(struct dw_i2c_dev *dev) i2c_dw_init_master() argument
211 i2c_dw_xfer_init(struct dw_i2c_dev *dev) i2c_dw_xfer_init() argument
256 i2c_dw_check_stopbit(struct dw_i2c_dev *dev) i2c_dw_check_stopbit() argument
270 i2c_dw_status(struct dw_i2c_dev *dev) i2c_dw_status() argument
287 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); amd_i2c_dw_xfer_quirk() local
358 i2c_dw_poll_tx_empty(struct dw_i2c_dev *dev) i2c_dw_poll_tx_empty() argument
367 i2c_dw_poll_rx_full(struct dw_i2c_dev *dev) i2c_dw_poll_rx_full() argument
379 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); txgbe_i2c_dw_xfer_quirk() local
427 i2c_dw_xfer_msg(struct dw_i2c_dev *dev) i2c_dw_xfer_msg() argument
553 i2c_dw_recv_len(struct dw_i2c_dev *dev, u8 len) i2c_dw_recv_len() argument
578 i2c_dw_read(struct dw_i2c_dev *dev) i2c_dw_read() argument
642 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); i2c_dw_xfer() local
749 i2c_dw_read_clear_intrbits(struct dw_i2c_dev *dev) i2c_dw_read_clear_intrbits() argument
811 struct dw_i2c_dev *dev = dev_id; i2c_dw_isr() local
875 i2c_dw_configure_master(struct dw_i2c_dev *dev) i2c_dw_configure_master() argument
901 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); i2c_dw_prepare_recovery() local
910 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); i2c_dw_unprepare_recovery() local
917 i2c_dw_init_recovery_info(struct dw_i2c_dev *dev) i2c_dw_init_recovery_info() argument
956 i2c_dw_poll_adap_quirk(struct dw_i2c_dev *dev) i2c_dw_poll_adap_quirk() argument
970 i2c_dw_is_model_poll(struct dw_i2c_dev *dev) i2c_dw_is_model_poll() argument
981 i2c_dw_probe_master(struct dw_i2c_dev *dev) i2c_dw_probe_master() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/
H A Dcx231xx-avcore.c46 static int verve_write_byte(struct cx231xx *dev, u8 saddr, u8 data) in verve_write_byte() argument
48 return cx231xx_write_i2c_data(dev, VERVE_I2C_ADDRESS, in verve_write_byte()
52 static int verve_read_byte(struct cx231xx *dev, u8 saddr, u8 *data) in verve_read_byte() argument
57 status = cx231xx_read_i2c_data(dev, VERVE_I2C_ADDRESS, in verve_read_byte()
62 void initGPIO(struct cx231xx *dev) in initGPIO() argument
70 cx231xx_send_gpio_cmd(dev, _gpio_direction, (u8 *)&value, 4, 0, 0); in initGPIO()
72 verve_read_byte(dev, 0x07, &val); in initGPIO()
73 dev_dbg(dev->dev, "verve_read_byte address0x07=0x%x\n", val); in initGPIO()
74 verve_write_byte(dev, in initGPIO()
84 uninitGPIO(struct cx231xx *dev) uninitGPIO() argument
98 afe_write_byte(struct cx231xx *dev, u16 saddr, u8 data) afe_write_byte() argument
104 afe_read_byte(struct cx231xx *dev, u16 saddr, u8 *data) afe_read_byte() argument
115 cx231xx_afe_init_super_block(struct cx231xx *dev, u32 ref_count) cx231xx_afe_init_super_block() argument
186 cx231xx_afe_init_channels(struct cx231xx *dev) cx231xx_afe_init_channels() argument
235 cx231xx_afe_setup_AFE_for_baseband(struct cx231xx *dev) cx231xx_afe_setup_AFE_for_baseband() argument
256 cx231xx_afe_set_input_mux(struct cx231xx *dev, u32 input_mux) cx231xx_afe_set_input_mux() argument
293 cx231xx_afe_set_mode(struct cx231xx *dev, enum AFE_MODE mode) cx231xx_afe_set_mode() argument
330 cx231xx_afe_update_power_control(struct cx231xx *dev, enum AV_MODE avmode) cx231xx_afe_update_power_control() argument
468 cx231xx_afe_adjust_ref_count(struct cx231xx *dev, u32 video_input) cx231xx_afe_adjust_ref_count() argument
513 vid_blk_write_byte(struct cx231xx *dev, u16 saddr, u8 data) vid_blk_write_byte() argument
519 vid_blk_read_byte(struct cx231xx *dev, u16 saddr, u8 *data) vid_blk_read_byte() argument
530 vid_blk_write_word(struct cx231xx *dev, u16 saddr, u32 data) vid_blk_write_word() argument
536 vid_blk_read_word(struct cx231xx *dev, u16 saddr, u32 *data) vid_blk_read_word() argument
541 cx231xx_check_fw(struct cx231xx *dev) cx231xx_check_fw() argument
553 cx231xx_set_video_input_mux(struct cx231xx *dev, u8 input) cx231xx_set_video_input_mux() argument
625 cx231xx_set_decoder_video_input(struct cx231xx *dev, u8 pin_type, u8 input) cx231xx_set_decoder_video_input() argument
938 cx231xx_enable656(struct cx231xx *dev) cx231xx_enable656() argument
954 cx231xx_disable656(struct cx231xx *dev) cx231xx_disable656() argument
972 cx231xx_do_mode_ctrl_overrides(struct cx231xx *dev) cx231xx_do_mode_ctrl_overrides() argument
1069 cx231xx_unmute_audio(struct cx231xx *dev) cx231xx_unmute_audio() argument
1075 stopAudioFirmware(struct cx231xx *dev) stopAudioFirmware() argument
1080 restartAudioFirmware(struct cx231xx *dev) restartAudioFirmware() argument
1085 cx231xx_set_audio_input(struct cx231xx *dev, u8 input) cx231xx_set_audio_input() argument
1107 cx231xx_set_audio_decoder_input(struct cx231xx *dev, enum AUDIO_INPUT audio_input) cx231xx_set_audio_decoder_input() argument
1251 cx231xx_init_ctrl_pin_status(struct cx231xx *dev) cx231xx_init_ctrl_pin_status() argument
1263 cx231xx_set_agc_analog_digital_mux_select(struct cx231xx *dev, u8 analog_or_digital) cx231xx_set_agc_analog_digital_mux_select() argument
1284 cx231xx_enable_i2c_port_3(struct cx231xx *dev, bool is_port_3) cx231xx_enable_i2c_port_3() argument
1325 update_HH_register_after_set_DIF(struct cx231xx *dev) update_HH_register_after_set_DIF() argument
1341 cx231xx_dump_HH_reg(struct cx231xx *dev) cx231xx_dump_HH_reg() argument
1477 cx231xx_Setup_AFE_for_LowIF(struct cx231xx *dev) cx231xx_Setup_AFE_for_LowIF() argument
1533 cx231xx_set_Colibri_For_LowIF(struct cx231xx *dev, u32 if_freq, u8 spectral_invert, u32 mode) cx231xx_set_Colibri_For_LowIF() argument
1587 cx231xx_set_DIF_bandpass(struct cx231xx *dev, u32 if_freq, u8 spectral_invert, u32 mode) cx231xx_set_DIF_bandpass() argument
1651 cx231xx_dif_configure_C2HH_for_low_IF(struct cx231xx *dev, u32 mode, u32 function_mode, u32 standard) cx231xx_dif_configure_C2HH_for_low_IF() argument
1745 cx231xx_dif_set_standard(struct cx231xx *dev, u32 standard) cx231xx_dif_set_standard() argument
2135 cx231xx_tuner_pre_channel_change(struct cx231xx *dev) cx231xx_tuner_pre_channel_change() argument
2150 cx231xx_tuner_post_channel_change(struct cx231xx *dev) cx231xx_tuner_post_channel_change() argument
2184 cx231xx_i2s_blk_initialize(struct cx231xx *dev) cx231xx_i2s_blk_initialize() argument
2202 cx231xx_i2s_blk_update_power_control(struct cx231xx *dev, enum AV_MODE avmode) cx231xx_i2s_blk_update_power_control() argument
2223 cx231xx_i2s_blk_set_audio_input(struct cx231xx *dev, u8 audio_input) cx231xx_i2s_blk_set_audio_input() argument
2247 cx231xx_set_power_mode(struct cx231xx *dev, enum AV_MODE mode) cx231xx_set_power_mode() argument
2463 cx231xx_power_suspend(struct cx231xx *dev) cx231xx_power_suspend() argument
2490 cx231xx_start_stream(struct cx231xx *dev, u32 ep_mask) cx231xx_start_stream() argument
2515 cx231xx_stop_stream(struct cx231xx *dev, u32 ep_mask) cx231xx_stop_stream() argument
2540 cx231xx_initialize_stream_xfer(struct cx231xx *dev, u32 media_type) cx231xx_initialize_stream_xfer() argument
2626 cx231xx_capture_start(struct cx231xx *dev, int start, u8 media_type) cx231xx_capture_start() argument
2681 cx231xx_set_gpio_bit(struct cx231xx *dev, u32 gpio_bit, u32 gpio_val) cx231xx_set_gpio_bit() argument
2691 cx231xx_get_gpio_bit(struct cx231xx *dev, u32 gpio_bit, u32 *gpio_val) cx231xx_get_gpio_bit() argument
2713 cx231xx_set_gpio_direction(struct cx231xx *dev, int pin_number, int pin_value) cx231xx_set_gpio_direction() argument
2748 cx231xx_set_gpio_value(struct cx231xx *dev, int pin_number, int pin_value) cx231xx_set_gpio_value() argument
2784 cx231xx_gpio_i2c_start(struct cx231xx *dev) cx231xx_gpio_i2c_start() argument
2817 cx231xx_gpio_i2c_end(struct cx231xx *dev) cx231xx_gpio_i2c_end() argument
2853 cx231xx_gpio_i2c_write_byte(struct cx231xx *dev, u8 data) cx231xx_gpio_i2c_write_byte() argument
2900 cx231xx_gpio_i2c_read_byte(struct cx231xx *dev, u8 *buf) cx231xx_gpio_i2c_read_byte() argument
2942 cx231xx_gpio_i2c_read_ack(struct cx231xx *dev) cx231xx_gpio_i2c_read_ack() argument
2997 cx231xx_gpio_i2c_write_ack(struct cx231xx *dev) cx231xx_gpio_i2c_write_ack() argument
3025 cx231xx_gpio_i2c_write_nak(struct cx231xx *dev) cx231xx_gpio_i2c_write_nak() argument
3051 cx231xx_gpio_i2c_read(struct cx231xx *dev, u8 dev_addr, u8 *buf, u8 len) cx231xx_gpio_i2c_read() argument
3095 cx231xx_gpio_i2c_write(struct cx231xx *dev, u8 dev_addr, u8 *buf, u8 len) cx231xx_gpio_i2c_write() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/cx231xx/
H A Dcx231xx-avcore.c46 static int verve_write_byte(struct cx231xx *dev, u8 saddr, u8 data) in verve_write_byte() argument
48 return cx231xx_write_i2c_data(dev, VERVE_I2C_ADDRESS, in verve_write_byte()
52 static int verve_read_byte(struct cx231xx *dev, u8 saddr, u8 *data) in verve_read_byte() argument
57 status = cx231xx_read_i2c_data(dev, VERVE_I2C_ADDRESS, in verve_read_byte()
62 void initGPIO(struct cx231xx *dev) in initGPIO() argument
70 cx231xx_send_gpio_cmd(dev, _gpio_direction, (u8 *)&value, 4, 0, 0); in initGPIO()
72 verve_read_byte(dev, 0x07, &val); in initGPIO()
73 dev_dbg(dev->dev, "verve_read_byte address0x07=0x%x\n", val); in initGPIO()
74 verve_write_byte(dev, in initGPIO()
84 uninitGPIO(struct cx231xx *dev) uninitGPIO() argument
98 afe_write_byte(struct cx231xx *dev, u16 saddr, u8 data) afe_write_byte() argument
104 afe_read_byte(struct cx231xx *dev, u16 saddr, u8 *data) afe_read_byte() argument
115 cx231xx_afe_init_super_block(struct cx231xx *dev, u32 ref_count) cx231xx_afe_init_super_block() argument
186 cx231xx_afe_init_channels(struct cx231xx *dev) cx231xx_afe_init_channels() argument
235 cx231xx_afe_setup_AFE_for_baseband(struct cx231xx *dev) cx231xx_afe_setup_AFE_for_baseband() argument
256 cx231xx_afe_set_input_mux(struct cx231xx *dev, u32 input_mux) cx231xx_afe_set_input_mux() argument
293 cx231xx_afe_set_mode(struct cx231xx *dev, enum AFE_MODE mode) cx231xx_afe_set_mode() argument
330 cx231xx_afe_update_power_control(struct cx231xx *dev, enum AV_MODE avmode) cx231xx_afe_update_power_control() argument
468 cx231xx_afe_adjust_ref_count(struct cx231xx *dev, u32 video_input) cx231xx_afe_adjust_ref_count() argument
513 vid_blk_write_byte(struct cx231xx *dev, u16 saddr, u8 data) vid_blk_write_byte() argument
519 vid_blk_read_byte(struct cx231xx *dev, u16 saddr, u8 *data) vid_blk_read_byte() argument
530 vid_blk_write_word(struct cx231xx *dev, u16 saddr, u32 data) vid_blk_write_word() argument
536 vid_blk_read_word(struct cx231xx *dev, u16 saddr, u32 *data) vid_blk_read_word() argument
541 cx231xx_check_fw(struct cx231xx *dev) cx231xx_check_fw() argument
553 cx231xx_set_video_input_mux(struct cx231xx *dev, u8 input) cx231xx_set_video_input_mux() argument
625 cx231xx_set_decoder_video_input(struct cx231xx *dev, u8 pin_type, u8 input) cx231xx_set_decoder_video_input() argument
938 cx231xx_enable656(struct cx231xx *dev) cx231xx_enable656() argument
954 cx231xx_disable656(struct cx231xx *dev) cx231xx_disable656() argument
972 cx231xx_do_mode_ctrl_overrides(struct cx231xx *dev) cx231xx_do_mode_ctrl_overrides() argument
1069 cx231xx_unmute_audio(struct cx231xx *dev) cx231xx_unmute_audio() argument
1075 stopAudioFirmware(struct cx231xx *dev) stopAudioFirmware() argument
1080 restartAudioFirmware(struct cx231xx *dev) restartAudioFirmware() argument
1085 cx231xx_set_audio_input(struct cx231xx *dev, u8 input) cx231xx_set_audio_input() argument
1107 cx231xx_set_audio_decoder_input(struct cx231xx *dev, enum AUDIO_INPUT audio_input) cx231xx_set_audio_decoder_input() argument
1251 cx231xx_init_ctrl_pin_status(struct cx231xx *dev) cx231xx_init_ctrl_pin_status() argument
1263 cx231xx_set_agc_analog_digital_mux_select(struct cx231xx *dev, u8 analog_or_digital) cx231xx_set_agc_analog_digital_mux_select() argument
1284 cx231xx_enable_i2c_port_3(struct cx231xx *dev, bool is_port_3) cx231xx_enable_i2c_port_3() argument
1325 update_HH_register_after_set_DIF(struct cx231xx *dev) update_HH_register_after_set_DIF() argument
1341 cx231xx_dump_HH_reg(struct cx231xx *dev) cx231xx_dump_HH_reg() argument
1477 cx231xx_Setup_AFE_for_LowIF(struct cx231xx *dev) cx231xx_Setup_AFE_for_LowIF() argument
1533 cx231xx_set_Colibri_For_LowIF(struct cx231xx *dev, u32 if_freq, u8 spectral_invert, u32 mode) cx231xx_set_Colibri_For_LowIF() argument
1587 cx231xx_set_DIF_bandpass(struct cx231xx *dev, u32 if_freq, u8 spectral_invert, u32 mode) cx231xx_set_DIF_bandpass() argument
1651 cx231xx_dif_configure_C2HH_for_low_IF(struct cx231xx *dev, u32 mode, u32 function_mode, u32 standard) cx231xx_dif_configure_C2HH_for_low_IF() argument
1745 cx231xx_dif_set_standard(struct cx231xx *dev, u32 standard) cx231xx_dif_set_standard() argument
2135 cx231xx_tuner_pre_channel_change(struct cx231xx *dev) cx231xx_tuner_pre_channel_change() argument
2150 cx231xx_tuner_post_channel_change(struct cx231xx *dev) cx231xx_tuner_post_channel_change() argument
2184 cx231xx_i2s_blk_initialize(struct cx231xx *dev) cx231xx_i2s_blk_initialize() argument
2202 cx231xx_i2s_blk_update_power_control(struct cx231xx *dev, enum AV_MODE avmode) cx231xx_i2s_blk_update_power_control() argument
2223 cx231xx_i2s_blk_set_audio_input(struct cx231xx *dev, u8 audio_input) cx231xx_i2s_blk_set_audio_input() argument
2247 cx231xx_set_power_mode(struct cx231xx *dev, enum AV_MODE mode) cx231xx_set_power_mode() argument
2463 cx231xx_power_suspend(struct cx231xx *dev) cx231xx_power_suspend() argument
2490 cx231xx_start_stream(struct cx231xx *dev, u32 ep_mask) cx231xx_start_stream() argument
2515 cx231xx_stop_stream(struct cx231xx *dev, u32 ep_mask) cx231xx_stop_stream() argument
2540 cx231xx_initialize_stream_xfer(struct cx231xx *dev, u32 media_type) cx231xx_initialize_stream_xfer() argument
2626 cx231xx_capture_start(struct cx231xx *dev, int start, u8 media_type) cx231xx_capture_start() argument
2681 cx231xx_set_gpio_bit(struct cx231xx *dev, u32 gpio_bit, u32 gpio_val) cx231xx_set_gpio_bit() argument
2691 cx231xx_get_gpio_bit(struct cx231xx *dev, u32 gpio_bit, u32 *gpio_val) cx231xx_get_gpio_bit() argument
2713 cx231xx_set_gpio_direction(struct cx231xx *dev, int pin_number, int pin_value) cx231xx_set_gpio_direction() argument
2748 cx231xx_set_gpio_value(struct cx231xx *dev, int pin_number, int pin_value) cx231xx_set_gpio_value() argument
2784 cx231xx_gpio_i2c_start(struct cx231xx *dev) cx231xx_gpio_i2c_start() argument
2817 cx231xx_gpio_i2c_end(struct cx231xx *dev) cx231xx_gpio_i2c_end() argument
2853 cx231xx_gpio_i2c_write_byte(struct cx231xx *dev, u8 data) cx231xx_gpio_i2c_write_byte() argument
2900 cx231xx_gpio_i2c_read_byte(struct cx231xx *dev, u8 *buf) cx231xx_gpio_i2c_read_byte() argument
2942 cx231xx_gpio_i2c_read_ack(struct cx231xx *dev) cx231xx_gpio_i2c_read_ack() argument
2997 cx231xx_gpio_i2c_write_ack(struct cx231xx *dev) cx231xx_gpio_i2c_write_ack() argument
3025 cx231xx_gpio_i2c_write_nak(struct cx231xx *dev) cx231xx_gpio_i2c_write_nak() argument
3051 cx231xx_gpio_i2c_read(struct cx231xx *dev, u8 dev_addr, u8 *buf, u8 len) cx231xx_gpio_i2c_read() argument
3095 cx231xx_gpio_i2c_write(struct cx231xx *dev, u8 dev_addr, u8 *buf, u8 len) cx231xx_gpio_i2c_write() argument
[all...]
/kernel/linux/linux-6.6/drivers/misc/mei/
H A Dinit.c81 * @dev: the device structure
83 void mei_cancel_work(struct mei_device *dev) in mei_cancel_work() argument
85 cancel_work_sync(&dev->reset_work); in mei_cancel_work()
86 cancel_work_sync(&dev->bus_rescan_work); in mei_cancel_work()
88 cancel_delayed_work_sync(&dev->timer_work); in mei_cancel_work()
95 * @dev: the device structure
99 int mei_reset(struct mei_device *dev) in mei_reset() argument
101 enum mei_dev_state state = dev->dev_state; in mei_reset()
111 mei_fw_status_str(dev, fw_sts_str, MEI_FW_STATUS_STR_SZ); in mei_reset()
112 dev_warn(dev in mei_reset()
196 mei_start(struct mei_device *dev) mei_start() argument
251 mei_restart(struct mei_device *dev) mei_restart() argument
280 struct mei_device *dev = mei_reset_work() local
303 mei_stop(struct mei_device *dev) mei_stop() argument
339 mei_write_is_idle(struct mei_device *dev) mei_write_is_idle() argument
365 mei_device_init(struct mei_device *dev, struct device *device, bool slow_fw, const struct mei_hw_ops *hw_ops) mei_device_init() argument
[all...]
/kernel/linux/linux-5.10/drivers/usb/misc/
H A Dadutux.c105 static inline void adu_debug_data(struct device *dev, const char *function, in adu_debug_data() argument
108 dev_dbg(dev, "%s - length = %d, data = %*ph\n", in adu_debug_data()
116 static void adu_abort_transfers(struct adu_device *dev) in adu_abort_transfers() argument
120 if (dev->disconnected) in adu_abort_transfers()
126 spin_lock_irqsave(&dev->buflock, flags); in adu_abort_transfers()
127 if (!dev->read_urb_finished) { in adu_abort_transfers()
128 spin_unlock_irqrestore(&dev->buflock, flags); in adu_abort_transfers()
129 usb_kill_urb(dev->interrupt_in_urb); in adu_abort_transfers()
131 spin_unlock_irqrestore(&dev->buflock, flags); in adu_abort_transfers()
133 spin_lock_irqsave(&dev in adu_abort_transfers()
143 adu_delete(struct adu_device *dev) adu_delete() argument
158 struct adu_device *dev = urb->context; adu_interrupt_in_callback() local
203 struct adu_device *dev = urb->context; adu_interrupt_out_callback() local
229 struct adu_device *dev = NULL; adu_open() local
295 adu_release_internal(struct adu_device *dev) adu_release_internal() argument
309 struct adu_device *dev; adu_release() local
346 struct adu_device *dev; adu_read() local
510 struct adu_device *dev; adu_write() local
656 struct adu_device *dev = NULL; adu_probe() local
764 struct adu_device *dev; adu_disconnect() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/misc/
H A Dadutux.c105 static inline void adu_debug_data(struct device *dev, const char *function, in adu_debug_data() argument
108 dev_dbg(dev, "%s - length = %d, data = %*ph\n", in adu_debug_data()
116 static void adu_abort_transfers(struct adu_device *dev) in adu_abort_transfers() argument
120 if (dev->disconnected) in adu_abort_transfers()
126 spin_lock_irqsave(&dev->buflock, flags); in adu_abort_transfers()
127 if (!dev->read_urb_finished) { in adu_abort_transfers()
128 spin_unlock_irqrestore(&dev->buflock, flags); in adu_abort_transfers()
129 usb_kill_urb(dev->interrupt_in_urb); in adu_abort_transfers()
131 spin_unlock_irqrestore(&dev->buflock, flags); in adu_abort_transfers()
133 spin_lock_irqsave(&dev in adu_abort_transfers()
143 adu_delete(struct adu_device *dev) adu_delete() argument
158 struct adu_device *dev = urb->context; adu_interrupt_in_callback() local
203 struct adu_device *dev = urb->context; adu_interrupt_out_callback() local
229 struct adu_device *dev = NULL; adu_open() local
295 adu_release_internal(struct adu_device *dev) adu_release_internal() argument
309 struct adu_device *dev; adu_release() local
346 struct adu_device *dev; adu_read() local
507 struct adu_device *dev; adu_write() local
653 struct adu_device *dev = NULL; adu_probe() local
761 struct adu_device *dev; adu_disconnect() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c181 static int fw_initializing(struct mlx5_core_dev *dev) in fw_initializing() argument
183 return ioread32be(&dev->iseg->initializing) >> 31; in fw_initializing()
186 static int wait_fw_init(struct mlx5_core_dev *dev, u32 max_wait_mili, in wait_fw_init() argument
195 while (fw_initializing(dev)) { in wait_fw_init()
201 mlx5_core_warn(dev, "Waiting for FW initialization, timeout abort in %ds\n", in wait_fw_init()
211 static void mlx5_set_driver_version(struct mlx5_core_dev *dev) in mlx5_set_driver_version() argument
219 if (!MLX5_CAP_GEN(dev, driver_version)) in mlx5_set_driver_version()
245 mlx5_cmd_exec_in(dev, set_driver_version, in); in mlx5_set_driver_version()
254 dev_warn(&pdev->dev, "Warning: couldn't set 64-bit PCI DMA mask\n"); in set_dma_caps()
257 dev_err(&pdev->dev, "Ca in set_dma_caps()
278 mlx5_pci_enable_device(struct mlx5_core_dev *dev) mlx5_pci_enable_device() argument
294 mlx5_pci_disable_device(struct mlx5_core_dev *dev) mlx5_pci_disable_device() argument
339 to_fw_pkey_sz(struct mlx5_core_dev *dev, u32 size) to_fw_pkey_sz() argument
360 mlx5_core_get_caps_mode(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type, enum mlx5_cap_mode cap_mode) mlx5_core_get_caps_mode() argument
408 mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type) mlx5_core_get_caps() argument
418 set_caps(struct mlx5_core_dev *dev, void *in, int opmod) set_caps() argument
425 handle_hca_cap_atomic(struct mlx5_core_dev *dev, void *set_ctx) handle_hca_cap_atomic() argument
454 handle_hca_cap_odp(struct mlx5_core_dev *dev, void *set_ctx) handle_hca_cap_odp() argument
502 handle_hca_cap(struct mlx5_core_dev *dev, void *set_ctx) handle_hca_cap() argument
573 handle_hca_cap_roce(struct mlx5_core_dev *dev, void *set_ctx) handle_hca_cap_roce() argument
598 set_hca_cap(struct mlx5_core_dev *dev) set_hca_cap() argument
640 set_hca_ctrl(struct mlx5_core_dev *dev) set_hca_ctrl() argument
657 mlx5_core_set_hca_defaults(struct mlx5_core_dev *dev) mlx5_core_set_hca_defaults() argument
668 mlx5_core_enable_hca(struct mlx5_core_dev *dev, u16 func_id) mlx5_core_enable_hca() argument
679 mlx5_core_disable_hca(struct mlx5_core_dev *dev, u16 func_id) mlx5_core_disable_hca() argument
690 mlx5_core_set_issi(struct mlx5_core_dev *dev) mlx5_core_set_issi() argument
739 mlx5_pci_init(struct mlx5_core_dev *dev, struct pci_dev *pdev, const struct pci_device_id *id) mlx5_pci_init() argument
795 mlx5_pci_close(struct mlx5_core_dev *dev) mlx5_pci_close() argument
808 mlx5_init_once(struct mlx5_core_dev *dev) mlx5_init_once() argument
923 mlx5_cleanup_once(struct mlx5_core_dev *dev) mlx5_cleanup_once() argument
946 mlx5_function_setup(struct mlx5_core_dev *dev, bool boot) mlx5_function_setup() argument
1049 mlx5_function_teardown(struct mlx5_core_dev *dev, bool boot) mlx5_function_teardown() argument
1067 mlx5_load(struct mlx5_core_dev *dev) mlx5_load() argument
1174 mlx5_unload(struct mlx5_core_dev *dev) mlx5_unload() argument
1193 mlx5_load_one(struct mlx5_core_dev *dev, bool boot) mlx5_load_one() argument
1250 mlx5_unload_one(struct mlx5_core_dev *dev, bool cleanup) mlx5_unload_one() argument
1281 mlx5_mdev_init(struct mlx5_core_dev *dev, int profile_idx) mlx5_mdev_init() argument
1325 mlx5_mdev_uninit(struct mlx5_core_dev *dev) mlx5_mdev_uninit() argument
1342 struct mlx5_core_dev *dev; init_one() local
1400 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); remove_one() local
1415 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_pci_err_detected() local
1434 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); wait_vital() local
1460 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_pci_slot_reset() local
1486 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_pci_resume() local
1505 mlx5_try_fast_unload(struct mlx5_core_dev *dev) mlx5_try_fast_unload() argument
1557 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); shutdown() local
1569 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_suspend() local
1578 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_resume() local
1608 mlx5_disable_device(struct mlx5_core_dev *dev) mlx5_disable_device() argument
1614 mlx5_recover_device(struct mlx5_core_dev *dev) mlx5_recover_device() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c72 #include "sf/dev/dev.h"
188 static int wait_fw_init(struct mlx5_core_dev *dev, u32 max_wait_mili, in wait_fw_init() argument
197 fw_initializing = ioread32be(&dev->iseg->initializing); in wait_fw_init()
201 test_bit(MLX5_BREAK_FW_WAIT, &dev->intf_state)) { in wait_fw_init()
206 mlx5_core_warn(dev, "Waiting for FW initialization, timeout abort in %ds (0x%x)\n", in wait_fw_init()
210 msleep(mlx5_tout_ms(dev, FW_PRE_INIT_WAIT)); in wait_fw_init()
216 static void mlx5_set_driver_version(struct mlx5_core_dev *dev) in mlx5_set_driver_version() argument
224 if (!MLX5_CAP_GEN(dev, driver_version)) in mlx5_set_driver_version()
250 mlx5_cmd_exec_in(dev, set_driver_versio in mlx5_set_driver_version()
271 mlx5_pci_enable_device(struct mlx5_core_dev *dev) mlx5_pci_enable_device() argument
287 mlx5_pci_disable_device(struct mlx5_core_dev *dev) mlx5_pci_disable_device() argument
325 to_fw_pkey_sz(struct mlx5_core_dev *dev, u32 size) to_fw_pkey_sz() argument
346 mlx5_core_uplink_netdev_set(struct mlx5_core_dev *dev, struct net_device *netdev) mlx5_core_uplink_netdev_set() argument
355 mlx5_core_uplink_netdev_event_replay(struct mlx5_core_dev *dev) mlx5_core_uplink_netdev_event_replay() argument
364 mlx5_core_mp_event_replay(struct mlx5_core_dev *dev, u32 event, void *data) mlx5_core_mp_event_replay() argument
370 mlx5_core_get_caps_mode(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type, enum mlx5_cap_mode cap_mode) mlx5_core_get_caps_mode() argument
417 mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type) mlx5_core_get_caps() argument
427 set_caps(struct mlx5_core_dev *dev, void *in, int opmod) set_caps() argument
434 handle_hca_cap_atomic(struct mlx5_core_dev *dev, void *set_ctx) handle_hca_cap_atomic() argument
463 handle_hca_cap_odp(struct mlx5_core_dev *dev, void *set_ctx) handle_hca_cap_odp() argument
511 max_uc_list_get_devlink_param(struct mlx5_core_dev *dev) max_uc_list_get_devlink_param() argument
526 mlx5_is_roce_on(struct mlx5_core_dev *dev) mlx5_is_roce_on() argument
544 handle_hca_cap_2(struct mlx5_core_dev *dev, void *set_ctx) handle_hca_cap_2() argument
569 handle_hca_cap(struct mlx5_core_dev *dev, void *set_ctx) handle_hca_cap() argument
675 is_roce_fw_disabled(struct mlx5_core_dev *dev) is_roce_fw_disabled() argument
681 handle_hca_cap_roce(struct mlx5_core_dev *dev, void *set_ctx) handle_hca_cap_roce() argument
709 handle_hca_cap_port_selection(struct mlx5_core_dev *dev, void *set_ctx) handle_hca_cap_port_selection() argument
736 set_hca_cap(struct mlx5_core_dev *dev) set_hca_cap() argument
792 set_hca_ctrl(struct mlx5_core_dev *dev) set_hca_ctrl() argument
809 mlx5_core_set_hca_defaults(struct mlx5_core_dev *dev) mlx5_core_set_hca_defaults() argument
820 mlx5_core_enable_hca(struct mlx5_core_dev *dev, u16 func_id) mlx5_core_enable_hca() argument
831 mlx5_core_disable_hca(struct mlx5_core_dev *dev, u16 func_id) mlx5_core_disable_hca() argument
842 mlx5_core_set_issi(struct mlx5_core_dev *dev) mlx5_core_set_issi() argument
890 mlx5_pci_init(struct mlx5_core_dev *dev, struct pci_dev *pdev, const struct pci_device_id *id) mlx5_pci_init() argument
943 mlx5_pci_close(struct mlx5_core_dev *dev) mlx5_pci_close() argument
955 mlx5_init_once(struct mlx5_core_dev *dev) mlx5_init_once() argument
1102 mlx5_cleanup_once(struct mlx5_core_dev *dev) mlx5_cleanup_once() argument
1129 mlx5_function_enable(struct mlx5_core_dev *dev, bool boot, u64 timeout) mlx5_function_enable() argument
1209 mlx5_function_disable(struct mlx5_core_dev *dev, bool boot) mlx5_function_disable() argument
1218 mlx5_function_open(struct mlx5_core_dev *dev) mlx5_function_open() argument
1257 mlx5_function_close(struct mlx5_core_dev *dev) mlx5_function_close() argument
1270 mlx5_function_setup(struct mlx5_core_dev *dev, bool boot, u64 timeout) mlx5_function_setup() argument
1284 mlx5_function_teardown(struct mlx5_core_dev *dev, bool boot) mlx5_function_teardown() argument
1293 mlx5_load(struct mlx5_core_dev *dev) mlx5_load() argument
1412 mlx5_unload(struct mlx5_core_dev *dev) mlx5_unload() argument
1435 mlx5_init_one_devl_locked(struct mlx5_core_dev *dev) mlx5_init_one_devl_locked() argument
1491 mlx5_init_one(struct mlx5_core_dev *dev) mlx5_init_one() argument
1502 mlx5_uninit_one(struct mlx5_core_dev *dev) mlx5_uninit_one() argument
1529 mlx5_load_one_devl_locked(struct mlx5_core_dev *dev, bool recovery) mlx5_load_one_devl_locked() argument
1576 mlx5_load_one(struct mlx5_core_dev *dev, bool recovery) mlx5_load_one() argument
1587 mlx5_unload_one_devl_locked(struct mlx5_core_dev *dev, bool suspend) mlx5_unload_one_devl_locked() argument
1607 mlx5_unload_one(struct mlx5_core_dev *dev, bool suspend) mlx5_unload_one() argument
1619 mlx5_query_hca_caps_light(struct mlx5_core_dev *dev) mlx5_query_hca_caps_light() argument
1653 mlx5_init_one_light(struct mlx5_core_dev *dev) mlx5_init_one_light() argument
1688 mlx5_uninit_one_light(struct mlx5_core_dev *dev) mlx5_uninit_one_light() argument
1705 mlx5_unload_one_light(struct mlx5_core_dev *dev) mlx5_unload_one_light() argument
1738 mlx5_hca_caps_free(struct mlx5_core_dev *dev) mlx5_hca_caps_free() argument
1749 mlx5_hca_caps_alloc(struct mlx5_core_dev *dev) mlx5_hca_caps_alloc() argument
1772 struct mlx5_core_dev *dev = file->private; vhca_id_show() local
1780 mlx5_mdev_init(struct mlx5_core_dev *dev, int profile_idx) mlx5_mdev_init() argument
1869 mlx5_mdev_uninit(struct mlx5_core_dev *dev) mlx5_mdev_uninit() argument
1894 struct mlx5_core_dev *dev; probe_one() local
1961 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); remove_one() local
2000 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_pci_err_detected() local
2024 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); wait_vital() local
2051 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_pci_slot_reset() local
2084 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_pci_resume() local
2105 mlx5_try_fast_unload(struct mlx5_core_dev *dev) mlx5_try_fast_unload() argument
2157 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); shutdown() local
2170 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_suspend() local
2179 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_resume() local
2212 mlx5_disable_device(struct mlx5_core_dev *dev) mlx5_disable_device() argument
2218 mlx5_recover_device(struct mlx5_core_dev *dev) mlx5_recover_device() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt7601u/
H A Dphy.c16 static void mt7601u_agc_reset(struct mt7601u_dev *dev);
19 mt7601u_rf_wr(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 value) in mt7601u_rf_wr() argument
23 if (WARN_ON(!test_bit(MT7601U_STATE_WLAN_RUNNING, &dev->state)) || in mt7601u_rf_wr()
26 if (test_bit(MT7601U_STATE_REMOVED, &dev->state)) in mt7601u_rf_wr()
29 mutex_lock(&dev->reg_atomic_mutex); in mt7601u_rf_wr()
31 if (!mt76_poll(dev, MT_RF_CSR_CFG, MT_RF_CSR_CFG_KICK, 0, 100)) { in mt7601u_rf_wr()
36 mt7601u_wr(dev, MT_RF_CSR_CFG, in mt7601u_rf_wr()
42 trace_rf_write(dev, bank, offset, value); in mt7601u_rf_wr()
44 mutex_unlock(&dev->reg_atomic_mutex); in mt7601u_rf_wr()
47 dev_err(dev in mt7601u_rf_wr()
54 mt7601u_rf_rr(struct mt7601u_dev *dev, u8 bank, u8 offset) mt7601u_rf_rr() argument
95 mt7601u_rf_rmw(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 mask, u8 val) mt7601u_rf_rmw() argument
111 mt7601u_rf_set(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 val) mt7601u_rf_set() argument
117 mt7601u_rf_clear(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 mask) mt7601u_rf_clear() argument
122 mt7601u_bbp_wr(struct mt7601u_dev *dev, u8 offset, u8 val) mt7601u_bbp_wr() argument
144 mt7601u_bbp_rr(struct mt7601u_dev *dev, u8 offset) mt7601u_bbp_rr() argument
182 mt7601u_bbp_rmw(struct mt7601u_dev *dev, u8 offset, u8 mask, u8 val) mt7601u_bbp_rmw() argument
195 mt7601u_bbp_rmc(struct mt7601u_dev *dev, u8 offset, u8 mask, u8 val) mt7601u_bbp_rmc() argument
209 mt7601u_wait_bbp_ready(struct mt7601u_dev *dev) mt7601u_wait_bbp_ready() argument
228 mt7601u_bbp_set_ctrlch(struct mt7601u_dev *dev, bool below) mt7601u_bbp_set_ctrlch() argument
233 mt7601u_phy_get_rssi(struct mt7601u_dev *dev, struct mt7601u_rxwi *rxwi, u16 rate) mt7601u_phy_get_rssi() argument
263 mt7601u_vco_cal(struct mt7601u_dev *dev) mt7601u_vco_cal() argument
271 mt7601u_set_bw_filter(struct mt7601u_dev *dev, bool cal) mt7601u_set_bw_filter() argument
289 mt7601u_load_bbp_temp_table_bw(struct mt7601u_dev *dev) mt7601u_load_bbp_temp_table_bw() argument
301 mt7601u_bbp_temp(struct mt7601u_dev *dev, int mode, const char *name) mt7601u_bbp_temp() argument
322 mt7601u_apply_ch14_fixup(struct mt7601u_dev *dev, int hw_chan) mt7601u_apply_ch14_fixup() argument
342 __mt7601u_phy_set_channel(struct mt7601u_dev *dev, struct cfg80211_chan_def *chandef) __mt7601u_phy_set_channel() argument
442 mt7601u_phy_set_channel(struct mt7601u_dev *dev, struct cfg80211_chan_def *chandef) mt7601u_phy_set_channel() argument
484 mt7601u_bbp_r47_get(struct mt7601u_dev *dev, u8 reg, u8 flag) mt7601u_bbp_r47_get() argument
492 mt7601u_read_bootup_temp(struct mt7601u_dev *dev) mt7601u_read_bootup_temp() argument
530 mt7601u_read_temp(struct mt7601u_dev *dev) mt7601u_read_temp() argument
548 mt7601u_rxdc_cal(struct mt7601u_dev *dev) mt7601u_rxdc_cal() argument
587 mt7601u_phy_recalibrate_after_assoc(struct mt7601u_dev *dev) mt7601u_phy_recalibrate_after_assoc() argument
630 mt7601u_set_initial_tssi(struct mt7601u_dev *dev, s16 tssi_db, s16 tssi_hvga_db) mt7601u_set_initial_tssi() argument
641 mt7601u_tssi_dc_gain_cal(struct mt7601u_dev *dev) mt7601u_tssi_dc_gain_cal() argument
722 mt7601u_temp_comp(struct mt7601u_dev *dev, bool on) mt7601u_temp_comp() argument
774 mt7601u_current_tx_power(struct mt7601u_dev *dev) mt7601u_current_tx_power() argument
779 mt7601u_use_hvga(struct mt7601u_dev *dev) mt7601u_use_hvga() argument
785 mt7601u_phy_rf_pa_mode_val(struct mt7601u_dev *dev, int phy_mode, int tx_rate) mt7601u_phy_rf_pa_mode_val() argument
806 mt7601u_tssi_params_get(struct mt7601u_dev *dev) mt7601u_tssi_params_get() argument
871 mt7601u_tssi_read_ready(struct mt7601u_dev *dev) mt7601u_tssi_read_ready() argument
876 mt7601u_tssi_cal(struct mt7601u_dev *dev) mt7601u_tssi_cal() argument
948 mt7601u_agc_default(struct mt7601u_dev *dev) mt7601u_agc_default() argument
953 mt7601u_agc_reset(struct mt7601u_dev *dev) mt7601u_agc_reset() argument
960 mt7601u_agc_save(struct mt7601u_dev *dev) mt7601u_agc_save() argument
965 mt7601u_agc_restore(struct mt7601u_dev *dev) mt7601u_agc_restore() argument
970 mt7601u_agc_tune(struct mt7601u_dev *dev) mt7601u_agc_tune() argument
1004 struct mt7601u_dev *dev = container_of(work, struct mt7601u_dev, mt7601u_phy_calibrate() local
1019 __mt7601u_phy_freq_cal(struct mt7601u_dev *dev, s8 last_offset, u8 phy_mode) __mt7601u_phy_freq_cal() argument
1078 struct mt7601u_dev *dev = container_of(work, struct mt7601u_dev, mt7601u_phy_freq_cal() local
1097 mt7601u_phy_con_cal_onoff(struct mt7601u_dev *dev, struct ieee80211_bss_conf *info) mt7601u_phy_con_cal_onoff() argument
1122 mt7601u_init_cal(struct mt7601u_dev *dev) mt7601u_init_cal() argument
1180 mt7601u_bbp_set_bw(struct mt7601u_dev *dev, int bw) mt7601u_bbp_set_bw() argument
1211 mt7601u_set_rx_path(struct mt7601u_dev *dev, u8 path) mt7601u_set_rx_path() argument
1221 mt7601u_set_tx_dac(struct mt7601u_dev *dev, u8 dac) mt7601u_set_tx_dac() argument
1226 mt7601u_phy_init(struct mt7601u_dev *dev) mt7601u_phy_init() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/
H A Dphy.c16 static void mt7601u_agc_reset(struct mt7601u_dev *dev);
19 mt7601u_rf_wr(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 value) in mt7601u_rf_wr() argument
23 if (WARN_ON(!test_bit(MT7601U_STATE_WLAN_RUNNING, &dev->state)) || in mt7601u_rf_wr()
26 if (test_bit(MT7601U_STATE_REMOVED, &dev->state)) in mt7601u_rf_wr()
29 mutex_lock(&dev->reg_atomic_mutex); in mt7601u_rf_wr()
31 if (!mt76_poll(dev, MT_RF_CSR_CFG, MT_RF_CSR_CFG_KICK, 0, 100)) { in mt7601u_rf_wr()
36 mt7601u_wr(dev, MT_RF_CSR_CFG, in mt7601u_rf_wr()
42 trace_rf_write(dev, bank, offset, value); in mt7601u_rf_wr()
44 mutex_unlock(&dev->reg_atomic_mutex); in mt7601u_rf_wr()
47 dev_err(dev in mt7601u_rf_wr()
54 mt7601u_rf_rr(struct mt7601u_dev *dev, u8 bank, u8 offset) mt7601u_rf_rr() argument
95 mt7601u_rf_rmw(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 mask, u8 val) mt7601u_rf_rmw() argument
111 mt7601u_rf_set(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 val) mt7601u_rf_set() argument
117 mt7601u_rf_clear(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 mask) mt7601u_rf_clear() argument
122 mt7601u_bbp_wr(struct mt7601u_dev *dev, u8 offset, u8 val) mt7601u_bbp_wr() argument
144 mt7601u_bbp_rr(struct mt7601u_dev *dev, u8 offset) mt7601u_bbp_rr() argument
182 mt7601u_bbp_rmw(struct mt7601u_dev *dev, u8 offset, u8 mask, u8 val) mt7601u_bbp_rmw() argument
195 mt7601u_bbp_rmc(struct mt7601u_dev *dev, u8 offset, u8 mask, u8 val) mt7601u_bbp_rmc() argument
209 mt7601u_wait_bbp_ready(struct mt7601u_dev *dev) mt7601u_wait_bbp_ready() argument
228 mt7601u_bbp_set_ctrlch(struct mt7601u_dev *dev, bool below) mt7601u_bbp_set_ctrlch() argument
233 mt7601u_phy_get_rssi(struct mt7601u_dev *dev, struct mt7601u_rxwi *rxwi, u16 rate) mt7601u_phy_get_rssi() argument
263 mt7601u_vco_cal(struct mt7601u_dev *dev) mt7601u_vco_cal() argument
271 mt7601u_set_bw_filter(struct mt7601u_dev *dev, bool cal) mt7601u_set_bw_filter() argument
289 mt7601u_load_bbp_temp_table_bw(struct mt7601u_dev *dev) mt7601u_load_bbp_temp_table_bw() argument
301 mt7601u_bbp_temp(struct mt7601u_dev *dev, int mode, const char *name) mt7601u_bbp_temp() argument
322 mt7601u_apply_ch14_fixup(struct mt7601u_dev *dev, int hw_chan) mt7601u_apply_ch14_fixup() argument
342 __mt7601u_phy_set_channel(struct mt7601u_dev *dev, struct cfg80211_chan_def *chandef) __mt7601u_phy_set_channel() argument
442 mt7601u_phy_set_channel(struct mt7601u_dev *dev, struct cfg80211_chan_def *chandef) mt7601u_phy_set_channel() argument
484 mt7601u_bbp_r47_get(struct mt7601u_dev *dev, u8 reg, u8 flag) mt7601u_bbp_r47_get() argument
492 mt7601u_read_bootup_temp(struct mt7601u_dev *dev) mt7601u_read_bootup_temp() argument
530 mt7601u_read_temp(struct mt7601u_dev *dev) mt7601u_read_temp() argument
548 mt7601u_rxdc_cal(struct mt7601u_dev *dev) mt7601u_rxdc_cal() argument
587 mt7601u_phy_recalibrate_after_assoc(struct mt7601u_dev *dev) mt7601u_phy_recalibrate_after_assoc() argument
627 mt7601u_set_initial_tssi(struct mt7601u_dev *dev, s16 tssi_db, s16 tssi_hvga_db) mt7601u_set_initial_tssi() argument
638 mt7601u_tssi_dc_gain_cal(struct mt7601u_dev *dev) mt7601u_tssi_dc_gain_cal() argument
719 mt7601u_temp_comp(struct mt7601u_dev *dev, bool on) mt7601u_temp_comp() argument
771 mt7601u_current_tx_power(struct mt7601u_dev *dev) mt7601u_current_tx_power() argument
776 mt7601u_use_hvga(struct mt7601u_dev *dev) mt7601u_use_hvga() argument
782 mt7601u_phy_rf_pa_mode_val(struct mt7601u_dev *dev, int phy_mode, int tx_rate) mt7601u_phy_rf_pa_mode_val() argument
803 mt7601u_tssi_params_get(struct mt7601u_dev *dev) mt7601u_tssi_params_get() argument
868 mt7601u_tssi_read_ready(struct mt7601u_dev *dev) mt7601u_tssi_read_ready() argument
873 mt7601u_tssi_cal(struct mt7601u_dev *dev) mt7601u_tssi_cal() argument
945 mt7601u_agc_default(struct mt7601u_dev *dev) mt7601u_agc_default() argument
950 mt7601u_agc_reset(struct mt7601u_dev *dev) mt7601u_agc_reset() argument
957 mt7601u_agc_save(struct mt7601u_dev *dev) mt7601u_agc_save() argument
962 mt7601u_agc_restore(struct mt7601u_dev *dev) mt7601u_agc_restore() argument
967 mt7601u_agc_tune(struct mt7601u_dev *dev) mt7601u_agc_tune() argument
1001 struct mt7601u_dev *dev = container_of(work, struct mt7601u_dev, mt7601u_phy_calibrate() local
1016 __mt7601u_phy_freq_cal(struct mt7601u_dev *dev, s8 last_offset, u8 phy_mode) __mt7601u_phy_freq_cal() argument
1075 struct mt7601u_dev *dev = container_of(work, struct mt7601u_dev, mt7601u_phy_freq_cal() local
1094 mt7601u_phy_con_cal_onoff(struct mt7601u_dev *dev, struct ieee80211_bss_conf *info) mt7601u_phy_con_cal_onoff() argument
1116 mt7601u_init_cal(struct mt7601u_dev *dev) mt7601u_init_cal() argument
1174 mt7601u_bbp_set_bw(struct mt7601u_dev *dev, int bw) mt7601u_bbp_set_bw() argument
1205 mt7601u_set_rx_path(struct mt7601u_dev *dev, u8 path) mt7601u_set_rx_path() argument
1215 mt7601u_set_tx_dac(struct mt7601u_dev *dev, u8 dac) mt7601u_set_tx_dac() argument
1220 mt7601u_phy_init(struct mt7601u_dev *dev) mt7601u_phy_init() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_ctrl.c23 int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_firmware() argument
25 struct s5p_mfc_priv_buf *fw_buf = &dev->fw_buf; in s5p_mfc_alloc_firmware()
28 fw_buf->size = dev->variant->buf_size->fw; in s5p_mfc_alloc_firmware()
35 err = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &dev->fw_buf); in s5p_mfc_alloc_firmware()
45 int s5p_mfc_load_firmware(struct s5p_mfc_dev *dev) in s5p_mfc_load_firmware() argument
54 if (dev->fw_get_done) in s5p_mfc_load_firmware()
58 if (!dev->variant->fw_name[i]) in s5p_mfc_load_firmware()
61 dev->variant->fw_name[i], &dev in s5p_mfc_load_firmware()
86 s5p_mfc_release_firmware(struct s5p_mfc_dev *dev) s5p_mfc_release_firmware() argument
95 s5p_mfc_bus_reset(struct s5p_mfc_dev *dev) s5p_mfc_bus_reset() argument
115 s5p_mfc_reset(struct s5p_mfc_dev *dev) s5p_mfc_reset() argument
173 s5p_mfc_init_memctrl(struct s5p_mfc_dev *dev) s5p_mfc_init_memctrl() argument
191 s5p_mfc_clear_cmds(struct s5p_mfc_dev *dev) s5p_mfc_clear_cmds() argument
205 s5p_mfc_init_hw(struct s5p_mfc_dev *dev) s5p_mfc_init_hw() argument
289 s5p_mfc_deinit_hw(struct s5p_mfc_dev *dev) s5p_mfc_deinit_hw() argument
299 s5p_mfc_sleep(struct s5p_mfc_dev *dev) s5p_mfc_sleep() argument
328 s5p_mfc_v8_wait_wakeup(struct s5p_mfc_dev *dev) s5p_mfc_v8_wait_wakeup() argument
354 s5p_mfc_wait_wakeup(struct s5p_mfc_dev *dev) s5p_mfc_wait_wakeup() argument
380 s5p_mfc_wakeup(struct s5p_mfc_dev *dev) s5p_mfc_wakeup() argument
423 s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) s5p_mfc_open_mfc_inst() argument
464 s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) s5p_mfc_close_mfc_inst() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_ctrl.c23 int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_firmware() argument
25 struct s5p_mfc_priv_buf *fw_buf = &dev->fw_buf; in s5p_mfc_alloc_firmware()
28 fw_buf->size = dev->variant->buf_size->fw; in s5p_mfc_alloc_firmware()
35 err = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &dev->fw_buf); in s5p_mfc_alloc_firmware()
45 int s5p_mfc_load_firmware(struct s5p_mfc_dev *dev) in s5p_mfc_load_firmware() argument
54 if (dev->fw_get_done) in s5p_mfc_load_firmware()
58 if (!dev->variant->fw_name[i]) in s5p_mfc_load_firmware()
61 dev->variant->fw_name[i], &dev in s5p_mfc_load_firmware()
86 s5p_mfc_release_firmware(struct s5p_mfc_dev *dev) s5p_mfc_release_firmware() argument
95 s5p_mfc_bus_reset(struct s5p_mfc_dev *dev) s5p_mfc_bus_reset() argument
115 s5p_mfc_reset(struct s5p_mfc_dev *dev) s5p_mfc_reset() argument
173 s5p_mfc_init_memctrl(struct s5p_mfc_dev *dev) s5p_mfc_init_memctrl() argument
191 s5p_mfc_clear_cmds(struct s5p_mfc_dev *dev) s5p_mfc_clear_cmds() argument
205 s5p_mfc_init_hw(struct s5p_mfc_dev *dev) s5p_mfc_init_hw() argument
289 s5p_mfc_deinit_hw(struct s5p_mfc_dev *dev) s5p_mfc_deinit_hw() argument
299 s5p_mfc_sleep(struct s5p_mfc_dev *dev) s5p_mfc_sleep() argument
328 s5p_mfc_v8_wait_wakeup(struct s5p_mfc_dev *dev) s5p_mfc_v8_wait_wakeup() argument
354 s5p_mfc_wait_wakeup(struct s5p_mfc_dev *dev) s5p_mfc_wait_wakeup() argument
380 s5p_mfc_wakeup(struct s5p_mfc_dev *dev) s5p_mfc_wakeup() argument
423 s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) s5p_mfc_open_mfc_inst() argument
464 s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) s5p_mfc_close_mfc_inst() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
H A Dphy_lcn.c62 static void b43_radio_2064_channel_setup(struct b43_wldev *dev) in b43_radio_2064_channel_setup() argument
66 b43_radio_set(dev, 0x09d, 0x4); in b43_radio_2064_channel_setup()
67 b43_radio_write(dev, 0x09e, 0xf); in b43_radio_2064_channel_setup()
70 b43_radio_write(dev, 0x02a, 0xb); in b43_radio_2064_channel_setup()
71 b43_radio_maskset(dev, 0x030, ~0x3, 0xa); in b43_radio_2064_channel_setup()
72 b43_radio_maskset(dev, 0x091, ~0x3, 0); in b43_radio_2064_channel_setup()
73 b43_radio_maskset(dev, 0x038, ~0xf, 0x7); in b43_radio_2064_channel_setup()
74 b43_radio_maskset(dev, 0x030, ~0xc, 0x8); in b43_radio_2064_channel_setup()
75 b43_radio_maskset(dev, 0x05e, ~0xf, 0x8); in b43_radio_2064_channel_setup()
76 b43_radio_maskset(dev, in b43_radio_2064_channel_setup()
109 b43_radio_2064_init(struct b43_wldev *dev) b43_radio_2064_init() argument
165 b43_phy_lcn_afe_set_unset(struct b43_wldev *dev) b43_phy_lcn_afe_set_unset() argument
181 b43_phy_lcn_get_pa_gain(struct b43_wldev *dev) b43_phy_lcn_get_pa_gain() argument
187 b43_phy_lcn_set_dac_gain(struct b43_wldev *dev, u16 dac_gain) b43_phy_lcn_set_dac_gain() argument
198 b43_phy_lcn_set_bbmult(struct b43_wldev *dev, u8 m0) b43_phy_lcn_set_bbmult() argument
204 b43_phy_lcn_clear_tx_power_offsets(struct b43_wldev *dev) b43_phy_lcn_clear_tx_power_offsets() argument
224 b43_phy_lcn_rev0_baseband_init(struct b43_wldev *dev) b43_phy_lcn_rev0_baseband_init() argument
259 b43_phy_lcn_bu_tweaks(struct b43_wldev *dev) b43_phy_lcn_bu_tweaks() argument
310 b43_phy_lcn_sense_setup(struct b43_wldev *dev, enum lcn_sense_type sense_type) b43_phy_lcn_sense_setup() argument
422 b43_phy_lcn_load_tx_iir_cck_filter(struct b43_wldev *dev, u8 filter_type) b43_phy_lcn_load_tx_iir_cck_filter() argument
474 b43_phy_lcn_load_tx_iir_ofdm_filter(struct b43_wldev *dev, u8 filter_type) b43_phy_lcn_load_tx_iir_ofdm_filter() argument
503 b43_phy_lcn_set_tx_gain_override(struct b43_wldev *dev, bool enable) b43_phy_lcn_set_tx_gain_override() argument
511 b43_phy_lcn_set_tx_gain(struct b43_wldev *dev, struct lcn_tx_gains *target_gains) b43_phy_lcn_set_tx_gain() argument
530 b43_phy_lcn_tx_pwr_ctl_init(struct b43_wldev *dev) b43_phy_lcn_tx_pwr_ctl_init() argument
562 b43_phy_lcn_txrx_spur_avoidance_mode(struct b43_wldev *dev, bool enable) b43_phy_lcn_txrx_spur_avoidance_mode() argument
587 b43_phy_lcn_set_channel_tweaks(struct b43_wldev *dev, int channel) b43_phy_lcn_set_channel_tweaks() argument
625 b43_phy_lcn_set_channel(struct b43_wldev *dev, struct ieee80211_channel *channel, enum nl80211_channel_type channel_type) b43_phy_lcn_set_channel() argument
668 b43_phy_lcn_op_allocate(struct b43_wldev *dev) b43_phy_lcn_op_allocate() argument
680 b43_phy_lcn_op_free(struct b43_wldev *dev) b43_phy_lcn_op_free() argument
689 b43_phy_lcn_op_prepare_structs(struct b43_wldev *dev) b43_phy_lcn_op_prepare_structs() argument
698 b43_phy_lcn_op_init(struct b43_wldev *dev) b43_phy_lcn_op_init() argument
742 b43_phy_lcn_op_software_rfkill(struct b43_wldev *dev, bool blocked) b43_phy_lcn_op_software_rfkill() argument
765 b43_phy_lcn_op_switch_analog(struct b43_wldev *dev, bool on) b43_phy_lcn_op_switch_analog() argument
775 b43_phy_lcn_op_switch_channel(struct b43_wldev *dev, unsigned int new_channel) b43_phy_lcn_op_switch_channel() argument
792 b43_phy_lcn_op_get_default_chan(struct b43_wldev *dev) b43_phy_lcn_op_get_default_chan() argument
800 b43_phy_lcn_op_recalc_txpower(struct b43_wldev *dev, bool ignore_tssi) b43_phy_lcn_op_recalc_txpower() argument
805 b43_phy_lcn_op_adjust_txpower(struct b43_wldev *dev) b43_phy_lcn_op_adjust_txpower() argument
813 b43_phy_lcn_op_maskset(struct b43_wldev *dev, u16 reg, u16 mask, u16 set) b43_phy_lcn_op_maskset() argument
821 b43_phy_lcn_op_radio_read(struct b43_wldev *dev, u16 reg) b43_phy_lcn_op_radio_read() argument
830 b43_phy_lcn_op_radio_write(struct b43_wldev *dev, u16 reg, u16 value) b43_phy_lcn_op_radio_write() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/
H A Dphy_lcn.c62 static void b43_radio_2064_channel_setup(struct b43_wldev *dev) in b43_radio_2064_channel_setup() argument
66 b43_radio_set(dev, 0x09d, 0x4); in b43_radio_2064_channel_setup()
67 b43_radio_write(dev, 0x09e, 0xf); in b43_radio_2064_channel_setup()
70 b43_radio_write(dev, 0x02a, 0xb); in b43_radio_2064_channel_setup()
71 b43_radio_maskset(dev, 0x030, ~0x3, 0xa); in b43_radio_2064_channel_setup()
72 b43_radio_maskset(dev, 0x091, ~0x3, 0); in b43_radio_2064_channel_setup()
73 b43_radio_maskset(dev, 0x038, ~0xf, 0x7); in b43_radio_2064_channel_setup()
74 b43_radio_maskset(dev, 0x030, ~0xc, 0x8); in b43_radio_2064_channel_setup()
75 b43_radio_maskset(dev, 0x05e, ~0xf, 0x8); in b43_radio_2064_channel_setup()
76 b43_radio_maskset(dev, in b43_radio_2064_channel_setup()
109 b43_radio_2064_init(struct b43_wldev *dev) b43_radio_2064_init() argument
165 b43_phy_lcn_afe_set_unset(struct b43_wldev *dev) b43_phy_lcn_afe_set_unset() argument
181 b43_phy_lcn_get_pa_gain(struct b43_wldev *dev) b43_phy_lcn_get_pa_gain() argument
187 b43_phy_lcn_set_dac_gain(struct b43_wldev *dev, u16 dac_gain) b43_phy_lcn_set_dac_gain() argument
198 b43_phy_lcn_set_bbmult(struct b43_wldev *dev, u8 m0) b43_phy_lcn_set_bbmult() argument
204 b43_phy_lcn_clear_tx_power_offsets(struct b43_wldev *dev) b43_phy_lcn_clear_tx_power_offsets() argument
224 b43_phy_lcn_rev0_baseband_init(struct b43_wldev *dev) b43_phy_lcn_rev0_baseband_init() argument
259 b43_phy_lcn_bu_tweaks(struct b43_wldev *dev) b43_phy_lcn_bu_tweaks() argument
310 b43_phy_lcn_sense_setup(struct b43_wldev *dev, enum lcn_sense_type sense_type) b43_phy_lcn_sense_setup() argument
422 b43_phy_lcn_load_tx_iir_cck_filter(struct b43_wldev *dev, u8 filter_type) b43_phy_lcn_load_tx_iir_cck_filter() argument
474 b43_phy_lcn_load_tx_iir_ofdm_filter(struct b43_wldev *dev, u8 filter_type) b43_phy_lcn_load_tx_iir_ofdm_filter() argument
503 b43_phy_lcn_set_tx_gain_override(struct b43_wldev *dev, bool enable) b43_phy_lcn_set_tx_gain_override() argument
511 b43_phy_lcn_set_tx_gain(struct b43_wldev *dev, struct lcn_tx_gains *target_gains) b43_phy_lcn_set_tx_gain() argument
530 b43_phy_lcn_tx_pwr_ctl_init(struct b43_wldev *dev) b43_phy_lcn_tx_pwr_ctl_init() argument
562 b43_phy_lcn_txrx_spur_avoidance_mode(struct b43_wldev *dev, bool enable) b43_phy_lcn_txrx_spur_avoidance_mode() argument
587 b43_phy_lcn_set_channel_tweaks(struct b43_wldev *dev, int channel) b43_phy_lcn_set_channel_tweaks() argument
625 b43_phy_lcn_set_channel(struct b43_wldev *dev, struct ieee80211_channel *channel, enum nl80211_channel_type channel_type) b43_phy_lcn_set_channel() argument
668 b43_phy_lcn_op_allocate(struct b43_wldev *dev) b43_phy_lcn_op_allocate() argument
680 b43_phy_lcn_op_free(struct b43_wldev *dev) b43_phy_lcn_op_free() argument
689 b43_phy_lcn_op_prepare_structs(struct b43_wldev *dev) b43_phy_lcn_op_prepare_structs() argument
698 b43_phy_lcn_op_init(struct b43_wldev *dev) b43_phy_lcn_op_init() argument
742 b43_phy_lcn_op_software_rfkill(struct b43_wldev *dev, bool blocked) b43_phy_lcn_op_software_rfkill() argument
765 b43_phy_lcn_op_switch_analog(struct b43_wldev *dev, bool on) b43_phy_lcn_op_switch_analog() argument
775 b43_phy_lcn_op_switch_channel(struct b43_wldev *dev, unsigned int new_channel) b43_phy_lcn_op_switch_channel() argument
792 b43_phy_lcn_op_get_default_chan(struct b43_wldev *dev) b43_phy_lcn_op_get_default_chan() argument
800 b43_phy_lcn_op_recalc_txpower(struct b43_wldev *dev, bool ignore_tssi) b43_phy_lcn_op_recalc_txpower() argument
805 b43_phy_lcn_op_adjust_txpower(struct b43_wldev *dev) b43_phy_lcn_op_adjust_txpower() argument
813 b43_phy_lcn_op_maskset(struct b43_wldev *dev, u16 reg, u16 mask, u16 set) b43_phy_lcn_op_maskset() argument
821 b43_phy_lcn_op_radio_read(struct b43_wldev *dev, u16 reg) b43_phy_lcn_op_radio_read() argument
830 b43_phy_lcn_op_radio_write(struct b43_wldev *dev, u16 reg, u16 value) b43_phy_lcn_op_radio_write() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
H A Dvivid-kthread-cap.c44 static inline v4l2_std_id vivid_get_std_cap(const struct vivid_dev *dev) in vivid_get_std_cap() argument
46 if (vivid_is_sdtv_cap(dev)) in vivid_get_std_cap()
47 return dev->std_cap[dev->input]; in vivid_get_std_cap()
51 static void copy_pix(struct vivid_dev *dev, int win_y, int win_x, in copy_pix() argument
55 int left = dev->overlay_out_left; in copy_pix()
56 int top = dev->overlay_out_top; in copy_pix()
63 if (dev->bitmap_out) { in copy_pix()
64 const u8 *p = dev->bitmap_out; in copy_pix()
65 unsigned stride = (dev in copy_pix()
100 blend_line(struct vivid_dev *dev, unsigned y_offset, unsigned x_offset, u8 *vcapbuf, const u8 *vosdbuf, unsigned width, unsigned pixsize) blend_line() argument
165 vivid_precalc_copy_rects(struct vivid_dev *dev) vivid_precalc_copy_rects() argument
236 vivid_copy_buffer(struct vivid_dev *dev, unsigned p, u8 *vcapbuf, struct vivid_buffer *vid_cap_buf) vivid_copy_buffer() argument
406 vivid_fillbuff(struct vivid_dev *dev, struct vivid_buffer *buf) vivid_fillbuff() argument
557 valid_pix(struct vivid_dev *dev, int win_y, int win_x, int fb_y, int fb_x) valid_pix() argument
592 vivid_overlay(struct vivid_dev *dev, struct vivid_buffer *buf) vivid_overlay() argument
657 vivid_cap_update_frame_period(struct vivid_dev *dev) vivid_cap_update_frame_period() argument
676 vivid_thread_vid_cap_tick(struct vivid_dev *dev, int dropped_bufs) vivid_thread_vid_cap_tick() argument
793 struct vivid_dev *dev = data; vivid_thread_vid_cap() local
897 vivid_grab_controls(struct vivid_dev *dev, bool grab) vivid_grab_controls() argument
904 vivid_start_generating_vid_cap(struct vivid_dev *dev, bool *pstreaming) vivid_start_generating_vid_cap() argument
945 vivid_stop_generating_vid_cap(struct vivid_dev *dev, bool *pstreaming) vivid_stop_generating_vid_cap() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
H A Dphy.c70 static void b43legacy_phy_initg(struct b43legacy_wldev *dev);
74 void b43legacy_phy_lock(struct b43legacy_wldev *dev) in b43legacy_phy_lock() argument
77 B43legacy_WARN_ON(dev->phy.phy_locked); in b43legacy_phy_lock()
78 dev->phy.phy_locked = 1; in b43legacy_phy_lock()
81 if (dev->dev->id.revision < 3) { in b43legacy_phy_lock()
82 b43legacy_mac_suspend(dev); in b43legacy_phy_lock()
84 if (!b43legacy_is_mode(dev->wl, NL80211_IFTYPE_AP)) in b43legacy_phy_lock()
85 b43legacy_power_saving_ctl_bits(dev, -1, 1); in b43legacy_phy_lock()
89 void b43legacy_phy_unlock(struct b43legacy_wldev *dev) in b43legacy_phy_unlock() argument
104 b43legacy_phy_read(struct b43legacy_wldev *dev, u16 offset) b43legacy_phy_read() argument
110 b43legacy_phy_write(struct b43legacy_wldev *dev, u16 offset, u16 val) b43legacy_phy_write() argument
116 b43legacy_phy_calibrate(struct b43legacy_wldev *dev) b43legacy_phy_calibrate() argument
134 b43legacy_phy_init_pctl(struct b43legacy_wldev *dev) b43legacy_phy_init_pctl() argument
193 b43legacy_phy_agcsetup(struct b43legacy_wldev *dev) b43legacy_phy_agcsetup() argument
309 b43legacy_phy_setupg(struct b43legacy_wldev *dev) b43legacy_phy_setupg() argument
411 b43legacy_phy_inita(struct b43legacy_wldev *dev) b43legacy_phy_inita() argument
421 b43legacy_phy_initb2(struct b43legacy_wldev *dev) b43legacy_phy_initb2() argument
470 b43legacy_phy_initb4(struct b43legacy_wldev *dev) b43legacy_phy_initb4() argument
526 b43legacy_phy_initb5(struct b43legacy_wldev *dev) b43legacy_phy_initb5() argument
641 b43legacy_phy_initb6(struct b43legacy_wldev *dev) b43legacy_phy_initb6() argument
784 b43legacy_calc_loopback_gain(struct b43legacy_wldev *dev) b43legacy_calc_loopback_gain() argument
983 b43legacy_phy_initg(struct b43legacy_wldev *dev) b43legacy_phy_initg() argument
1099 b43legacy_phy_lo_b_r15_loop(struct b43legacy_wldev *dev) b43legacy_phy_lo_b_r15_loop() argument
1121 b43legacy_phy_lo_b_measure(struct b43legacy_wldev *dev) b43legacy_phy_lo_b_measure() argument
1216 b43legacy_phy_lo_g_deviation_subval(struct b43legacy_wldev *dev, u16 control) b43legacy_phy_lo_g_deviation_subval() argument
1250 b43legacy_phy_lo_g_singledeviation(struct b43legacy_wldev *dev, u16 control) b43legacy_phy_lo_g_singledeviation() argument
1264 b43legacy_lo_write(struct b43legacy_wldev *dev, struct b43legacy_lopair *pair) b43legacy_lo_write() argument
1288 b43legacy_find_lopair(struct b43legacy_wldev *dev, u16 bbatt, u16 rfatt, u16 tx) b43legacy_find_lopair() argument
1306 b43legacy_current_lopair(struct b43legacy_wldev *dev) b43legacy_current_lopair() argument
1315 b43legacy_phy_lo_adjust(struct b43legacy_wldev *dev, int fixed) b43legacy_phy_lo_adjust() argument
1327 b43legacy_phy_lo_g_measure_txctl2(struct b43legacy_wldev *dev) b43legacy_phy_lo_g_measure_txctl2() argument
1351 b43legacy_phy_lo_g_state(struct b43legacy_wldev *dev, const struct b43legacy_lopair *in_pair, struct b43legacy_lopair *out_pair, u16 r27) b43legacy_phy_lo_g_state() argument
1441 b43legacy_phy_set_baseband_attenuation(struct b43legacy_wldev *dev, u16 bbatt) b43legacy_phy_set_baseband_attenuation() argument
1465 b43legacy_phy_lo_g_measure(struct b43legacy_wldev *dev) b43legacy_phy_lo_g_measure() argument
1704 b43legacy_phy_lo_mark_current_used(struct b43legacy_wldev *dev) b43legacy_phy_lo_mark_current_used() argument
1712 b43legacy_phy_lo_mark_all_unused(struct b43legacy_wldev *dev) b43legacy_phy_lo_mark_all_unused() argument
1727 b43legacy_phy_estimate_power_out(struct b43legacy_wldev *dev, s8 tssi) b43legacy_phy_estimate_power_out() argument
1751 b43legacy_phy_xmitpower(struct b43legacy_wldev *dev) b43legacy_phy_xmitpower() argument
1969 b43legacy_phy_init_tssi2dbm_table(struct b43legacy_wldev *dev) b43legacy_phy_init_tssi2dbm_table() argument
2033 b43legacy_phy_init(struct b43legacy_wldev *dev) b43legacy_phy_init() argument
2070 b43legacy_phy_set_antenna_diversity(struct b43legacy_wldev *dev) b43legacy_phy_set_antenna_diversity() argument
2194 b43legacy_power_saving_ctl_bits(struct b43legacy_wldev *dev, int bit25, int bit26) b43legacy_power_saving_ctl_bits() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43legacy/
H A Dphy.c70 static void b43legacy_phy_initg(struct b43legacy_wldev *dev);
74 void b43legacy_phy_lock(struct b43legacy_wldev *dev) in b43legacy_phy_lock() argument
77 B43legacy_WARN_ON(dev->phy.phy_locked); in b43legacy_phy_lock()
78 dev->phy.phy_locked = 1; in b43legacy_phy_lock()
81 if (dev->dev->id.revision < 3) { in b43legacy_phy_lock()
82 b43legacy_mac_suspend(dev); in b43legacy_phy_lock()
84 if (!b43legacy_is_mode(dev->wl, NL80211_IFTYPE_AP)) in b43legacy_phy_lock()
85 b43legacy_power_saving_ctl_bits(dev, -1, 1); in b43legacy_phy_lock()
89 void b43legacy_phy_unlock(struct b43legacy_wldev *dev) in b43legacy_phy_unlock() argument
104 b43legacy_phy_read(struct b43legacy_wldev *dev, u16 offset) b43legacy_phy_read() argument
110 b43legacy_phy_write(struct b43legacy_wldev *dev, u16 offset, u16 val) b43legacy_phy_write() argument
116 b43legacy_phy_calibrate(struct b43legacy_wldev *dev) b43legacy_phy_calibrate() argument
134 b43legacy_phy_init_pctl(struct b43legacy_wldev *dev) b43legacy_phy_init_pctl() argument
193 b43legacy_phy_agcsetup(struct b43legacy_wldev *dev) b43legacy_phy_agcsetup() argument
309 b43legacy_phy_setupg(struct b43legacy_wldev *dev) b43legacy_phy_setupg() argument
411 b43legacy_phy_inita(struct b43legacy_wldev *dev) b43legacy_phy_inita() argument
421 b43legacy_phy_initb2(struct b43legacy_wldev *dev) b43legacy_phy_initb2() argument
470 b43legacy_phy_initb4(struct b43legacy_wldev *dev) b43legacy_phy_initb4() argument
526 b43legacy_phy_initb5(struct b43legacy_wldev *dev) b43legacy_phy_initb5() argument
641 b43legacy_phy_initb6(struct b43legacy_wldev *dev) b43legacy_phy_initb6() argument
784 b43legacy_calc_loopback_gain(struct b43legacy_wldev *dev) b43legacy_calc_loopback_gain() argument
983 b43legacy_phy_initg(struct b43legacy_wldev *dev) b43legacy_phy_initg() argument
1099 b43legacy_phy_lo_b_r15_loop(struct b43legacy_wldev *dev) b43legacy_phy_lo_b_r15_loop() argument
1121 b43legacy_phy_lo_b_measure(struct b43legacy_wldev *dev) b43legacy_phy_lo_b_measure() argument
1216 b43legacy_phy_lo_g_deviation_subval(struct b43legacy_wldev *dev, u16 control) b43legacy_phy_lo_g_deviation_subval() argument
1250 b43legacy_phy_lo_g_singledeviation(struct b43legacy_wldev *dev, u16 control) b43legacy_phy_lo_g_singledeviation() argument
1264 b43legacy_lo_write(struct b43legacy_wldev *dev, struct b43legacy_lopair *pair) b43legacy_lo_write() argument
1288 b43legacy_find_lopair(struct b43legacy_wldev *dev, u16 bbatt, u16 rfatt, u16 tx) b43legacy_find_lopair() argument
1306 b43legacy_current_lopair(struct b43legacy_wldev *dev) b43legacy_current_lopair() argument
1315 b43legacy_phy_lo_adjust(struct b43legacy_wldev *dev, int fixed) b43legacy_phy_lo_adjust() argument
1327 b43legacy_phy_lo_g_measure_txctl2(struct b43legacy_wldev *dev) b43legacy_phy_lo_g_measure_txctl2() argument
1351 b43legacy_phy_lo_g_state(struct b43legacy_wldev *dev, const struct b43legacy_lopair *in_pair, struct b43legacy_lopair *out_pair, u16 r27) b43legacy_phy_lo_g_state() argument
1441 b43legacy_phy_set_baseband_attenuation(struct b43legacy_wldev *dev, u16 bbatt) b43legacy_phy_set_baseband_attenuation() argument
1465 b43legacy_phy_lo_g_measure(struct b43legacy_wldev *dev) b43legacy_phy_lo_g_measure() argument
1704 b43legacy_phy_lo_mark_current_used(struct b43legacy_wldev *dev) b43legacy_phy_lo_mark_current_used() argument
1712 b43legacy_phy_lo_mark_all_unused(struct b43legacy_wldev *dev) b43legacy_phy_lo_mark_all_unused() argument
1727 b43legacy_phy_estimate_power_out(struct b43legacy_wldev *dev, s8 tssi) b43legacy_phy_estimate_power_out() argument
1751 b43legacy_phy_xmitpower(struct b43legacy_wldev *dev) b43legacy_phy_xmitpower() argument
1969 b43legacy_phy_init_tssi2dbm_table(struct b43legacy_wldev *dev) b43legacy_phy_init_tssi2dbm_table() argument
2033 b43legacy_phy_init(struct b43legacy_wldev *dev) b43legacy_phy_init() argument
2070 b43legacy_phy_set_antenna_diversity(struct b43legacy_wldev *dev) b43legacy_phy_set_antenna_diversity() argument
2194 b43legacy_power_saving_ctl_bits(struct b43legacy_wldev *dev, int bit25, int bit26) b43legacy_power_saving_ctl_bits() argument
[all...]

Completed in 25 milliseconds

12345678910>>...1632