/freebsd-11-stable/sys/dev/puc/ |
H A D | puc_pci.c | 89 uint16_t vendor, device; local 93 device = pci_get_device(dev); 98 if (desc->vendor == vendor && desc->device == device) {
|
/freebsd-11-stable/sys/powerpc/ps3/ |
H A D | ps3bus.h | 44 PS3BUS_ACCESSOR(device, DEVICE, int)
|
/freebsd-11-stable/sys/dev/viawd/ |
H A D | viawd.h | 33 uint16_t device; member in struct:viawd_device
|
/freebsd-11-stable/contrib/libpcap/ |
H A D | pcap-rdmasniff.c | 201 "Failed to open device %s", handle->opt.device); 208 "Failed to alloc PD for device %s", handle->opt.device); 215 "Failed to create comp channel for device %s", handle->opt.device); 223 "Failed to create CQ for device %s", handle->opt.device); 237 "Failed to create QP for device %s", handle->opt.device); 357 rdmasniff_create(const char *device, char *ebuf, int *is_ours) argument [all...] |
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | sa.h | 54 struct ib_device *device, u8 port_num,
|
H A D | ib_mad.c | 95 * Returns a ib_mad_port_private structure or NULL for a device/port 99 __ib_get_mad_port(struct ib_device *device, int port_num) argument 104 if (entry->device == device && entry->port_num == port_num) 112 * for a device/port 115 ib_get_mad_port(struct ib_device *device, int port_num) argument 121 entry = __ib_get_mad_port(device, port_num); 200 struct ib_mad_agent *ib_register_mad_agent(struct ib_device *device, argument 225 dev_notice(&device->dev, 232 dev_notice(&device 487 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 757 struct ib_device *device = mad_agent_priv->agent.device; local 1863 struct ib_device *device = mad_agent_priv->agent.device; local 3127 ib_mad_port_open(struct ib_device *device, int port_num) argument 3232 ib_mad_port_close(struct ib_device *device, int port_num) argument 3261 ib_mad_init_device(struct ib_device *device) argument 3300 ib_mad_remove_device(struct ib_device *device, void *client_data) argument [all...] |
/freebsd-11-stable/sys/dev/liquidio/ |
H A D | lio_bsd.h | 97 device_printf(oct->device, "Info: " format, ##args) 99 device_printf(oct->device, "Warn: " format, ##args) 101 device_printf(oct->device, "Error: " format, ##args) 105 device_printf(oct->device, "Debug: " format, ##args)
|
/freebsd-11-stable/usr.sbin/ctld/ |
H A D | token.l | 62 device-id { return DEVICE_ID; } 63 device-type { return DEVICE_TYPE; }
|
/freebsd-11-stable/sys/dev/uart/ |
H A D | uart_bus_pci.c | 66 uint16_t device; member in struct:pci_id 169 uint16_t device, subdev, subven, vendor; local 172 device = pci_get_device(dev); 174 (id->vendor != vendor || id->device != device)) 182 while (id->vendor == vendor && id->device == device && 185 return ((id->vendor == vendor && id->device == device) ? id : NULL); 210 /* Set/override the device descriptio [all...] |
/freebsd-11-stable/usr.sbin/mpsutil/ |
H A D | mps_show.c | 446 MPI2_CONFIG_PAGE_SAS_DEV_0 *device; local 475 device = mps_read_extended_config_page(fd, 480 if (device == NULL) { 484 warn("Error retrieving device page"); 488 handle = device->DevHandle; 490 if (device->ParentDevHandle == 0x0) { 491 free(device); 499 free(device); 507 type = get_device_type(device->DeviceInfo); 509 if (device [all...] |
/freebsd-11-stable/sbin/camcontrol/ |
H A D | epc.c | 132 static int epc_list(struct cam_device *device, camcontrol_devtype devtype, 136 static int epc_getmode(struct cam_device *device, camcontrol_devtype devtype, 139 static int epc_set_features(struct cam_device *device, 192 epc_list(struct cam_device *device, camcontrol_devtype devtype, union ccb *ccb, argument 238 error = cam_send_ccb(device, ccb); 246 cam_error_print(device, ccb, CAM_ESF_ALL, CAM_EPF_ALL,stderr); 273 epc_getmode(struct cam_device *device, camcontrol_devtype devtype, argument 296 retval = ata_do_identify(device, retry_count, timeout, ccb, &ident); 348 retval = cam_send_ccb(device, ccb); 356 cam_error_print(device, cc 523 epc_set_features(struct cam_device *device, camcontrol_devtype devtype, union ccb *ccb, int retry_count, int timeout, int action, int power_cond, int timer, int enable, int save, int delayed_entry, int hold, int power_src, int restore_src) argument 612 epc(struct cam_device *device, int argc, char **argv, char *combinedopt, int retry_count, int timeout, int verbosemode __unused) argument [all...] |
H A D | modeedit.c | 106 static void editlist_populate(struct cam_device *device, 109 static void editlist_populate_desc(struct cam_device *device, 113 static void editlist_save(struct cam_device *device, int cdb_len, 116 static void editlist_save_desc(struct cam_device *device, int cdb_len, 126 static void modepage_dump(struct cam_device *device, int cdb_len, 129 static void modepage_dump_desc(struct cam_device *device, 596 editlist_populate(struct cam_device *device, int cdb_len, int dbd, int pc, argument 608 mode_sense(device, &cdb_len, dbd, 0, 1, page, subpage, task_attr, 634 mode_sense(device, &cdb_len, dbd, 0, pc, page, subpage, task_attr, 640 editlist_populate_desc(struct cam_device *device, in argument 701 editlist_save(struct cam_device *device, int cdb_len, int dbd, int pc, int page, int subpage, int task_attr, int retries, int timeout) argument 789 editlist_save_desc(struct cam_device *device, int cdb_len, int llbaa, int pc, int page, int subpage, int task_attr, int retries, int timeout) argument 1004 modepage_dump(struct cam_device *device, int cdb_len, int dbd, int pc, int page, int subpage, int task_attr, int retries, int timeout) argument 1043 modepage_dump_desc(struct cam_device *device, int cdb_len, int llbaa, int pc, int page, int subpage, int task_attr, int retries, int timeout) argument 1085 mode_edit(struct cam_device *device, int cdb_len, int desc, int dbd, int llbaa, int pc, int page, int subpage, int edit, int binary, int task_attr, int retry_count, int timeout) argument 1154 mode_list(struct cam_device *device, int cdb_len, int dbd, int pc, int subpages, int task_attr, int retry_count, int timeout) argument [all...] |
/freebsd-11-stable/sys/dev/pms/freebsd/driver/common/ |
H A D | lxencrypt.c | 84 set_dek_table_entry(struct device *dev, const char *buf, size_t len, dek_table_e table) 117 set_dek_table_entry0(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) 131 set_dek_table_entry1(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) 146 show_dek_table_entry(struct device *dev, char *buf, unsigned int table) 194 show_dek_table_entry0(struct device *dev, struct device_attribute *attr, char *buf) 208 show_dek_table_entry1(struct device *dev, struct device_attribute *attr, char *buf) 222 show_kek_table(struct device *dev, struct device_attribute *attr, char *buf) 259 show_dek_kek_map(struct device *dev, char *buf, unsigned int table) 296 show_dek_kek_map0(struct device *dev, struct device_attribute *attr, char *buf) 310 show_dek_kek_map1(struct device *de 327 unsigned int chan, device, lun = 0; local 477 bit32 chan, device, lun; local 696 int chan, device, lun; local [all...] |
/freebsd-11-stable/usr.bin/morse/ |
H A D | morse.c | 286 static char *device; /* for tty-controlled generator */ variable 301 "usage: morse [-elprs] [-d device] [-w speed] [-c speed] [-f frequency] [string ...]\n" 305 "usage: morse [-elrs] [-d device] [-w speed] [-c speed] [-f frequency] [string ...]\n" 323 device = optarg; 356 if ((pflag || device) && (sflag || lflag)) { 362 if ((pflag || device) && ((wpm < 1) || (wpm > 60) || (cpm < 1) || (cpm > 60))) { 365 if ((pflag || device) && (freq == 0)) { 375 if (device) { 376 if ((line = open(device, O_WRONLY | O_NONBLOCK)) == -1) { 397 if (pflag || device) { [all...] |
/freebsd-11-stable/contrib/ipfilter/ipsend/ |
H A D | sockraw.c | 37 int initdevice(char *device, int tout) argument 44 strncpy(ifr.ifr_name, device, sizeof ifr.ifr_name);
|
/freebsd-11-stable/contrib/groff/src/libs/libgroff/ |
H A D | fontfile.cpp | 29 #include "device.h" 64 char *filename = new char[strlen(nm) + strlen(device) + 5]; 65 sprintf(filename, "dev%s/%s", device, nm);
|
/freebsd-11-stable/sys/dev/isci/scil/ |
H A D | sati_device.h | 60 * device object. Some translations require information to be 61 * remembered on a per device basis. This information is stored 72 * translation remote device object. 91 * These constants define the various capabilities that a remote device may 119 * @brief The SATI_DEVICE structure define the state of the remote device 125 * This field simply dictates the state of the SATI device. 130 * This field indicates features supported by the remote device that 137 * by the device. 161 * descriptor entries the device supports in blocks. 166 * The field is the reported logical block size for the device [all...] |
H A D | sati_move.c | 240 if (sequence->device->capabilities & SATI_DEVICE_CAP_48BIT_ENABLE) 392 * written to the device head register. 436 if (sequence->device->capabilities & SATI_DEVICE_CAP_NCQ_SUPPORTED_ENABLE) 444 else if (sequence->device->capabilities & SATI_DEVICE_CAP_48BIT_ENABLE) 461 else if (sequence->device->capabilities & SATI_DEVICE_CAP_UDMA_ENABLE) 496 * written to the device head register. 500 * supported by the target device. 516 if (sequence->device->capabilities & SATI_DEVICE_CAP_NCQ_SUPPORTED_ENABLE) 519 if((sequence->device->capabilities & SATI_DEVICE_CAP_IGNORE_FUA)==0) 534 else if (sequence->device [all...] |
/freebsd-11-stable/usr.sbin/apmd/contrib/ |
H A D | pccardq.c | 154 **device, int *state) 209 if ((*device = strdup(_device)) == NULL) { 213 if (*manuf == NULL || *version == NULL || *device == NULL) { 262 char *device; local 265 if (get_slot_info(so, i, &manuf, &version, &device, 268 if (manuf == NULL || version == NULL || device == NULL) 271 i, manuf, version, device, strstate(state)); 274 free(device); 153 get_slot_info(int so, int slot, char **manuf, char **version, char **device, int *state) argument
|
/freebsd-11-stable/contrib/ofed/libibverbs/ |
H A D | init.c | 167 dev = &vdev->device; 285 struct ibv_device *device; local 314 device = try_drivers(sysfs_dev); 315 if (device) { 316 add_device(device, list, &num_devices, &list_size); 349 device = try_drivers(sysfs_dev); 350 if (device) { 351 add_device(device, list, &num_devices, &list_size); 362 fprintf(stderr, PFX "Warning: no userspace device-specific "
|
/freebsd-11-stable/sys/modules/nxge/ |
H A D | Makefile | 35 SRCS+= xgehal-device.c xgehal-mm.c xge-queue.c 44 CWARNFLAGS.xgehal-device.c= ${NO_WSELF_ASSIGN}
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | dmapool.h | 37 #include <linux/device.h> 45 dma_pool_create(char *name, struct device *dev, size_t size, 54 * and physical address requirements of the device.
|
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_atm/ |
H A D | atm_sys.c | 52 const char *device; member in struct:hwinfo 255 if (aif->pub.mib->device >= sizeof(hwinfo) / sizeof(hwinfo[0])) 257 return (string_get(value, hwinfo[aif->pub.mib->device].vendor, -1)); 261 * Get device string 267 if (aif->pub.mib->device >= sizeof(hwinfo) / sizeof(hwinfo[0])) 269 return (string_get(value, hwinfo[aif->pub.mib->device].device, -1)); 289 aif->pub.mib->device = mib->device;
|
/freebsd-11-stable/usr.sbin/bluetooth/hcsecd/ |
H A D | lexer.l | 49 device_word device
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | refclock_tpro.c | 24 * tpro.o device driver be installed and loaded. 30 #define DEVICE "/dev/tpro%d" /* device name and unit */ 64 * tpro_start - open the TPRO device and initialize data for processing 74 char device[20]; local 78 * Open TPRO device 80 snprintf(device, sizeof(device), DEVICE, unit); 81 fd = open(device, O_RDONLY | O_NDELAY, 0777); 83 msyslog(LOG_ERR, "tpro_start: open of %s: %m", device);
|