Searched refs:device (Results 201 - 225 of 834) sorted by relevance

1234567891011>>

/freebsd-10.0-release/sys/ofed/drivers/infiniband/core/
H A Dmad.c85 * Returns a ib_mad_port_private structure or NULL for a device/port
89 __ib_get_mad_port(struct ib_device *device, int port_num) argument
94 if (entry->device == device && entry->port_num == port_num)
102 * for a device/port
105 ib_get_mad_port(struct ib_device *device, int port_num) argument
111 entry = __ib_get_mad_port(device, port_num);
199 struct ib_mad_agent *ib_register_mad_agent(struct ib_device *device, argument
281 /* Validate device and port */
282 port_priv = ib_get_mad_port(device, port_nu
447 ib_register_mad_snoop(struct ib_device *device, u8 port_num, enum ib_qp_type qp_type, int mad_snoop_flags, ib_mad_snoop_handler snoop_handler, ib_mad_recv_handler recv_handler, void *context) argument
693 struct ib_device *device = mad_agent_priv->agent.device; local
1712 struct ib_device *device = mad_agent_priv->agent.device; local
2793 ib_mad_port_open(struct ib_device *device, int port_num) argument
2902 ib_mad_port_close(struct ib_device *device, int port_num) argument
2932 ib_mad_init_device(struct ib_device *device) argument
2982 ib_mad_remove_device(struct ib_device *device) argument
[all...]
H A Dsa_query.c68 struct ib_device *device; member in struct:ib_sa_port
111 static void ib_sa_add_one(struct ib_device *device);
112 static void ib_sa_remove_one(struct ib_device *device);
530 if (ib_query_port(port->agent->device, port->port_num, &port_attr)) {
545 if (ib_find_pkey(port->agent->device, port->port_num,
583 if (rdma_port_get_link_layer(handler->device, port->port_num) != IB_LINK_LAYER_INFINIBAND)
639 static u8 get_src_path_mask(struct ib_device *device, u8 port_num) argument
646 sa_dev = ib_get_client_data(device, &sa_client);
658 int ib_init_ah_from_path(struct ib_device *device, u8 port_num, argument
669 get_src_path_mask(device, port_nu
805 ib_sa_path_rec_query(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
921 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
1017 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
1108 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
1154 ib_sa_informinfo_query(struct ib_sa_client *client, struct ib_device *device, u8 port_num, struct ib_sa_inform *rec, int timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct ib_sa_inform *resp, void *context), void *context, struct ib_sa_query **sa_query) argument
1333 ib_sa_add_one(struct ib_device *device) argument
1422 ib_sa_remove_one(struct ib_device *device) argument
[all...]
H A Dmulticast.c43 static void mcast_add_one(struct ib_device *device);
44 static void mcast_remove_one(struct ib_device *device);
68 struct ib_device *device; member in struct:mcast_device
306 ret = ib_sa_mcmember_rec_query(&sa_client, port->dev->device,
329 ret = ib_sa_mcmember_rec_query(&sa_client, port->dev->device,
370 ret = ib_find_pkey(group->port->dev->device,
498 ib_find_pkey(group->port->dev->device, group->port->port_num,
578 struct ib_device *device, u8 port_num,
590 dev = ib_get_client_data(device, &mcast_client);
663 int ib_sa_get_mcmember_rec(struct ib_device *device, u argument
577 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
689 ib_init_ah_from_mcmember(struct ib_device *device, u8 port_num, struct ib_sa_mcmember_rec *rec, struct ib_ah_attr *ah_attr) argument
769 mcast_add_one(struct ib_device *device) argument
817 mcast_remove_one(struct ib_device *device) argument
[all...]
/freebsd-10.0-release/contrib/dtc/Documentation/
H A Ddtc-paper.tex45 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-10.0-release/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_cma.c78 struct ib_device *device = id->device; local
85 ssk->max_sge = sdp_get_max_dev_sge(device);
96 ssk->sdp_dev = ib_get_client_data(device, &sdp_client);
98 sdp_warn(sk, "SDP not available on device %s\n", device->name);
103 rc = sdp_rx_ring_create(ssk, device);
107 rc = sdp_tx_ring_create(ssk, device);
120 ssk->ib_device = device;
122 ssk->context.device
[all...]
/freebsd-10.0-release/sys/ofed/drivers/infiniband/util/
H A Dmadeye.c36 #include <linux/device.h>
47 static void madeye_remove_one(struct ib_device *device);
48 static void madeye_add_one(struct ib_device *device);
517 static void madeye_add_one(struct ib_device *device) argument
523 if (device->node_type == RDMA_NODE_IB_SWITCH) {
528 e = device->phys_port_cnt;
537 port[i].smi_agent = ib_register_mad_snoop(device, i + s,
543 port[i].gsi_agent = ib_register_mad_snoop(device, i + s,
552 ib_set_client_data(device, &madeye_client, port);
555 static void madeye_remove_one(struct ib_device *device) argument
[all...]
/freebsd-10.0-release/contrib/tcpdump/
H A Dtcpdump.c132 static void show_dlts_and_exit(const char *device, pcap_t *pd) __attribute__((noreturn));
403 show_tstamp_types_and_exit(const char *device, pcap_t *pd) argument
416 device);
420 device);
436 show_dlts_and_exit(const char *device, pcap_t *pd) argument
458 device,
462 device);
692 register char *cp, *infile, *cmdbuf, *device, *RFileName, *VFileName, *WFileName; local
737 device = NULL;
893 device
[all...]
/freebsd-10.0-release/contrib/ntp/scripts/monitoring/
H A Dntptrap379 if (($device) = ($data =~ /device=\"([^\"]+)\"/))
385 $msg .= " \"$device\" \"$timecode\"";
404 if (($device) = ($data =~ /device=\"([^\"]+)\"/))
411 $msg .= " \"$device\" \"$timecode\"";
446 ($device) = ($data =~ /device=\"([^\"]+)\"/);
448 $msg .= " \"$device\" \"$timecode\"";
/freebsd-10.0-release/contrib/groff/src/preproc/eqn/
H A Dmain.cpp24 #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-10.0-release/contrib/ofed/libibcm/src/
H A Dcm.c195 index = ucm_get_dev_index(device_context->device->name);
223 void ib_cm_close_device(struct ib_cm_device *device) argument
225 close(device->fd);
226 free(device);
236 static struct cm_id_private *ib_cm_alloc_id(struct ib_cm_device *device, argument
246 cm_id_priv->id.device = device;
258 int ib_cm_create_id(struct ib_cm_device *device, argument
268 cm_id_priv = ib_cm_alloc_id(device, context);
275 result = write(device
821 ib_cm_get_event(struct ib_cm_device *device, struct ib_cm_event **event) argument
[all...]
/freebsd-10.0-release/sys/compat/linsysfs/
H A Dlinsysfs.c117 * Filler function for device sym-link
153 char *device, *host, *new_path = path; local
163 device = malloc(MAXPATHLEN, M_TEMP, M_WAITOK);
169 device[0] = '\000';
170 sprintf(device, "%s:%02x:%02x.%x",
176 strcat(new_path, device);
177 dir = pfs_create_dir(dir, device,
200 pfs_create_link(sub_dir, "device",
211 free(device, M_TEMP);
249 /* /sys/device */
[all...]
/freebsd-10.0-release/sys/dev/isci/
H A Disci_sysctl.c200 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);
227 struct sysctl_ctx_list *sysctl_ctx = device_get_sysctl_ctx(isci->device);
228 struct sysctl_oid *sysctl_tree = device_get_sysctl_tree(isci->device);
243 "Reset remote device on controller 0");
248 "Reset remote device o
[all...]
/freebsd-10.0-release/sys/contrib/octeon-sdk/
H A Dcvmx-mdio.h481 * @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-10.0-release/contrib/ipfilter/ipsend/
H A Dsbpf.c58 int initdevice(device, tout)
59 char *device;
106 (void) strncpy(ifr.ifr_name, device, sizeof(ifr.ifr_name));
H A Dsdlpi.c62 int initdevice(device, tout)
63 char *device;
70 (void) strncat(devname, device, sizeof(devname) - strlen(devname));
77 fprintf(stderr, "bad device name %s\n", devname);
/freebsd-10.0-release/sys/boot/ofw/libofw/
H A Dopenfirm.c350 /* Convert a device specifier to a fully qualified pathname. */
352 OF_canon(const char *device, char *buf, int len) argument
358 cell_t device; member in struct:__anon6143
368 args.device = (cell_t)device;
376 /* Return a package handle for the specified device. */
378 OF_finddevice(const char *device) argument
384 cell_t device; member in struct:__anon6144
392 args.device = (cell_t)device;
496 OF_open(char *device) argument
502 cell_t device; member in struct:__anon6148
[all...]
/freebsd-10.0-release/sys/dev/drm/
H A Dmga_drv.c49 * Determine if the device really is AGP or not.
55 * \param dev The device to be tested.
58 * If the device is a PCI G450, zero is returned. Otherwise non-zero is
72 * supported by this driver, by looking at the device ID of the
74 * device is 0x0021 (HB6 Universal PCI-PCI bridge), we reject the
75 * device.
78 bus = device_get_parent(device_get_parent(dev->device));
80 bus = device_get_parent(dev->device);
82 if (pci_get_device(dev->device) == 0x0525 &&
/freebsd-10.0-release/sbin/camcontrol/
H A Dmodeedit.c109 static void editlist_populate(struct cam_device *device,
112 static void editlist_save(struct cam_device *device, int modepage,
121 static void modepage_dump(struct cam_device *device, int page,
528 editlist_populate(struct cam_device *device, int modepage, int page_control, argument
539 mode_sense(device, modepage, 1, dbd, retries, timeout, data,
551 mode_sense(device, modepage, page_control, dbd, retries, timeout, data,
558 editlist_save(struct cam_device *device, int modepage, int page_control, argument
576 mode_sense(device, modepage, page_control, dbd, retries, timeout, data,
584 /* Encode the value data to be passed back to the device. */
594 mh->dev_spec = 0; /* Clear device
778 modepage_dump(struct cam_device *device, int page, int page_control, int dbd, int retries, int timeout) argument
813 mode_edit(struct cam_device *device, int page, int page_control, int dbd, int edit, int binary, int retry_count, int timeout) argument
866 mode_list(struct cam_device *device, int page_control, int dbd, int retry_count, int timeout) argument
[all...]
/freebsd-10.0-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c380 mthca_cleanup_user_db_tab(to_mdev(context->device), &to_mucontext(context)->uar,
382 mthca_uar_free(to_mdev(context->device), &to_mucontext(context)->uar);
434 mthca_pd_free(to_mdev(pd->device), to_mpd(pd));
450 err = mthca_create_ah(to_mdev(pd->device), to_mpd(pd), ah_attr, ah);
461 mthca_destroy_ah(to_mdev(ah->device), to_mah(ah));
488 err = mthca_map_user_db(to_mdev(pd->device), &context->uar,
499 err = mthca_alloc_srq(to_mdev(pd->device), to_mpd(pd),
503 mthca_unmap_user_db(to_mdev(pd->device), &context->uar,
510 mthca_free_srq(to_mdev(pd->device), srq);
530 mthca_unmap_user_db(to_mdev(srq->device),
1192 show_rev(struct device *device, struct device_attribute *attr, char *buf) argument
1200 show_fw_ver(struct device *device, struct device_attribute *attr, char *buf) argument
1210 show_hca(struct device *device, struct device_attribute *attr, char *buf) argument
1230 show_board(struct device *device, struct device_attribute *attr, char *buf) argument
[all...]
/freebsd-10.0-release/share/examples/ppp/
H A Dppp.conf.sample26 # This is the best place to specify your modem device, its DTR rate,
32 set device /dev/cuau1
148 set device /dev/cuau0 # Or whatever
318 set device /dev/cuau1 # Define modem device and speed
475 set device /dev/cuau0
526 set device tcpsrv.mynet:1234
544 set device udpsrv.mynet:1234/udp
565 set device localhost:ppploop
586 set device "!ss
[all...]
/freebsd-10.0-release/sys/dev/drm2/
H A Ddrm_drv.c35 * The catch-all file for DRM device support, including module setup/teardown,
67 static drm_pci_id_list_t *drm_find_description(int vendor, int device,
207 SYSCTL_NODE(_hw, OID_AUTO, drm, CTLFLAG_RW, NULL, "DRM device");
233 (drm_msi_blacklist[i].device == dev->pci_device)) {
244 int vendor, device; local
247 device = pci_get_device(kdev);
253 id_entry = drm_find_description(vendor, device, idlist);
273 dev->device = kdev;
275 dev->pci_domain = pci_get_domain(dev->device);
276 dev->pci_bus = pci_get_bus(dev->device);
381 drm_find_description(int vendor, int device, drm_pci_id_list_t *idlist) argument
[all...]
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/zinject/
H A Dzinject.h60 int translate_device(const char *pool, const char *device,
/freebsd-10.0-release/contrib/libpcap/
H A Dpcap-septel.c187 * Activate a handle for a live capture from the given Septel device. Always pass a NULL device
215 pcap_t *septel_create(const char *device, char *ebuf, int *is_ours) { argument
219 /* Does this look like the Septel device? */
220 cp = strrchr(device, '/');
222 cp = device;
232 p = pcap_create_common(device, ebuf);
254 const char description[512]= "Intel/Septel device";
/freebsd-10.0-release/contrib/llvm/lib/Target/R600/
H A DAMDGPUSubtarget.h56 const AMDGPUDevice* device() const;
/freebsd-10.0-release/contrib/ngatm/snmp_atm/
H A Dsnmp_atm.h64 u_int device; /* type of hardware (system specific) */ member in struct:atmif_mib
65 u_int serial; /* card serial number (device specific) */
66 u_int hw_version; /* card version (device specific) */
67 u_int sw_version; /* firmware version (device specific) */

Completed in 245 milliseconds

1234567891011>>