Home
last modified time | relevance | path

Searched refs:dev (Results 2876 - 2900 of 41667) sorted by relevance

1...<<111112113114115116117118119120>>...1667

/kernel/linux/linux-6.6/drivers/hwtracing/coresight/
H A Dcoresight-dummy.c16 struct device *dev; member
26 dev_dbg(csdev->dev.parent, "Dummy source enabled\n"); in dummy_source_enable()
34 dev_dbg(csdev->dev.parent, "Dummy source disabled\n"); in dummy_source_disable()
40 dev_dbg(csdev->dev.parent, "Dummy sink enabled\n"); in dummy_sink_enable()
47 dev_dbg(csdev->dev.parent, "Dummy sink disabled\n"); in dummy_sink_disable()
72 struct device *dev = &pdev->dev; in dummy_probe() local
73 struct device_node *node = dev->of_node; in dummy_probe()
80 desc.name = coresight_alloc_device_name(&source_devs, dev); in dummy_probe()
89 desc.name = coresight_alloc_device_name(&sink_devs, dev); in dummy_probe()
128 struct device *dev = &pdev->dev; dummy_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/input/mouse/
H A Dmaplemouse.c23 struct input_dev *dev; member
30 struct maple_device *mapledev = mq->dev; in dc_mouse_callback()
32 struct input_dev *dev = mse->dev; in dc_mouse_callback() local
40 input_report_key(dev, BTN_LEFT, buttons & 4); in dc_mouse_callback()
41 input_report_key(dev, BTN_MIDDLE, buttons & 9); in dc_mouse_callback()
42 input_report_key(dev, BTN_RIGHT, buttons & 2); in dc_mouse_callback()
43 input_report_rel(dev, REL_X, relx); in dc_mouse_callback()
44 input_report_rel(dev, REL_Y, rely); in dc_mouse_callback()
45 input_report_rel(dev, REL_WHEE in dc_mouse_callback()
49 dc_mouse_open(struct input_dev *dev) dc_mouse_open() argument
59 dc_mouse_close(struct input_dev *dev) dc_mouse_close() argument
68 probe_maple_mouse(struct device *dev) probe_maple_mouse() argument
117 remove_maple_mouse(struct device *dev) remove_maple_mouse() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
H A Dmirror_lib.sh10 tc filter add dev $from_dev $direction \
12 action mirred egress mirror dev $to_dev
20 tc filter del dev $swp1 $direction pref 1000
35 local dev=$1; shift
47 local t0=$(tc_rule_stats_get $dev $pref)
51 local t1=$(tc_rule_stats_get $dev $pref)
61 local dev=$1; shift
66 icmp_capture_install $dev
67 mirror_test v$h1 $ip1 $ip2 $dev 100 $expect
68 mirror_test v$h2 $ip2 $ip1 $dev 10
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_verbs.c69 struct pvrdma_dev *dev = to_vdev(ibdev); in pvrdma_query_device() local
74 props->fw_ver = dev->dsr->caps.fw_ver; in pvrdma_query_device()
75 props->sys_image_guid = dev->dsr->caps.sys_image_guid; in pvrdma_query_device()
76 props->max_mr_size = dev->dsr->caps.max_mr_size; in pvrdma_query_device()
77 props->page_size_cap = dev->dsr->caps.page_size_cap; in pvrdma_query_device()
78 props->vendor_id = dev->dsr->caps.vendor_id; in pvrdma_query_device()
79 props->vendor_part_id = dev->pdev->device; in pvrdma_query_device()
80 props->hw_ver = dev->dsr->caps.hw_ver; in pvrdma_query_device()
81 props->max_qp = dev->dsr->caps.max_qp; in pvrdma_query_device()
82 props->max_qp_wr = dev in pvrdma_query_device()
131 struct pvrdma_dev *dev = to_vdev(ibdev); pvrdma_query_port() local
189 struct pvrdma_dev *dev = to_vdev(ibdev); pvrdma_query_gid() local
431 struct pvrdma_dev *dev = to_vdev(ibdev); pvrdma_alloc_pd() local
486 struct pvrdma_dev *dev = to_vdev(pd->device); pvrdma_dealloc_pd() local
516 struct pvrdma_dev *dev = to_vdev(ibah->device); pvrdma_create_ah() local
553 struct pvrdma_dev *dev = to_vdev(ah->device); pvrdma_destroy_ah() local
[all...]
/kernel/linux/linux-5.10/drivers/siox/
H A Dsiox-core.c155 to_siox_driver(sdevice->dev.driver); in siox_poll()
196 to_siox_driver(sdevice->dev.driver); in siox_poll()
283 get_device(&smaster->dev); in siox_poll_thread()
287 put_device(&smaster->dev); in siox_poll_thread()
384 static ssize_t type_show(struct device *dev, in type_show() argument
387 struct siox_device *sdev = to_siox_device(dev); in type_show()
394 static ssize_t inbytes_show(struct device *dev, in inbytes_show() argument
397 struct siox_device *sdev = to_siox_device(dev); in inbytes_show()
404 static ssize_t outbytes_show(struct device *dev, in outbytes_show() argument
407 struct siox_device *sdev = to_siox_device(dev); in outbytes_show()
414 status_errors_show(struct device *dev, struct device_attribute *attr, char *buf) status_errors_show() argument
431 connected_show(struct device *dev, struct device_attribute *attr, char *buf) connected_show() argument
448 watchdog_show(struct device *dev, struct device_attribute *attr, char *buf) watchdog_show() argument
465 watchdog_errors_show(struct device *dev, struct device_attribute *attr, char *buf) watchdog_errors_show() argument
494 siox_device_release(struct device *dev) siox_device_release() argument
506 siox_match(struct device *dev, struct device_driver *drv) siox_match() argument
520 siox_driver_probe(struct device *dev) siox_driver_probe() argument
530 siox_driver_remove(struct device *dev) siox_driver_remove() argument
541 siox_driver_shutdown(struct device *dev) siox_driver_shutdown() argument
550 active_show(struct device *dev, struct device_attribute *attr, char *buf) active_show() argument
558 active_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) active_store() argument
587 device_add_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) device_add_store() argument
614 device_remove_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) device_remove_store() argument
628 poll_interval_ns_show(struct device *dev, struct device_attribute *attr, char *buf) poll_interval_ns_show() argument
636 poll_interval_ns_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) poll_interval_ns_store() argument
668 siox_master_release(struct device *dev) siox_master_release() argument
680 siox_master_alloc(struct device *dev, size_t size) siox_master_alloc() argument
[all...]
/kernel/linux/linux-5.10/drivers/usb/serial/
H A Dch341.c111 static int ch341_control_out(struct usb_device *dev, u8 request, in ch341_control_out() argument
116 dev_dbg(&dev->dev, "%s - (%02x,%04x,%04x)\n", __func__, in ch341_control_out()
119 r = usb_control_msg(dev, usb_sndctrlpipe(dev, 0), request, in ch341_control_out()
123 dev_err(&dev->dev, "failed to send control message: %d\n", r); in ch341_control_out()
128 static int ch341_control_in(struct usb_device *dev, in ch341_control_in() argument
134 dev_dbg(&dev->dev, " in ch341_control_in()
245 ch341_set_baudrate_lcr(struct usb_device *dev, struct ch341_private *priv, speed_t baud_rate, u8 lcr) ch341_set_baudrate_lcr() argument
292 ch341_set_handshake(struct usb_device *dev, u8 control) ch341_set_handshake() argument
297 ch341_get_status(struct usb_device *dev, struct ch341_private *priv) ch341_get_status() argument
322 ch341_configure(struct usb_device *dev, struct ch341_private *priv) ch341_configure() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/fsl/
H A Dfsl_micfil.c140 dev_err(&micfil->pdev->dev, in get_pdm_clk()
170 static int fsl_micfil_reset(struct device *dev) in fsl_micfil_reset() argument
172 struct fsl_micfil *micfil = dev_get_drvdata(dev); in fsl_micfil_reset()
180 dev_err(dev, "failed to clear MDIS bit %d\n", ret); in fsl_micfil_reset()
189 dev_err(dev, "failed to reset MICFIL: %d\n", ret); in fsl_micfil_reset()
218 struct device *dev = &micfil->pdev->dev; in fsl_micfil_set_mclk_rate() local
225 dev_warn(dev, "failed to set rate (%u): %d\n", in fsl_micfil_set_mclk_rate()
239 dev_err(dai->dev, "micfil dai priv_data not set\n"); in fsl_micfil_startup()
250 struct device *dev in fsl_micfil_trigger() local
313 fsl_set_clock_params(struct device *dev, unsigned int rate) fsl_set_clock_params() argument
353 struct device *dev = &micfil->pdev->dev; fsl_micfil_hw_params() local
388 struct device *dev = &micfil->pdev->dev; fsl_micfil_set_dai_sysclk() local
413 struct device *dev = cpu_dai->dev; fsl_micfil_dai_probe() local
496 fsl_micfil_readable_reg(struct device *dev, unsigned int reg) fsl_micfil_readable_reg() argument
528 fsl_micfil_writeable_reg(struct device *dev, unsigned int reg) fsl_micfil_writeable_reg() argument
551 fsl_micfil_volatile_reg(struct device *dev, unsigned int reg) fsl_micfil_volatile_reg() argument
774 fsl_micfil_runtime_suspend(struct device *dev) fsl_micfil_runtime_suspend() argument
785 fsl_micfil_runtime_resume(struct device *dev) fsl_micfil_runtime_resume() argument
801 fsl_micfil_suspend(struct device *dev) fsl_micfil_suspend() argument
808 fsl_micfil_resume(struct device *dev) fsl_micfil_resume() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dtas6424.c40 struct device *dev; member
78 dev_dbg(component->dev, "%s() event=0x%0x\n", __func__, event); in tas6424_dac_event()
119 dev_dbg(component->dev, "%s() rate=%u width=%u\n", __func__, rate, width); in tas6424_hw_params()
132 dev_err(component->dev, "unsupported sample rate: %u\n", rate); in tas6424_hw_params()
143 dev_err(component->dev, "unsupported sample width: %u\n", width); in tas6424_hw_params()
160 dev_dbg(component->dev, "%s() fmt=0x%0x\n", __func__, fmt); in tas6424_set_dai_fmt()
167 dev_err(component->dev, "Invalid DAI master/slave interface\n"); in tas6424_set_dai_fmt()
176 dev_err(component->dev, "Invalid DAI clock signal polarity\n"); in tas6424_set_dai_fmt()
200 dev_err(component->dev, "Invalid DAI interface format\n"); in tas6424_set_dai_fmt()
218 dev_dbg(component->dev, " in tas6424_set_dai_tdm_slot()
407 struct device *dev = tas6424->dev; tas6424_fault_check_work() local
614 tas6424_is_writable_reg(struct device *dev, unsigned int reg) tas6424_is_writable_reg() argument
643 tas6424_is_volatile_reg(struct device *dev, unsigned int reg) tas6424_is_volatile_reg() argument
688 struct device *dev = &client->dev; tas6424_i2c_probe() local
777 struct device *dev = &client->dev; tas6424_i2c_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/misc/vmw_vmci/
H A Dvmci_guest.c53 struct device *dev; /* PCI device we are attached to */ member
102 static unsigned int vmci_read_reg(struct vmci_guest_device *dev, u32 reg) in vmci_read_reg() argument
104 if (dev->mmio_base != NULL) in vmci_read_reg()
105 return readl(dev->mmio_base + reg); in vmci_read_reg()
106 return ioread32(dev->iobase + reg); in vmci_read_reg()
109 static void vmci_write_reg(struct vmci_guest_device *dev, u32 val, u32 reg) in vmci_write_reg() argument
111 if (dev->mmio_base != NULL) in vmci_write_reg()
112 writel(val, dev->mmio_base + reg); in vmci_write_reg()
114 iowrite32(val, dev->iobase + reg); in vmci_write_reg()
147 static int vmci_write_data(struct vmci_guest_device *dev, in vmci_write_data() argument
465 vmci_process_bitmap(struct vmci_guest_device *dev) vmci_process_bitmap() argument
481 struct vmci_guest_device *dev = _dev; vmci_interrupt() local
531 struct vmci_guest_device *dev = _dev; vmci_interrupt_bm() local
546 struct vmci_guest_device *dev = _dev; vmci_interrupt_dma_datagram() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/dwc2/
H A Dplatform.c56 hsotg->dr_mode = usb_get_dr_mode(hsotg->dev); in dwc2_get_dr_mode()
64 dev_err(hsotg->dev, in dwc2_get_dr_mode()
71 dev_err(hsotg->dev, in dwc2_get_dr_mode()
84 dev_warn(hsotg->dev, in dwc2_get_dr_mode()
96 struct platform_device *pdev = to_platform_device(hsotg->dev); in __dwc2_lowlevel_hw_enable()
166 struct platform_device *pdev = to_platform_device(hsotg->dev); in __dwc2_lowlevel_hw_disable()
215 hsotg->reset = devm_reset_control_get_optional(hsotg->dev, "dwc2"); in dwc2_lowlevel_hw_init()
217 return dev_err_probe(hsotg->dev, PTR_ERR(hsotg->reset), in dwc2_lowlevel_hw_init()
221 ret = devm_add_action_or_reset(hsotg->dev, dwc2_reset_control_assert, in dwc2_lowlevel_hw_init()
226 hsotg->reset_ecc = devm_reset_control_get_optional(hsotg->dev, "dwc in dwc2_lowlevel_hw_init()
304 dwc2_driver_remove(struct platform_device *dev) dwc2_driver_remove() argument
368 dwc2_driver_shutdown(struct platform_device *dev) dwc2_driver_shutdown() argument
436 dwc2_driver_probe(struct platform_device *dev) dwc2_driver_probe() argument
644 dwc2_suspend(struct device *dev) dwc2_suspend() argument
695 dwc2_resume(struct device *dev) dwc2_resume() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_ioctl.c116 int drm_getunique(struct drm_device *dev, void *data, in drm_getunique() argument
122 mutex_lock(&dev->master_mutex); in drm_getunique()
126 mutex_unlock(&dev->master_mutex); in drm_getunique()
131 mutex_unlock(&dev->master_mutex); in drm_getunique()
137 drm_unset_busid(struct drm_device *dev, in drm_unset_busid() argument
145 static int drm_set_busid(struct drm_device *dev, struct drm_file *file_priv) in drm_set_busid() argument
151 drm_unset_busid(dev, master); in drm_set_busid()
153 if (dev->dev && dev_is_pci(dev in drm_set_busid()
182 drm_getclient(struct drm_device *dev, void *data, struct drm_file *file_priv) drm_getclient() argument
221 drm_getstats(struct drm_device *dev, void *data, struct drm_file *file_priv) drm_getstats() argument
235 drm_getcap(struct drm_device *dev, void *data, struct drm_file *file_priv) drm_getcap() argument
314 drm_setclientcap(struct drm_device *dev, void *data, struct drm_file *file_priv) drm_setclientcap() argument
382 drm_setversion(struct drm_device *dev, void *data, struct drm_file *file_priv) drm_setversion() argument
439 drm_noop(struct drm_device *dev, void *data, struct drm_file *file_priv) drm_noop() argument
462 drm_invalid_op(struct drm_device *dev, void *data, struct drm_file *file_priv) drm_invalid_op() argument
509 drm_version(struct drm_device *dev, void *data, struct drm_file *file_priv) drm_version() argument
776 struct drm_device *dev = file_priv->minor->dev; drm_ioctl_kernel() local
819 struct drm_device *dev; drm_ioctl() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_verbs.c69 struct pvrdma_dev *dev = to_vdev(ibdev); in pvrdma_query_device() local
74 props->fw_ver = dev->dsr->caps.fw_ver; in pvrdma_query_device()
75 props->sys_image_guid = dev->dsr->caps.sys_image_guid; in pvrdma_query_device()
76 props->max_mr_size = dev->dsr->caps.max_mr_size; in pvrdma_query_device()
77 props->page_size_cap = dev->dsr->caps.page_size_cap; in pvrdma_query_device()
78 props->vendor_id = dev->dsr->caps.vendor_id; in pvrdma_query_device()
79 props->vendor_part_id = dev->pdev->device; in pvrdma_query_device()
80 props->hw_ver = dev->dsr->caps.hw_ver; in pvrdma_query_device()
81 props->max_qp = dev->dsr->caps.max_qp; in pvrdma_query_device()
82 props->max_qp_wr = dev in pvrdma_query_device()
131 struct pvrdma_dev *dev = to_vdev(ibdev); pvrdma_query_port() local
189 struct pvrdma_dev *dev = to_vdev(ibdev); pvrdma_query_gid() local
431 struct pvrdma_dev *dev = to_vdev(ibdev); pvrdma_alloc_pd() local
486 struct pvrdma_dev *dev = to_vdev(pd->device); pvrdma_dealloc_pd() local
516 struct pvrdma_dev *dev = to_vdev(ibah->device); pvrdma_create_ah() local
553 struct pvrdma_dev *dev = to_vdev(ah->device); pvrdma_destroy_ah() local
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dtas6424.c39 struct device *dev; member
77 dev_dbg(component->dev, "%s() event=0x%0x\n", __func__, event); in tas6424_dac_event()
118 dev_dbg(component->dev, "%s() rate=%u width=%u\n", __func__, rate, width); in tas6424_hw_params()
131 dev_err(component->dev, "unsupported sample rate: %u\n", rate); in tas6424_hw_params()
142 dev_err(component->dev, "unsupported sample width: %u\n", width); in tas6424_hw_params()
159 dev_dbg(component->dev, "%s() fmt=0x%0x\n", __func__, fmt); in tas6424_set_dai_fmt()
166 dev_err(component->dev, "Invalid DAI clocking\n"); in tas6424_set_dai_fmt()
175 dev_err(component->dev, "Invalid DAI clock signal polarity\n"); in tas6424_set_dai_fmt()
199 dev_err(component->dev, "Invalid DAI interface format\n"); in tas6424_set_dai_fmt()
217 dev_dbg(component->dev, " in tas6424_set_dai_tdm_slot()
405 struct device *dev = tas6424->dev; tas6424_fault_check_work() local
612 tas6424_is_writable_reg(struct device *dev, unsigned int reg) tas6424_is_writable_reg() argument
641 tas6424_is_volatile_reg(struct device *dev, unsigned int reg) tas6424_is_volatile_reg() argument
685 struct device *dev = &client->dev; tas6424_i2c_probe() local
778 struct device *dev = &client->dev; tas6424_i2c_remove() local
[all...]
/kernel/linux/linux-6.6/sound/soc/sof/mediatek/mt8195/
H A Dmt8195.c24 #include "../../sof-of-dev.h"
81 dev_err(priv->dev, "request send ipc failed"); in mt8195_dsp_handle_request()
95 struct device *dev = &pdev->dev; in platform_parse_resource() local
99 mem_region = of_parse_phandle(dev->of_node, "memory-region", 0); in platform_parse_resource()
101 dev_err(dev, "no dma memory-region phandle\n"); in platform_parse_resource()
108 dev_err(dev, "of_address_to_resource dma failed\n"); in platform_parse_resource()
112 dev_dbg(dev, "DMA %pR\n", &res); in platform_parse_resource()
117 dev_err(dev, "adsp shared dma memory(%#x) is not 4K-aligned\n", in platform_parse_resource()
122 ret = of_reserved_mem_device_init(dev); in platform_parse_resource()
190 adsp_sram_power_on(struct device *dev, bool on) adsp_sram_power_on() argument
213 adsp_memory_remap_init(struct device *dev, struct mtk_adsp_chip_info *adsp) adsp_memory_remap_init() argument
243 struct device *dev = &pdev->dev; adsp_shared_base_ioremap() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
H A Ddma.c62 addr |= ring->dev->dma.translation; in op32_fill_descriptor()
145 if (b43legacy_debug(ring->dev, B43legacy_DBG_DMAVERBOSE)) in update_max_used_slots()
146 b43legacydbg(ring->dev->wl, in update_max_used_slots()
180 struct b43legacy_wldev *dev, in priority_to_txring()
186 return dev->dma.tx_ring1; in priority_to_txring()
194 ring = dev->dma.tx_ring3; in priority_to_txring()
197 ring = dev->dma.tx_ring2; in priority_to_txring()
200 ring = dev->dma.tx_ring1; in priority_to_txring()
203 ring = dev->dma.tx_ring0; in priority_to_txring()
206 ring = dev in priority_to_txring()
179 priority_to_txring( struct b43legacy_wldev *dev, int queue_priority) priority_to_txring() argument
337 b43legacy_dmacontroller_rx_reset(struct b43legacy_wldev *dev, u16 mmio_base, enum b43legacy_dmatype type) b43legacy_dmacontroller_rx_reset() argument
368 b43legacy_dmacontroller_tx_reset(struct b43legacy_wldev *dev, u16 mmio_base, enum b43legacy_dmatype type) b43legacy_dmacontroller_tx_reset() argument
606 b43legacy_engine_type(struct b43legacy_wldev *dev) b43legacy_engine_type() argument
624 b43legacy_setup_dmaring(struct b43legacy_wldev *dev, int controller_index, int for_tx, enum b43legacy_dmatype type) b43legacy_setup_dmaring() argument
749 b43legacy_dma_free(struct b43legacy_wldev *dev) b43legacy_dma_free() argument
776 b43legacy_dma_init(struct b43legacy_wldev *dev) b43legacy_dma_init() argument
912 parse_cookie(struct b43legacy_wldev *dev, u16 cookie, int *slot) parse_cookie() argument
1069 b43legacy_dma_tx(struct b43legacy_wldev *dev, struct sk_buff *skb) b43legacy_dma_tx() argument
1122 b43legacy_dma_handle_txstatus(struct b43legacy_wldev *dev, const struct b43legacy_txstatus *status) b43legacy_dma_handle_txstatus() argument
1371 b43legacy_dma_tx_suspend(struct b43legacy_wldev *dev) b43legacy_dma_tx_suspend() argument
1382 b43legacy_dma_tx_resume(struct b43legacy_wldev *dev) b43legacy_dma_tx_resume() argument
[all...]
/kernel/linux/linux-5.10/include/linux/mlx5/
H A Ddriver.h203 struct mlx5_core_dev *dev; member
476 struct mlx5_core_dev *dev; member
673 #define MLX5_LOG_SW_ICM_BLOCK_SIZE(dev) (MLX5_CAP_DEV_MEM(dev, log_sw_icm_alloc_granularity))
674 #define MLX5_SW_ICM_BLOCK_SIZE(dev) (1 << MLX5_LOG_SW_ICM_BLOCK_SIZE(dev))
833 static inline u16 fw_rev_maj(struct mlx5_core_dev *dev) in fw_rev_maj() argument
835 return ioread32be(&dev->iseg->fw_rev) & 0xffff; in fw_rev_maj()
838 static inline u16 fw_rev_min(struct mlx5_core_dev *dev) in fw_rev_min() argument
840 return ioread32be(&dev in fw_rev_min()
843 fw_rev_sub(struct mlx5_core_dev *dev) fw_rev_sub() argument
906 struct mlx5_core_dev *dev; global() member
1135 mlx5_core_is_pf(const struct mlx5_core_dev *dev) mlx5_core_is_pf() argument
1140 mlx5_core_is_vf(const struct mlx5_core_dev *dev) mlx5_core_is_vf() argument
1145 mlx5_core_is_ecpf(struct mlx5_core_dev *dev) mlx5_core_is_ecpf() argument
1151 mlx5_core_is_ecpf_esw_manager(const struct mlx5_core_dev *dev) mlx5_core_is_ecpf_esw_manager() argument
1156 mlx5_ecpf_vport_exists(const struct mlx5_core_dev *dev) mlx5_ecpf_vport_exists() argument
1161 mlx5_core_max_vfs(const struct mlx5_core_dev *dev) mlx5_core_max_vfs() argument
1176 mlx5_rl_is_supported(struct mlx5_core_dev *dev) mlx5_rl_is_supported() argument
1181 mlx5_core_is_mp_slave(struct mlx5_core_dev *dev) mlx5_core_is_mp_slave() argument
1187 mlx5_core_is_mp_master(struct mlx5_core_dev *dev) mlx5_core_is_mp_master() argument
1192 mlx5_core_mp_enabled(struct mlx5_core_dev *dev) mlx5_core_mp_enabled() argument
1198 mlx5_core_native_port_num(struct mlx5_core_dev *dev) mlx5_core_native_port_num() argument
1210 mlx5_is_roce_enabled(struct mlx5_core_dev *dev) mlx5_is_roce_enabled() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43legacy/
H A Ddma.c62 addr |= ring->dev->dma.translation; in op32_fill_descriptor()
137 if (b43legacy_debug(ring->dev, B43legacy_DBG_DMAVERBOSE)) in update_max_used_slots()
138 b43legacydbg(ring->dev->wl, in update_max_used_slots()
172 struct b43legacy_wldev *dev, in priority_to_txring()
178 return dev->dma.tx_ring1; in priority_to_txring()
186 ring = dev->dma.tx_ring3; in priority_to_txring()
189 ring = dev->dma.tx_ring2; in priority_to_txring()
192 ring = dev->dma.tx_ring1; in priority_to_txring()
195 ring = dev->dma.tx_ring0; in priority_to_txring()
198 ring = dev in priority_to_txring()
171 priority_to_txring( struct b43legacy_wldev *dev, int queue_priority) priority_to_txring() argument
316 b43legacy_dmacontroller_rx_reset(struct b43legacy_wldev *dev, u16 mmio_base, enum b43legacy_dmatype type) b43legacy_dmacontroller_rx_reset() argument
347 b43legacy_dmacontroller_tx_reset(struct b43legacy_wldev *dev, u16 mmio_base, enum b43legacy_dmatype type) b43legacy_dmacontroller_tx_reset() argument
585 b43legacy_engine_type(struct b43legacy_wldev *dev) b43legacy_engine_type() argument
603 b43legacy_setup_dmaring(struct b43legacy_wldev *dev, int controller_index, int for_tx, enum b43legacy_dmatype type) b43legacy_setup_dmaring() argument
728 b43legacy_dma_free(struct b43legacy_wldev *dev) b43legacy_dma_free() argument
755 b43legacy_dma_init(struct b43legacy_wldev *dev) b43legacy_dma_init() argument
891 parse_cookie(struct b43legacy_wldev *dev, u16 cookie, int *slot) parse_cookie() argument
1048 b43legacy_dma_tx(struct b43legacy_wldev *dev, struct sk_buff *skb) b43legacy_dma_tx() argument
1101 b43legacy_dma_handle_txstatus(struct b43legacy_wldev *dev, const struct b43legacy_txstatus *status) b43legacy_dma_handle_txstatus() argument
1350 b43legacy_dma_tx_suspend(struct b43legacy_wldev *dev) b43legacy_dma_tx_suspend() argument
1361 b43legacy_dma_tx_resume(struct b43legacy_wldev *dev) b43legacy_dma_tx_resume() argument
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dwl_ext_genl.c66 struct net_device *dev; member
77 static int wl_ext_genl_send(struct genl_params *zconf, struct net_device *dev,
111 wl_ext_add_del_ie_hex(struct net_device *dev, uint pktflag, in wl_ext_add_del_ie_hex() argument
120 AGENL_ERROR(dev->name, "wrong ie_len %d\n", ie_len); in wl_ext_add_del_ie_hex()
127 AGENL_ERROR(dev->name, "IE memory alloc failed\n"); in wl_ext_add_del_ie_hex()
154 err = wldev_iovar_setbuf(dev, "vndr_ie", vndr_ie, tot_len, in wl_ext_add_del_ie_hex()
157 AGENL_ERROR(dev->name, "vndr_ie, ret=%d\n", err); in wl_ext_add_del_ie_hex()
167 wl_ext_send_probersp(struct net_device *dev, char* buf, int buf_len) in wl_ext_send_probersp() argument
174 AGENL_ERROR(dev->name, "buf is NULL or buf_len <= 0\n"); in wl_ext_send_probersp()
178 AGENL_TRACE(dev in wl_ext_send_probersp()
206 wl_ext_set_probreq(struct net_device *dev, bool set) wl_ext_set_probreq() argument
225 wl_ext_probreq_event(struct net_device *dev, void *zconf, const wl_event_msg_t *e, void* data) wl_ext_probreq_event() argument
315 struct net_device *dev; wl_ext_genl_recv() local
362 wl_ext_genl_send(struct genl_params *zconf, struct net_device *dev, char* buf, int buf_len) wl_ext_genl_send() argument
429 struct net_device *dev; wl_ext_genl_bind() local
[all...]
/kernel/linux/linux-5.10/drivers/net/dsa/microchip/
H A Dksz_common.h57 struct device *dev; member
118 void (*cfg_port_member)(struct ksz_device *dev, int port, u8 member);
119 void (*flush_dyn_mac_table)(struct ksz_device *dev, int port);
120 void (*port_cleanup)(struct ksz_device *dev, int port);
121 void (*port_setup)(struct ksz_device *dev, int port, bool cpu_port);
122 void (*r_phy)(struct ksz_device *dev, u16 phy, u16 reg, u16 *val);
123 void (*w_phy)(struct ksz_device *dev, u16 phy, u16 reg, u16 val);
124 int (*r_dyn_mac_table)(struct ksz_device *dev, u16 addr, u8 *mac_addr,
127 int (*r_sta_mac_table)(struct ksz_device *dev, u16 addr,
129 void (*w_sta_mac_table)(struct ksz_device *dev, u1
181 ksz_read8(struct ksz_device *dev, u32 reg, u8 *val) ksz_read8() argument
190 ksz_read16(struct ksz_device *dev, u32 reg, u16 *val) ksz_read16() argument
199 ksz_read32(struct ksz_device *dev, u32 reg, u32 *val) ksz_read32() argument
208 ksz_read64(struct ksz_device *dev, u32 reg, u64 *val) ksz_read64() argument
220 ksz_write8(struct ksz_device *dev, u32 reg, u8 value) ksz_write8() argument
225 ksz_write16(struct ksz_device *dev, u32 reg, u16 value) ksz_write16() argument
230 ksz_write32(struct ksz_device *dev, u32 reg, u32 value) ksz_write32() argument
235 ksz_write64(struct ksz_device *dev, u32 reg, u64 value) ksz_write64() argument
247 ksz_pread8(struct ksz_device *dev, int port, int offset, u8 *data) ksz_pread8() argument
253 ksz_pread16(struct ksz_device *dev, int port, int offset, u16 *data) ksz_pread16() argument
259 ksz_pread32(struct ksz_device *dev, int port, int offset, u32 *data) ksz_pread32() argument
265 ksz_pwrite8(struct ksz_device *dev, int port, int offset, u8 data) ksz_pwrite8() argument
271 ksz_pwrite16(struct ksz_device *dev, int port, int offset, u16 data) ksz_pwrite16() argument
277 ksz_pwrite32(struct ksz_device *dev, int port, int offset, u32 data) ksz_pwrite32() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/
H A Dsaa7134-go7007.c52 struct saa7134_dev *dev; member
86 static int gpio_write(struct saa7134_dev *dev, u8 addr, u16 data) in gpio_write() argument
108 static int gpio_read(struct saa7134_dev *dev, u8 addr, u16 *data) in gpio_read() argument
139 struct saa7134_dev *dev = saa->dev; in saa7134_go7007_interface_reset() local
183 struct saa7134_dev *dev = saa->dev; in saa7134_go7007_write_interrupt() local
192 gpio_read(dev, HPI_ADDR_INTR_STATUS, &status_reg); in saa7134_go7007_write_interrupt()
202 gpio_write(dev, HPI_ADDR_INTR_WR_PARAM, data); in saa7134_go7007_write_interrupt()
203 gpio_write(dev, HPI_ADDR_INTR_WR_INDE in saa7134_go7007_write_interrupt()
211 struct saa7134_dev *dev = saa->dev; saa7134_go7007_read_interrupt() local
224 saa7134_go7007_irq_ts_done(struct saa7134_dev *dev, unsigned long status) saa7134_go7007_irq_ts_done() argument
251 struct saa7134_dev *dev = saa->dev; saa7134_go7007_stream_start() local
309 struct saa7134_dev *dev; saa7134_go7007_stream_stop() local
338 struct saa7134_dev *dev = saa->dev; saa7134_go7007_send_firmware() local
410 saa7134_go7007_init(struct saa7134_dev *dev) saa7134_go7007_init() argument
478 saa7134_go7007_fini(struct saa7134_dev *dev) saa7134_go7007_fini() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/netdevsim/
H A Dnetdev.c29 static netdev_tx_t nsim_start_xmit(struct sk_buff *skb, struct net_device *dev) in nsim_start_xmit() argument
31 struct netdevsim *ns = netdev_priv(dev); in nsim_start_xmit()
47 static void nsim_set_rx_mode(struct net_device *dev) in nsim_set_rx_mode() argument
51 static int nsim_change_mtu(struct net_device *dev, int new_mtu) in nsim_change_mtu() argument
53 struct netdevsim *ns = netdev_priv(dev); in nsim_change_mtu()
58 dev->mtu = new_mtu; in nsim_change_mtu()
64 nsim_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats) in nsim_get_stats64() argument
66 struct netdevsim *ns = netdev_priv(dev); in nsim_get_stats64()
82 static int nsim_set_vf_mac(struct net_device *dev, int vf, u8 *mac) in nsim_set_vf_mac() argument
84 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_mac()
95 nsim_set_vf_vlan(struct net_device *dev, int vf, u16 vlan, u8 qos, __be16 vlan_proto) nsim_set_vf_vlan() argument
111 nsim_set_vf_rate(struct net_device *dev, int vf, int min, int max) nsim_set_vf_rate() argument
125 nsim_set_vf_spoofchk(struct net_device *dev, int vf, bool val) nsim_set_vf_spoofchk() argument
137 nsim_set_vf_rss_query_en(struct net_device *dev, int vf, bool val) nsim_set_vf_rss_query_en() argument
149 nsim_set_vf_trust(struct net_device *dev, int vf, bool val) nsim_set_vf_trust() argument
162 nsim_get_vf_config(struct net_device *dev, int vf, struct ifla_vf_info *ivi) nsim_get_vf_config() argument
185 nsim_set_vf_link_state(struct net_device *dev, int vf, int state) nsim_set_vf_link_state() argument
210 nsim_setup_tc(struct net_device *dev, enum tc_setup_type type, void *type_data) nsim_setup_tc() argument
226 nsim_set_features(struct net_device *dev, netdev_features_t features) nsim_set_features() argument
236 nsim_get_devlink_port(struct net_device *dev) nsim_get_devlink_port() argument
266 nsim_setup(struct net_device *dev) nsim_setup() argument
288 struct net_device *dev; nsim_create() local
338 struct net_device *dev = ns->netdev; nsim_destroy() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fs_enet/
H A Dmac-scc.c93 struct platform_device *ofdev = to_platform_device(fep->dev); in do_pd_setup()
95 fep->interrupt = irq_of_parse_and_map(ofdev->dev.of_node, 0); in do_pd_setup()
99 fep->scc.sccp = of_iomap(ofdev->dev.of_node, 0); in do_pd_setup()
103 fep->scc.ep = of_iomap(ofdev->dev.of_node, 1); in do_pd_setup()
116 static int setup_data(struct net_device *dev) in setup_data() argument
118 struct fs_enet_private *fep = netdev_priv(dev); in setup_data()
132 static int allocate_bd(struct net_device *dev) in allocate_bd() argument
134 struct fs_enet_private *fep = netdev_priv(dev); in allocate_bd()
148 static void free_bd(struct net_device *dev) in free_bd() argument
150 struct fs_enet_private *fep = netdev_priv(dev); in free_bd()
156 cleanup_data(struct net_device *dev) cleanup_data() argument
161 set_promiscuous_mode(struct net_device *dev) set_promiscuous_mode() argument
169 set_multicast_start(struct net_device *dev) set_multicast_start() argument
180 set_multicast_one(struct net_device *dev, const u8 * mac) set_multicast_one() argument
196 set_multicast_finish(struct net_device *dev) set_multicast_finish() argument
216 set_multicast_list(struct net_device *dev) set_multicast_list() argument
234 restart(struct net_device *dev) restart() argument
354 stop(struct net_device *dev) stop() argument
372 napi_clear_event_fs(struct net_device *dev) napi_clear_event_fs() argument
380 napi_enable_fs(struct net_device *dev) napi_enable_fs() argument
388 napi_disable_fs(struct net_device *dev) napi_disable_fs() argument
396 rx_bd_done(struct net_device *dev) rx_bd_done() argument
401 tx_kickstart(struct net_device *dev) tx_kickstart() argument
406 get_int_events(struct net_device *dev) get_int_events() argument
414 clear_int_events(struct net_device *dev, u32 int_events) clear_int_events() argument
422 ev_error(struct net_device *dev, u32 int_events) ev_error() argument
429 get_regs(struct net_device *dev, void *p, int *sizep) get_regs() argument
444 get_regs_len(struct net_device *dev) get_regs_len() argument
449 tx_restart(struct net_device *dev) tx_restart() argument
[all...]
/kernel/linux/linux-5.10/drivers/phy/motorola/
H A Dphy-mapphone-mdm6600.c91 struct device *dev; member
132 if (pm_runtime_enabled(&x->dev)) in phy_mdm6600_power_on()
148 if (pm_runtime_enabled(&x->dev)) { in phy_mdm6600_power_off()
151 dev_warn(ddata->dev, "%s: phy_pm_runtime_get: %i\n", in phy_mdm6600_power_off()
192 struct device *dev; in phy_mdm6600_status() local
197 dev = ddata->dev; in phy_mdm6600_status()
208 dev_info(dev, "modem status: %i %s\n", in phy_mdm6600_status()
244 dev_dbg(ddata->dev, "OOB wake on mode_gpio1: %i\n", wakeup); in phy_mdm6600_wakeirq_thread()
245 error = pm_runtime_get_sync(ddata->dev); in phy_mdm6600_wakeirq_thread()
265 struct device *dev = ddata->dev; phy_mdm6600_init_irq() local
307 struct device *dev = ddata->dev; phy_mdm6600_init_lines() local
526 phy_mdm6600_runtime_suspend(struct device *dev) phy_mdm6600_runtime_suspend() argument
536 phy_mdm6600_runtime_resume(struct device *dev) phy_mdm6600_runtime_resume() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_probe_helper.c95 struct drm_device *dev = connector->dev; in drm_mode_validate_pipeline() local
128 drm_for_each_crtc(crtc, dev) { in drm_mode_validate_pipeline()
171 mode = drm_mode_create_from_cmdline_mode(connector->dev, in drm_helper_probe_add_cmdline_mode()
229 * @dev: drm_device
242 void drm_kms_helper_poll_enable(struct drm_device *dev) in drm_kms_helper_poll_enable() argument
249 if (!dev->mode_config.poll_enabled || !drm_kms_helper_poll) in drm_kms_helper_poll_enable()
252 drm_connector_list_iter_begin(dev, &conn_iter); in drm_kms_helper_poll_enable()
260 if (dev->mode_config.delayed_event) { in drm_kms_helper_poll_enable()
276 schedule_delayed_work(&dev in drm_kms_helper_poll_enable()
333 struct drm_device *dev = connector->dev; drm_helper_probe_detect() local
419 struct drm_device *dev = connector->dev; drm_helper_probe_single_connector_modes() local
608 drm_kms_helper_hotplug_event(struct drm_device *dev) drm_kms_helper_hotplug_event() argument
622 struct drm_device *dev = container_of(delayed_work, struct drm_device, mode_config.output_poll_work); output_poll_execute() local
748 drm_kms_helper_poll_disable(struct drm_device *dev) drm_kms_helper_poll_disable() argument
775 drm_kms_helper_poll_init(struct drm_device *dev) drm_kms_helper_poll_init() argument
788 drm_kms_helper_poll_fini(struct drm_device *dev) drm_kms_helper_poll_fini() argument
821 drm_helper_hpd_irq_event(struct drm_device *dev) drm_helper_hpd_irq_event() argument
[all...]
/kernel/linux/linux-5.10/drivers/pci/controller/cadence/
H A Dpci-j721e.c52 struct device *dev; member
99 struct device *dev = pcie->dev; in j721e_pcie_link_irq_handler() local
106 dev_err(dev, "LINK DOWN!\n"); in j721e_pcie_link_irq_handler()
123 struct j721e_pcie *pcie = dev_get_drvdata(cdns_pcie->dev); in j721e_pcie_start_link()
135 struct j721e_pcie *pcie = dev_get_drvdata(cdns_pcie->dev); in j721e_pcie_stop_link()
145 struct j721e_pcie *pcie = dev_get_drvdata(cdns_pcie->dev); in j721e_pcie_link_up()
164 struct device *dev = pcie->dev; in j721e_pcie_set_mode() local
175 dev_err(dev, "faile in j721e_pcie_set_mode()
183 struct device *dev = pcie->dev; j721e_pcie_set_link_speed() local
204 struct device *dev = pcie->dev; j721e_pcie_set_lane_count() local
219 struct device *dev = pcie->dev; j721e_pcie_ctrl_init() local
342 struct device *dev = &pdev->dev; j721e_pcie_probe() local
521 struct device *dev = &pdev->dev; j721e_pcie_remove() local
[all...]

Completed in 22 milliseconds

1...<<111112113114115116117118119120>>...1667