Searched refs:dev (Results 101 - 125 of 8117) sorted by relevance

1234567891011>>

/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Ddevice.h66 void (*dev_release)(struct device *dev);
67 char * (*devnode)(struct device *dev, umode_t *mode);
71 int (*prepare)(struct device *dev);
72 void (*complete)(struct device *dev);
73 int (*suspend)(struct device *dev);
74 int (*suspend_late)(struct device *dev);
75 int (*resume)(struct device *dev);
76 int (*resume_early)(struct device *dev);
77 int (*freeze)(struct device *dev);
78 int (*freeze_late)(struct device *dev);
289 dev_driver_string(const struct device *dev) argument
304 dev_get_drvdata(const struct device *dev) argument
311 dev_set_drvdata(struct device *dev, void *data) argument
318 get_device(struct device *dev) argument
328 dev_name(const struct device *dev) argument
338 put_device(struct device *dev) argument
383 device_initialize(struct device *dev) argument
416 device_add(struct device *dev) argument
431 device_create_release(struct device *dev) argument
442 struct device *dev; local
452 device_is_registered(struct device *dev) argument
459 device_register(struct device *dev) argument
497 device_unregister(struct device *dev) argument
515 device_del(struct device *dev) argument
542 device_release_driver(struct device *dev) argument
561 device_reprobe(struct device *dev) argument
584 device_wakeup_enable(struct device *dev) argument
617 device_create_file(struct device *dev, const struct device_attribute *attr) argument
626 device_remove_file(struct device *dev, const struct device_attribute *attr) argument
662 devm_kmalloc(struct device *dev, size_t size, gfp_t gfp) argument
674 devm_kmemdup(struct device *dev, const void *src, size_t len, gfp_t gfp) argument
[all...]
/freebsd-current/sys/dev/usb/controller/
H A Dxlnx_dwc3.c43 #include <dev/fdt/simplebus.h>
45 #include <dev/fdt/fdt_common.h>
46 #include <dev/ofw/ofw_bus.h>
47 #include <dev/ofw/ofw_bus_subr.h>
48 #include <dev/ofw/ofw_subr.h>
50 #include <dev/clk/clk.h>
51 #include <dev/hwreset/hwreset.h>
52 #include <dev/phy/phy_usb.h>
53 #include <dev/syscon/syscon.h>
62 device_t dev; member in struct:xlnx_dwc3_softc
69 xlnx_dwc3_probe(device_t dev) argument
89 xlnx_dwc3_attach(device_t dev) argument
[all...]
/freebsd-current/sys/dev/mlx5/mlx5_core/
H A Dmlx5_health.c35 #include <dev/mlx5/driver.h>
36 #include <dev/mlx5/mlx5_ifc.h>
37 #include <dev/mlx5/mlx5_core/mlx5_core.h>
68 static int lock_sem_sw_reset(struct mlx5_core_dev *dev) argument
73 ret = -mlx5_vsc_lock(dev);
75 mlx5_core_warn(dev, "Timed out locking gateway %d\n", ret);
79 ret = -mlx5_vsc_lock_addr_space(dev, MLX5_SEMAPHORE_SW_RESET);
82 mlx5_core_dbg(dev,
85 mlx5_core_warn(dev,
90 mlx5_vsc_unlock(dev);
95 unlock_sem_sw_reset(struct mlx5_core_dev *dev) argument
114 mlx5_get_nic_state(struct mlx5_core_dev *dev) argument
119 mlx5_set_nic_state(struct mlx5_core_dev *dev, u8 state) argument
129 sensor_fw_synd_rfr(struct mlx5_core_dev *dev) argument
143 struct mlx5_core_dev *dev = local
166 sensor_pci_no_comm(struct mlx5_core_dev *dev) argument
175 sensor_nic_disabled(struct mlx5_core_dev *dev) argument
180 sensor_nic_sw_reset(struct mlx5_core_dev *dev) argument
185 check_fatal_sensors(struct mlx5_core_dev *dev) argument
201 reset_fw_if_needed(struct mlx5_core_dev *dev) argument
238 mlx5_health_allow_reset(struct mlx5_core_dev *dev) argument
266 mlx5_enter_error_state(struct mlx5_core_dev *dev, bool force) argument
335 mlx5_handle_bad_state(struct mlx5_core_dev *dev) argument
368 struct mlx5_core_dev *dev; local
412 get_recovery_delay(struct mlx5_core_dev *dev) argument
423 struct mlx5_core_dev *dev; local
459 mlx5_trigger_health_work(struct mlx5_core_dev *dev) argument
504 print_health_info(struct mlx5_core_dev *dev) argument
545 struct mlx5_core_dev *dev; local
596 mlx5_trigger_health_watchdog(struct mlx5_core_dev *dev) argument
612 struct mlx5_core_dev *dev = (struct mlx5_core_dev *)data; local
646 mlx5_start_health_poll(struct mlx5_core_dev *dev) argument
666 mlx5_stop_health_poll(struct mlx5_core_dev *dev, bool disable_health) argument
682 mlx5_drain_health_wq(struct mlx5_core_dev *dev) argument
697 mlx5_drain_health_recovery(struct mlx5_core_dev *dev) argument
708 mlx5_health_cleanup(struct mlx5_core_dev *dev) argument
717 mlx5_health_init(struct mlx5_core_dev *dev) argument
[all...]
/freebsd-current/sys/dev/usb/controller/dwc3/
H A Drk_dwc3.c41 #include <dev/fdt/simplebus.h>
43 #include <dev/fdt/fdt_common.h>
44 #include <dev/ofw/ofw_bus.h>
45 #include <dev/ofw/ofw_bus_subr.h>
46 #include <dev/ofw/ofw_subr.h>
48 #include <dev/clk/clk.h>
49 #include <dev/hwreset/hwreset.h>
50 #include <dev/phy/phy_usb.h>
51 #include <dev/syscon/syscon.h>
64 device_t dev; member in struct:rk_dwc3_softc
76 rk_dwc3_probe(device_t dev) argument
96 rk_dwc3_attach(device_t dev) argument
[all...]
/freebsd-current/sys/contrib/dev/mediatek/mt76/
H A Ddebugfs.c10 struct mt76_dev *dev = data; local
12 __mt76_wr(dev, dev->debugfs_reg, val);
19 struct mt76_dev *dev = data; local
21 *val = __mt76_rr(dev, dev->debugfs_reg);
31 struct mt76_dev *dev = data; local
33 if (!mt76_is_mmio(dev))
36 if (dev->napi_dev.threaded != val)
37 return dev_set_threaded(&dev
45 struct mt76_dev *dev = data; local
56 struct mt76_dev *dev = dev_get_drvdata(s->private); local
76 struct mt76_dev *dev = dev_get_drvdata(s->private); local
108 struct mt76_dev *dev = phy->dev; local
[all...]
H A Dmt76x02_usb_core.c25 int mt76x02u_mac_start(struct mt76x02_dev *dev) argument
27 mt76x02_mac_reset_counters(dev);
29 mt76_wr(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX);
30 if (!mt76x02_wait_for_wpdma(&dev->mt76, 200000))
33 mt76_wr(dev, MT_RX_FILTR_CFG, dev->mt76.rxfilter);
35 mt76_wr(dev, MT_MAC_SYS_CTRL,
39 if (!mt76x02_wait_for_wpdma(&dev->mt76, 50))
69 struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76); local
70 int pid, len = tx_info->skb->len, ep = q2ep(dev
128 mt76x02u_start_pre_tbtt_timer(struct mt76x02_dev *dev) argument
146 mt76x02u_restart_pre_tbtt_timer(struct mt76x02_dev *dev) argument
172 mt76x02u_stop_pre_tbtt_timer(struct mt76x02_dev *dev) argument
183 struct mt76x02_dev *dev = local
203 mt76x02_update_beacon_iter, dev); local
227 struct mt76x02_dev *dev = local
235 mt76x02u_pre_tbtt_enable(struct mt76x02_dev *dev, bool en) argument
244 mt76x02u_beacon_enable(struct mt76x02_dev *dev, bool en) argument
253 mt76x02u_init_beacon_config(struct mt76x02_dev *dev) argument
271 mt76x02u_exit_beacon_config(struct mt76x02_dev *dev) argument
[all...]
/freebsd-current/sys/powerpc/ofw/
H A Dofw_pcib_pci.c37 #include <dev/ofw/openfirm.h>
38 #include <dev/ofw/ofw_pci.h>
39 #include <dev/ofw/ofw_bus.h>
40 #include <dev/ofw/ofw_bus_subr.h>
42 #include <dev/pci/pcivar.h>
43 #include <dev/pci/pcireg.h>
44 #include <dev/pci/pcib_private.h>
52 static phandle_t ofw_pcib_pci_get_node(device_t bus, device_t dev);
53 static int ofw_pcib_pci_route_interrupt(device_t bridge, device_t dev,
74 * generic routines only need the dev, secbu
87 ofw_pcib_pci_probe(device_t dev) argument
103 ofw_pcib_pci_attach(device_t dev) argument
119 ofw_pcib_pci_get_node(device_t bridge, device_t dev) argument
127 ofw_pcib_pci_route_interrupt(device_t bridge, device_t dev, int intpin) argument
[all...]
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dusb_phy.c11 mt76x2u_phy_channel_calibrate(struct mt76x02_dev *dev, bool mac_stopped) argument
13 struct ieee80211_channel *chan = dev->mphy.chandef.chan;
16 if (dev->cal.channel_cal_done)
19 if (mt76x2_channel_silent(dev))
23 mt76x2u_mac_stop(dev);
26 mt76x02_mcu_calibrate(dev, MCU_CAL_LC, 0);
28 mt76x02_mcu_calibrate(dev, MCU_CAL_TX_LOFT, is_5ghz);
29 mt76x02_mcu_calibrate(dev, MCU_CAL_TXIQ, is_5ghz);
30 mt76x02_mcu_calibrate(dev, MCU_CAL_RXIQC_FI, is_5ghz);
31 mt76x02_mcu_calibrate(dev, MCU_CAL_TEMP_SENSO
44 struct mt76x02_dev *dev; local
60 mt76x2u_phy_set_channel(struct mt76x02_dev *dev, struct cfg80211_chan_def *chandef) argument
[all...]
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dinit.c18 static ssize_t mt7615_thermal_show_temp(struct device *dev, argument
22 struct mt7615_dev *mdev = dev_get_drvdata(dev);
48 int mt7615_thermal_init(struct mt7615_dev *dev) argument
50 struct wiphy *wiphy = mt76_hw(dev)->wiphy;
57 name = devm_kasprintf(&wiphy->dev, GFP_KERNEL, "mt7615_%s",
59 hwmon = devm_hwmon_device_register_with_groups(&wiphy->dev, name, dev,
69 mt7615_phy_init(struct mt7615_dev *dev) argument
72 mt76_set(dev, MT_WF_PHY_WF2_RFCTRL0(0), MT_WF_PHY_WF2_RFCTRL0_LPBCN_EN);
73 mt76_set(dev, MT_WF_PHY_WF2_RFCTRL
77 mt7615_init_mac_chain(struct mt7615_dev *dev, int chain) argument
136 mt7615_mac_init(struct mt7615_dev *dev) argument
188 mt7615_check_offload_capability(struct mt7615_dev *dev) argument
222 mt7615_wait_for_mcu_init(struct mt7615_dev *dev) argument
272 mt7615_init_txpower(struct mt7615_dev *dev, struct ieee80211_supported_band *sband) argument
320 mt7615_init_work(struct mt7615_dev *dev) argument
335 struct mt7615_dev *dev = mt7615_hw_dev(hw); local
421 mt7615_cap_dbdc_enable(struct mt7615_dev *dev) argument
437 mt7615_cap_dbdc_disable(struct mt7615_dev *dev) argument
449 mt7615_reg_map(struct mt7615_dev *dev, u32 addr) argument
470 struct mt7615_dev *dev; local
528 mt7615_register_ext_phy(struct mt7615_dev *dev) argument
597 mt7615_unregister_ext_phy(struct mt7615_dev *dev) argument
611 mt7615_init_device(struct mt7615_dev *dev) argument
[all...]
/freebsd-current/usr.sbin/bhyve/
H A Dacpi_device.c59 struct acpi_device *const dev = calloc(1, sizeof(*dev)); local
60 if (dev == NULL) {
64 dev->vm_ctx = vm_ctx;
65 dev->softc = softc;
66 dev->emul = emul;
67 SLIST_INIT(&dev->crs);
69 const int error = acpi_tables_add_device(dev);
71 acpi_device_destroy(dev);
75 *new_dev = dev;
81 acpi_device_destroy(struct acpi_device *const dev) argument
98 acpi_device_add_res_fixed_ioport(struct acpi_device *const dev, const UINT16 port, const UINT8 length) argument
120 acpi_device_add_res_fixed_memory32(struct acpi_device *const dev, const UINT8 write_protected, const UINT32 address, const UINT32 length) argument
143 acpi_device_get_softc(const struct acpi_device *const dev) argument
151 acpi_device_build_table(const struct acpi_device *const dev) argument
164 acpi_device_write_dsdt_crs(const struct acpi_device *const dev) argument
187 acpi_device_write_dsdt(const struct acpi_device *const dev) argument
[all...]
/freebsd-current/sys/dev/mlx4/mlx4_core/
H A Dmlx4_catas.c52 static int read_vendor_id(struct mlx4_dev *dev) argument
57 ret = pci_read_config_word(dev->persist->pdev, 0, &vendor_id);
59 mlx4_err(dev, "Failed to read vendor ID, ret=%d\n", ret);
64 mlx4_err(dev, "PCI can't be accessed to read vendor id\n");
71 static int mlx4_reset_master(struct mlx4_dev *dev) argument
75 if (mlx4_is_master(dev))
76 mlx4_report_internal_err_comm_event(dev);
78 if (!pci_channel_offline(dev->persist->pdev)) {
79 err = read_vendor_id(dev);
86 err = mlx4_reset(dev);
94 mlx4_reset_slave(struct mlx4_dev *dev) argument
172 struct mlx4_dev *dev; local
217 dump_err_buf(struct mlx4_dev *dev) argument
231 struct mlx4_dev *dev = (struct mlx4_dev *) dev_ptr; local
269 mlx4_start_catas_poll(struct mlx4_dev *dev) argument
298 mlx4_stop_catas_poll(struct mlx4_dev *dev) argument
313 mlx4_catas_init(struct mlx4_dev *dev) argument
323 mlx4_catas_end(struct mlx4_dev *dev) argument
[all...]
/freebsd-current/tools/test/stress2/misc/
H A Ddevfs3.sh39 ./devfs.sh > /dev/null 2>&1 &
41 ./devfs.sh > /dev/null 2>&1 &
H A Dsendfile7.sh39 while kill -0 $! 2>/dev/null; do
40 ../testcases/swap/swap -t 2m -i 40 > /dev/null 2>&1
H A Drandom.sh35 dd if=/dev/random of=/dev/null bs=$i count=1 status=none
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/devices/
H A Ddevices_003_pos.ksh37 # Writing random data into /dev/zfs should do no harm.
40 # 1. Write some random data into /dev/zfs
45 log_assert "Writing random data into /dev/zfs should do no harm."
47 log_mustnot dd if=/dev/urandom of=/dev/zfs count=1024
49 log_pass "Writing random data into /dev/zfs should do no harm."
/freebsd-current/sys/dev/acpica/
H A Dacpi_pcivar.h31 void acpi_pci_child_added(device_t dev, device_t child);
/freebsd-current/sys/dev/amdsmn/
H A Damdsmn.h29 int amdsmn_read(device_t dev, uint32_t addr, uint32_t *value);
30 int amdsmn_write(device_t dev, uint32_t addr, uint32_t value);
/freebsd-current/sys/arm/ti/
H A Dti_prm.h30 int ti_prm_reset(device_t dev);
32 int ti_prm_write_4(device_t dev, bus_addr_t addr, uint32_t val);
33 int ti_prm_read_4(device_t dev, bus_addr_t addr, uint32_t *val);
34 int ti_prm_modify_4(device_t dev, bus_addr_t addr, uint32_t clr, uint32_t set);
H A Dti_omap4_cm.h30 uint64_t ti_omap4_cm_get_simplebus_base_host(device_t dev);
/freebsd-current/sys/dev/mlx5/
H A Dmpfs.h30 int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u32 *p_index, const u8 *mac,
32 int mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u32 index);
33 int mlx5_mpfs_init(struct mlx5_core_dev *dev);
34 void mlx5_mpfs_destroy(struct mlx5_core_dev *dev);
/freebsd-current/sys/dev/etherswitch/arswitch/
H A Darswitch_phy.h31 extern int arswitch_readphy_external(device_t dev, int phy, int reg);
32 extern int arswitch_writephy_external(device_t dev, int phy, int reg, int data);
34 extern int arswitch_readphy_internal(device_t dev, int phy, int reg);
35 extern int arswitch_writephy_internal(device_t dev, int phy, int reg, int data);
/freebsd-current/sys/dev/etherswitch/
H A Dmiiproxy.h34 device_t mii_attach_proxy(device_t dev);
/freebsd-current/sys/dev/backlight/
H A Dbacklight.h30 struct cdev *backlight_register(const char *name, device_t dev);
31 int backlight_destroy(struct cdev *dev);
/freebsd-current/sys/i386/include/
H A Dspeaker.h7 #warning "machine/speaker.h is deprecated. Include dev/speaker/speaker.h instead."
9 #include <dev/speaker/speaker.h>
/freebsd-current/usr.bin/less/
H A Dlesspipe.sh6 exec unzip -c "$1" 2>/dev/null
9 exec uncompress -c "$1" 2>/dev/null
12 exec gzip -d -c "$1" 2>/dev/null
15 exec bzip2 -d -c "$1" 2>/dev/null
18 exec xz -d -c "$1" 2>/dev/null
21 exec lzma -d -c "$1" 2>/dev/null
24 exec zstd -d -q -c "$1" 2>/dev/null
26 *) exec cat "$1" 2>/dev/null

Completed in 283 milliseconds

1234567891011>>