Searched refs:dev (Results 201 - 225 of 8117) sorted by relevance

1234567891011>>

/freebsd-current/sys/arm64/coresight/
H A Dcoresight_funnel_acpi.c44 #include <contrib/dev/acpica/include/acpi.h>
45 #include <dev/acpica/acpivar.h>
51 funnel_acpi_probe(device_t dev) argument
58 sc = device_get_softc(dev);
60 error = ACPI_ID_PROBE(device_get_parent(dev), dev,
64 device_set_desc(dev, "ARM Coresight Static Funnel");
68 error = ACPI_ID_PROBE(device_get_parent(dev), dev,
72 device_set_desc(dev, "AR
80 funnel_acpi_attach(device_t dev) argument
[all...]
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt76x0/
H A Dpci.c15 struct mt76x02_dev *dev = hw->priv; local
17 mt76x02_mac_start(dev);
18 mt76x0_phy_calibrate(dev, true);
19 ieee80211_queue_delayed_work(dev->mt76.hw, &dev->mphy.mac_work,
21 ieee80211_queue_delayed_work(dev->mt76.hw, &dev->cal_work,
23 set_bit(MT76_STATE_RUNNING, &dev->mphy.state);
28 static void mt76x0e_stop_hw(struct mt76x02_dev *dev) argument
30 cancel_delayed_work_sync(&dev
49 struct mt76x02_dev *dev = hw->priv; local
91 mt76x0e_init_hardware(struct mt76x02_dev *dev, bool resume) argument
132 mt76x0e_register_device(struct mt76x02_dev *dev) argument
166 struct mt76x02_dev *dev; local
218 mt76x0e_cleanup(struct mt76x02_dev *dev) argument
232 struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76); local
243 struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76); local
269 struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76); local
[all...]
/freebsd-current/crypto/heimdal/lib/hx509/
H A Dtest_query.in48 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null || exit 1
54 FILE:$srcdir/data/kdc.crt >/dev/null 2>/dev/null || exit 1
59 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null || exit 1
65 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null || exit 1
71 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/nul
[all...]
/freebsd-current/sys/dev/pms/RefTisa/sallsdk/spc/
H A Dsaglobal.h33 #include <dev/pms/freebsd/driver/common/osenv.h>
34 #include <dev/pms/freebsd/driver/common/ostypes.h>
35 #include <dev/pms/freebsd/driver/common/osdebug.h>
37 #include <dev/pms/RefTisa/tisa/sassata/common/ossa.h>
39 #include <dev/pms/RefTisa/sallsdk/api/sa.h>
40 #include <dev/pms/RefTisa/sallsdk/api/saosapi.h>
42 #include <dev/pms/RefTisa/sallsdk/spc/sallist.h>
43 #include <dev/pms/RefTisa/sallsdk/spc/sadefs.h>
44 #include <dev/pms/RefTisa/sallsdk/spc/sampidefs.h>
45 #include <dev/pm
[all...]
/freebsd-current/sys/dev/altera/sdcard/
H A Daltera_sdcard_fdt.c52 #include <dev/altera/sdcard/altera_sdcard.h>
54 #include <dev/fdt/fdt_common.h>
55 #include <dev/ofw/openfirm.h>
56 #include <dev/ofw/ofw_bus.h>
57 #include <dev/ofw/ofw_bus_subr.h>
63 altera_sdcard_fdt_probe(device_t dev) argument
66 if (!ofw_bus_status_okay(dev))
69 if (ofw_bus_is_compatible(dev, "altera,sdcard_11_2011")) {
70 device_set_desc(dev, "Altera Secure Data Card IP Core");
77 altera_sdcard_fdt_attach(device_t dev) argument
96 altera_sdcard_fdt_detach(device_t dev) argument
[all...]
/freebsd-current/sys/arm/mv/armada38x/
H A Dpmsu.c45 #include <dev/ofw/ofw_bus_subr.h>
57 device_t dev; member in struct:pmsu_softc
61 static int pmsu_probe(device_t dev);
62 static int pmsu_attach(device_t dev);
63 static int pmsu_detach(device_t dev);
82 pmsu_probe(device_t dev) argument
85 if (!ofw_bus_status_okay(dev))
88 if (!ofw_bus_is_compatible(dev, "marvell,armada-380-pmsu"))
91 device_set_desc(dev, "Power Management Service Unit");
97 pmsu_attach(device_t dev) argument
115 pmsu_detach(device_t dev) argument
[all...]
/freebsd-current/sys/dev/ata/chipsets/
H A Data-cypress.c46 #include <dev/pci/pcivar.h>
47 #include <dev/pci/pcireg.h>
48 #include <dev/ata/ata-all.h>
49 #include <dev/ata/ata-pci.h>
53 static int ata_cypress_chipinit(device_t dev);
54 static int ata_cypress_setmode(device_t dev, int target, int mode);
60 ata_cypress_probe(device_t dev) argument
62 struct ata_pci_controller *ctlr = device_get_softc(dev);
71 if (pci_get_devid(dev) == ATA_CYPRESS_82C693 &&
72 pci_get_function(dev)
82 ata_cypress_chipinit(device_t dev) argument
94 ata_cypress_setmode(device_t dev, int target, int mode) argument
[all...]
H A Data-netcell.c46 #include <dev/pci/pcivar.h>
47 #include <dev/pci/pcireg.h>
48 #include <dev/ata/ata-all.h>
49 #include <dev/ata/ata-pci.h>
53 static int ata_netcell_chipinit(device_t dev);
54 static int ata_netcell_ch_attach(device_t dev);
55 static int ata_netcell_setmode(device_t dev, int target, int mode);
61 ata_netcell_probe(device_t dev) argument
63 struct ata_pci_controller *ctlr = device_get_softc(dev);
65 if (pci_get_devid(dev)
74 ata_netcell_chipinit(device_t dev) argument
87 ata_netcell_ch_attach(device_t dev) argument
103 ata_netcell_setmode(device_t dev, int target, int mode) argument
[all...]
/freebsd-current/sys/arm/ti/am335x/
H A Dam335x_usb_phy.c41 #include <dev/fdt/simplebus.h>
43 #include <dev/ofw/ofw_bus.h>
44 #include <dev/ofw/ofw_bus_subr.h>
55 device_t dev; member in struct:ti_usb_phy_softc
58 static int ti_usb_phy_probe(device_t dev);
59 static int ti_usb_phy_attach(device_t dev);
60 static int ti_usb_phy_detach(device_t dev);
63 ti_usb_phy_probe(device_t dev) argument
65 if (!ofw_bus_status_okay(dev))
68 if (ofw_bus_search_compatible(dev, compat_dat
79 ti_usb_phy_attach(device_t dev) argument
92 ti_usb_phy_detach(device_t dev) argument
[all...]
H A Dam335x_pwmss.c41 #include <dev/fdt/simplebus.h>
42 #include <dev/ofw/openfirm.h>
43 #include <dev/ofw/ofw_bus.h>
44 #include <dev/ofw/ofw_bus_subr.h>
48 #include <dev/syscon/syscon.h>
84 am335x_pwmss_probe(device_t dev) argument
87 if (!ofw_bus_status_okay(dev))
90 if (!ofw_bus_is_compatible(dev, "ti,am33xx-pwmss"))
93 device_set_desc(dev, "AM335x PWM");
99 am335x_pwmss_attach(device_t dev) argument
165 am335x_pwmss_detach(device_t dev) argument
[all...]
/freebsd-current/sys/contrib/dev/mediatek/mt76/
H A Dmmio.c9 static u32 mt76_mmio_rr(struct mt76_dev *dev, u32 offset) argument
14 val = readl(dev->mmio.regs + offset);
16 val = readl((u8 *)dev->mmio.regs + offset);
18 trace_reg_rr(dev, offset, val);
23 static void mt76_mmio_wr(struct mt76_dev *dev, u32 offset, u32 val) argument
25 trace_reg_wr(dev, offset, val);
27 writel(val, dev->mmio.regs + offset);
29 writel(val, (u8 *)dev->mmio.regs + offset);
33 static u32 mt76_mmio_rmw(struct mt76_dev *dev, u32 offset, u32 mask, u32 val) argument
35 val |= mt76_mmio_rr(dev, offse
40 mt76_mmio_write_copy(struct mt76_dev *dev, u32 offset, const void *data, int len) argument
50 mt76_mmio_read_copy(struct mt76_dev *dev, u32 offset, void *data, int len) argument
60 mt76_mmio_wr_rp(struct mt76_dev *dev, u32 base, const struct mt76_reg_pair *data, int len) argument
72 mt76_mmio_rd_rp(struct mt76_dev *dev, u32 base, struct mt76_reg_pair *data, int len) argument
84 mt76_set_irq_mask(struct mt76_dev *dev, u32 addr, u32 clear, u32 set) argument
103 mt76_mmio_init(struct mt76_dev *dev, void __iomem *regs) argument
[all...]
H A Dmt76x02_usb.h11 int mt76x02u_mac_start(struct mt76x02_dev *dev);
12 void mt76x02u_init_mcu(struct mt76_dev *dev);
13 void mt76x02u_mcu_fw_reset(struct mt76x02_dev *dev);
14 int mt76x02u_mcu_fw_send_data(struct mt76x02_dev *dev, const void *data,
23 void mt76x02u_init_beacon_config(struct mt76x02_dev *dev);
24 void mt76x02u_exit_beacon_config(struct mt76x02_dev *dev);
/freebsd-current/sys/arm64/iommu/
H A Dsmmu_fdt.c44 #include <dev/pci/pcireg.h>
45 #include <dev/pci/pcivar.h>
46 #include <dev/iommu/iommu.h>
48 #include <dev/ofw/ofw_bus.h>
49 #include <dev/ofw/ofw_bus_subr.h>
51 #include <dev/iommu/iommu.h>
63 smmu_fdt_probe(device_t dev) argument
65 if (!ofw_bus_status_okay(dev))
68 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0)
71 device_set_desc(dev, "AR
77 smmu_fdt_attach(device_t dev) argument
[all...]
/freebsd-current/sys/dev/iicbus/
H A Diicbb.c58 #include <dev/ofw/ofw_bus.h>
59 #include <dev/ofw/ofw_bus_subr.h>
60 #include <dev/fdt/fdt_common.h>
63 #include <dev/iicbus/iiconf.h>
64 #include <dev/iicbus/iicbus.h>
66 #include <dev/smbus/smbconf.h>
94 static int iicbb_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs);
135 iicbb_probe(device_t dev) argument
137 device_set_desc(dev, "I2C bit-banging driver");
143 iicbb_attach(device_t dev) argument
172 iicbb_detach(device_t dev) argument
183 iicbb_get_node(device_t bus, device_t dev) argument
192 iicbb_child_detached( device_t dev, device_t child ) argument
201 iicbb_print_child(device_t bus, device_t dev) argument
245 iicbb_waitforscl(device_t dev) argument
275 iicbb_clockin(device_t dev, int sda) argument
299 iicbb_clockout(device_t dev) argument
313 iicbb_sendbit(device_t dev, int bit) argument
341 iicbb_getack(device_t dev) argument
370 iicbb_sendbyte(device_t dev, uint8_t data) argument
386 iicbb_readbyte(device_t dev, bool last, uint8_t *data) argument
422 iicbb_callback(device_t dev, int index, caddr_t data) argument
428 iicbb_reset(device_t dev, u_char speed, u_char addr, u_char *oldaddr) argument
435 iicbb_start_impl(device_t dev, u_char slave, bool repstart) argument
489 iicbb_start(device_t dev, u_char slave, int timeout) argument
496 iicbb_repstart(device_t dev, u_char slave, int timeout) argument
502 iicbb_stop(device_t dev) argument
524 iicbb_write(device_t dev, const char *buf, int len, int *sent, int timeout) argument
547 iicbb_read(device_t dev, char *buf, int len, int *read, int last, int delay) argument
567 iicbb_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs) argument
[all...]
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dusb.c31 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); local
46 mt7921_skb_add_usb_sdio_hdr(dev, skb, 0);
50 ret = mt76u_bulk_msg(&dev->mt76, skb->data, skb->len, NULL,
57 static int mt7921u_mcu_init(struct mt792x_dev *dev) argument
68 dev->mt76.mcu_ops = &mcu_ops;
70 mt76_set(dev, MT_UDMA_TX_QSEL, MT_FW_DL_EN);
71 ret = mt7921_run_firmware(dev);
75 set_bit(MT76_STATE_MCU_RUNNING, &dev->mphy.state);
76 mt76_clear(dev, MT_UDMA_TX_QSEL, MT_FW_DL_EN);
81 static int mt7921u_mac_reset(struct mt792x_dev *dev) argument
140 struct mt792x_dev *dev = mt792x_hw_dev(hw); local
182 struct mt792x_dev *dev; local
260 struct mt792x_dev *dev = usb_get_intfdata(intf); local
287 struct mt792x_dev *dev = usb_get_intfdata(intf); local
[all...]
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7915/
H A Deeprom.c8 static int mt7915_eeprom_load_precal(struct mt7915_dev *dev) argument
10 struct mt76_dev *mdev = &dev->mt76;
15 if (!dev->flash_mode)
22 dev->cal = devm_kzalloc(mdev->dev, val, GFP_KERNEL);
23 if (!dev->cal)
26 offs = is_mt7915(&dev->mt76) ? MT_EE_PRECAL : MT_EE_PRECAL_V2;
28 return mt76_get_of_eeprom(mdev, dev->cal, offs, val);
31 static int mt7915_check_eeprom(struct mt7915_dev *dev) argument
33 u8 *eeprom = dev
51 mt7915_eeprom_name(struct mt7915_dev *dev) argument
82 mt7915_eeprom_load_default(struct mt7915_dev *dev) argument
107 mt7915_eeprom_load(struct mt7915_dev *dev) argument
145 struct mt7915_dev *dev = phy->dev; local
187 mt7915_eeprom_parse_hw_cap(struct mt7915_dev *dev, struct mt7915_phy *phy) argument
239 mt7915_eeprom_init(struct mt7915_dev *dev) argument
271 mt7915_eeprom_get_target_power(struct mt7915_dev *dev, struct ieee80211_channel *chan, u8 chain_idx) argument
319 mt7915_eeprom_get_power_delta(struct mt7915_dev *dev, int band) argument
[all...]
/freebsd-current/sys/dev/pci/
H A Dvga_pci.c50 #include <dev/pci/pcireg.h>
51 #include <dev/pci/pcivar.h>
69 static struct resource *vga_pci_alloc_resource(device_t dev, device_t child,
72 static int vga_pci_release_resource(device_t dev, device_t child,
80 vga_pci_is_boot_display(device_t dev) argument
87 if ((pci_get_class(dev) != PCIC_DISPLAY &&
88 (pci_get_class(dev) != PCIC_OLD ||
89 pci_get_subclass(dev) != PCIS_OLD_VGA)))
92 unit = device_get_unit(dev);
113 pcib = device_get_parent(device_get_parent(dev));
144 vga_pci_reset(device_t dev) argument
162 vga_pci_map_bios(device_t dev, size_t *size) argument
272 vga_pci_unmap_bios(device_t dev, void *bios) argument
314 vga_pci_repost(device_t dev) argument
344 vga_pci_probe(device_t dev) argument
366 vga_pci_attach(device_t dev) argument
382 vga_pci_suspend(device_t dev) argument
389 vga_pci_detach(device_t dev) argument
400 vga_pci_resume(device_t dev) argument
409 vga_pci_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) argument
416 vga_pci_write_ivar(device_t dev, device_t child, int which, uintptr_t value) argument
423 vga_pci_setup_intr(device_t dev, device_t child, struct resource *irq, int flags, driver_filter_t *filter, driver_intr_t *intr, void *arg, void **cookiep) argument
432 vga_pci_teardown_intr(device_t dev, device_t child, struct resource *irq, void *cookie) argument
452 vga_pci_alloc_resource(device_t dev, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument
478 vga_pci_release_resource(device_t dev, device_t child, struct resource *r) argument
516 vga_pci_read_config(device_t dev, device_t child, int reg, int width) argument
523 vga_pci_write_config(device_t dev, device_t child, int reg, uint32_t val, int width) argument
531 vga_pci_enable_busmaster(device_t dev, device_t child) argument
538 vga_pci_disable_busmaster(device_t dev, device_t child) argument
545 vga_pci_enable_io(device_t dev, device_t child, int space) argument
554 vga_pci_disable_io(device_t dev, device_t child, int space) argument
563 vga_pci_get_vpd_ident(device_t dev, device_t child, const char **identptr) argument
570 vga_pci_get_vpd_readonly(device_t dev, device_t child, const char *kw, const char **vptr) argument
578 vga_pci_set_powerstate(device_t dev, device_t child, int state) argument
587 vga_pci_get_powerstate(device_t dev, device_t child) argument
596 vga_pci_assign_interrupt(device_t dev, device_t child) argument
605 vga_pci_find_cap(device_t dev, device_t child, int capability, int *capreg) argument
613 vga_pci_find_next_cap(device_t dev, device_t child, int capability, int start, int *capreg) argument
621 vga_pci_find_extcap(device_t dev, device_t child, int capability, int *capreg) argument
629 vga_pci_find_next_extcap(device_t dev, device_t child, int capability, int start, int *capreg) argument
637 vga_pci_find_htcap(device_t dev, device_t child, int capability, int *capreg) argument
645 vga_pci_find_next_htcap(device_t dev, device_t child, int capability, int start, int *capreg) argument
653 vga_pci_alloc_msi(device_t dev, device_t child, int *count) argument
668 vga_pci_alloc_msix(device_t dev, device_t child, int *count) argument
683 vga_pci_remap_msix(device_t dev, device_t child, int count, const u_int *vectors) argument
695 vga_pci_release_msi(device_t dev, device_t child) argument
710 vga_pci_msi_count(device_t dev, device_t child) argument
717 vga_pci_msix_count(device_t dev, device_t child) argument
[all...]
H A Dignore_pci.c41 #include <dev/pci/pcivar.h>
43 static int ignore_pci_probe(device_t dev);
61 ignore_pci_probe(device_t dev) argument
63 switch (pci_get_devid(dev)) {
65 device_set_desc(dev, "ignored");
66 device_quiet(dev);
/freebsd-current/contrib/ntp/scripts/build/
H A DcheckChangeLog9 dev) ;;
17 dev---)
21 dev*)
/freebsd-current/tools/test/stress2/misc/
H A Dvmstat.sh37 (cd ../testcases/thr1; ./thr1 -t 1m -i 20 -l 100 > /dev/null) & # churn
40 while true; do vmstat -z > /dev/null; done &
45 kill $pids > /dev/null 2>&1
/freebsd-current/sys/dev/iicbus/mux/
H A Dpca9547.c37 #include <dev/iicbus/iicbus.h>
38 #include <dev/iicbus/iiconf.h>
39 #include <dev/ofw/ofw_bus.h>
40 #include <dev/ofw/ofw_bus_subr.h>
41 #include <dev/ofw/openfirm.h>
53 #include <dev/iicbus/mux/iicmux.h>
57 device_t dev; member in struct:pca9547_softc
62 pca9547_bus_select(device_t dev, int busidx, struct iic_reqbus_data *rd) argument
64 struct pca9547_softc *sc = device_get_softc(dev);
90 return (iicdev_writeto(dev, busbit
95 pca9547_probe(device_t dev) argument
108 pca9547_attach(device_t dev) argument
129 pca9547_detach(device_t dev) argument
[all...]
/freebsd-current/libexec/rc/rc.d/
H A Dserial52 comcontrol /dev/tty${dc}${i} dtrwait 300 drainwait $drainwait
53 stty < /dev/tty${dc}${i}.init -clocal crtscts hupcl 115200 reprint ^R
54 stty < /dev/tty${dc}${i}.lock -clocal -crtscts -hupcl 0
55 stty < /dev/cua${dc}${i}.init -clocal crtscts hupcl 115200 reprint ^R
56 stty < /dev/cua${dc}${i}.lock -clocal -crtscts -hupcl 0
68 stty < /dev/tty${dc}${i}.init reprint undef
69 stty < /dev/cua${dc}${i}.init reprint undef
71 stty < /dev/tty${dc}${i}.lock clocal
74 stty < /dev/tty${dc}${i}.lock 300
75 stty < /dev/cu
[all...]
/freebsd-current/contrib/libfido2/examples/
H A Dretries.c21 fido_dev_t *dev; local
32 if ((dev = fido_dev_new()) == NULL)
35 if ((r = fido_dev_open(dev, argv[1])) != FIDO_OK)
38 if ((r = fido_dev_get_retry_count(dev, &n)) != FIDO_OK)
41 if ((r = fido_dev_close(dev)) != FIDO_OK)
44 fido_dev_free(&dev);
/freebsd-current/tests/sys/geom/class/mirror/
H A D8_test.sh7 if ! [ -c /dev/mdctl ]; then
8 echo "1..0 # SKIP no /dev/mdctl to create md devices"
18 dd if=/dev/zero of=$m1 bs=$ddbs count=1024 >/dev/null 2>&1
19 dd if=/dev/zero of=$m2 bs=$ddbs count=1024 >/dev/null 2>&1
24 gmirror label $name /dev/$us0 /dev/$us1 || exit 1
30 exec 9>/dev/mirror/$name
31 dd if=/dev/zer
[all...]
/freebsd-current/sys/arm/nvidia/
H A Dtegra_ehci.c45 #include <dev/clk/clk.h>
46 #include <dev/hwreset/hwreset.h>
47 #include <dev/phy/phy.h>
48 #include <dev/ofw/ofw_bus.h>
49 #include <dev/ofw/ofw_bus_subr.h>
50 #include <dev/usb/usb.h>
51 #include <dev/usb/usbdi.h>
52 #include <dev/usb/usb_busdma.h>
53 #include <dev/usb/usb_process.h>
54 #include <dev/us
75 device_t dev; member in struct:tegra_ehci_softc
98 tegra_ehci_probe(device_t dev) argument
112 tegra_ehci_detach(device_t dev) argument
145 tegra_ehci_attach(device_t dev) argument
[all...]

Completed in 306 milliseconds

1234567891011>>