/freebsd-11-stable/sys/dev/agp/ |
H A D | agp_ali.c | 40 #include <dev/agp/agppriv.h> 41 #include <dev/agp/agpreg.h> 42 #include <dev/pci/pcivar.h> 43 #include <dev/pci/pcireg.h> 56 agp_ali_match(device_t dev) argument 58 if (pci_get_class(dev) != PCIC_BRIDGE 59 || pci_get_subclass(dev) != PCIS_BRIDGE_HOST) 62 if (agp_find_caps(dev) == 0) 65 switch (pci_get_devid(dev)) { 78 agp_ali_probe(device_t dev) argument 94 agp_ali_attach(device_t dev) argument 139 agp_ali_detach(device_t dev) argument 177 agp_ali_get_aperture(device_t dev) argument 190 agp_ali_set_aperture(device_t dev, u_int32_t aperture) argument 207 agp_ali_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical) argument 219 agp_ali_unbind_page(device_t dev, vm_offset_t offset) argument 231 agp_ali_flush_tlb(device_t dev) argument [all...] |
H A D | agp_sis.c | 40 #include <dev/agp/agppriv.h> 41 #include <dev/agp/agpreg.h> 42 #include <dev/pci/pcivar.h> 43 #include <dev/pci/pcireg.h> 56 agp_sis_match(device_t dev) argument 58 if (pci_get_class(dev) != PCIC_BRIDGE 59 || pci_get_subclass(dev) != PCIS_BRIDGE_HOST) 62 if (agp_find_caps(dev) == 0) 65 switch (pci_get_devid(dev)) { 110 agp_sis_probe(device_t dev) argument 126 agp_sis_attach(device_t dev) argument 171 agp_sis_detach(device_t dev) argument 193 agp_sis_get_aperture(device_t dev) argument 205 agp_sis_set_aperture(device_t dev, u_int32_t aperture) argument 228 agp_sis_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical) argument 240 agp_sis_unbind_page(device_t dev, vm_offset_t offset) argument 252 agp_sis_flush_tlb(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/aha/ |
H A D | aha_isa.c | 74 #include <dev/aha/ahareg.h> 104 aha_isa_probe(device_t dev) argument 109 struct aha_softc *aha = device_get_softc(dev); 117 aha->dev = dev; 119 if (ISA_PNP_PROBE(device_get_parent(dev), dev, aha_ids) == ENXIO) 123 aha->port = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &port_rid, 135 bus_release_resource(dev, SYS_RES_IOPORT, port_rid, aha->port); 147 device_printf(dev, "Coul 187 aha_isa_attach(device_t dev) argument 281 aha_isa_detach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/gpio/ |
H A D | gpiopps.c | 39 #include <dev/gpio/gpiobusvar.h> 44 #include <dev/ofw/ofw_bus.h> 55 device_t dev; member in struct:pps_softc 69 gpiopps_open(struct cdev *dev, int flags, int fmt, struct thread *td) argument 71 struct pps_softc *sc = dev->si_drv1; 75 if (device_get_state(sc->dev) < DS_BUSY) { 76 device_busy(sc->dev); 84 gpiopps_close(struct cdev *dev, int flags, int fmt, struct thread *td) argument 86 struct pps_softc *sc = dev->si_drv1; 93 device_unbusy(sc->dev); 100 gpiopps_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags, struct thread *td) argument 161 gpiopps_detach(device_t dev) argument 178 gpiopps_fdt_attach(device_t dev) argument 264 gpiopps_fdt_probe(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/usb/controller/ |
H A D | saf1761_otg_fdt.c | 1 /* $FreeBSD: stable/11/sys/dev/usb/controller/saf1761_otg_fdt.c 308401 2016-11-07 08:36:06Z hselasky $ */ 55 #include <dev/fdt/fdt_common.h> 57 #include <dev/ofw/openfirm.h> 58 #include <dev/ofw/ofw_bus.h> 59 #include <dev/ofw/ofw_bus_subr.h> 61 #include <dev/usb/usb.h> 62 #include <dev/usb/usbdi.h> 64 #include <dev/usb/usb_core.h> 65 #include <dev/usb/usb_busdma.h> 66 #include <dev/us 107 saf1761_otg_fdt_probe(device_t dev) argument 121 saf1761_otg_fdt_attach(device_t dev) argument 238 saf1761_otg_fdt_detach(device_t dev) argument [all...] |
H A D | xhci_mv.c | 29 __FBSDID("$FreeBSD: stable/11/sys/dev/usb/controller/xhci_mv.c 308401 2016-11-07 08:36:06Z hselasky $"); 51 #include <dev/ofw/ofw_bus.h> 52 #include <dev/ofw/ofw_bus_subr.h> 54 #include <dev/usb/usb.h> 55 #include <dev/usb/usbdi.h> 57 #include <dev/usb/usb_core.h> 58 #include <dev/usb/usb_busdma.h> 59 #include <dev/usb/usb_process.h> 60 #include <dev/usb/usb_util.h> 62 #include <dev/us 81 xhci_probe(device_t dev) argument 96 xhci_attach(device_t dev) argument 171 xhci_detach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/arm/versatile/ |
H A D | versatile_sic.c | 43 #include <dev/ofw/openfirm.h> 44 #include <dev/ofw/ofw_bus.h> 45 #include <dev/ofw/ofw_bus_subr.h> 74 device_t dev; member in struct:versatile_sic_softc 98 versatile_sic_disable_intr(device_t dev, struct intr_irqsrc *isrc) argument 103 sc = device_get_softc(dev); 112 versatile_sic_enable_intr(device_t dev, struct intr_irqsrc *isrc) argument 117 sc = device_get_softc(dev); 126 versatile_sic_map_intr(device_t dev, struct intr_map_data *data, argument 139 sc = device_get_softc(dev); 145 versatile_sic_pre_ithread(device_t dev, struct intr_irqsrc *isrc) argument 151 versatile_sic_post_ithread(device_t dev, struct intr_irqsrc *isrc) argument 161 versatile_sic_post_filter(device_t dev, struct intr_irqsrc *isrc) argument 170 versatile_sic_setup_intr(device_t dev, struct intr_irqsrc *isrc, struct resource *res, struct intr_map_data *data) argument 203 versatile_sic_probe(device_t dev) argument 216 versatile_sic_attach(device_t dev) argument 275 versatile_sic_detach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/isl/ |
H A D | isl.c | 28 __FBSDID("$FreeBSD: stable/11/sys/dev/isl/isl.c 310072 2016-12-14 16:27:28Z avg $"); 56 #include <dev/iicbus/iiconf.h> 57 #include <dev/iicbus/iicbus.h> 58 #include <dev/isl/isl.h> 71 device_t dev; member in struct:isl_softc 76 static int isl_read_sensor(device_t dev, uint8_t cmd_mask); 79 isl_read_byte(device_t dev, uint8_t reg, uint8_t *val) argument 81 uint16_t addr = iicbus_get_addr(dev); 87 return (iicbus_transfer(dev, msgs, nitems(msgs))); 91 isl_write_byte(device_t dev, uint8_ argument 106 init_device(device_t dev, int probe) argument 169 isl_probe(device_t dev) argument 182 isl_attach(device_t dev) argument 246 isl_detach(device_t dev) argument 305 isl_read_sensor(device_t dev, uint8_t cmd_mask) argument [all...] |
/freebsd-11-stable/sys/dev/pci/ |
H A D | pcivar.h | 26 * $FreeBSD: stable/11/sys/dev/pci/pcivar.h 346382 2019-04-19 13:04:48Z kib $ 178 struct device *dev; /* device which owns this */ member in struct:pcicfg 332 pci_read_config(device_t dev, int reg, int width) argument 334 return PCI_READ_CONFIG(device_get_parent(dev), dev, reg, width); 338 pci_write_config(device_t dev, int reg, uint32_t val, int width) argument 340 PCI_WRITE_CONFIG(device_get_parent(dev), dev, reg, val, width); local 376 pci_enable_busmaster(device_t dev) argument 378 return(PCI_ENABLE_BUSMASTER(device_get_parent(dev), de 382 pci_disable_busmaster(device_t dev) argument 388 pci_enable_io(device_t dev, int space) argument 394 pci_disable_io(device_t dev, int space) argument 400 pci_get_vpd_ident(device_t dev, const char **identptr) argument 406 pci_get_vpd_readonly(device_t dev, const char *kw, const char **vptr) argument 451 pci_set_powerstate(device_t dev, int state) argument 457 pci_get_powerstate(device_t dev) argument 463 pci_find_cap(device_t dev, int capability, int *capreg) argument 469 pci_find_next_cap(device_t dev, int capability, int start, int *capreg) argument 476 pci_find_extcap(device_t dev, int capability, int *capreg) argument 482 pci_find_next_extcap(device_t dev, int capability, int start, int *capreg) argument 489 pci_find_htcap(device_t dev, int capability, int *capreg) argument 495 pci_find_next_htcap(device_t dev, int capability, int start, int *capreg) argument 502 pci_alloc_msi(device_t dev, int *count) argument 508 pci_alloc_msix(device_t dev, int *count) argument 514 pci_enable_msi(device_t dev, uint64_t address, uint16_t data) argument 516 PCI_ENABLE_MSI(device_get_parent(dev), dev, address, data); local 520 pci_enable_msix(device_t dev, u_int index, uint64_t address, uint32_t data) argument 522 PCI_ENABLE_MSIX(device_get_parent(dev), dev, index, address, data); local 526 pci_disable_msi(device_t dev) argument 528 PCI_DISABLE_MSI(device_get_parent(dev), dev); local 532 pci_remap_msix(device_t dev, int count, const u_int *vectors) argument 538 pci_release_msi(device_t dev) argument 544 pci_msi_count(device_t dev) argument 550 pci_msix_count(device_t dev) argument 556 pci_msix_pba_bar(device_t dev) argument 562 pci_msix_table_bar(device_t dev) argument 568 pci_get_id(device_t dev, enum pci_id_type type, uintptr_t *id) argument 579 pci_get_rid(device_t dev) argument 590 pci_child_added(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_eq.c | 41 #include <dev/mlx4/cmd.h> 86 static u64 get_async_ev_mask(struct mlx4_dev *dev) argument 89 if (dev->caps.flags & MLX4_DEV_CAP_FLAG_PORT_MNG_CHG_EV) 91 if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_RECOVERABLE_ERROR_EVENT) 144 struct mlx4_dev *dev = &priv->dev; local 156 mlx4_is_bonded(dev)) { 159 if (!mlx4_QUERY_PORT(dev, 1, &port_cap) && port_cap.link_state) 162 if (!mlx4_QUERY_PORT(dev, 2, &port_cap) && port_cap.link_state) 167 for (i = 0; i <= dev 194 slave_event(struct mlx4_dev *dev, u8 slave, struct mlx4_eqe *eqe) argument 223 mlx4_slave_event(struct mlx4_dev *dev, int slave, struct mlx4_eqe *eqe) argument 239 struct mlx4_dev *dev = &priv->dev; local 248 mlx4_gen_pkey_eqe(struct mlx4_dev *dev, int slave, u8 port) argument 268 mlx4_gen_guid_change_eqe(struct mlx4_dev *dev, int slave, u8 port) argument 285 mlx4_gen_port_state_change_eqe(struct mlx4_dev *dev, int slave, u8 port, u8 port_subtype_change) argument 306 mlx4_get_slave_port_state(struct mlx4_dev *dev, int slave, u8 port) argument 322 mlx4_set_slave_port_state(struct mlx4_dev *dev, int slave, u8 port, enum slave_port_state state) argument 340 set_all_slave_state(struct mlx4_dev *dev, u8 port, int event) argument 361 set_and_calc_slave_port_state(struct mlx4_dev *dev, int slave, u8 port, int event, enum slave_port_gen_event *gen_event) argument 427 mlx4_gen_slaves_port_mgt_ev(struct mlx4_dev *dev, u8 port, int attr) argument 453 struct mlx4_dev *dev = &priv->dev; local 489 mlx4_eq_int(struct mlx4_dev *dev, struct mlx4_eq *eq) argument 839 struct mlx4_dev *dev = dev_ptr; local 855 struct mlx4_dev *dev = eq->dev; local 863 mlx4_MAP_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) argument 890 mlx4_MAP_EQ(struct mlx4_dev *dev, u64 event_mask, int unmap, int eq_num) argument 898 mlx4_SW2HW_EQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, int eq_num) argument 906 mlx4_HW2SW_EQ(struct mlx4_dev *dev, int eq_num) argument 912 mlx4_num_eq_uar(struct mlx4_dev *dev) argument 923 mlx4_get_eq_uar(struct mlx4_dev *dev, struct mlx4_eq *eq) argument 945 mlx4_unmap_uar(struct mlx4_dev *dev) argument 957 mlx4_create_eq(struct mlx4_dev *dev, int nent, u8 intr, struct mlx4_eq *eq) argument 1072 mlx4_free_eq(struct mlx4_dev *dev, struct mlx4_eq *eq) argument 1099 mlx4_free_irqs(struct mlx4_dev *dev) argument 1117 mlx4_map_clr_int(struct mlx4_dev *dev) argument 1132 mlx4_unmap_clr_int(struct mlx4_dev *dev) argument 1139 mlx4_alloc_eq_table(struct mlx4_dev *dev) argument 1151 mlx4_free_eq_table(struct mlx4_dev *dev) argument 1156 mlx4_init_eq_table(struct mlx4_dev *dev) argument 1311 mlx4_cleanup_eq_table(struct mlx4_dev *dev) argument 1344 mlx4_test_async(struct mlx4_dev *dev) argument 1354 mlx4_test_interrupt(struct mlx4_dev *dev, int vector) argument 1385 mlx4_is_eq_vector_valid(struct mlx4_dev *dev, u8 port, int vector) argument 1398 mlx4_get_eqs_per_port(struct mlx4_dev *dev, u8 port) argument 1412 mlx4_is_eq_shared(struct mlx4_dev *dev, int vector) argument 1425 mlx4_assign_eq(struct mlx4_dev *dev, u8 port, int *vector) argument 1515 mlx4_eq_get_irq(struct mlx4_dev *dev, int cq_vec) argument 1523 mlx4_release_eq(struct mlx4_dev *dev, int vec) argument [all...] |
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_alias_GUID.c | 40 #include <dev/mlx4/cmd.h> 56 struct mlx4_ib_dev *dev ; member in struct:mlx4_alias_guid_work_context 73 static int get_low_record_time_index(struct mlx4_ib_dev *dev, u8 port, 76 void mlx4_ib_update_cache_on_guid_change(struct mlx4_ib_dev *dev, int block_num, argument 84 if (!mlx4_is_master(dev->dev)) 87 guid_indexes = be64_to_cpu((__force __be64) dev->sriov.alias_guid. 98 if (slave_id >= dev->dev->num_slaves) { 104 memcpy(&dev 113 get_cached_alias_guid(struct mlx4_ib_dev *dev, int port, int index) argument 128 mlx4_ib_slave_alias_guid_event(struct mlx4_ib_dev *dev, int slave, int port, int slave_init) argument 188 mlx4_ib_notify_slaves_on_guid_change(struct mlx4_ib_dev *dev, int block_num, u8 port_num, u8 *p_data) argument 295 struct mlx4_ib_dev *dev; local 455 invalidate_guid_record(struct mlx4_ib_dev *dev, u8 port, int index) argument 493 struct mlx4_ib_dev *dev = to_mdev(ibdev); local 584 mlx4_ib_guid_port_init(struct mlx4_ib_dev *dev, int port) argument 608 mlx4_ib_invalidate_all_guid_record(struct mlx4_ib_dev *dev, int port) argument 643 set_required_record(struct mlx4_ib_dev *dev, u8 port, struct mlx4_next_alias_guid_work *next_rec, int record_index) argument 693 get_low_record_time_index(struct mlx4_ib_dev *dev, u8 port, int *resched_delay_sec) argument 725 get_next_record_to_update(struct mlx4_ib_dev *dev, u8 port, struct mlx4_next_alias_guid_work *rec) argument 758 struct mlx4_ib_dev *dev = container_of(ib_sriov, struct mlx4_ib_dev, sriov); local 779 mlx4_ib_init_alias_guid_work(struct mlx4_ib_dev *dev, int port) argument 801 mlx4_ib_destroy_alias_guid_service(struct mlx4_ib_dev *dev) argument 837 mlx4_ib_init_alias_guid_service(struct mlx4_ib_dev *dev) argument [all...] |
/freebsd-11-stable/sys/kern/ |
H A D | subr_bus.c | 68 SYSCTL_ROOT_NODE(OID_AUTO, dev, CTLFLAG_RW, NULL, NULL); 162 static void print_device_short(device_t dev, int indent); 163 static void print_device(device_t dev, int indent); 164 void print_device_tree_short(device_t dev, int indent); 165 void print_device_tree(device_t dev, int indent); 195 * dev sysctl tree 245 device_t dev = (device_t)arg1; local 253 value = dev->desc ? dev->desc : ""; 256 value = dev 279 device_sysctl_init(device_t dev) argument 319 device_sysctl_update(device_t dev) argument 329 device_sysctl_fini(device_t dev) argument 433 devopen(struct cdev *dev, int oflags, int devtype, struct thread *td) argument 448 devclose(struct cdev *dev, int fflag, int devtype, struct thread *td) argument 470 devread(struct cdev *dev, struct uio *uio, int ioflag) argument 501 devioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, struct thread *td) argument 534 devpoll(struct cdev *dev, int events, struct thread *td) argument 551 devkqfilter(struct cdev *dev, struct knote *kn) argument 705 devaddq(const char *type, const char *what, device_t dev) argument 759 devadded(device_t dev) argument 769 devremoved(device_t dev) argument 782 devnomatch(device_t dev) argument 1198 device_t dev; local 1320 device_t dev; local 1425 device_t dev; local 1623 devclass_alloc_unit(devclass_t dc, device_t dev, int *unitp) argument 1632 BUS_HINT_DEVICE_UNIT(device_get_parent(dev), dev, dc->name, local 1708 devclass_add_device(devclass_t dc, device_t dev) argument 1746 devclass_delete_device(devclass_t dc, device_t dev) argument 1780 device_t dev; local 1837 device_print_child(device_t dev, device_t child) argument 1866 device_add_child(device_t dev, const char *name, int unit) argument 1892 device_add_child_ordered(device_t dev, u_int order, const char *name, int unit) argument 1944 device_delete_child(device_t dev, device_t child) argument 1988 device_delete_children(device_t dev) argument 2022 device_find_child(device_t dev, const char *classname, int unit) argument 2049 first_matching_driver(devclass_t dc, device_t dev) argument 2060 next_matching_driver(devclass_t dc, device_t dev, driverlink_t last) argument 2076 device_probe_child(device_t dev, device_t child) argument 2255 device_get_parent(device_t dev) argument 2277 device_get_children(device_t dev, device_t **devlistp, int *devcountp) argument 2314 device_get_driver(device_t dev) argument 2324 device_get_devclass(device_t dev) argument 2334 device_get_name(device_t dev) argument 2347 device_get_nameunit(device_t dev) argument 2356 device_get_unit(device_t dev) argument 2365 device_get_desc(device_t dev) argument 2374 device_get_flags(device_t dev) argument 2380 device_get_sysctl_ctx(device_t dev) argument 2386 device_get_sysctl_tree(device_t dev) argument 2397 device_print_prettyname(device_t dev) argument 2414 device_printf(device_t dev, const char * fmt, ...) argument 2430 device_set_desc_internal(device_t dev, const char* desc, int copy) argument 2460 device_set_desc(device_t dev, const char* desc) argument 2472 device_set_desc_copy(device_t dev, const char* desc) argument 2481 device_set_flags(device_t dev, uint32_t flags) argument 2493 device_get_softc(device_t dev) argument 2505 device_set_softc(device_t dev, void *softc) argument 2537 device_claim_softc(device_t dev) argument 2553 device_get_ivars(device_t dev) argument 2564 device_set_ivars(device_t dev, void * ivars) argument 2575 device_get_state(device_t dev) argument 2584 device_enable(device_t dev) argument 2593 device_disable(device_t dev) argument 2602 device_busy(device_t dev) argument 2617 device_unbusy(device_t dev) argument 2636 device_quiet(device_t dev) argument 2645 device_verbose(device_t dev) argument 2654 device_is_quiet(device_t dev) argument 2663 device_is_enabled(device_t dev) argument 2672 device_is_alive(device_t dev) argument 2682 device_is_attached(device_t dev) argument 2691 device_is_suspended(device_t dev) argument 2701 device_set_devclass(device_t dev, const char *classname) argument 2732 device_set_devclass_fixed(device_t dev, const char *classname) argument 2754 device_set_driver(device_t dev, driver_t *driver) argument 2817 device_probe(device_t dev) argument 2851 device_probe_and_attach(device_t dev) argument 2889 device_attach(device_t dev) argument 2958 device_detach(device_t dev) argument 3012 device_quiesce(device_t dev) argument 3033 device_shutdown(device_t dev) argument 3047 device_set_unit(device_t dev, int unit) argument 3630 bus_generic_add_child(device_t dev, u_int order, const char *name, int unit) argument 3645 bus_generic_probe(device_t dev) argument 3676 bus_generic_attach(device_t dev) argument 3695 bus_generic_detach(device_t dev) argument 3723 bus_generic_shutdown(device_t dev) argument 3744 bus_generic_suspend_child(device_t dev, device_t child) argument 3762 bus_generic_resume_child(device_t dev, device_t child) argument 3781 bus_generic_suspend(device_t dev) argument 3814 bus_generic_resume(device_t dev) argument 3837 bus_helper_reset_post(device_t dev, int flags) argument 3855 bus_helper_reset_prepare_rollback(device_t dev, device_t child, int flags) argument 3882 bus_helper_reset_prepare(device_t dev, int flags) argument 3925 bus_print_child_header(device_t dev, device_t child) argument 3948 bus_print_child_footer(device_t dev, device_t child) argument 3961 bus_print_child_domain(device_t dev, device_t child) argument 3981 bus_generic_print_child(device_t dev, device_t child) argument 3998 bus_generic_read_ivar(device_t dev, device_t child, int index, uintptr_t * result) argument 4010 bus_generic_write_ivar(device_t dev, device_t child, int index, uintptr_t value) argument 4022 bus_generic_get_resource_list(device_t dev, device_t child) argument 4035 bus_generic_driver_added(device_t dev, driver_t *driver) argument 4058 bus_generic_new_pass(device_t dev) argument 4084 bus_generic_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 4102 bus_generic_teardown_intr(device_t dev, device_t child, struct resource *irq, void *cookie) argument 4118 bus_generic_adjust_resource(device_t dev, device_t child, int type, struct resource *r, rman_res_t start, rman_res_t end) argument 4135 bus_generic_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 4152 bus_generic_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument 4169 bus_generic_activate_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument 4186 bus_generic_deactivate_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument 4203 bus_generic_map_resource(device_t dev, device_t child, int type, struct resource *r, struct resource_map_request *args, struct resource_map *map) argument 4221 bus_generic_unmap_resource(device_t dev, device_t child, int type, struct resource *r, struct resource_map *map) argument 4237 bus_generic_bind_intr(device_t dev, device_t child, struct resource *irq, int cpu) argument 4254 bus_generic_config_intr(device_t dev, int irq, enum intr_trigger trig, enum intr_polarity pol) argument 4271 bus_generic_describe_intr(device_t dev, device_t child, struct resource *irq, void *cookie, const char *descr) argument 4289 bus_generic_get_cpus(device_t dev, device_t child, enum cpu_sets op, size_t setsize, cpuset_t *cpuset) argument 4306 bus_generic_get_dma_tag(device_t dev, device_t child) argument 4322 bus_generic_get_bus_tag(device_t dev, device_t child) argument 4340 bus_generic_rl_get_resource(device_t dev, device_t child, int type, int rid, rman_res_t *startp, rman_res_t *countp) argument 4371 bus_generic_rl_set_resource(device_t dev, device_t child, int type, int rid, rman_res_t start, rman_res_t count) argument 4394 bus_generic_rl_delete_resource(device_t dev, device_t child, int type, int rid) argument 4415 bus_generic_rl_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument 4439 bus_generic_rl_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 4463 bus_generic_child_present(device_t dev, device_t child) argument 4469 bus_generic_get_domain(device_t dev, device_t child, int *domain) argument 4485 bus_null_rescan(device_t dev) argument 4500 bus_alloc_resources(device_t dev, struct resource_spec *rs, struct resource **res) argument 4519 bus_release_resources(device_t dev, const struct resource_spec *rs, struct resource **res) argument 4539 bus_alloc_resource(device_t dev, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument 4558 bus_adjust_resource(device_t dev, int type, struct resource *r, rman_res_t start, rman_res_t end) argument 4573 bus_activate_resource(device_t dev, int type, int rid, struct resource *r) argument 4587 bus_deactivate_resource(device_t dev, int type, int rid, struct resource *r) argument 4601 bus_map_resource(device_t dev, int type, struct resource *r, struct resource_map_request *args, struct resource_map *map) argument 4616 bus_unmap_resource(device_t dev, int type, struct resource *r, struct resource_map *map) argument 4631 bus_release_resource(device_t dev, int type, int rid, struct resource *r) argument 4648 bus_setup_intr(device_t dev, struct resource *r, int flags, driver_filter_t filter, driver_intr_t handler, void *arg, void **cookiep) argument 4671 bus_teardown_intr(device_t dev, struct resource *r, void *cookie) argument 4685 bus_bind_intr(device_t dev, struct resource *r, int cpu) argument 4700 bus_describe_intr(device_t dev, struct resource *irq, void *cookie, const char *fmt, ...) argument 4721 bus_set_resource(device_t dev, int type, int rid, rman_res_t start, rman_res_t count) argument 4735 bus_get_resource(device_t dev, int type, int rid, rman_res_t *startp, rman_res_t *countp) argument 4749 bus_get_resource_start(device_t dev, int type, int rid) argument 4769 bus_get_resource_count(device_t dev, int type, int rid) argument 4789 bus_delete_resource(device_t dev, int type, int rid) argument 4791 BUS_DELETE_RESOURCE(device_get_parent(dev), dev, type, rid); local 4851 bus_get_cpus(device_t dev, enum cpu_sets op, size_t setsize, cpuset_t *cpuset) argument 4868 bus_get_dma_tag(device_t dev) argument 4885 bus_get_bus_tag(device_t dev) argument 4902 bus_get_domain(device_t dev, int *domain) argument 4909 root_resume(device_t dev) argument 4920 root_print_child(device_t dev, device_t child) argument 4931 root_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 4948 root_child_present(device_t dev, device_t child) argument 4954 root_get_cpus(device_t dev, device_t child, enum cpu_sets op, size_t setsize, cpuset_t *cpuset) argument 5147 print_device_short(device_t dev, int indent) argument 5167 print_device(device_t dev, int indent) argument 5183 print_device_tree_short(device_t dev, int indent) argument 5199 print_device_tree(device_t dev, int indent) argument 5327 struct device *dev; local 5391 bus_free_resource(device_t dev, int type, struct resource *r) argument 5401 device_t dev; local 5418 device_t dev; local 5462 device_t dev; local 5752 _gone_in_dev(device_t dev, int major, const char *msg) argument [all...] |
/freebsd-11-stable/sys/dev/drm2/i915/ |
H A D | i915_dma.c | 34 #include <dev/drm2/drmP.h> 35 #include <dev/drm2/drm_crtc_helper.h> 36 #include <dev/drm2/drm_fb_helper.h> 37 #include <dev/drm2/i915/intel_drv.h> 38 #include <dev/drm2/i915/i915_drm.h> 39 #include <dev/drm2/i915/i915_drv.h> 58 #define RING_LOCK_TEST_WITH_RETURN(dev, file) do { \ 59 if (LP_RING(dev->dev_private)->obj == NULL) \ 60 LOCK_TEST_WITH_RETURN(dev, file); \ 66 if (I915_NEED_GFX_HWS(dev_priv->dev)) 76 i915_update_dri1_breadcrumb(struct drm_device *dev) argument 89 i915_write_hws_pga(struct drm_device *dev) argument 104 i915_free_hws(struct drm_device *dev) argument 124 i915_kernel_lost_context(struct drm_device * dev) argument 151 i915_dma_cleanup(struct drm_device * dev) argument 175 i915_initialize(struct drm_device * dev, drm_i915_init_t * init) argument 220 i915_dma_resume(struct drm_device * dev) argument 250 i915_dma_init(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 344 i915_emit_cmds(struct drm_device * dev, int *buffer, int dwords) argument 374 i915_emit_box(struct drm_device *dev, struct drm_clip_rect *box, int DR1, int DR4) argument 418 i915_emit_breadcrumb(struct drm_device *dev) argument 438 i915_dispatch_cmdbuffer(struct drm_device * dev, drm_i915_cmdbuffer_t *cmd, struct drm_clip_rect *cliprects, void *cmdbuf) argument 472 i915_dispatch_batchbuffer(struct drm_device * dev, drm_i915_batchbuffer_t * batch, struct drm_clip_rect *cliprects) argument 534 i915_dispatch_flip(struct drm_device * dev) argument 588 i915_quiescent(struct drm_device *dev) argument 594 i915_flush_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 611 i915_batchbuffer(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 667 i915_cmdbuffer(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 736 i915_emit_irq(struct drm_device * dev) argument 762 i915_wait_irq(struct drm_device * dev, int irq_nr) argument 804 i915_irq_emit(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 835 i915_irq_wait(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 852 i915_vblank_pipe_get(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 874 i915_vblank_swap(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 894 i915_flip_bufs(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 913 i915_getparam(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 1012 i915_setparam(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 1047 i915_set_status_page(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 1096 i915_get_bridge_dev(struct drm_device *dev) argument 1117 intel_alloc_mchbar_resource(struct drm_device *dev) argument 1159 intel_setup_mchbar(struct drm_device *dev) argument 1196 intel_teardown_mchbar(struct drm_device *dev) argument 1229 struct drm_device *dev = cookie; local 1241 struct drm_device *dev = pci_get_drvdata(pdev); local 1260 struct drm_device *dev = pci_get_drvdata(pdev); local 1276 i915_load_modeset_init(struct drm_device *dev) argument 1361 i915_master_create(struct drm_device *dev, struct drm_master *master) argument 1373 i915_master_destroy(struct drm_device *dev, struct drm_master *master) argument 1457 i915_driver_load(struct drm_device *dev, unsigned long flags) argument 1703 i915_driver_unload(struct drm_device *dev) argument 1838 i915_driver_open(struct drm_device *dev, struct drm_file *file) argument 1869 i915_driver_lastclose(struct drm_device * dev) argument 1892 i915_driver_preclose(struct drm_device * dev, struct drm_file *file_priv) argument 1898 i915_driver_postclose(struct drm_device *dev, struct drm_file *file) argument 1964 i915_driver_device_is_agp(struct drm_device * dev) argument [all...] |
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | netgraph.c | 94 struct device dev; /* What struct physical knows about */ member in struct:ngdevice 110 ng_MessageOut(struct ngdevice *dev, const char *data) argument 125 dev->dev.name, len, data); 139 dev->dev.name, len + 4, strerror(errno)); 156 if (NgSendAsciiMsg(dev->cs, path, fmt, data) < 0) { 158 dev->dev.name, path, fmt, data, strerror(errno)); 172 struct ngdevice *dev local 225 struct ngdevice *dev = device2ng(p->handler); local 252 struct ngdevice *dev = device2ng(p->handler); local 274 struct ngdevice *dev = device2ng(p->handler); local 286 struct ngdevice *dev; local 328 struct ngdevice *dev = (struct ngdevice *)iov[(*niov)++].iov_base; local 358 struct ngdevice *dev = device2ng(p->handler); local 384 struct ngdevice *dev = device2ng(p->handler); local 398 struct ngdevice *dev = device2ng(p->handler); local 408 ng_Abandon(struct ngdevice *dev, struct physical *p) argument 463 struct ngdevice *dev; local [all...] |
/freebsd-11-stable/contrib/mknod/ |
H A D | pack_dev.c | 69 portdev_t dev = 0; local 72 dev = makedev(numbers[0], numbers[1]); 73 if ((u_long)major(dev) != numbers[0]) 75 else if ((u_long)minor(dev) != numbers[1]) 79 return (dev); 86 portdev_t dev = 0; local 89 dev = makedev_netbsd(numbers[0], numbers[1]); 90 if ((u_long)major_netbsd(dev) != numbers[0]) 92 else if ((u_long)minor_netbsd(dev) != numbers[1]) 96 return (dev); 108 portdev_t dev = 0; local 130 portdev_t dev = 0; local 152 portdev_t dev = 0; local 174 portdev_t dev = 0; local 196 portdev_t dev = 0; local 220 portdev_t dev = 0; local [all...] |
/freebsd-11-stable/sys/dev/dpaa/ |
H A D | fman_fdt.c | 36 #include <dev/ofw/ofw_bus.h> 37 #include <dev/ofw/ofw_bus_subr.h> 46 static int fman_fdt_probe(device_t dev); 73 fman_fdt_probe(device_t dev) argument 76 if (!ofw_bus_is_compatible(dev, "fsl,fman")) 79 device_set_desc(dev, FFMAN_DEVSTR); 87 device_t dev; local 91 dev = sc->dev; 92 node = ofw_bus_get_node(dev); [all...] |
/freebsd-11-stable/sys/arm/freescale/imx/ |
H A D | imx_nop_usbphy.c | 45 #include <dev/ofw/ofw_bus.h> 46 #include <dev/ofw/ofw_bus_subr.h> 62 device_t dev; member in struct:usbphy_softc 67 usbphy_detach(device_t dev) argument 74 usbphy_attach(device_t dev) argument 78 sc = device_get_softc(dev); 83 imx_ccm_usbphy_enable(dev); 89 usbphy_probe(device_t dev) argument 92 if (!ofw_bus_status_okay(dev)) 95 if (ofw_bus_search_compatible(dev, compat_dat [all...] |
/freebsd-11-stable/sys/arm/amlogic/aml8726/ |
H A D | aml8726_if_dwc.c | 38 #include <dev/dwc/if_dwc.h> 39 #include <dev/dwc/if_dwcvar.h> 40 #include <dev/ofw/ofw_bus.h> 41 #include <dev/ofw/ofw_bus_subr.h> 46 aml8726_if_dwc_probe(device_t dev) argument 49 if (!ofw_bus_status_okay(dev)) 51 if (!ofw_bus_is_compatible(dev, "amlogic,meson6-dwmac")) 53 device_set_desc(dev, "Amlogic Meson Gigabit Ethernet Controller"); 59 aml8726_if_dwc_init(device_t dev) argument 66 aml8726_if_dwc_mac_type(device_t dev) argument 73 aml8726_if_dwc_mii_clk(device_t dev) argument [all...] |
/freebsd-11-stable/release/picobsd/mfs_tree/etc/ |
H A D | rc.serial | 23 comcontrol /dev/tty$ci$i dtrwait 300 drainwait 0 24 stty </dev/ttyi$ci$i -clocal crtscts hupcl 9600 reprint ^R 25 stty </dev/ttyl$ci$i -clocal -crtscts -hupcl 0 26 stty </dev/cuai$co$i -clocal crtscts hupcl 9600 reprint ^R 27 stty </dev/cual$co$i -clocal -crtscts -hupcl 0 40 stty </dev/ttyi$ci$i reprint undef 41 stty </dev/cuai$co$i reprint undef 43 stty </dev/ttyl$ci$i clocal 46 stty </dev/ttyl$ci$i 300 47 stty </dev/cua [all...] |
/freebsd-11-stable/etc/rc.d/ |
H A D | atm1 | 60 for dev in ${atm_load} ; do 61 load_kld ${dev} || return 1 65 atmdev=`atm sh stat int | while read dev junk; do 66 case ${dev} in 68 echo "${dev} " 71 echo "${dev} " 74 echo "${dev} " 79 echo "${dev} " 82 echo "${dev} " 85 echo "${dev} " [all...] |
/freebsd-11-stable/sys/dev/ppc/ |
H A D | ppc_puc.c | 39 #include <dev/puc/puc_bus.h> 41 #include <dev/ppbus/ppbconf.h> 42 #include <dev/ppbus/ppb_msq.h> 43 #include <dev/ppc/ppcvar.h> 44 #include <dev/ppc/ppcreg.h> 48 static int ppc_puc_probe(device_t dev); 81 ppc_puc_probe(device_t dev) argument 86 parent = device_get_parent(dev); 87 if (BUS_READ_IVAR(parent, dev, PUC_IVAR_TYPE, &type)) 92 device_set_desc(dev, "Paralle [all...] |
/freebsd-11-stable/sys/mips/mediatek/ |
H A D | palmbus.c | 37 #include <dev/ofw/openfirm.h> 38 #include <dev/ofw/ofw_bus.h> 39 #include <dev/ofw/ofw_bus_subr.h> 41 #include <dev/fdt/simplebus.h> 53 palmbus_probe(device_t dev) argument 56 if (!ofw_bus_status_okay(dev)) 59 if (!(ofw_bus_is_compatible(dev, "palmbus") && 60 ofw_bus_has_prop(dev, "ranges")) && 61 (ofw_bus_get_type(dev) == NULL || strcmp(ofw_bus_get_type(dev), [all...] |
/freebsd-11-stable/sys/dev/etherswitch/arswitch/ |
H A D | arswitch_8216.c | 48 #include <dev/iicbus/iic.h> 49 #include <dev/iicbus/iiconf.h> 50 #include <dev/iicbus/iicbus.h> 51 #include <dev/mii/mii.h> 52 #include <dev/mii/miivar.h> 53 #include <dev/mdio/mdio.h> 55 #include <dev/etherswitch/etherswitch.h> 57 #include <dev/etherswitch/arswitch/arswitchreg.h> 58 #include <dev/etherswitch/arswitch/arswitchvar.h> 59 #include <dev/etherswitc [all...] |
H A D | arswitch_8226.c | 48 #include <dev/iicbus/iic.h> 49 #include <dev/iicbus/iiconf.h> 50 #include <dev/iicbus/iicbus.h> 51 #include <dev/mii/mii.h> 52 #include <dev/mii/miivar.h> 53 #include <dev/mdio/mdio.h> 55 #include <dev/etherswitch/etherswitch.h> 57 #include <dev/etherswitch/arswitch/arswitchreg.h> 58 #include <dev/etherswitch/arswitch/arswitchvar.h> 59 #include <dev/etherswitc [all...] |
/freebsd-11-stable/sys/dev/scc/ |
H A D | scc_bfe_quicc.c | 37 #include <dev/quicc/quicc_bus.h> 43 #include <dev/scc/scc_bfe.h> 46 scc_quicc_probe(device_t dev) argument 53 parent = device_get_parent(dev); 55 error = BUS_READ_IVAR(parent, dev, QUICC_IVAR_DEVTYPE, &devtype); 61 device_set_desc(dev, "QUICC quad channel SCC"); 63 sc = device_get_softc(dev); 65 if (BUS_READ_IVAR(parent, dev, QUICC_IVAR_BRGCLK, &rclk)) 67 return (scc_bfe_probe(dev, 0, rclk, 0)); 71 scc_quicc_attach(device_t dev) argument [all...] |