/freebsd-11-stable/sys/arm/xscale/ixp425/ |
H A D | ixdp425_pci.c | 149 ixp425_md_route_interrupt(device_t bridge, device_t device, int pin) argument 161 dev = pci_get_slot(device); 164 device_get_nameunit(device)); 170 pci_get_bus(device), dev, pci_get_function(device));
|
/freebsd-11-stable/sys/dev/isci/scil/ |
H A D | sati_request_sense.c | 100 switch(sequence->device->state) 120 sequence->device->unit_attention_asc, 121 sequence->device->unit_attention_ascq 168 //Check if the device has SMART support & SMART enabled 169 if(sequence->device->capabilities & SATI_DEVICE_CAP_SMART_SUPPORT) 171 if(sequence->device->capabilities & SATI_DEVICE_CAP_SMART_ENABLE)
|
H A D | scic_sds_smp_remote_device.c | 59 * @brief This file contains This file contains the SMP remote device 78 * This method will handle the start io operation for a SMP device that is in 81 * @param [in] device The device the io is sent to. 88 SCI_BASE_REMOTE_DEVICE_T * device, 93 SCIC_SDS_REMOTE_DEVICE_T * this_device = (SCIC_SDS_REMOTE_DEVICE_T *)device; 134 * This device is already handling a command it can not accept new commands 137 * @param[in] device This is the device object that is receiving the IO. 145 SCI_BASE_REMOTE_DEVICE_T * device, 87 scic_sds_smp_remote_device_ready_idle_substate_start_io_handler( SCI_BASE_REMOTE_DEVICE_T * device, SCI_BASE_REQUEST_T * request ) argument 144 scic_sds_smp_remote_device_ready_cmd_substate_start_io_handler( SCI_BASE_REMOTE_DEVICE_T * device, SCI_BASE_REQUEST_T * request ) argument 162 scic_sds_smp_remote_device_ready_cmd_substate_complete_io_handler( SCI_BASE_REMOTE_DEVICE_T * device, SCI_BASE_REQUEST_T * request ) argument [all...] |
H A D | scif_sas_sati_binding.h | 133 * address for the remote device associated with the supplied IO 142 = scif_remote_device_get_scic_handle(fw_request->device); \ 149 SCIF_SAS_REMOTE_DEVICE_T* fw_device = fw_request->device; \ 156 SCIF_SAS_REMOTE_DEVICE_T* fw_device = fw_request->device; \ 191 fw_request->device->domain->controller, &mde \ 207 fw_request->device->domain->controller, &mde \
|
/freebsd-11-stable/sys/cam/ |
H A D | cam_xpt_internal.h | 42 typedef void (*xpt_release_device_func)(struct cam_ed *device); 47 struct cam_ed *device, 90 * The CAM EDT (Existing Device Table) contains the device information for 92 * cam_ed structure for each device on the bus. 104 void *quirk; /* Oddities about this device */ 127 * queuing for a device. 157 * identify, and removed when a device fails to respond after a number 158 * of retries, or a bus rescan finds the device missing. 197 struct cam_ed *device; member in struct:cam_path 203 void xpt_acquire_device(struct cam_ed *device); [all...] |
/freebsd-11-stable/contrib/ofed/libmlx4/ |
H A D | mlx4.c | 52 .device = d } 56 unsigned device; member in struct:__anon3783 152 struct mlx4_device *dev = to_mdev(&v_device->device); 258 munmap(context->uar, to_mdev(&v_device->device)->page_size); 260 munmap(context->bf_page, to_mdev(&v_device->device)->page_size); 263 to_mdev(&v_device->device)->page_size); 275 unsigned vendor, device; local 278 if (ibv_read_sysfs_file(uverbs_sys_path, "device/vendor", 283 if (ibv_read_sysfs_file(uverbs_sys_path, "device/device", [all...] |
/freebsd-11-stable/sys/dev/drm/ |
H A D | drm_drv.c | 35 * The catch-all file for DRM device support, including module setup/teardown, 53 static drm_pci_id_list_t *drm_find_description(int vendor, int device, 135 SYSCTL_NODE(_hw, OID_AUTO, drm, CTLFLAG_RW, NULL, "DRM device"); 146 static int drm_msi_is_blacklisted(int vendor, int device) argument 152 (drm_msi_blacklist[i].device == device)) { 163 int vendor, device; local 165 device = pci_get_device(kdev); 171 id_entry = drm_find_description(vendor, device, idlist); 192 dev->device 273 drm_find_description(int vendor, int device, drm_pci_id_list_t *idlist) argument [all...] |
/freebsd-11-stable/contrib/dtc/Documentation/ |
H A D | dtc-paper.tex | 45 device tree supplied by Open Firmware on IBM\R servers and Apple\R 48 The ``blob'' representing the device tree can be created using \dtc 63 \subsection{OF and the device tree} 67 Among other boot-time services, OF maintains a device tree that 70 the Linux kernel uses OF calls to scan the device tree and transfer it 72 various device information. 74 The device tree consists of nodes representing devices or 77 information about the device. The values are arbitrary byte strings, 85 but nothing as detailed or complete as the OF device tree. This has 88 device tre [all...] |
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_cma.c | 77 struct ib_device *device = id->device; local 84 ssk->max_sge = sdp_get_max_dev_sge(device); 95 ssk->sdp_dev = ib_get_client_data(device, &sdp_client); 97 sdp_warn(sk, "SDP not available on device %s\n", device->name); 102 rc = sdp_rx_ring_create(ssk, device); 106 rc = sdp_tx_ring_create(ssk, device); 119 ssk->ib_device = device; 121 ssk->context.device [all...] |
/freebsd-11-stable/sys/ofed/drivers/infiniband/util/ |
H A D | madeye.c | 39 #include <linux/device.h> 50 static void madeye_remove_one(struct ib_device *device); 51 static void madeye_add_one(struct ib_device *device); 520 static void madeye_add_one(struct ib_device *device) argument 526 if (device->node_type == RDMA_NODE_IB_SWITCH) { 531 e = device->phys_port_cnt; 540 port[i].smi_agent = ib_register_mad_snoop(device, i + s, 546 port[i].gsi_agent = ib_register_mad_snoop(device, i + s, 555 ib_set_client_data(device, &madeye_client, port); 558 static void madeye_remove_one(struct ib_device *device) argument [all...] |
/freebsd-11-stable/contrib/libpcap/ |
H A D | pcap-bpf.c | 90 #include <sys/device.h> 173 char *device; /* device name */ member in struct:pcap_bpf 444 pcap_create_interface(const char *device _U_, char *ebuf) 474 * On success, returns a file descriptor for a BPF device. 483 char device[sizeof "/dev/bpf0000000000"]; local 489 * and create the BPF device entries, if they don't 512 errno, "(cannot open device) %s", cloning_device); 525 (void)pcap_snprintf(device, sizeof(device), "/de [all...] |
/freebsd-11-stable/contrib/ntp/scripts/monitoring/ |
H A D | ntptrap | 381 if (($device) = ($data =~ /device=\"([^\"]+)\"/)) 387 $msg .= " \"$device\" \"$timecode\""; 406 if (($device) = ($data =~ /device=\"([^\"]+)\"/)) 413 $msg .= " \"$device\" \"$timecode\""; 448 ($device) = ($data =~ /device=\"([^\"]+)\"/); 450 $msg .= " \"$device\" \"$timecode\"";
|
/freebsd-11-stable/sys/dev/liquidio/ |
H A D | lio_core.c | 228 * @param oct octeon device 398 * @param octeon_dev octeon device 401 * Note: Queues are with respect to the octeon device. Thus 475 * @param oct octeon device 551 device_t device; local 570 device = oct->device; 577 if (pci_alloc_msix(device, &num_alloc_ioq_vectors) || 588 bus_alloc_resource_any(device, SYS_RES_IRQ, &res_id, 596 err = bus_setup_intr(device, ioq_vecto [all...] |
/freebsd-11-stable/contrib/groff/src/preproc/eqn/ |
H A D | main.cpp | 24 #include "device.h" 303 device = optarg; 304 if (strcmp(device, "ps:html") == 0) { 305 device = "ps"; 352 init_table(device); 355 ".if !'\\*(.T'html' " // the html device uses `-Tps' to render 358 device, program_name); 362 device, program_name); 366 device);
|
/freebsd-11-stable/sys/dev/isci/ |
H A D | isci_sysctl.c | 200 struct ISCI_REMOTE_DEVICE *device; local 211 device = isci->controllers[i].remote_device[j]; 213 if (device == NULL) 216 device_printf(isci->device, 217 "controller %d device %3d frozen_lun_mask 0x%02x\n", 218 i, j, device->frozen_lun_mask); 246 struct sysctl_ctx_list *sysctl_ctx = device_get_sysctl_ctx(isci->device); 247 struct sysctl_oid *sysctl_tree = device_get_sysctl_tree(isci->device); 262 "Reset remote device on controller 0"); 267 "Reset remote device o [all...] |
/freebsd-11-stable/usr.sbin/iovctl/ |
H A D | validate.c | 42 * Returns a writeable pointer to the configuration for the given device. 51 find_config(nvlist_t *config, const char * device) argument 55 subsystem = dnvlist_take_nvlist(config, device, NULL); 148 * Iterate over every subsystem in the given VF device and apply default values 167 validate_subsystem(const nvlist_t *device, const nvlist_t *device_schema, argument 175 subsystem = nvlist_get_nvlist(device, subsystem_name); 193 * in the device. 196 validate_device(const nvlist_t *device, const nvlist_t *schema, argument 200 validate_subsystem(device, schema, DRIVER_CONFIG_NAME, config_name); 201 validate_subsystem(device, schem [all...] |
/freebsd-11-stable/contrib/ofed/libibcm/ |
H A D | cm.c | 182 index = ucm_get_dev_index(device_context->device->name); 210 void ib_cm_close_device(struct ib_cm_device *device) argument 212 close(device->fd); 213 free(device); 223 static struct cm_id_private *ib_cm_alloc_id(struct ib_cm_device *device, argument 233 cm_id_priv->id.device = device; 245 int ib_cm_create_id(struct ib_cm_device *device, argument 255 cm_id_priv = ib_cm_alloc_id(device, context); 262 result = write(device 797 ib_cm_get_event(struct ib_cm_device *device, struct ib_cm_event **event) argument [all...] |
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-mdio.h | 481 * @param device MDIO Managable Device (MMD) id 487 static inline int cvmx_mdio_45_read(int bus_id, int phy_id, int device, int location) argument 505 smi_cmd.s.reg_adr = device; 511 cvmx_dprintf ("cvmx_mdio_45_read: bus_id %d phy_id %2d device %2d register %2d TIME OUT(address)\n", bus_id, phy_id, device, location); 518 smi_cmd.s.reg_adr = device; 524 cvmx_dprintf ("cvmx_mdio_45_read: bus_id %d phy_id %2d device %2d register %2d TIME OUT(data)\n", bus_id, phy_id, device, location); 532 cvmx_dprintf ("cvmx_mdio_45_read: bus_id %d phy_id %2d device %2d register %2d INVALID READ\n", bus_id, phy_id, device, locatio 551 cvmx_mdio_45_write(int bus_id, int phy_id, int device, int location, int val) argument [all...] |
/freebsd-11-stable/sys/dev/bwn/ |
H A D | bwn_mac.c | 64 uint16_t device; member in struct:bwn_device 75 for (id = bwn_devices; id->device != BHND_COREID_INVALID; id++) 78 bhnd_get_device(dev) == id->device)
|
/freebsd-11-stable/contrib/ipfilter/ipsend/ |
H A D | sdlpi.c | 55 int initdevice(device, tout) 56 char *device; 63 (void) strncat(devname, device, sizeof(devname) - strlen(devname)); 70 fprintf(stderr, "bad device name %s\n", devname);
|
H A D | sbpf.c | 55 int initdevice(device, tout) 56 char *device; 103 (void) strncpy(ifr.ifr_name, device, sizeof(ifr.ifr_name));
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_multicast.c | 52 static void mcast_add_one(struct ib_device *device); 53 static void mcast_remove_one(struct ib_device *device, void *client_data); 77 struct ib_device *device; member in struct:mcast_device 343 ret = ib_sa_mcmember_rec_query(&sa_client, port->dev->device, 362 ret = ib_sa_mcmember_rec_query(&sa_client, port->dev->device, 399 ret = ib_find_pkey(group->port->dev->device, 528 if (ib_find_pkey(group->port->dev->device, group->port->port_num, 613 struct ib_device *device, u8 port_num, 625 dev = ib_get_client_data(device, &mcast_client); 698 int ib_sa_get_mcmember_rec(struct ib_device *device, u argument 612 ib_sa_join_multicast(struct ib_sa_client *client, struct ib_device *device, u8 port_num, struct ib_sa_mcmember_rec *rec, ib_sa_comp_mask comp_mask, gfp_t gfp_mask, int (*callback)(int status, struct ib_sa_multicast *multicast), void *context) argument 724 ib_init_ah_from_mcmember(struct ib_device *device, u8 port_num, struct ib_sa_mcmember_rec *rec, struct net_device *ndev, enum ib_gid_type gid_type, struct ib_ah_attr *ah_attr) argument 815 mcast_add_one(struct ib_device *device) argument 855 mcast_remove_one(struct ib_device *device, void *client_data) argument [all...] |
H A D | ib_sa_query.c | 138 static void ib_sa_add_one(struct ib_device *device); 139 static void ib_sa_remove_one(struct ib_device *device, void *client_data); 510 if (ib_query_port(port->agent->device, port->port_num, &port_attr)) { 524 if (ib_find_pkey(port->agent->device, port->port_num, 567 if (!rdma_cap_ib_sa(handler->device, port->port_num)) 628 static u8 get_src_path_mask(struct ib_device *device, u8 port_num) argument 635 sa_dev = ib_get_client_data(device, &sa_client); 647 int ib_init_ah_from_path(struct ib_device *device, u8 port_num, argument 659 get_src_path_mask(device, port_num); 663 use_roce = rdma_cap_eth_ah(device, port_nu 900 ib_sa_path_rec_get(struct ib_sa_client *client, struct ib_device *device, u8 port_num, struct ib_sa_path_rec *rec, ib_sa_comp_mask comp_mask, int timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct ib_sa_path_rec *resp, void *context), void *context, struct ib_sa_query **sa_query) argument 1020 ib_sa_service_rec_query(struct ib_sa_client *client, struct ib_device *device, u8 port_num, u8 method, struct ib_sa_service_rec *rec, ib_sa_comp_mask comp_mask, int timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct ib_sa_service_rec *resp, void *context), void *context, struct ib_sa_query **sa_query) argument 1116 ib_sa_mcmember_rec_query(struct ib_sa_client *client, struct ib_device *device, u8 port_num, u8 method, struct ib_sa_mcmember_rec *rec, ib_sa_comp_mask comp_mask, int timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct ib_sa_mcmember_rec *resp, void *context), void *context, struct ib_sa_query **sa_query) argument 1208 ib_sa_guid_info_rec_query(struct ib_sa_client *client, struct ib_device *device, u8 port_num, struct ib_sa_guidinfo_rec *rec, ib_sa_comp_mask comp_mask, u8 method, int timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct ib_sa_guidinfo_rec *resp, void *context), void *context, struct ib_sa_query **sa_query) argument 1321 ib_sa_classport_info_rec_query(struct ib_sa_client *client, struct ib_device *device, u8 port_num, int timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct ib_class_port_info *resp, void *context), void *context, struct ib_sa_query **sa_query) argument 1453 ib_sa_add_one(struct ib_device *device) argument 1527 ib_sa_remove_one(struct ib_device *device, void *client_data) argument [all...] |
/freebsd-11-stable/contrib/tcpdump/ |
H A D | tcpdump.c | 190 static void show_tstamp_types_and_exit(pcap_t *, const char *device) NORETURN; 191 static void show_dlts_and_exit(pcap_t *, const char *device) NORETURN; 343 show_tstamp_types_and_exit(pcap_t *pc, const char *device) argument 356 device); 360 device); 376 show_dlts_and_exit(pcap_t *pc, const char *device) argument 398 device, 402 device); 934 parse_interface_number(const char *device) argument 939 devnum = strtol(device, 966 char *device; local 985 open_interface(const char *device, netdissect_options *ndo, char *ebuf) argument 1144 register char *cp, *infile, *cmdbuf, *device, *RFileName, *VFileName, *WFileName; local [all...] |
/freebsd-11-stable/usr.sbin/config/ |
H A D | config.h | 84 struct device { struct 86 char *d_name; /* name of device (e.g. rk11) */ 88 STAILQ_ENTRY(device) d_next; /* Next one in list */ 198 extern STAILQ_HEAD(device_head, device) dtab;
|