Searched refs:device (Results 151 - 175 of 805) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/dev/isci/
H A Disci.c111 isci_probe (device_t device) argument
113 u_int32_t type = pci_get_devid(device);
121 device_set_desc(device, ep->desc);
138 pci_bar->resource = bus_alloc_resource(isci->device,
156 isci_attach(device_t device) argument
159 struct isci_softc *isci = DEVICE2SOFTC(device);
162 isci->device = device;
170 isci_detach(device);
181 isci_detach(device_t device) argument
396 isci_allocate_dma_buffer(device_t device, struct ISCI_MEMORY *memory) argument
[all...]
H A Disci_interrupt.c58 interrupt_info->res = bus_alloc_resource_any(isci->device, SYS_RES_IRQ,
67 if (bus_setup_intr(isci->device, interrupt_info->res,
102 info->res = bus_alloc_resource_any(isci->device,
111 if (bus_setup_intr(isci->device, info->res,
136 pci_msix_count(isci->device) >= max_msix_messages) {
139 pci_alloc_msix(isci->device, &isci->num_interrupts);
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Bin/
H A Diosnoop11 # USAGE: iosnoop [-a|-A|-DeghiNostv] [-d device] [-f filename]
19 # -e # print device name
21 # -i # print device instance
27 # -d device # instance name to snoop (eg, dad0)
50 # DEVICE device name
51 # INS device instance number
107 opt_dtime=0; filter=0; device=.; filename=.; mount=.; pname=.; pid=0
116 d) opt_device=1; device=$OPTARG ;;
131 USAGE: iosnoop [-a|-A|-DeghiNostv] [-d device] [-f filename]
137 -e # print device nam
[all...]
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/
H A Diosnoop11 # USAGE: iosnoop [-a|-A|-DeghiNostv] [-d device] [-f filename]
19 # -e # print device name
21 # -i # print device instance
27 # -d device # instance name to snoop (eg, dad0)
50 # DEVICE device name
51 # INS device instance number
107 opt_dtime=0; filter=0; device=.; filename=.; mount=.; pname=.; pid=0
116 d) opt_device=1; device=$OPTARG ;;
131 USAGE: iosnoop [-a|-A|-DeghiNostv] [-d device] [-f filename]
137 -e # print device nam
[all...]
/freebsd-9.3-release/sys/contrib/rdma/
H A Dib_verbs.h295 struct ib_device *device; member in struct:ib_event
306 struct ib_device *device; member in struct:ib_event_handler
313 (_ptr)->device = _device; \
719 struct ib_device *device; member in struct:ib_ucontext
754 struct ib_device *device; member in struct:ib_pd
760 struct ib_device *device; member in struct:ib_ah
768 struct ib_device *device; member in struct:ib_cq
778 struct ib_device *device; member in struct:ib_srq
787 struct ib_device *device; member in struct:ib_qp
800 struct ib_device *device; member in struct:ib_mr
809 struct ib_device *device; member in struct:ib_mw
817 struct ib_device *device; member in struct:ib_fmr
[all...]
/freebsd-9.3-release/sys/cam/
H A Dcam_xpt_internal.h40 typedef void (*xpt_release_device_func)(struct cam_ed *device);
45 struct cam_ed *device,
58 * Structure for queueing a device in a run queue.
64 struct cam_ed *device; member in struct:cam_ed_qinfo
68 * The CAM EDT (Existing Device Table) contains the device information for
70 * cam_ed structure for each device on the bus.
80 * work on this device.
87 void *quirk; /* Oddities about this device */
108 * queuing for a device.
134 * identify, and removed when a device fail
172 struct cam_ed *device; member in struct:cam_path
[all...]
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_tt560.c28 #define DEVICE "/dev/tt560%d" /* device name and unit */
69 * tt560_start - open the TT560 device and initialize data for processing
79 char device[20]; local
84 * Open TT560 device
86 snprintf(device, sizeof(device), DEVICE, unit);
87 fd = open(device, O_RDWR);
89 msyslog(LOG_ERR, "tt560_start: open of %s: %m", device);
94 * Map the device registers into user space.
101 msyslog(LOG_ERR, "tt560_start: mapping of %s: %m", device);
[all...]
/freebsd-9.3-release/sys/dev/isci/scil/
H A Dsati_unmap.c87 U32 blocks = (dsm_descriptor_count * sizeof(TRIM_PAIR))/sequence->device->logical_block_size;
88 if ((dsm_descriptor_count * sizeof(TRIM_PAIR)) % sequence->device->logical_block_size)
100 * - setting the device head register
193 * that can be satisfied by the device and the SW
208 // amount of memory the device can handle up to the maximum of 4K.
209 return MIN(SATI_DSM_MAX_BUFFER_SIZE/sequence->device->logical_block_size,
210 sequence->device->max_lba_range_entry_blocks);
241 // Make sure the device is TRIM capable
242 if ((sequence->device->capabilities & SATI_DEVICE_CAP_DSM_TRIM_SUPPORT)
245 // Can't send TRIM request to device tha
[all...]
/freebsd-9.3-release/usr.sbin/mlxcontrol/
H A Dutil.c112 char *type, *device, *vendor, *revision; local
151 if (!mlx_scsi_inquiry(0, chn, targ, &vendor, &device, &revision)) {
152 printf("'%8.8s' '%16.16s' '%4.4s'", vendor, device, revision);
/freebsd-9.3-release/contrib/libpcap/tests/
H A Dselpolltest.c59 register char *cp, *cmdbuf, *device; local
67 device = NULL;
82 device = optarg;
115 if (device == NULL) {
116 device = pcap_lookupdev(ebuf);
117 if (device == NULL)
121 pd = pcap_open_live(device, 65535, 0, 1000, ebuf);
126 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) {
145 printf("Listening on %s\n", device);
/freebsd-9.3-release/sys/dev/uart/
H A Duart_bus_pci.c66 uint16_t device; member in struct:pci_id
145 uint16_t device, subdev, subven, vendor; local
148 device = pci_get_device(dev);
150 (id->vendor != vendor || id->device != device))
158 while (id->vendor == vendor && id->device == device &&
161 return ((id->vendor == vendor && id->device == device) ? id : NULL);
186 /* Set/override the device descriptio
[all...]
/freebsd-9.3-release/sys/dev/viawd/
H A Dviawd.h33 uint16_t device; member in struct:viawd_device
/freebsd-9.3-release/sys/mips/nlm/
H A Dboard.h42 char *device; member in struct:xlp_i2c_devinfo
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dmr.c54 err = mlx4_mr_alloc(to_mdev(pd->device)->dev, to_mpd(pd)->pdn, 0,
59 err = mlx4_mr_enable(to_mdev(pd->device)->dev, &mr->mmr);
69 mlx4_mr_free(to_mdev(pd->device)->dev, &mr->mmr);
126 struct mlx4_ib_dev *dev = to_mdev(pd->device);
190 struct mlx4_ib_dev *dev = to_mdev(pd->device);
231 mlx4_mr_free(to_mdev(pd->device)->dev, &mr->mmr);
246 mlx4_mr_free(to_mdev(ibmr->device)->dev, &mr->mmr);
257 struct mlx4_ib_dev *dev = to_mdev(pd->device);
323 struct mlx4_ib_dev *dev = to_mdev(page_list->device);
336 struct mlx4_ib_dev *dev = to_mdev(pd->device);
[all...]
/freebsd-9.3-release/sys/powerpc/ps3/
H A Dps3bus.h44 PS3BUS_ACCESSOR(device, DEVICE, int)
/freebsd-9.3-release/sys/i386/pci/
H A Dpci_pir.c53 * A link device. Loosely based on the ACPI PCI link device. This doesn't
68 int device; member in struct:pci_link_lookup
75 int device; member in struct:pci_dev_lookup
83 static int pci_pir_biosroute(int bus, int device, int func, int pin,
95 static uint8_t pci_pir_search_irq(int bus, int device, int pin);
189 * Find the link device associated with a PCI device in the table.
199 entry->pe_device == lookup->device &&
267 * Look to see if any of the function on the PCI device a
271 pci_pir_search_irq(int bus, int device, int pin) argument
478 pci_pir_biosroute(int bus, int device, int func, int pin, int irq) argument
497 pci_pir_route_interrupt(int bus, int device, int func, int pin) argument
[all...]
/freebsd-9.3-release/sys/ofed/drivers/infiniband/core/
H A Duverbs_main.c39 #include <linux/device.h>
127 static void ib_uverbs_add_one(struct ib_device *device);
128 static void ib_uverbs_remove_one(struct ib_device *device);
260 mutex_lock(&file->device->ib_dev->xrcd_table_mutex);
276 ib_uverbs_dealloc_xrcd(file->device->ib_dev, xrcd);
279 mutex_unlock(&file->device->ib_dev->xrcd_table_mutex);
289 return context->device->dealloc_ucontext(context);
297 module_put(file->device->ib_dev->owner);
298 kref_put(&file->device->ref, ib_uverbs_release_dev);
635 !(file->device
747 show_ibdev(struct device *device, struct device_attribute *attr, char *buf) argument
759 show_dev_abi_version(struct device *device, struct device_attribute *attr, char *buf) argument
780 show_dev_device(struct device *device, struct device_attribute *attr, char *buf) argument
793 show_dev_vendor(struct device *device, struct device_attribute *attr, char *buf) argument
817 ib_uverbs_add_one(struct ib_device *device) argument
887 ib_uverbs_remove_one(struct ib_device *device) argument
[all...]
/freebsd-9.3-release/sys/dev/drm/
H A Ddrm_drv.c35 * 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,
136 SYSCTL_NODE(_hw, OID_AUTO, drm, CTLFLAG_RW, NULL, "DRM device");
147 static int drm_msi_is_blacklisted(int vendor, int device) argument
153 (drm_msi_blacklist[i].device == device)) {
164 int vendor, device; local
173 device = pci_get_device(realdev);
176 device = pci_get_device(kdev);
183 id_entry = drm_find_description(vendor, device, idlis
296 drm_find_description(int vendor, int device, drm_pci_id_list_t *idlist) argument
[all...]
/freebsd-9.3-release/contrib/libpcap/
H A Dinet.c111 * Give the "any" device an artificially high instance
161 * On OS X, we don't do this check if the device
164 * a separate "monitor mode" device for each wireless
167 * Opening that device puts the adapter into monitor
173 * device (so that we don't end up with, for users
185 * device's name.
375 * string based on the device type or something such as that.
679 static char device[IF_NAMESIZE + 1]; local
687 * There are no devices on the list, or the first device
688 * on the list is a loopback device, whic
[all...]
H A Dpcap-snf.c177 char *device = p->opt.source; local
182 if (device == NULL) {
184 "device is NULL: %s", pcap_strerror(errno));
250 * There are no platform-specific devices since each device
251 * exists as a regular Ethernet device.
257 snf_create(const char *device, char *ebuf, int *is_ours) argument
279 devlen = strlen(device) + 1;
282 if (!strncmp(device, ifa->snf_ifa_name, devlen)) {
292 * If we can't find the device by name, support the name "snfX"
295 if (sscanf(device, "snf10
[all...]
/freebsd-9.3-release/contrib/groff/src/libs/libgroff/
H A Dfontfile.cpp29 #include "device.h"
64 char *filename = new char[strlen(nm) + strlen(device) + 5];
65 sprintf(filename, "dev%s/%s", device, nm);
/freebsd-9.3-release/contrib/ipfilter/ipsend/
H A Dsirix.c34 int initdevice(char *device, int tout) argument
48 strncpy(sr.sr_ifname, device, sizeof(sr.sr_ifname));
H A Dsockraw.c37 int initdevice(char *device, int tout) argument
44 strncpy(ifr.ifr_name, device, sizeof ifr.ifr_name);
/freebsd-9.3-release/contrib/ofed/libmthca/src/
H A Dmthca.c89 .device = PCI_DEVICE_ID_MELLANOX_##d, \
94 unsigned device; member in struct:__anon3899
156 * Need to set ibv_ctx.device because mthca_is_memfree() will
159 context->ibv_ctx.device = ibdev;
219 munmap(context->uar, to_mdev(ibctx->device)->page_size);
264 unsigned vendor, device; local
267 if (ibv_read_sysfs_file(uverbs_sys_path, "device/vendor",
272 if (ibv_read_sysfs_file(uverbs_sys_path, "device/device",
275 sscanf(value, "%i", &device);
[all...]
/freebsd-9.3-release/etc/
H A Dfreebsd-update.conf38 MergeChanges /etc/ /var/named/etc/ /boot/device.hints

Completed in 146 milliseconds

1234567891011>>