Home
last modified time | relevance | path

Searched refs:dev (Results 2226 - 2250 of 38233) sorted by relevance

1...<<81828384858687888990>>...1530

/kernel/linux/linux-6.6/drivers/net/ethernet/realtek/
H A D8139cp.c324 struct net_device *dev; member
375 static void __cp_set_rx_mode (struct net_device *dev);
379 static void cp_poll_controller(struct net_device *dev);
381 static int cp_get_eeprom_len(struct net_device *dev);
382 static int cp_get_eeprom(struct net_device *dev,
384 static int cp_set_eeprom(struct net_device *dev,
409 unsigned int mtu = cp->dev->mtu; in cp_set_rxbufsize()
423 skb->protocol = eth_type_trans (skb, cp->dev); in cp_rx_skb()
425 cp->dev->stats.rx_packets++; in cp_rx_skb()
426 cp->dev in cp_rx_skb()
466 struct net_device *dev = cp->dev; cp_rx_poll() local
570 struct net_device *dev = dev_instance; cp_interrupt() local
637 cp_poll_controller(struct net_device *dev) cp_poll_controller() argument
731 cp_start_xmit(struct sk_buff *skb, struct net_device *dev) cp_start_xmit() argument
888 __cp_set_rx_mode(struct net_device *dev) __cp_set_rx_mode() argument
926 cp_set_rx_mode(struct net_device *dev) cp_set_rx_mode() argument
943 cp_get_stats(struct net_device *dev) cp_get_stats() argument
1030 struct net_device *dev = cp->dev; cp_init_hw() local
1060 struct net_device *dev = cp->dev; cp_refill_rx() local
1179 cp_open(struct net_device *dev) cp_open() argument
1214 cp_close(struct net_device *dev) cp_close() argument
1238 cp_tx_timeout(struct net_device *dev, unsigned int txqueue) cp_tx_timeout() argument
1274 cp_change_mtu(struct net_device *dev, int new_mtu) cp_change_mtu() argument
1303 mdio_read(struct net_device *dev, int phy_id, int location) mdio_read() argument
1312 mdio_write(struct net_device *dev, int phy_id, int location, int value) mdio_write() argument
1381 cp_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) cp_get_drvinfo() argument
1390 cp_get_ringparam(struct net_device *dev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) cp_get_ringparam() argument
1401 cp_get_regs_len(struct net_device *dev) cp_get_regs_len() argument
1406 cp_get_sset_count(struct net_device *dev, int sset) cp_get_sset_count() argument
1416 cp_get_link_ksettings(struct net_device *dev, struct ethtool_link_ksettings *cmd) cp_get_link_ksettings() argument
1429 cp_set_link_ksettings(struct net_device *dev, const struct ethtool_link_ksettings *cmd) cp_set_link_ksettings() argument
1443 cp_nway_reset(struct net_device *dev) cp_nway_reset() argument
1449 cp_get_msglevel(struct net_device *dev) cp_get_msglevel() argument
1455 cp_set_msglevel(struct net_device *dev, u32 value) cp_set_msglevel() argument
1461 cp_set_features(struct net_device *dev, netdev_features_t features) cp_set_features() argument
1487 cp_get_regs(struct net_device *dev, struct ethtool_regs *regs, void *p) cp_get_regs() argument
1503 cp_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol) cp_get_wol() argument
1513 cp_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol) cp_set_wol() argument
1526 cp_get_strings(struct net_device *dev, u32 stringset, u8 *buf) cp_get_strings() argument
1538 cp_get_ethtool_stats(struct net_device *dev, struct ethtool_stats *estats, u64 *tmp_stats) cp_get_ethtool_stats() argument
1606 cp_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) cp_ioctl() argument
1621 cp_set_mac_address(struct net_device *dev, void *p) cp_set_mac_address() argument
1760 cp_get_eeprom_len(struct net_device *dev) cp_get_eeprom_len() argument
1772 cp_get_eeprom(struct net_device *dev, struct ethtool_eeprom *eeprom, u8 *data) cp_get_eeprom() argument
1810 cp_set_eeprom(struct net_device *dev, struct ethtool_eeprom *eeprom, u8 *data) cp_set_eeprom() argument
1858 cp_features_check(struct sk_buff *skb, struct net_device *dev, netdev_features_t features) cp_features_check() argument
1888 struct net_device *dev; cp_init_one() local
2040 struct net_device *dev = pci_get_drvdata(pdev); cp_remove_one() local
2055 struct net_device *dev = dev_get_drvdata(device); cp_suspend() local
2080 struct net_device *dev = dev_get_drvdata(device); cp_resume() local
[all...]
/kernel/linux/linux-5.10/drivers/media/common/saa7146/
H A Dsaa7146_video.c80 struct saa7146_format* saa7146_format_by_fourcc(struct saa7146_dev *dev, int fourcc) in saa7146_format_by_fourcc() argument
98 struct saa7146_dev *dev = fh->dev; in saa7146_start_preview() local
99 struct saa7146_vv *vv = dev->vv_data; in saa7146_start_preview()
103 DEB_EE("dev:%p, fh:%p\n", dev, fh); in saa7146_start_preview()
160 struct saa7146_dev *dev = fh->dev; in saa7146_stop_preview() local
161 struct saa7146_vv *vv = dev->vv_data; in saa7146_stop_preview()
163 DEB_EE("dev in saa7146_stop_preview()
196 saa7146_pgtable_build(struct saa7146_dev *dev, struct saa7146_buf *buf) saa7146_pgtable_build() argument
318 struct saa7146_dev *dev = fh->dev; video_begin() local
380 struct saa7146_dev *dev = fh->dev; video_end() local
442 struct saa7146_dev *dev = ((struct saa7146_fh *)fh)->dev; vidioc_querycap() local
456 struct saa7146_dev *dev = ((struct saa7146_fh *)fh)->dev; vidioc_g_fbuf() local
467 struct saa7146_dev *dev = ((struct saa7146_fh *)fh)->dev; vidioc_s_fbuf() local
515 struct saa7146_dev *dev = container_of(ctrl->handler, saa7146_s_ctrl() local
574 struct saa7146_dev *dev = ((struct saa7146_fh *)fh)->dev; vidioc_g_parm() local
587 struct saa7146_dev *dev = ((struct saa7146_fh *)fh)->dev; vidioc_g_fmt_vid_cap() local
596 struct saa7146_dev *dev = ((struct saa7146_fh *)fh)->dev; vidioc_g_fmt_vid_overlay() local
605 struct saa7146_dev *dev = ((struct saa7146_fh *)fh)->dev; vidioc_g_fmt_vbi_cap() local
614 struct saa7146_dev *dev = ((struct saa7146_fh *)fh)->dev; vidioc_try_fmt_vid_cap() local
680 struct saa7146_dev *dev = ((struct saa7146_fh *)fh)->dev; vidioc_try_fmt_vid_overlay() local
740 struct saa7146_dev *dev = fh->dev; vidioc_s_fmt_vid_cap() local
761 struct saa7146_dev *dev = fh->dev; vidioc_s_fmt_vid_overlay() local
791 struct saa7146_dev *dev = ((struct saa7146_fh *)fh)->dev; vidioc_g_std() local
818 struct saa7146_dev *dev = ((struct saa7146_fh *)fh)->dev; vidioc_s_std() local
939 struct saa7146_dev *dev = fh->dev; vidioc_streamoff() local
1019 buffer_activate(struct saa7146_dev *dev, struct saa7146_buf *buf, struct saa7146_buf *next) buffer_activate() argument
1032 release_all_pagetables(struct saa7146_dev *dev, struct saa7146_buf *buf) release_all_pagetables() argument
1044 struct saa7146_dev *dev = fh->dev; buffer_prepare() local
1146 struct saa7146_dev *dev = fh->dev; buffer_queue() local
1158 struct saa7146_dev *dev = fh->dev; buffer_release() local
1178 video_init(struct saa7146_dev *dev, struct saa7146_vv *vv) video_init() argument
1194 video_open(struct saa7146_dev *dev, struct file *file) video_open() argument
1209 video_close(struct saa7146_dev *dev, struct file *file) video_close() argument
1225 video_irq_done(struct saa7146_dev *dev, unsigned long st) video_irq_done() argument
1245 struct saa7146_dev *dev = fh->dev; video_read() local
[all...]
/kernel/linux/linux-5.10/drivers/pci/
H A Dpci-acpi.c33 struct device *dev = &adev->dev; in acpi_get_rc_addr() local
45 dev_err(dev, "failed to parse _CRS method, error code %d\n", in acpi_get_rc_addr()
51 dev_err(dev, "no IO and memory resources present in _CRS\n"); in acpi_get_rc_addr()
76 int acpi_get_rc_resources(struct device *dev, const char *hid, u16 segment, in acpi_get_rc_resources() argument
86 dev_err(dev, "can't find _HID %s device to locate resources\n", in acpi_get_rc_resources()
97 dev_err(dev, "can't get resource from %s\n", in acpi_get_rc_resources()
98 dev_name(&adev->dev)); in acpi_get_rc_resources()
137 static void program_hpx_type0(struct pci_dev *dev, struct hpx_type0 *hpx) in program_hpx_type0() argument
145 pci_warn(dev, "PC in program_hpx_type0()
206 program_hpx_type1(struct pci_dev *dev, struct hpx_type1 *hpx) program_hpx_type1() argument
247 pcie_root_rcb_set(struct pci_dev *dev) pcie_root_rcb_set() argument
283 program_hpx_type2(struct pci_dev *dev, struct hpx_type2 *hpx) program_hpx_type2() argument
439 hpx3_device_type(struct pci_dev *dev) hpx3_device_type() argument
466 hpx3_function_type(struct pci_dev *dev) hpx3_function_type() argument
497 program_hpx_type3_register(struct pci_dev *dev, const struct hpx_type3 *reg) program_hpx_type3_register() argument
556 program_hpx_type3(struct pci_dev *dev, struct hpx_type3 *hpx) program_hpx_type3() argument
586 program_type3_hpx_record(struct pci_dev *dev, union acpi_object *record) program_type3_hpx_record() argument
624 acpi_run_hpx(struct pci_dev *dev, acpi_handle handle) acpi_run_hpx() argument
699 acpi_run_hpp(struct pci_dev *dev, acpi_handle handle) acpi_run_hpp() argument
745 pci_acpi_program_hp_params(struct pci_dev *dev) pci_acpi_program_hp_params() argument
869 pci_acpi_add_bus_pm_notifier(struct acpi_device *dev) pci_acpi_add_bus_pm_notifier() argument
879 pci_acpi_add_pm_notifier(struct acpi_device *dev, struct pci_dev *pci_dev) pci_acpi_add_pm_notifier() argument
937 acpi_pci_bridge_d3(struct pci_dev *dev) acpi_pci_bridge_d3() argument
985 acpi_pci_power_manageable(struct pci_dev *dev) acpi_pci_power_manageable() argument
991 acpi_pci_set_power_state(struct pci_dev *dev, pci_power_t state) acpi_pci_set_power_state() argument
1029 acpi_pci_get_power_state(struct pci_dev *dev) acpi_pci_get_power_state() argument
1051 acpi_pci_refresh_power_state(struct pci_dev *dev) acpi_pci_refresh_power_state() argument
1076 acpi_pci_wakeup(struct pci_dev *dev, bool enable) acpi_pci_wakeup() argument
1084 acpi_pci_need_resume(struct pci_dev *dev) acpi_pci_need_resume() argument
1162 acpi_pci_find_companion(struct device *dev) acpi_pci_find_companion() argument
1226 pci_acpi_set_external_facing(struct pci_dev *dev) pci_acpi_set_external_facing() argument
1243 pci_acpi_setup(struct device *dev) pci_acpi_setup() argument
1273 pci_acpi_cleanup(struct device *dev) pci_acpi_cleanup() argument
1292 pci_acpi_bus_match(struct device *dev) pci_acpi_bus_match() argument
[all...]
H A Dpci-sysfs.c37 field##_show(struct device *dev, struct device_attribute *attr, char *buf) \
41 pdev = to_pci_dev(dev); \
54 static ssize_t broken_parity_status_show(struct device *dev, in broken_parity_status_show() argument
58 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_show()
62 static ssize_t broken_parity_status_store(struct device *dev, in broken_parity_status_store() argument
66 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_store()
78 static ssize_t pci_dev_show_local_cpu(struct device *dev, bool list, in pci_dev_show_local_cpu() argument
84 mask = (dev_to_node(dev) == -1) ? cpu_online_mask : in pci_dev_show_local_cpu()
85 cpumask_of_node(dev_to_node(dev)); in pci_dev_show_local_cpu()
87 mask = cpumask_of_pcibus(to_pci_dev(dev) in pci_dev_show_local_cpu()
92 local_cpus_show(struct device *dev, struct device_attribute *attr, char *buf) local_cpus_show() argument
99 local_cpulist_show(struct device *dev, struct device_attribute *attr, char *buf) local_cpulist_show() argument
109 cpuaffinity_show(struct device *dev, struct device_attribute *attr, char *buf) cpuaffinity_show() argument
118 cpulistaffinity_show(struct device *dev, struct device_attribute *attr, char *buf) cpulistaffinity_show() argument
128 resource_show(struct device *dev, struct device_attribute *attr, char *buf) resource_show() argument
154 max_link_speed_show(struct device *dev, struct device_attribute *attr, char *buf) max_link_speed_show() argument
164 max_link_width_show(struct device *dev, struct device_attribute *attr, char *buf) max_link_width_show() argument
173 current_link_speed_show(struct device *dev, struct device_attribute *attr, char *buf) current_link_speed_show() argument
191 current_link_width_show(struct device *dev, struct device_attribute *attr, char *buf) current_link_width_show() argument
207 secondary_bus_number_show(struct device *dev, struct device_attribute *attr, char *buf) secondary_bus_number_show() argument
223 subordinate_bus_number_show(struct device *dev, struct device_attribute *attr, char *buf) subordinate_bus_number_show() argument
239 ari_enabled_show(struct device *dev, struct device_attribute *attr, char *buf) ari_enabled_show() argument
249 modalias_show(struct device *dev, struct device_attribute *attr, char *buf) modalias_show() argument
262 enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) enable_store() argument
290 enable_show(struct device *dev, struct device_attribute *attr, char *buf) enable_show() argument
301 numa_node_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) numa_node_store() argument
329 numa_node_show(struct device *dev, struct device_attribute *attr, char *buf) numa_node_show() argument
337 dma_mask_bits_show(struct device *dev, struct device_attribute *attr, char *buf) dma_mask_bits_show() argument
346 consistent_dma_mask_bits_show(struct device *dev, struct device_attribute *attr, char *buf) consistent_dma_mask_bits_show() argument
354 msi_bus_show(struct device *dev, struct device_attribute *attr, char *buf) msi_bus_show() argument
365 msi_bus_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) msi_bus_store() argument
433 dev_rescan_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) dev_rescan_store() argument
453 remove_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) remove_store() argument
468 bus_rescan_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) bus_rescan_store() argument
492 d3cold_allowed_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) d3cold_allowed_store() argument
510 d3cold_allowed_show(struct device *dev, struct device_attribute *attr, char *buf) d3cold_allowed_show() argument
520 devspec_show(struct device *dev, struct device_attribute *attr, char *buf) devspec_show() argument
533 driver_override_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) driver_override_store() argument
567 driver_override_show(struct device *dev, struct device_attribute *attr, char *buf) driver_override_show() argument
641 boot_vga_show(struct device *dev, struct device_attribute *attr, char *buf) boot_vga_show() argument
660 struct pci_dev *dev = to_pci_dev(kobj_to_dev(kobj)); pci_read_config() local
737 struct pci_dev *dev = to_pci_dev(kobj_to_dev(kobj)); pci_write_config() local
1203 pci_create_resource_files(struct pci_dev *dev) pci_create_resource_files() argument
1204 pci_remove_resource_files(struct pci_dev *dev) pci_remove_resource_files() argument
1292 reset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) reset_store() argument
1316 pci_create_capabilities_sysfs(struct pci_dev *dev) pci_create_capabilities_sysfs() argument
1402 pci_remove_capabilities_sysfs(struct pci_dev *dev) pci_remove_capabilities_sysfs() argument
1466 struct device *dev = kobj_to_dev(kobj); pci_dev_attrs_are_visible() local
1485 struct device *dev = kobj_to_dev(kobj); pci_dev_hp_attrs_are_visible() local
1497 struct device *dev = kobj_to_dev(kobj); pci_bridge_attrs_are_visible() local
1509 struct device *dev = kobj_to_dev(kobj); pcie_dev_attrs_are_visible() local
[all...]
/kernel/linux/linux-6.6/drivers/base/power/
H A Ddomain.c30 #define GENPD_DEV_CALLBACK(genpd, type, callback, dev) \
37 __ret = __routine(dev); \
134 static inline bool irq_safe_dev_in_sleep_domain(struct device *dev, in irq_safe_dev_in_sleep_domain() argument
139 ret = pm_runtime_is_irq_safe(dev) && !genpd_is_irq_safe(genpd); in irq_safe_dev_in_sleep_domain()
150 dev_warn_once(dev, "PM domain %s will not be powered off\n", in irq_safe_dev_in_sleep_domain()
156 static int genpd_runtime_suspend(struct device *dev);
164 static struct generic_pm_domain *dev_to_genpd_safe(struct device *dev) in dev_to_genpd_safe() argument
166 if (IS_ERR_OR_NULL(dev) || IS_ERR_OR_NULL(dev->pm_domain)) in dev_to_genpd_safe()
170 if (dev in dev_to_genpd_safe()
180 dev_to_genpd(struct device *dev) dev_to_genpd() argument
188 genpd_stop_dev(const struct generic_pm_domain *genpd, struct device *dev) genpd_stop_dev() argument
194 genpd_start_dev(const struct generic_pm_domain *genpd, struct device *dev) genpd_start_dev() argument
384 genpd_set_performance_state(struct device *dev, unsigned int state) genpd_set_performance_state() argument
405 genpd_drop_performance_state(struct device *dev) genpd_drop_performance_state() argument
415 genpd_restore_performance_state(struct device *dev, unsigned int state) genpd_restore_performance_state() argument
437 dev_pm_genpd_set_performance_state(struct device *dev, unsigned int state) dev_pm_genpd_set_performance_state() argument
479 dev_pm_genpd_set_next_wakeup(struct device *dev, ktime_t next) dev_pm_genpd_set_next_wakeup() argument
504 dev_pm_genpd_get_next_hrtimer(struct device *dev) dev_pm_genpd_get_next_hrtimer() argument
530 dev_pm_genpd_synced_poweroff(struct device *dev) dev_pm_genpd_synced_poweroff() argument
811 genpd_dev_pm_start(struct device *dev) genpd_dev_pm_start() argument
822 struct device *dev; genpd_dev_pm_qos_notifier() local
879 __genpd_runtime_suspend(struct device *dev) __genpd_runtime_suspend() argument
902 __genpd_runtime_resume(struct device *dev) __genpd_runtime_resume() argument
929 genpd_runtime_suspend(struct device *dev) genpd_runtime_suspend() argument
1005 genpd_runtime_resume(struct device *dev) genpd_runtime_resume() argument
1204 genpd_prepare(struct device *dev) genpd_prepare() argument
1245 genpd_finish_suspend(struct device *dev, int (*suspend_noirq)(struct device *dev), int (*resume_noirq)(struct device *dev)) genpd_finish_suspend() argument
1287 genpd_suspend_noirq(struct device *dev) genpd_suspend_noirq() argument
1303 genpd_finish_resume(struct device *dev, int (*resume_noirq)(struct device *dev)) genpd_finish_resume() argument
1339 genpd_resume_noirq(struct device *dev) genpd_resume_noirq() argument
1355 genpd_freeze_noirq(struct device *dev) genpd_freeze_noirq() argument
1371 genpd_thaw_noirq(struct device *dev) genpd_thaw_noirq() argument
1386 genpd_poweroff_noirq(struct device *dev) genpd_poweroff_noirq() argument
1402 genpd_restore_noirq(struct device *dev) genpd_restore_noirq() argument
1418 genpd_complete(struct device *dev) genpd_complete() argument
1439 genpd_switch_state(struct device *dev, bool suspend) genpd_switch_state() argument
1474 dev_pm_genpd_suspend(struct device *dev) dev_pm_genpd_suspend() argument
1488 dev_pm_genpd_resume(struct device *dev) dev_pm_genpd_resume() argument
1507 genpd_alloc_dev_data(struct device *dev, bool has_governor) genpd_alloc_dev_data() argument
1563 genpd_free_dev_data(struct device *dev, struct generic_pm_domain_data *gpd_data) genpd_free_dev_data() argument
1611 genpd_get_cpu(struct generic_pm_domain *genpd, struct device *dev) genpd_get_cpu() argument
1626 genpd_add_device(struct generic_pm_domain *genpd, struct device *dev, struct device *base_dev) genpd_add_device() argument
1672 pm_genpd_add_device(struct generic_pm_domain *genpd, struct device *dev) pm_genpd_add_device() argument
1687 genpd_remove_device(struct generic_pm_domain *genpd, struct device *dev) genpd_remove_device() argument
1737 pm_genpd_remove_device(struct device *dev) pm_genpd_remove_device() argument
1763 dev_pm_genpd_add_notifier(struct device *dev, struct notifier_block *nb) dev_pm_genpd_add_notifier() argument
1809 dev_pm_genpd_remove_notifier(struct device *dev) dev_pm_genpd_remove_notifier() argument
2521 of_genpd_add_device(struct of_phandle_args *genpdspec, struct device *dev) of_genpd_add_device() argument
2657 genpd_release_dev(struct device *dev) genpd_release_dev() argument
2675 genpd_dev_pm_detach(struct device *dev, bool power_off) genpd_dev_pm_detach() argument
2716 genpd_dev_pm_sync(struct device *dev) genpd_dev_pm_sync() argument
2727 __genpd_dev_pm_attach(struct device *dev, struct device *base_dev, unsigned int index, bool power_on) __genpd_dev_pm_attach() argument
2812 genpd_dev_pm_attach(struct device *dev) genpd_dev_pm_attach() argument
2845 genpd_dev_pm_attach_by_id(struct device *dev, unsigned int index) genpd_dev_pm_attach_by_id() argument
2900 genpd_dev_pm_attach_by_name(struct device *dev, const char *name) genpd_dev_pm_attach_by_name() argument
3083 rtpm_status_str(struct seq_file *s, struct device *dev) rtpm_status_str() argument
3105 perf_status_str(struct seq_file *s, struct device *dev) perf_status_str() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c306 static void rem_slave_vlans(struct mlx4_dev *dev, int slave);
307 static inline int mlx4_grant_resource(struct mlx4_dev *dev, int slave, in mlx4_grant_resource() argument
311 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_grant_resource()
318 if (slave > dev->persist->num_vfs) in mlx4_grant_resource()
324 (dev->persist->num_vfs + 1) + slave] : in mlx4_grant_resource()
333 mlx4_warn(dev, "VF %d port %d res %s: quota exceeded, count %d alloc %d quota %d\n", in mlx4_grant_resource()
354 mlx4_warn(dev, "VF %d port %d res %s: free pool empty, free %d from_free %d rsvd %d\n", in mlx4_grant_resource()
363 (dev->persist->num_vfs + 1) + slave] += count; in mlx4_grant_resource()
378 static inline void mlx4_release_resource(struct mlx4_dev *dev, int slave, in mlx4_release_resource() argument
382 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_release_resource()
423 initialize_res_quotas(struct mlx4_dev *dev, struct resource_allocator *res_alloc, enum mlx4_resource res_type, int vf, int num_instances) initialize_res_quotas() argument
442 mlx4_init_quotas(struct mlx4_dev *dev) mlx4_init_quotas() argument
475 mlx4_calc_res_counter_guaranteed(struct mlx4_dev *dev, struct resource_allocator *res_alloc, int vf) mlx4_calc_res_counter_guaranteed() argument
501 mlx4_init_resource_tracker(struct mlx4_dev *dev) mlx4_init_resource_tracker() argument
655 mlx4_free_resource_tracker(struct mlx4_dev *dev, enum mlx4_res_tracker_free_type type) mlx4_free_resource_tracker() argument
691 update_pkey_index(struct mlx4_dev *dev, int slave, struct mlx4_cmd_mailbox *inbox) update_pkey_index() argument
706 update_gid(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *inbox, u8 slave) update_gid() argument
749 update_vport_qp_param(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *inbox, u8 slave, u32 qpn) update_vport_qp_param() argument
847 mpt_mask(struct mlx4_dev *dev) mpt_mask() argument
882 find_res(struct mlx4_dev *dev, u64 res_id, enum mlx4_resource type) find_res() argument
891 _get_res(struct mlx4_dev *dev, int slave, u64 res_id, enum mlx4_resource type, void *res, const char *func_name) _get_res() argument
934 mlx4_get_slave_from_resource_id(struct mlx4_dev *dev, enum mlx4_resource type, u64 res_id, int *slave) mlx4_get_slave_from_resource_id() argument
957 put_res(struct mlx4_dev *dev, int slave, u64 res_id, enum mlx4_resource type) put_res() argument
974 handle_existing_counter(struct mlx4_dev *dev, u8 slave, int port, int counter_index) handle_existing_counter() argument
998 handle_unexisting_counter(struct mlx4_dev *dev, struct mlx4_qp_context *qpc, u8 slave, int port) handle_unexisting_counter() argument
1040 handle_counter(struct mlx4_dev *dev, struct mlx4_qp_context *qpc, u8 slave, int port) handle_counter() argument
1231 mlx4_calc_vf_counters(struct mlx4_dev *dev, int slave, int port, struct mlx4_counter *data) mlx4_calc_vf_counters() argument
1278 add_res_range(struct mlx4_dev *dev, int slave, u64 base, int count, enum mlx4_resource type, int extra) add_res_range() argument
1465 rem_res_range(struct mlx4_dev *dev, int slave, u64 base, int count, enum mlx4_resource type, int extra) rem_res_range() argument
1504 qp_res_start_move_to(struct mlx4_dev *dev, int slave, int qpn, enum res_qp_states state, struct res_qp **qp, int alloc) qp_res_start_move_to() argument
1569 mr_res_start_move_to(struct mlx4_dev *dev, int slave, int index, enum res_mpt_states state, struct res_mpt **mpt) mr_res_start_move_to() argument
1622 eq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, enum res_eq_states state, struct res_eq **eq) eq_res_start_move_to() argument
1671 cq_res_start_move_to(struct mlx4_dev *dev, int slave, int cqn, enum res_cq_states state, struct res_cq **cq) cq_res_start_move_to() argument
1711 srq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, enum res_srq_states state, struct res_srq **srq) srq_res_start_move_to() argument
1747 res_abort_move(struct mlx4_dev *dev, int slave, enum mlx4_resource type, int id) res_abort_move() argument
1761 res_end_move(struct mlx4_dev *dev, int slave, enum mlx4_resource type, int id) res_end_move() argument
1775 valid_reserved(struct mlx4_dev *dev, int slave, int qpn) valid_reserved() argument
1781 fw_reserved(struct mlx4_dev *dev, int qpn) fw_reserved() argument
1786 qp_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) qp_alloc_res() argument
1853 mtt_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) mtt_alloc_res() argument
1886 mpt_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) mpt_alloc_res() argument
1935 cq_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) cq_alloc_res() argument
1970 srq_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) srq_alloc_res() argument
2005 mac_find_smac_ix_in_slave(struct mlx4_dev *dev, int slave, int port, u8 smac_index, u64 *mac) mac_find_smac_ix_in_slave() argument
2023 mac_add_to_slave(struct mlx4_dev *dev, int slave, u64 mac, int port, u8 smac_index) mac_add_to_slave() argument
2055 mac_del_from_slave(struct mlx4_dev *dev, int slave, u64 mac, int port) mac_del_from_slave() argument
2076 rem_slave_macs(struct mlx4_dev *dev, int slave) rem_slave_macs() argument
2095 mac_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int in_port) mac_alloc_res() argument
2129 vlan_add_to_slave(struct mlx4_dev *dev, int slave, u16 vlan, int port, int vlan_index) vlan_add_to_slave() argument
2163 vlan_del_from_slave(struct mlx4_dev *dev, int slave, u16 vlan, int port) vlan_del_from_slave() argument
2185 rem_slave_vlans(struct mlx4_dev *dev, int slave) rem_slave_vlans() argument
2204 vlan_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int in_port) vlan_alloc_res() argument
2242 counter_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int port) counter_alloc_res() argument
2272 xrcdn_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) xrcdn_alloc_res() argument
2294 mlx4_ALLOC_RES_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_ALLOC_RES_wrapper() argument
2359 qp_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param) qp_free_res() argument
2399 mtt_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) mtt_free_res() argument
2419 mpt_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param) mpt_free_res() argument
2461 cq_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) cq_free_res() argument
2486 srq_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) srq_free_res() argument
2511 mac_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int in_port) mac_free_res() argument
2537 vlan_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int port) vlan_free_res() argument
2566 counter_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) counter_free_res() argument
2589 xrcdn_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) xrcdn_free_res() argument
2608 mlx4_FREE_RES_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_FREE_RES_wrapper() argument
2743 check_mtt_range(struct mlx4_dev *dev, int slave, int start, int size, struct res_mtt *mtt) check_mtt_range() argument
2754 mlx4_SW2HW_MPT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_SW2HW_MPT_wrapper() argument
2837 mlx4_HW2SW_MPT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_HW2SW_MPT_wrapper() argument
2869 mlx4_QUERY_MPT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_QUERY_MPT_wrapper() argument
2934 adjust_proxy_tun_qkey(struct mlx4_dev *dev, struct mlx4_vhcr *vhcr, struct mlx4_qp_context *context) adjust_proxy_tun_qkey() argument
2951 mlx4_RST2INIT_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_RST2INIT_QP_wrapper() argument
3092 mlx4_SW2HW_EQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_SW2HW_EQ_wrapper() argument
3141 mlx4_CONFIG_DEV_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_CONFIG_DEV_wrapper() argument
3158 get_containing_mtt(struct mlx4_dev *dev, int slave, int start, int len, struct res_mtt **res) get_containing_mtt() argument
3182 verify_qp_parameters(struct mlx4_dev *dev, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, enum qp_transition transition, u8 slave) verify_qp_parameters() argument
3262 mlx4_WRITE_MTT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_WRITE_MTT_wrapper() argument
3300 mlx4_HW2SW_EQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_HW2SW_EQ_wrapper() argument
3338 mlx4_GEN_EQE(struct mlx4_dev *dev, int slave, struct mlx4_eqe *eqe) mlx4_GEN_EQE() argument
3406 mlx4_QUERY_EQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_QUERY_EQ_wrapper() argument
3433 mlx4_SW2HW_CQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_SW2HW_CQ_wrapper() argument
3471 mlx4_HW2SW_CQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_HW2SW_CQ_wrapper() argument
3496 mlx4_QUERY_CQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_QUERY_CQ_wrapper() argument
3520 handle_resize(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd, struct res_cq *cq) handle_resize() argument
3568 mlx4_MODIFY_CQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_MODIFY_CQ_wrapper() argument
3609 mlx4_SW2HW_SRQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_SW2HW_SRQ_wrapper() argument
3654 mlx4_HW2SW_SRQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_HW2SW_SRQ_wrapper() argument
3683 mlx4_QUERY_SRQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_QUERY_SRQ_wrapper() argument
3706 mlx4_ARM_SRQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_ARM_SRQ_wrapper() argument
3731 mlx4_GEN_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_GEN_QP_wrapper() argument
3755 mlx4_INIT2INIT_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_INIT2INIT_QP_wrapper() argument
3767 adjust_qp_sched_queue(struct mlx4_dev *dev, int slave, struct mlx4_qp_context *qpc, struct mlx4_cmd_mailbox *inbox) adjust_qp_sched_queue() argument
3800 roce_verify_mac(struct mlx4_dev *dev, int slave, struct mlx4_qp_context *qpc, struct mlx4_cmd_mailbox *inbox) roce_verify_mac() argument
3819 mlx4_INIT2RTR_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_INIT2RTR_QP_wrapper() argument
3881 mlx4_RTR2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_RTR2RTS_QP_wrapper() argument
3903 mlx4_RTS2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_RTS2RTS_QP_wrapper() argument
3926 mlx4_SQERR2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_SQERR2RTS_QP_wrapper() argument
3940 mlx4_SQD2SQD_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_SQD2SQD_QP_wrapper() argument
3962 mlx4_SQD2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_SQD2RTS_QP_wrapper() argument
3984 mlx4_2RST_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_2RST_QP_wrapper() argument
4015 find_gid(struct mlx4_dev *dev, int slave, struct res_qp *rqp, u8 *gid) find_gid() argument
4027 add_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, u8 *gid, enum mlx4_protocol prot, enum mlx4_steer_type steer, u64 reg_id) add_mcg_res() argument
4055 rem_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, u8 *gid, enum mlx4_protocol prot, enum mlx4_steer_type steer, u64 *reg_id) rem_mcg_res() argument
4077 qp_attach(struct mlx4_dev *dev, int slave, struct mlx4_qp *qp, u8 gid[16], int block_loopback, enum mlx4_protocol prot, enum mlx4_steer_type type, u64 *reg_id) qp_attach() argument
4104 qp_detach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], enum mlx4_protocol prot, enum mlx4_steer_type type, u64 reg_id) qp_detach() argument
4118 mlx4_adjust_port(struct mlx4_dev *dev, int slave, u8 *gid, enum mlx4_protocol prot) mlx4_adjust_port() argument
4137 mlx4_QP_ATTACH_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_QP_ATTACH_wrapper() argument
4224 add_eth_header(struct mlx4_dev *dev, int slave, struct mlx4_cmd_mailbox *inbox, struct list_head *rlist, int header_id) add_eth_header() argument
4283 mlx4_UPDATE_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd_info) mlx4_UPDATE_QP_wrapper() argument
4365 mlx4_QP_FLOW_STEERING_ATTACH_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_QP_FLOW_STEERING_ATTACH_wrapper() argument
4484 mlx4_undo_mirror_rule(struct mlx4_dev *dev, struct res_fs_rule *fs_rule) mlx4_undo_mirror_rule() argument
4499 mlx4_QP_FLOW_STEERING_DETACH_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_QP_FLOW_STEERING_DETACH_wrapper() argument
4563 mlx4_QUERY_IF_STAT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_QUERY_IF_STAT_wrapper() argument
4581 detach_qp(struct mlx4_dev *dev, int slave, struct res_qp *rqp) detach_qp() argument
4603 _move_all_busy(struct mlx4_dev *dev, int slave, enum mlx4_resource type, int print) _move_all_busy() argument
4639 move_all_busy(struct mlx4_dev *dev, int slave, enum mlx4_resource type) move_all_busy() argument
4659 rem_slave_qps(struct mlx4_dev *dev, int slave) rem_slave_qps() argument
4732 rem_slave_srqs(struct mlx4_dev *dev, int slave) rem_slave_srqs() argument
4797 rem_slave_cqs(struct mlx4_dev *dev, int slave) rem_slave_cqs() argument
4859 rem_slave_mrs(struct mlx4_dev *dev, int slave) rem_slave_mrs() argument
4926 rem_slave_mtts(struct mlx4_dev *dev, int slave) rem_slave_mtts() argument
4976 mlx4_do_mirror_rule(struct mlx4_dev *dev, struct res_fs_rule *fs_rule) mlx4_do_mirror_rule() argument
5025 mlx4_mirror_fs_rules(struct mlx4_dev *dev, bool bond) mlx4_mirror_fs_rules() argument
5052 mlx4_bond_fs_rules(struct mlx4_dev *dev) mlx4_bond_fs_rules() argument
5057 mlx4_unbond_fs_rules(struct mlx4_dev *dev) mlx4_unbond_fs_rules() argument
5062 rem_slave_fs_rule(struct mlx4_dev *dev, int slave) rem_slave_fs_rule() argument
5115 rem_slave_eqs(struct mlx4_dev *dev, int slave) rem_slave_eqs() argument
5172 rem_slave_counters(struct mlx4_dev *dev, int slave) rem_slave_counters() argument
5218 rem_slave_xrcdns(struct mlx4_dev *dev, int slave) rem_slave_xrcdns() argument
5247 mlx4_delete_all_resources_for_slave(struct mlx4_dev *dev, int slave) mlx4_delete_all_resources_for_slave() argument
5279 struct mlx4_dev *dev = &work->priv->dev; mlx4_vf_immed_vlan_work_handler() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c306 static void rem_slave_vlans(struct mlx4_dev *dev, int slave);
307 static inline int mlx4_grant_resource(struct mlx4_dev *dev, int slave, in mlx4_grant_resource() argument
311 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_grant_resource()
318 if (slave > dev->persist->num_vfs) in mlx4_grant_resource()
324 (dev->persist->num_vfs + 1) + slave] : in mlx4_grant_resource()
333 mlx4_warn(dev, "VF %d port %d res %s: quota exceeded, count %d alloc %d quota %d\n", in mlx4_grant_resource()
354 mlx4_warn(dev, "VF %d port %d res %s: free pool empty, free %d from_free %d rsvd %d\n", in mlx4_grant_resource()
363 (dev->persist->num_vfs + 1) + slave] += count; in mlx4_grant_resource()
378 static inline void mlx4_release_resource(struct mlx4_dev *dev, int slave, in mlx4_release_resource() argument
382 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_release_resource()
423 initialize_res_quotas(struct mlx4_dev *dev, struct resource_allocator *res_alloc, enum mlx4_resource res_type, int vf, int num_instances) initialize_res_quotas() argument
442 mlx4_init_quotas(struct mlx4_dev *dev) mlx4_init_quotas() argument
475 mlx4_calc_res_counter_guaranteed(struct mlx4_dev *dev, struct resource_allocator *res_alloc, int vf) mlx4_calc_res_counter_guaranteed() argument
501 mlx4_init_resource_tracker(struct mlx4_dev *dev) mlx4_init_resource_tracker() argument
655 mlx4_free_resource_tracker(struct mlx4_dev *dev, enum mlx4_res_tracker_free_type type) mlx4_free_resource_tracker() argument
691 update_pkey_index(struct mlx4_dev *dev, int slave, struct mlx4_cmd_mailbox *inbox) update_pkey_index() argument
706 update_gid(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *inbox, u8 slave) update_gid() argument
749 update_vport_qp_param(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *inbox, u8 slave, u32 qpn) update_vport_qp_param() argument
847 mpt_mask(struct mlx4_dev *dev) mpt_mask() argument
882 find_res(struct mlx4_dev *dev, u64 res_id, enum mlx4_resource type) find_res() argument
891 _get_res(struct mlx4_dev *dev, int slave, u64 res_id, enum mlx4_resource type, void *res, const char *func_name) _get_res() argument
934 mlx4_get_slave_from_resource_id(struct mlx4_dev *dev, enum mlx4_resource type, u64 res_id, int *slave) mlx4_get_slave_from_resource_id() argument
957 put_res(struct mlx4_dev *dev, int slave, u64 res_id, enum mlx4_resource type) put_res() argument
974 handle_existing_counter(struct mlx4_dev *dev, u8 slave, int port, int counter_index) handle_existing_counter() argument
998 handle_unexisting_counter(struct mlx4_dev *dev, struct mlx4_qp_context *qpc, u8 slave, int port) handle_unexisting_counter() argument
1040 handle_counter(struct mlx4_dev *dev, struct mlx4_qp_context *qpc, u8 slave, int port) handle_counter() argument
1231 mlx4_calc_vf_counters(struct mlx4_dev *dev, int slave, int port, struct mlx4_counter *data) mlx4_calc_vf_counters() argument
1278 add_res_range(struct mlx4_dev *dev, int slave, u64 base, int count, enum mlx4_resource type, int extra) add_res_range() argument
1465 rem_res_range(struct mlx4_dev *dev, int slave, u64 base, int count, enum mlx4_resource type, int extra) rem_res_range() argument
1504 qp_res_start_move_to(struct mlx4_dev *dev, int slave, int qpn, enum res_qp_states state, struct res_qp **qp, int alloc) qp_res_start_move_to() argument
1569 mr_res_start_move_to(struct mlx4_dev *dev, int slave, int index, enum res_mpt_states state, struct res_mpt **mpt) mr_res_start_move_to() argument
1622 eq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, enum res_eq_states state, struct res_eq **eq) eq_res_start_move_to() argument
1671 cq_res_start_move_to(struct mlx4_dev *dev, int slave, int cqn, enum res_cq_states state, struct res_cq **cq) cq_res_start_move_to() argument
1711 srq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, enum res_srq_states state, struct res_srq **srq) srq_res_start_move_to() argument
1747 res_abort_move(struct mlx4_dev *dev, int slave, enum mlx4_resource type, int id) res_abort_move() argument
1761 res_end_move(struct mlx4_dev *dev, int slave, enum mlx4_resource type, int id) res_end_move() argument
1775 valid_reserved(struct mlx4_dev *dev, int slave, int qpn) valid_reserved() argument
1781 fw_reserved(struct mlx4_dev *dev, int qpn) fw_reserved() argument
1786 qp_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) qp_alloc_res() argument
1853 mtt_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) mtt_alloc_res() argument
1886 mpt_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) mpt_alloc_res() argument
1935 cq_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) cq_alloc_res() argument
1970 srq_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) srq_alloc_res() argument
2005 mac_find_smac_ix_in_slave(struct mlx4_dev *dev, int slave, int port, u8 smac_index, u64 *mac) mac_find_smac_ix_in_slave() argument
2023 mac_add_to_slave(struct mlx4_dev *dev, int slave, u64 mac, int port, u8 smac_index) mac_add_to_slave() argument
2055 mac_del_from_slave(struct mlx4_dev *dev, int slave, u64 mac, int port) mac_del_from_slave() argument
2076 rem_slave_macs(struct mlx4_dev *dev, int slave) rem_slave_macs() argument
2095 mac_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int in_port) mac_alloc_res() argument
2129 vlan_add_to_slave(struct mlx4_dev *dev, int slave, u16 vlan, int port, int vlan_index) vlan_add_to_slave() argument
2163 vlan_del_from_slave(struct mlx4_dev *dev, int slave, u16 vlan, int port) vlan_del_from_slave() argument
2185 rem_slave_vlans(struct mlx4_dev *dev, int slave) rem_slave_vlans() argument
2204 vlan_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int in_port) vlan_alloc_res() argument
2242 counter_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int port) counter_alloc_res() argument
2272 xrcdn_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) xrcdn_alloc_res() argument
2294 mlx4_ALLOC_RES_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_ALLOC_RES_wrapper() argument
2359 qp_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param) qp_free_res() argument
2399 mtt_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) mtt_free_res() argument
2419 mpt_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param) mpt_free_res() argument
2461 cq_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) cq_free_res() argument
2486 srq_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) srq_free_res() argument
2511 mac_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int in_port) mac_free_res() argument
2537 vlan_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int port) vlan_free_res() argument
2566 counter_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) counter_free_res() argument
2589 xrcdn_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) xrcdn_free_res() argument
2608 mlx4_FREE_RES_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_FREE_RES_wrapper() argument
2744 check_mtt_range(struct mlx4_dev *dev, int slave, int start, int size, struct res_mtt *mtt) check_mtt_range() argument
2755 mlx4_SW2HW_MPT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_SW2HW_MPT_wrapper() argument
2838 mlx4_HW2SW_MPT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_HW2SW_MPT_wrapper() argument
2870 mlx4_QUERY_MPT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_QUERY_MPT_wrapper() argument
2935 adjust_proxy_tun_qkey(struct mlx4_dev *dev, struct mlx4_vhcr *vhcr, struct mlx4_qp_context *context) adjust_proxy_tun_qkey() argument
2952 mlx4_RST2INIT_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_RST2INIT_QP_wrapper() argument
3093 mlx4_SW2HW_EQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_SW2HW_EQ_wrapper() argument
3142 mlx4_CONFIG_DEV_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_CONFIG_DEV_wrapper() argument
3159 get_containing_mtt(struct mlx4_dev *dev, int slave, int start, int len, struct res_mtt **res) get_containing_mtt() argument
3183 verify_qp_parameters(struct mlx4_dev *dev, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, enum qp_transition transition, u8 slave) verify_qp_parameters() argument
3263 mlx4_WRITE_MTT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_WRITE_MTT_wrapper() argument
3301 mlx4_HW2SW_EQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_HW2SW_EQ_wrapper() argument
3339 mlx4_GEN_EQE(struct mlx4_dev *dev, int slave, struct mlx4_eqe *eqe) mlx4_GEN_EQE() argument
3407 mlx4_QUERY_EQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_QUERY_EQ_wrapper() argument
3434 mlx4_SW2HW_CQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_SW2HW_CQ_wrapper() argument
3472 mlx4_HW2SW_CQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_HW2SW_CQ_wrapper() argument
3497 mlx4_QUERY_CQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_QUERY_CQ_wrapper() argument
3521 handle_resize(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd, struct res_cq *cq) handle_resize() argument
3569 mlx4_MODIFY_CQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_MODIFY_CQ_wrapper() argument
3610 mlx4_SW2HW_SRQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_SW2HW_SRQ_wrapper() argument
3655 mlx4_HW2SW_SRQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_HW2SW_SRQ_wrapper() argument
3684 mlx4_QUERY_SRQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_QUERY_SRQ_wrapper() argument
3707 mlx4_ARM_SRQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_ARM_SRQ_wrapper() argument
3732 mlx4_GEN_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_GEN_QP_wrapper() argument
3756 mlx4_INIT2INIT_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_INIT2INIT_QP_wrapper() argument
3768 adjust_qp_sched_queue(struct mlx4_dev *dev, int slave, struct mlx4_qp_context *qpc, struct mlx4_cmd_mailbox *inbox) adjust_qp_sched_queue() argument
3801 roce_verify_mac(struct mlx4_dev *dev, int slave, struct mlx4_qp_context *qpc, struct mlx4_cmd_mailbox *inbox) roce_verify_mac() argument
3820 mlx4_INIT2RTR_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_INIT2RTR_QP_wrapper() argument
3882 mlx4_RTR2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_RTR2RTS_QP_wrapper() argument
3904 mlx4_RTS2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_RTS2RTS_QP_wrapper() argument
3927 mlx4_SQERR2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_SQERR2RTS_QP_wrapper() argument
3941 mlx4_SQD2SQD_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_SQD2SQD_QP_wrapper() argument
3963 mlx4_SQD2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_SQD2RTS_QP_wrapper() argument
3985 mlx4_2RST_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_2RST_QP_wrapper() argument
4016 find_gid(struct mlx4_dev *dev, int slave, struct res_qp *rqp, u8 *gid) find_gid() argument
4028 add_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, u8 *gid, enum mlx4_protocol prot, enum mlx4_steer_type steer, u64 reg_id) add_mcg_res() argument
4056 rem_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, u8 *gid, enum mlx4_protocol prot, enum mlx4_steer_type steer, u64 *reg_id) rem_mcg_res() argument
4078 qp_attach(struct mlx4_dev *dev, int slave, struct mlx4_qp *qp, u8 gid[16], int block_loopback, enum mlx4_protocol prot, enum mlx4_steer_type type, u64 *reg_id) qp_attach() argument
4105 qp_detach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], enum mlx4_protocol prot, enum mlx4_steer_type type, u64 reg_id) qp_detach() argument
4119 mlx4_adjust_port(struct mlx4_dev *dev, int slave, u8 *gid, enum mlx4_protocol prot) mlx4_adjust_port() argument
4138 mlx4_QP_ATTACH_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_QP_ATTACH_wrapper() argument
4225 add_eth_header(struct mlx4_dev *dev, int slave, struct mlx4_cmd_mailbox *inbox, struct list_head *rlist, int header_id) add_eth_header() argument
4284 mlx4_UPDATE_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd_info) mlx4_UPDATE_QP_wrapper() argument
4366 mlx4_QP_FLOW_STEERING_ATTACH_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_QP_FLOW_STEERING_ATTACH_wrapper() argument
4485 mlx4_undo_mirror_rule(struct mlx4_dev *dev, struct res_fs_rule *fs_rule) mlx4_undo_mirror_rule() argument
4500 mlx4_QP_FLOW_STEERING_DETACH_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_QP_FLOW_STEERING_DETACH_wrapper() argument
4564 mlx4_QUERY_IF_STAT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) mlx4_QUERY_IF_STAT_wrapper() argument
4582 detach_qp(struct mlx4_dev *dev, int slave, struct res_qp *rqp) detach_qp() argument
4604 _move_all_busy(struct mlx4_dev *dev, int slave, enum mlx4_resource type, int print) _move_all_busy() argument
4640 move_all_busy(struct mlx4_dev *dev, int slave, enum mlx4_resource type) move_all_busy() argument
4660 rem_slave_qps(struct mlx4_dev *dev, int slave) rem_slave_qps() argument
4733 rem_slave_srqs(struct mlx4_dev *dev, int slave) rem_slave_srqs() argument
4798 rem_slave_cqs(struct mlx4_dev *dev, int slave) rem_slave_cqs() argument
4860 rem_slave_mrs(struct mlx4_dev *dev, int slave) rem_slave_mrs() argument
4927 rem_slave_mtts(struct mlx4_dev *dev, int slave) rem_slave_mtts() argument
4977 mlx4_do_mirror_rule(struct mlx4_dev *dev, struct res_fs_rule *fs_rule) mlx4_do_mirror_rule() argument
5026 mlx4_mirror_fs_rules(struct mlx4_dev *dev, bool bond) mlx4_mirror_fs_rules() argument
5053 mlx4_bond_fs_rules(struct mlx4_dev *dev) mlx4_bond_fs_rules() argument
5058 mlx4_unbond_fs_rules(struct mlx4_dev *dev) mlx4_unbond_fs_rules() argument
5063 rem_slave_fs_rule(struct mlx4_dev *dev, int slave) rem_slave_fs_rule() argument
5116 rem_slave_eqs(struct mlx4_dev *dev, int slave) rem_slave_eqs() argument
5173 rem_slave_counters(struct mlx4_dev *dev, int slave) rem_slave_counters() argument
5219 rem_slave_xrcdns(struct mlx4_dev *dev, int slave) rem_slave_xrcdns() argument
5248 mlx4_delete_all_resources_for_slave(struct mlx4_dev *dev, int slave) mlx4_delete_all_resources_for_slave() argument
5280 struct mlx4_dev *dev = &work->priv->dev; mlx4_vf_immed_vlan_work_handler() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/i825xx/
H A D82596.c361 static int i596_open(struct net_device *dev);
362 static netdev_tx_t i596_start_xmit(struct sk_buff *skb, struct net_device *dev);
364 static int i596_close(struct net_device *dev);
365 static void i596_add_cmd(struct net_device *dev, struct i596_cmd *cmd);
366 static void i596_tx_timeout (struct net_device *dev, unsigned int txqueue);
368 static void set_multicast_list(struct net_device *dev);
375 static inline void CA(struct net_device *dev) in CA() argument
379 ((struct i596_reg *) dev->base_addr)->ca = 1; in CA()
386 i = *(volatile u32 *) (dev->base_addr); in CA()
392 static inline void MPU_PORT(struct net_device *dev, in argument
413 wait_istat(struct net_device *dev, struct i596_private *lp, int delcnt, char *str) wait_istat() argument
427 wait_cmd(struct net_device *dev, struct i596_private *lp, int delcnt, char *str) wait_cmd() argument
441 wait_cfg(struct net_device *dev, struct i596_cmd *cmd, int delcnt, char *str) wait_cfg() argument
456 i596_display_data(struct net_device *dev) i596_display_data() argument
503 struct net_device *dev = dev_id; i596_error() local
526 remove_rx_bufs(struct net_device *dev) remove_rx_bufs() argument
540 init_rx_bufs(struct net_device *dev) init_rx_bufs() argument
596 rebuild_rx_bufs(struct net_device *dev) rebuild_rx_bufs() argument
615 init_i596_mem(struct net_device *dev) init_i596_mem() argument
745 i596_rx(struct net_device *dev) i596_rx() argument
877 i596_cleanup_cmd(struct net_device *dev, struct i596_private *lp) i596_cleanup_cmd() argument
910 i596_reset(struct net_device *dev, struct i596_private *lp, int ioaddr) i596_reset() argument
937 i596_add_cmd(struct net_device *dev, struct i596_cmd *cmd) i596_add_cmd() argument
978 i596_open(struct net_device *dev) i596_open() argument
1022 i596_tx_timeout(struct net_device *dev, unsigned int txqueue) i596_tx_timeout() argument
1050 i596_start_xmit(struct sk_buff *skb, struct net_device *dev) i596_start_xmit() argument
1128 struct net_device *dev; i82596_probe() local
1242 struct net_device *dev = dev_id; i596_interrupt() local
1399 i596_close(struct net_device *dev) i596_close() argument
1452 set_multicast_list(struct net_device *dev) set_multicast_list() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wan/
H A Dsbni.c187 #define NET_LOCAL_LOCK(dev) (((struct net_local *)netdev_priv(dev))->lock)
190 * Look for SBNI card which addr stored in dev->base_addr, if nonzero.
195 sbni_isa_probe( struct net_device *dev ) in sbni_isa_probe()
197 if( dev->base_addr > 0x1ff && in sbni_isa_probe()
198 request_region( dev->base_addr, SBNI_IO_EXTENT, dev->name ) && in sbni_isa_probe()
199 sbni_probe1( dev, dev->base_addr, dev in sbni_isa_probe()
219 sbni_devsetup(struct net_device *dev) sbni_devsetup() argument
227 struct net_device *dev; sbni_probe() local
256 sbni_init(struct net_device *dev) sbni_init() argument
349 sbni_probe1( struct net_device *dev, unsigned long ioaddr, int irq ) sbni_probe1() argument
507 struct net_device *dev = dev_id; sbni_interrupt() local
686 download_data( struct net_device *dev, u32 *crc_p ) download_data() argument
705 upload_data( struct net_device *dev, unsigned framelen, unsigned frameno, unsigned is_first, u32 crc ) upload_data() argument
784 interpret_ack( struct net_device *dev, unsigned ack ) interpret_ack() argument
819 append_frame_to_pkt( struct net_device *dev, unsigned framelen, u32 crc ) append_frame_to_pkt() argument
912 send_frame_header( struct net_device *dev, u32 *crc_p ) send_frame_header() argument
1047 struct net_device *dev = nl->watchdog_dev; sbni_watchdog() local
1300 sbni_ioctl( struct net_device *dev, struct ifreq *ifr, int cmd ) sbni_ioctl() argument
1393 enslave( struct net_device *dev, struct net_device *slave_dev ) enslave() argument
1485 struct net_device *dev; init_module() local
1518 struct net_device *dev = sbni_cards[i]; cleanup_module() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/rtl8192e/
H A Dr8192E_dev.c21 void rtl92e_start_beacon(struct net_device *dev) in rtl92e_start_beacon() argument
23 struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev); in rtl92e_start_beacon()
29 rtl92e_irq_disable(dev); in rtl92e_start_beacon()
31 rtl92e_writew(dev, ATIMWND, 2); in rtl92e_start_beacon()
33 rtl92e_writew(dev, BCN_INTERVAL, net->beacon_interval); in rtl92e_start_beacon()
34 rtl92e_writew(dev, BCN_DRV_EARLY_INT, 10); in rtl92e_start_beacon()
35 rtl92e_writew(dev, BCN_DMATIME, 256); in rtl92e_start_beacon()
37 rtl92e_writeb(dev, BCN_ERR_THRESH, 100); in rtl92e_start_beacon()
41 rtl92e_writew(dev, BCN_TCFG, BcnTimeCfg); in rtl92e_start_beacon()
42 rtl92e_irq_enable(dev); in rtl92e_start_beacon()
45 _rtl92e_update_msr(struct net_device *dev) _rtl92e_update_msr() argument
83 rtl92e_set_reg(struct net_device *dev, u8 variable, u8 *val) rtl92e_set_reg() argument
298 _rtl92e_read_eeprom_info(struct net_device *dev) _rtl92e_read_eeprom_info() argument
608 rtl92e_get_eeprom_size(struct net_device *dev) rtl92e_get_eeprom_size() argument
624 _rtl92e_hwconfig(struct net_device *dev) _rtl92e_hwconfig() argument
685 rtl92e_start_adapter(struct net_device *dev) rtl92e_start_adapter() argument
939 _rtl92e_net_update(struct net_device *dev) _rtl92e_net_update() argument
968 rtl92e_link_change(struct net_device *dev) rtl92e_link_change() argument
1003 rtl92e_set_monitor_mode(struct net_device *dev, bool bAllowAllDA, bool WriteIntoReg) rtl92e_set_monitor_mode() argument
1115 _rtl92e_hw_queue_to_fw_queue(struct net_device *dev, u8 QueueID, u8 priority) _rtl92e_hw_queue_to_fw_queue() argument
1168 rtl92e_fill_tx_desc(struct net_device *dev, struct tx_desc *pdesc, struct cb_desc *cb_desc, struct sk_buff *skb) rtl92e_fill_tx_desc() argument
1281 rtl92e_fill_tx_cmd_desc(struct net_device *dev, struct tx_desc_cmd *entry, struct cb_desc *cb_desc, struct sk_buff *skb) rtl92e_fill_tx_cmd_desc() argument
1845 _rtl92e_translate_rx_signal_stats(struct net_device *dev, struct sk_buff *skb, struct rtllib_rx_stats *pstats, struct rx_desc *pdesc, struct rx_fwinfo *pdrvinfo) _rtl92e_translate_rx_signal_stats() argument
1890 _rtl92e_update_received_rate_histogram_stats( struct net_device *dev, struct rtllib_rx_stats *pstats) _rtl92e_update_received_rate_histogram_stats() argument
2003 rtl92e_get_rx_stats(struct net_device *dev, struct rtllib_rx_stats *stats, struct rx_desc *pdesc, struct sk_buff *skb) rtl92e_get_rx_stats() argument
2073 rtl92e_stop_adapter(struct net_device *dev, bool reset) rtl92e_stop_adapter() argument
2120 rtl92e_update_ratr_table(struct net_device *dev) rtl92e_update_ratr_table() argument
2168 rtl92e_init_variables(struct net_device *dev) rtl92e_init_variables() argument
2202 rtl92e_enable_irq(struct net_device *dev) rtl92e_enable_irq() argument
2212 rtl92e_disable_irq(struct net_device *dev) rtl92e_disable_irq() argument
2221 rtl92e_clear_irq(struct net_device *dev) rtl92e_clear_irq() argument
2230 rtl92e_enable_rx(struct net_device *dev) rtl92e_enable_rx() argument
2241 rtl92e_enable_tx(struct net_device *dev) rtl92e_enable_tx() argument
2251 rtl92e_ack_irq(struct net_device *dev, u32 *p_inta, u32 *p_intb) rtl92e_ack_irq() argument
2257 rtl92e_is_rx_stuck(struct net_device *dev) rtl92e_is_rx_stuck() argument
2321 rtl92e_is_tx_stuck(struct net_device *dev) rtl92e_is_tx_stuck() argument
2338 rtl92e_get_nmode_support_by_sec(struct net_device *dev) rtl92e_get_nmode_support_by_sec() argument
2352 rtl92e_is_halfn_supported_by_ap(struct net_device *dev) rtl92e_is_halfn_supported_by_ap() argument
[all...]
/kernel/linux/linux-6.6/net/wireless/
H A Drdev-ops.h69 struct net_device *dev, enum nl80211_iftype type, in rdev_change_virtual_intf()
73 trace_rdev_change_virtual_intf(&rdev->wiphy, dev, type); in rdev_change_virtual_intf()
74 ret = rdev->ops->change_virtual_intf(&rdev->wiphy, dev, type, params); in rdev_change_virtual_intf()
164 struct net_device *dev, in rdev_start_ap()
168 trace_rdev_start_ap(&rdev->wiphy, dev, settings); in rdev_start_ap()
169 ret = rdev->ops->start_ap(&rdev->wiphy, dev, settings); in rdev_start_ap()
175 struct net_device *dev, in rdev_change_beacon()
179 trace_rdev_change_beacon(&rdev->wiphy, dev, info); in rdev_change_beacon()
180 ret = rdev->ops->change_beacon(&rdev->wiphy, dev, info); in rdev_change_beacon()
186 struct net_device *dev, unsigne in rdev_stop_ap()
68 rdev_change_virtual_intf(struct cfg80211_registered_device *rdev, struct net_device *dev, enum nl80211_iftype type, struct vif_params *params) rdev_change_virtual_intf() argument
163 rdev_start_ap(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_ap_settings *settings) rdev_start_ap() argument
174 rdev_change_beacon(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_beacon_data *info) rdev_change_beacon() argument
185 rdev_stop_ap(struct cfg80211_registered_device *rdev, struct net_device *dev, unsigned int link_id) rdev_stop_ap() argument
195 rdev_add_station(struct cfg80211_registered_device *rdev, struct net_device *dev, u8 *mac, struct station_parameters *params) rdev_add_station() argument
206 rdev_del_station(struct cfg80211_registered_device *rdev, struct net_device *dev, struct station_del_parameters *params) rdev_del_station() argument
217 rdev_change_station(struct cfg80211_registered_device *rdev, struct net_device *dev, u8 *mac, struct station_parameters *params) rdev_change_station() argument
228 rdev_get_station(struct cfg80211_registered_device *rdev, struct net_device *dev, const u8 *mac, struct station_info *sinfo) rdev_get_station() argument
239 rdev_dump_station(struct cfg80211_registered_device *rdev, struct net_device *dev, int idx, u8 *mac, struct station_info *sinfo) rdev_dump_station() argument
250 rdev_add_mpath(struct cfg80211_registered_device *rdev, struct net_device *dev, u8 *dst, u8 *next_hop) rdev_add_mpath() argument
260 rdev_del_mpath(struct cfg80211_registered_device *rdev, struct net_device *dev, u8 *dst) rdev_del_mpath() argument
270 rdev_change_mpath(struct cfg80211_registered_device *rdev, struct net_device *dev, u8 *dst, u8 *next_hop) rdev_change_mpath() argument
281 rdev_get_mpath(struct cfg80211_registered_device *rdev, struct net_device *dev, u8 *dst, u8 *next_hop, struct mpath_info *pinfo) rdev_get_mpath() argument
293 rdev_get_mpp(struct cfg80211_registered_device *rdev, struct net_device *dev, u8 *dst, u8 *mpp, struct mpath_info *pinfo) rdev_get_mpp() argument
305 rdev_dump_mpath(struct cfg80211_registered_device *rdev, struct net_device *dev, int idx, u8 *dst, u8 *next_hop, struct mpath_info *pinfo) rdev_dump_mpath() argument
318 rdev_dump_mpp(struct cfg80211_registered_device *rdev, struct net_device *dev, int idx, u8 *dst, u8 *mpp, struct mpath_info *pinfo) rdev_dump_mpp() argument
332 rdev_get_mesh_config(struct cfg80211_registered_device *rdev, struct net_device *dev, struct mesh_config *conf) rdev_get_mesh_config() argument
343 rdev_update_mesh_config(struct cfg80211_registered_device *rdev, struct net_device *dev, u32 mask, const struct mesh_config *nconf) rdev_update_mesh_config() argument
354 rdev_join_mesh(struct cfg80211_registered_device *rdev, struct net_device *dev, const struct mesh_config *conf, const struct mesh_setup *setup) rdev_join_mesh() argument
367 rdev_leave_mesh(struct cfg80211_registered_device *rdev, struct net_device *dev) rdev_leave_mesh() argument
377 rdev_join_ocb(struct cfg80211_registered_device *rdev, struct net_device *dev, struct ocb_setup *setup) rdev_join_ocb() argument
388 rdev_leave_ocb(struct cfg80211_registered_device *rdev, struct net_device *dev) rdev_leave_ocb() argument
398 rdev_change_bss(struct cfg80211_registered_device *rdev, struct net_device *dev, struct bss_parameters *params) rdev_change_bss() argument
422 rdev_set_txq_params(struct cfg80211_registered_device *rdev, struct net_device *dev, struct ieee80211_txq_params *params) rdev_set_txq_params() argument
435 rdev_libertas_set_mesh_channel(struct cfg80211_registered_device *rdev, struct net_device *dev, struct ieee80211_channel *chan) rdev_libertas_set_mesh_channel() argument
475 rdev_auth(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_auth_request *req) rdev_auth() argument
486 rdev_assoc(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_assoc_request *req) rdev_assoc() argument
498 rdev_deauth(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_deauth_request *req) rdev_deauth() argument
509 rdev_disassoc(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_disassoc_request *req) rdev_disassoc() argument
520 rdev_connect(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_connect_params *sme) rdev_connect() argument
532 rdev_update_connect_params(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_connect_params *sme, u32 changed) rdev_update_connect_params() argument
543 rdev_disconnect(struct cfg80211_registered_device *rdev, struct net_device *dev, u16 reason_code) rdev_disconnect() argument
553 rdev_join_ibss(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_ibss_params *params) rdev_join_ibss() argument
564 rdev_leave_ibss(struct cfg80211_registered_device *rdev, struct net_device *dev) rdev_leave_ibss() argument
610 rdev_set_multicast_to_unicast(struct cfg80211_registered_device *rdev, struct net_device *dev, const bool enabled) rdev_set_multicast_to_unicast() argument
667 rdev_set_bitrate_mask(struct cfg80211_registered_device *rdev, struct net_device *dev, unsigned int link_id, const u8 *peer, const struct cfg80211_bitrate_mask *mask) rdev_set_bitrate_mask() argument
763 rdev_tx_control_port(struct cfg80211_registered_device *rdev, struct net_device *dev, const void *buf, size_t len, const u8 *dest, __be16 proto, const bool noencrypt, int link, u64 *cookie) rdev_tx_control_port() argument
793 rdev_set_power_mgmt(struct cfg80211_registered_device *rdev, struct net_device *dev, bool enabled, int timeout) rdev_set_power_mgmt() argument
805 rdev_set_cqm_rssi_config(struct cfg80211_registered_device *rdev, struct net_device *dev, s32 rssi_thold, u32 rssi_hyst) rdev_set_cqm_rssi_config() argument
818 rdev_set_cqm_rssi_range_config(struct cfg80211_registered_device *rdev, struct net_device *dev, s32 low, s32 high) rdev_set_cqm_rssi_range_config() argument
830 rdev_set_cqm_txe_config(struct cfg80211_registered_device *rdev, struct net_device *dev, u32 rate, u32 pkts, u32 intvl) rdev_set_cqm_txe_config() argument
880 rdev_sched_scan_start(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_sched_scan_request *request) rdev_sched_scan_start() argument
891 rdev_sched_scan_stop(struct cfg80211_registered_device *rdev, struct net_device *dev, u64 reqid) rdev_sched_scan_stop() argument
901 rdev_set_rekey_data(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_gtk_rekey_data *data) rdev_set_rekey_data() argument
912 rdev_tdls_mgmt(struct cfg80211_registered_device *rdev, struct net_device *dev, u8 *peer, int link_id, u8 action_code, u8 dialog_token, u16 status_code, u32 peer_capability, bool initiator, const u8 *buf, size_t len) rdev_tdls_mgmt() argument
930 rdev_tdls_oper(struct cfg80211_registered_device *rdev, struct net_device *dev, u8 *peer, enum nl80211_tdls_operation oper) rdev_tdls_oper() argument
941 rdev_probe_client(struct cfg80211_registered_device *rdev, struct net_device *dev, const u8 *peer, u64 *cookie) rdev_probe_client() argument
952 rdev_set_noack_map(struct cfg80211_registered_device *rdev, struct net_device *dev, u16 noack_map) rdev_set_noack_map() argument
1054 rdev_set_mac_acl(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_acl_data *params) rdev_set_mac_acl() argument
1066 rdev_update_ft_ies(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_update_ft_ies_params *ftie) rdev_update_ft_ies() argument
1100 rdev_channel_switch(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_csa_settings *params) rdev_channel_switch() argument
1112 rdev_set_qos_map(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_qos_map *qos_map) rdev_set_qos_map() argument
1128 rdev_set_ap_chanwidth(struct cfg80211_registered_device *rdev, struct net_device *dev, unsigned int link_id, struct cfg80211_chan_def *chandef) rdev_set_ap_chanwidth() argument
1143 rdev_add_tx_ts(struct cfg80211_registered_device *rdev, struct net_device *dev, u8 tsid, const u8 *peer, u8 user_prio, u16 admitted_time) rdev_add_tx_ts() argument
1160 rdev_del_tx_ts(struct cfg80211_registered_device *rdev, struct net_device *dev, u8 tsid, const u8 *peer) rdev_del_tx_ts() argument
1174 rdev_tdls_channel_switch(struct cfg80211_registered_device *rdev, struct net_device *dev, const u8 *addr, u8 oper_class, struct cfg80211_chan_def *chandef) rdev_tdls_channel_switch() argument
1189 rdev_tdls_cancel_channel_switch(struct cfg80211_registered_device *rdev, struct net_device *dev, const u8 *addr) rdev_tdls_cancel_channel_switch() argument
1198 rdev_start_radar_detection(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_chan_def *chandef, u32 cac_time_ms) rdev_start_radar_detection() argument
1215 rdev_end_cac(struct cfg80211_registered_device *rdev, struct net_device *dev) rdev_end_cac() argument
1225 rdev_set_mcast_rate(struct cfg80211_registered_device *rdev, struct net_device *dev, int mcast_rate[NUM_NL80211_BANDS]) rdev_set_mcast_rate() argument
1251 rdev_set_pmk(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_pmk_conf *pmk_conf) rdev_set_pmk() argument
1264 rdev_del_pmk(struct cfg80211_registered_device *rdev, struct net_device *dev, const u8 *aa) rdev_del_pmk() argument
1277 rdev_external_auth(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_external_auth_params *params) rdev_external_auth() argument
1291 rdev_get_ftm_responder_stats(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_ftm_responder_stats *ftm_stats) rdev_get_ftm_responder_stats() argument
1330 rdev_update_owe_info(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_update_owe_info *oweinfo) rdev_update_owe_info() argument
1344 rdev_probe_mesh_link(struct cfg80211_registered_device *rdev, struct net_device *dev, const u8 *dest, const void *buf, size_t len) rdev_probe_mesh_link() argument
1356 rdev_set_tid_config(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_tid_config *tid_conf) rdev_set_tid_config() argument
1368 rdev_reset_tid_config(struct cfg80211_registered_device *rdev, struct net_device *dev, const u8 *peer, u8 tids) rdev_reset_tid_config() argument
1392 rdev_color_change(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_color_change_settings *params) rdev_color_change() argument
1406 rdev_set_fils_aad(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_fils_aad *fils_aad) rdev_set_fils_aad() argument
1463 rdev_add_link_station(struct cfg80211_registered_device *rdev, struct net_device *dev, struct link_station_parameters *params) rdev_add_link_station() argument
1479 rdev_mod_link_station(struct cfg80211_registered_device *rdev, struct net_device *dev, struct link_station_parameters *params) rdev_mod_link_station() argument
1495 rdev_del_link_station(struct cfg80211_registered_device *rdev, struct net_device *dev, struct link_station_del_parameters *params) rdev_del_link_station() argument
1511 rdev_set_hw_timestamp(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_set_hw_timestamp *hwts) rdev_set_hw_timestamp() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/can/
H A Dat91_can.c24 #include <linux/can/dev.h>
313 static void at91_setup_mailboxes(struct net_device *dev) in at91_setup_mailboxes() argument
315 struct at91_priv *priv = netdev_priv(dev); in at91_setup_mailboxes()
352 static int at91_set_bittiming(struct net_device *dev) in at91_set_bittiming() argument
354 const struct at91_priv *priv = netdev_priv(dev); in at91_set_bittiming()
363 netdev_info(dev, "writing AT91_BR: 0x%08x\n", reg_br); in at91_set_bittiming()
370 static int at91_get_berr_counter(const struct net_device *dev, in at91_get_berr_counter() argument
373 const struct at91_priv *priv = netdev_priv(dev); in at91_get_berr_counter()
382 static void at91_chip_start(struct net_device *dev) in at91_chip_start() argument
384 struct at91_priv *priv = netdev_priv(dev); in at91_chip_start()
412 at91_chip_stop(struct net_device *dev, enum can_state state) at91_chip_stop() argument
449 at91_start_xmit(struct sk_buff *skb, struct net_device *dev) at91_start_xmit() argument
539 at91_rx_overflow_err(struct net_device *dev) at91_rx_overflow_err() argument
570 at91_read_mb(struct net_device *dev, unsigned int mb, struct can_frame *cf) at91_read_mb() argument
607 at91_read_msg(struct net_device *dev, unsigned int mb) at91_read_msg() argument
677 at91_poll_rx(struct net_device *dev, int quota) at91_poll_rx() argument
720 at91_poll_err_frame(struct net_device *dev, struct can_frame *cf, u32 reg_sr) at91_poll_err_frame() argument
768 at91_poll_err(struct net_device *dev, int quota, u32 reg_sr) at91_poll_err() argument
791 struct net_device *dev = napi->dev; at91_poll() local
831 at91_irq_tx(struct net_device *dev, u32 reg_sr) at91_irq_tx() argument
875 at91_irq_err_state(struct net_device *dev, struct can_frame *cf, enum can_state new_state) at91_irq_err_state() argument
985 at91_get_state_by_bec(const struct net_device *dev, enum can_state *state) at91_get_state_by_bec() argument
1008 at91_irq_err(struct net_device *dev) at91_irq_err() argument
1061 struct net_device *dev = dev_id; at91_irq() local
1098 at91_open(struct net_device *dev) at91_open() argument
1139 at91_close(struct net_device *dev) at91_close() argument
1157 at91_set_mode(struct net_device *dev, enum can_mode mode) at91_set_mode() argument
1179 at91_sysfs_show_mb0_id(struct device *dev, struct device_attribute *attr, char *buf) at91_sysfs_show_mb0_id() argument
1190 at91_sysfs_set_mb0_id(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) at91_sysfs_set_mb0_id() argument
1270 struct net_device *dev; at91_can_probe() local
1370 struct net_device *dev = platform_get_drvdata(pdev); at91_can_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/net/can/dev/
H A Ddev.c15 #include <linux/can/dev.h>
117 static int can_calc_bittiming(struct net_device *dev, struct can_bittiming *bt, in can_calc_bittiming() argument
120 struct can_priv *priv = netdev_priv(dev); in can_calc_bittiming()
188 netdev_err(dev, in can_calc_bittiming()
193 netdev_warn(dev, "bitrate error %d.%d%%\n", in can_calc_bittiming()
230 static int can_calc_bittiming(struct net_device *dev, struct can_bittiming *bt, in can_calc_bittiming() argument
233 netdev_err(dev, "bit-timing calculation not available\n"); in can_calc_bittiming()
243 static int can_fixup_bittiming(struct net_device *dev, struct can_bittiming *bt, in can_fixup_bittiming() argument
246 struct can_priv *priv = netdev_priv(dev); in can_fixup_bittiming()
279 can_validate_bitrate(struct net_device *dev, struc argument
297 can_get_bittiming(struct net_device *dev, struct can_bittiming *bt, const struct can_bittiming_const *btc, const u32 *bitrate_const, const unsigned int bitrate_const_cnt) can_get_bittiming() argument
322 can_update_state_error_stats(struct net_device *dev, enum can_state new_state) can_update_state_error_stats() argument
345 can_tx_state_to_frame(struct net_device *dev, enum can_state state) can_tx_state_to_frame() argument
359 can_rx_state_to_frame(struct net_device *dev, enum can_state state) can_rx_state_to_frame() argument
395 can_change_state(struct net_device *dev, struct can_frame *cf, enum can_state tx_state, enum can_state rx_state) can_change_state() argument
438 can_flush_echo_skb(struct net_device *dev) can_flush_echo_skb() argument
460 can_put_echo_skb(struct sk_buff *skb, struct net_device *dev, unsigned int idx) can_put_echo_skb() argument
499 __can_get_echo_skb(struct net_device *dev, unsigned int idx, u8 *len_ptr) __can_get_echo_skb() argument
536 can_get_echo_skb(struct net_device *dev, unsigned int idx) can_get_echo_skb() argument
559 can_free_echo_skb(struct net_device *dev, unsigned int idx) can_free_echo_skb() argument
573 can_restart(struct net_device *dev) can_restart() argument
623 can_restart_now(struct net_device *dev) can_restart_now() argument
647 can_bus_off(struct net_device *dev) can_bus_off() argument
665 can_setup(struct net_device *dev) can_setup() argument
678 alloc_can_skb(struct net_device *dev, struct can_frame **cf) alloc_can_skb() argument
705 alloc_canfd_skb(struct net_device *dev, struct canfd_frame **cfd) alloc_canfd_skb() argument
733 alloc_can_err_skb(struct net_device *dev, struct can_frame **cf) alloc_can_err_skb() argument
753 struct net_device *dev; alloc_candev_mqs() local
802 free_candev(struct net_device *dev) free_candev() argument
809 can_change_mtu(struct net_device *dev, int new_mtu) can_change_mtu() argument
850 open_candev(struct net_device *dev) open_candev() argument
880 of_can_transceiver(struct net_device *dev) of_can_transceiver() argument
904 close_candev(struct net_device *dev) close_candev() argument
964 can_changelink(struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) can_changelink() argument
1131 can_get_size(const struct net_device *dev) can_get_size() argument
1166 can_fill_info(struct sk_buff *skb, const struct net_device *dev) can_fill_info() argument
1231 can_get_xstats_size(const struct net_device *dev) can_get_xstats_size() argument
1236 can_fill_xstats(struct sk_buff *skb, const struct net_device *dev) can_fill_xstats() argument
1249 can_newlink(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) can_newlink() argument
1256 can_dellink(struct net_device *dev, struct list_head *head) can_dellink() argument
1277 register_candev(struct net_device *dev) register_candev() argument
1303 unregister_candev(struct net_device *dev) unregister_candev() argument
1312 safe_candev_priv(struct net_device *dev) safe_candev_priv() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
H A Dsi2168.c24 struct si2168_dev *dev = i2c_get_clientdata(client); in si2168_cmd_execute() local
28 mutex_lock(&dev->i2c_mutex); in si2168_cmd_execute()
59 dev_dbg(&client->dev, "cmd execution took %d ms\n", in si2168_cmd_execute()
75 mutex_unlock(&dev->i2c_mutex); in si2168_cmd_execute()
78 mutex_unlock(&dev->i2c_mutex); in si2168_cmd_execute()
79 dev_dbg(&client->dev, "failed=%d\n", ret); in si2168_cmd_execute()
86 struct si2168_dev *dev = i2c_get_clientdata(client); in si2168_ts_bus_ctrl() local
90 dev_dbg(&client->dev, "%s acquire: %d\n", __func__, acquire); in si2168_ts_bus_ctrl()
93 if (dev->ts_mode & SI2168_TS_CLK_MANUAL) { in si2168_ts_bus_ctrl()
101 if (dev in si2168_ts_bus_ctrl()
117 struct si2168_dev *dev = i2c_get_clientdata(client); si2168_read_status() local
233 struct si2168_dev *dev = i2c_get_clientdata(client); si2168_set_frontend() local
411 struct si2168_dev *dev = i2c_get_clientdata(client); si2168_init() local
554 struct si2168_dev *dev = i2c_get_clientdata(client); si2168_sleep() local
670 struct si2168_dev *dev; si2168_probe() local
770 struct si2168_dev *dev = i2c_get_clientdata(client); si2168_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/
H A Dsaa7134-input.c41 static int saa7134_raw_decode_irq(struct saa7134_dev *dev);
45 static int build_key(struct saa7134_dev *dev) in build_key() argument
47 struct saa7134_card_ir *ir = dev->remote; in build_key()
51 switch (dev->board) { in build_key()
72 switch (dev->board) { in build_key()
75 rc_keyup(ir->dev); in build_key()
77 rc_keydown_notimeout(ir->dev, RC_PROTO_UNKNOWN, data, in build_key()
85 rc_keydown_notimeout(ir->dev, RC_PROTO_UNKNOWN, data, in build_key()
88 rc_keyup(ir->dev); in build_key()
94 rc_keydown_notimeout(ir->dev, RC_PROTO_UNKNOW in build_key()
113 struct saa7134_dev *dev = ir->c->adapter->algo_data; get_key_flydvb_trio() local
168 struct saa7134_dev *dev = ir->c->adapter->algo_data; get_key_msi_tvanywhere_plus() local
220 struct saa7134_dev *dev = ir->c->adapter->algo_data; get_key_kworld_pc150u() local
299 struct saa7134_dev *dev = ir->c->adapter->algo_data; get_key_beholdm6xx() local
414 saa7134_input_irq(struct saa7134_dev *dev) saa7134_input_irq() argument
435 struct saa7134_dev *dev = ir->dev->priv; saa7134_input_timer() local
443 struct saa7134_dev *dev = rc->priv; saa7134_ir_open() local
495 struct saa7134_dev *dev = rc->priv; saa7134_ir_close() local
504 saa7134_input_init1(struct saa7134_dev *dev) saa7134_input_init1() argument
831 saa7134_input_fini(struct saa7134_dev *dev) saa7134_input_fini() argument
841 saa7134_probe_i2c_ir(struct saa7134_dev *dev) saa7134_probe_i2c_ir() argument
988 saa7134_raw_decode_irq(struct saa7134_dev *dev) saa7134_raw_decode_irq() argument
[all...]
/kernel/linux/linux-5.10/kernel/bpf/
H A Ddevmap.c34 * When removing the dev a cmpxchg() is used to ensure the correct dev is
36 * possible that the initially referenced dev is no longer in the map. As the
37 * notifier hook walks the map we know that new dev references can not be
58 struct net_device *dev; member
64 struct net_device *dev; /* must be first member, due to tracepoint */ member
125 /* Lookup returns a pointer straight to dev->ifindex, so make sure the in dev_map_init_map()
225 struct bpf_dtab_netdev *dev; in dev_map_free() local
231 hlist_for_each_entry_safe(dev, next, head, index_hlist) { in dev_map_free()
232 hlist_del_rcu(&dev in dev_map_free()
243 struct bpf_dtab_netdev *dev; dev_map_free() local
282 struct bpf_dtab_netdev *dev; __dev_map_hash_lookup_elem() local
297 struct bpf_dtab_netdev *dev, *next_dev; dev_map_hash_get_next_key() local
349 struct net_device *dev = bq->dev; bq_xmit_all() local
427 bq_enqueue(struct net_device *dev, struct xdp_frame *xdpf, struct net_device *dev_rx) bq_enqueue() argument
449 __xdp_enqueue(struct net_device *dev, struct xdp_buff *xdp, struct net_device *dev_rx) __xdp_enqueue() argument
470 dev_map_run_prog(struct net_device *dev, struct xdp_buff *xdp, struct bpf_prog *xdp_prog) dev_map_run_prog() argument
498 dev_xdp_enqueue(struct net_device *dev, struct xdp_buff *xdp, struct net_device *dev_rx) dev_xdp_enqueue() argument
507 struct net_device *dev = dst->dev; dev_map_enqueue() local
547 struct bpf_dtab_netdev *dev; __dev_map_entry_free() local
606 struct bpf_dtab_netdev *dev; __dev_map_alloc_node() local
651 struct bpf_dtab_netdev *dev, *old_dev; __dev_map_update_elem() local
698 struct bpf_dtab_netdev *dev, *old_dev; __dev_map_hash_update_elem() local
790 struct bpf_dtab_netdev *dev; dev_map_hash_remove_netdev() local
842 struct bpf_dtab_netdev *dev, *odev; dev_map_notification() local
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/saa7134/
H A Dsaa7134-input.c41 static int saa7134_raw_decode_irq(struct saa7134_dev *dev);
45 static int build_key(struct saa7134_dev *dev) in build_key() argument
47 struct saa7134_card_ir *ir = dev->remote; in build_key()
51 switch (dev->board) { in build_key()
72 switch (dev->board) { in build_key()
75 rc_keyup(ir->dev); in build_key()
77 rc_keydown_notimeout(ir->dev, RC_PROTO_UNKNOWN, data, in build_key()
85 rc_keydown_notimeout(ir->dev, RC_PROTO_UNKNOWN, data, in build_key()
88 rc_keyup(ir->dev); in build_key()
94 rc_keydown_notimeout(ir->dev, RC_PROTO_UNKNOW in build_key()
113 struct saa7134_dev *dev = ir->c->adapter->algo_data; get_key_flydvb_trio() local
168 struct saa7134_dev *dev = ir->c->adapter->algo_data; get_key_msi_tvanywhere_plus() local
220 struct saa7134_dev *dev = ir->c->adapter->algo_data; get_key_kworld_pc150u() local
299 struct saa7134_dev *dev = ir->c->adapter->algo_data; get_key_beholdm6xx() local
414 saa7134_input_irq(struct saa7134_dev *dev) saa7134_input_irq() argument
435 struct saa7134_dev *dev = ir->dev->priv; saa7134_input_timer() local
443 struct saa7134_dev *dev = rc->priv; saa7134_ir_open() local
495 struct saa7134_dev *dev = rc->priv; saa7134_ir_close() local
504 saa7134_input_init1(struct saa7134_dev *dev) saa7134_input_init1() argument
831 saa7134_input_fini(struct saa7134_dev *dev) saa7134_input_fini() argument
841 saa7134_probe_i2c_ir(struct saa7134_dev *dev) saa7134_probe_i2c_ir() argument
988 saa7134_raw_decode_irq(struct saa7134_dev *dev) saa7134_raw_decode_irq() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/
H A Dsi2168.c24 struct si2168_dev *dev = i2c_get_clientdata(client); in si2168_cmd_execute() local
28 mutex_lock(&dev->i2c_mutex); in si2168_cmd_execute()
59 dev_dbg(&client->dev, "cmd execution took %d ms\n", in si2168_cmd_execute()
75 mutex_unlock(&dev->i2c_mutex); in si2168_cmd_execute()
78 mutex_unlock(&dev->i2c_mutex); in si2168_cmd_execute()
79 dev_dbg(&client->dev, "failed=%d\n", ret); in si2168_cmd_execute()
86 struct si2168_dev *dev = i2c_get_clientdata(client); in si2168_ts_bus_ctrl() local
90 dev_dbg(&client->dev, "%s acquire: %d\n", __func__, acquire); in si2168_ts_bus_ctrl()
93 if (dev->ts_mode & SI2168_TS_CLK_MANUAL) { in si2168_ts_bus_ctrl()
101 if (dev in si2168_ts_bus_ctrl()
117 struct si2168_dev *dev = i2c_get_clientdata(client); si2168_read_status() local
233 struct si2168_dev *dev = i2c_get_clientdata(client); si2168_set_frontend() local
411 struct si2168_dev *dev = i2c_get_clientdata(client); si2168_init() local
542 struct si2168_dev *dev = i2c_get_clientdata(client); si2168_resume() local
562 struct si2168_dev *dev = i2c_get_clientdata(client); si2168_sleep() local
678 struct si2168_dev *dev; si2168_probe() local
778 struct si2168_dev *dev = i2c_get_clientdata(client); si2168_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_probe_helper.c94 struct drm_device *dev = connector->dev; in drm_mode_validate_pipeline() local
127 drm_for_each_crtc(crtc, dev) { in drm_mode_validate_pipeline()
170 mode = drm_mode_create_from_cmdline_mode(connector->dev, in drm_helper_probe_add_cmdline_mode()
225 static void drm_kms_helper_disable_hpd(struct drm_device *dev) in drm_kms_helper_disable_hpd() argument
230 drm_connector_list_iter_begin(dev, &conn_iter); in drm_kms_helper_disable_hpd()
241 static bool drm_kms_helper_enable_hpd(struct drm_device *dev) in drm_kms_helper_enable_hpd() argument
247 drm_connector_list_iter_begin(dev, &conn_iter); in drm_kms_helper_enable_hpd()
265 static void reschedule_output_poll_work(struct drm_device *dev) in reschedule_output_poll_work() argument
269 if (dev in reschedule_output_poll_work()
300 drm_kms_helper_poll_enable(struct drm_device *dev) drm_kms_helper_poll_enable() argument
330 drm_kms_helper_poll_reschedule(struct drm_device *dev) drm_kms_helper_poll_reschedule() argument
390 struct drm_device *dev = connector->dev; drm_helper_probe_detect() local
436 struct drm_device *dev = connector->dev; __drm_helper_update_and_validate() local
549 struct drm_device *dev = connector->dev; drm_helper_probe_single_connector_modes() local
715 drm_kms_helper_hotplug_event(struct drm_device *dev) drm_kms_helper_hotplug_event() argument
735 struct drm_device *dev = connector->dev; drm_kms_helper_connector_hotplug_event() local
749 struct drm_device *dev = container_of(delayed_work, struct drm_device, mode_config.output_poll_work); output_poll_execute() local
878 drm_kms_helper_poll_disable(struct drm_device *dev) drm_kms_helper_poll_disable() argument
908 drm_kms_helper_poll_init(struct drm_device *dev) drm_kms_helper_poll_init() argument
921 drm_kms_helper_poll_fini(struct drm_device *dev) drm_kms_helper_poll_fini() argument
934 struct drm_device *dev = connector->dev; check_connector_changed() local
994 struct drm_device *dev = connector->dev; drm_connector_helper_hpd_irq_event() local
1039 drm_helper_hpd_irq_event(struct drm_device *dev) drm_helper_hpd_irq_event() argument
1154 struct drm_device *dev = connector->dev; drm_connector_helper_get_modes_fixed() local
1230 struct drm_device *dev = connector->dev; drm_connector_helper_tv_get_modes() local
[all...]
/kernel/linux/linux-5.10/drivers/fpga/
H A Dice40-spi.c27 struct spi_device *dev; member
45 struct spi_device *dev = priv->dev; in ice40_fpga_ops_write_init() local
63 dev_err(&dev->dev, in ice40_fpga_ops_write_init()
69 spi_bus_lock(dev->master); in ice40_fpga_ops_write_init()
75 ret = spi_sync_locked(dev, &message); in ice40_fpga_ops_write_init()
86 dev_err(&dev->dev, "Device reset failed, CDONE is asserted\n"); in ice40_fpga_ops_write_init()
94 ret = spi_sync_locked(dev, in ice40_fpga_ops_write_init()
114 struct spi_device *dev = priv->dev; ice40_fpga_ops_write_complete() local
137 struct device *dev = &spi->dev; ice40_fpga_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/net/arcnet/
H A Dcom20020-isa.c50 static int __init com20020isa_probe(struct net_device *dev) in com20020isa_probe() argument
54 struct arcnet_local *lp = netdev_priv(dev); in com20020isa_probe()
60 ioaddr = dev->base_addr; in com20020isa_probe()
62 arc_printk(D_NORMAL, dev, "No autoprobe (yet) for IO mapped cards; you must specify the base address!\n"); in com20020isa_probe()
66 arc_printk(D_NORMAL, dev, "IO region %xh-%xh already allocated.\n", in com20020isa_probe()
71 arc_printk(D_NORMAL, dev, "IO address %x empty\n", ioaddr); in com20020isa_probe()
75 if (com20020_check(dev)) { in com20020isa_probe()
80 if (!dev->irq) { in com20020isa_probe()
85 arc_printk(D_INIT_REASONS, dev, "intmask was %02Xh\n", in com20020isa_probe()
92 dev in com20020isa_probe()
146 struct net_device *dev; com20020_init() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
H A Dtc_vlan_modify.sh39 ip link add dev br0 type bridge vlan_filtering 1 mcast_snooping 0
41 ip link set dev $swp1 master br0
42 ip link set dev $swp2 master br0
44 ip link set dev br0 up
45 ip link set dev $swp1 up
46 ip link set dev $swp2 up
48 bridge vlan add dev $swp1 vid 85
49 bridge vlan add dev $swp2 vid 65
51 bridge vlan add dev $swp2 vid 85
52 bridge vlan add dev
[all...]
/kernel/linux/linux-5.10/drivers/input/misc/
H A Dstpmic1_onkey.c32 pm_wakeup_event(input_dev->dev.parent, 0); in onkey_falling_irq()
44 pm_wakeup_event(input_dev->dev.parent, 0); in onkey_rising_irq()
52 struct stpmic1 *pmic = dev_get_drvdata(pdev->dev.parent); in stpmic1_onkey_probe()
53 struct device *dev = &pdev->dev; in stpmic1_onkey_probe() local
59 onkey = devm_kzalloc(dev, sizeof(*onkey), GFP_KERNEL); in stpmic1_onkey_probe()
71 if (!device_property_read_u32(dev, "power-off-time-sec", &val)) { in stpmic1_onkey_probe()
73 dev_dbg(dev, "power-off-time=%d seconds\n", val); in stpmic1_onkey_probe()
77 dev_err(dev, "power-off-time-sec out of range\n"); in stpmic1_onkey_probe()
82 if (device_property_present(dev, "s in stpmic1_onkey_probe()
145 stpmic1_onkey_suspend(struct device *dev) stpmic1_onkey_suspend() argument
157 stpmic1_onkey_resume(struct device *dev) stpmic1_onkey_resume() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
H A Dtimer.c21 struct net_device *dev = tp->dev; in tulip_media_task() local
28 netdev_dbg(dev, "Media selection tick, %s, status %08x mode %08x SIA %08x %08x %08x %08x\n", in tulip_media_task()
29 medianame[dev->if_port], in tulip_media_task()
48 netdev_dbg(dev, "network media monitor CSR6 %08x CSR12 0x%02x\n", in tulip_media_task()
62 netdev_dbg(dev, "Transceiver monitor tick CSR12=%#02x, no media sense\n", in tulip_media_task()
71 netdev_dbg(dev, "Transceiver monitor tick: CSR12=%#02x bit %d is %d, expecting %d\n", in tulip_media_task()
79 netdev_dbg(dev, "Link beat detected for %s\n", in tulip_media_task()
83 netif_carrier_on(dev); in tulip_media_task()
86 netif_carrier_off(dev); in tulip_media_task()
143 struct net_device *dev = tp->dev; mxic_timer() local
160 struct net_device *dev = tp->dev; comet_timer() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/
H A Dmvme147.c50 static int m147lance_open(struct net_device *dev);
51 static int m147lance_close(struct net_device *dev);
73 struct net_device *dev; in mvme147lance_probe() local
85 dev = alloc_etherdev(sizeof(struct m147lance_private)); in mvme147lance_probe()
86 if (!dev) in mvme147lance_probe()
90 sprintf(dev->name, "eth%d", unit); in mvme147lance_probe()
92 /* Fill the dev fields */ in mvme147lance_probe()
93 dev->base_addr = (unsigned long)MVME147_LANCE_BASE; in mvme147lance_probe()
94 dev->netdev_ops = &lance_netdev_ops; in mvme147lance_probe()
95 dev in mvme147lance_probe()
160 m147lance_open(struct net_device *dev) m147lance_open() argument
174 m147lance_close(struct net_device *dev) m147lance_close() argument
[all...]

Completed in 37 milliseconds

1...<<81828384858687888990>>...1530