Searched refs:device (Results 76 - 100 of 834) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/gdb/gdb/
H A Dremote-utils.h39 char *device; member in struct:_sr_settings
54 /* get and set device. */
55 #define sr_get_device() (sr_settings.device)
58 if (sr_settings.device) xfree (sr_settings.device); \
59 sr_settings.device = (newval); \
73 error ("Remote device not open"); }
/freebsd-11-stable/sys/ofed/include/rdma/
H A Dib_verbs_compat.h150 struct ib_device *device; member in struct:ib_fast_reg_page_list
195 struct ib_device *device; member in struct:ib_dct
289 ib_query_device_compat(struct ib_device *device, argument
292 *device_attr = device->attrs;
301 ib_query_gid_compat(struct ib_device *device, argument
304 return (ib_query_gid(device, port_num, index, gid, NULL));
312 ib_find_gid_compat(struct ib_device *device, union ib_gid *gid, argument
315 return (ib_find_gid(device, gid, IB_GID_TYPE_IB, NULL, port_num, index));
323 ib_alloc_pd_compat(struct ib_device *device) argument
325 return (ib_alloc_pd(device,
333 ib_create_cq_compat(struct ib_device *device, ib_comp_handler comp_handler, void (*event_handler) (struct ib_event *, void *), void *cq_context, int cqe, int comp_vector) argument
458 ib_alloc_fast_reg_page_list(struct ib_device *device, int page_list_len) argument
529 ib_query_values(struct ib_device *device, int q_values, struct ib_device_values *values) argument
[all...]
H A Diw_cm.h88 struct ib_device *device; member in struct:iw_cm_id
115 struct ib_qp * (*get_qp)(struct ib_device *device,
137 * @device: The IB device on which to create the IW CM identier.
142 struct iw_cm_id *iw_create_cm_id(struct ib_device *device,
171 * @ib_device: The IB device
174 struct ib_qp *iw_cm_get_qp(struct ib_device *device, int qpn);
/freebsd-11-stable/usr.sbin/iovctl/
H A Diovctl.c47 static void delete_action(const char *device, int dryrun);
48 static void print_schema(const char *device);
105 printf("Would enable SR-IOV on device '%s'.\n", dev_name);
136 err(1, "Could not allocate memory for device path");
149 err(1, "Could not open device '%s'", dev);
160 warnx(" iovctl -D [-d <PF device> | -f <config file>] [-n]");
161 warnx(" iovctl -S [-d <PF device> | -f <config file>]");
176 char *device; local
181 device = NULL;
197 device
[all...]
/freebsd-11-stable/crypto/openssh/
H A Dauth2-chall.c84 KbdintDevice *device; member in struct:KbdintAuthctxt
133 kbdintctxt->device = NULL;
142 kbdintctxt->device->free_ctx(kbdintctxt->ctxt);
145 kbdintctxt->device = NULL;
150 if (kbdintctxt->device)
156 /* get next device */
164 if (kbdintctxt->device)
179 kbdintctxt->device = devices[i];
188 } while (kbdintctxt->devices && !kbdintctxt->device);
190 return kbdintctxt->device
[all...]
/freebsd-11-stable/contrib/ntp/libntp/
H A Daudio.c66 static struct audio_device device; /* audio device ident */ variable in typeref:struct:audio_device
79 static struct audio_info info; /* audio device info */
122 * The device names for the "agc" and "monitor" keywords
131 const char **c_dev, /* Control device */
132 const char **i_dev /* input device */
136 char device[20], line[100], ab[100]; local
138 snprintf(device, sizeof(device), "%s%d", INIT_FILE, unit);
139 if ((fd = fopen(device, "
[all...]
/freebsd-11-stable/share/examples/drivers/
H A Dmake_device_driver.sh27 echo "Hey, how about some help here... give me a device name!"
108 device ${1}
193 * One of these per allocated device.
206 device_t device;
214 static int ${1}_deallocate_resources(device_t device);
215 static int ${1}_allocate_resources(device_t device);
216 static int ${1}_attach(device_t device, struct ${1}_softc *scp);
217 static int ${1}_detach(device_t device, struct ${1}_softc *scp);
312 * If the device has a NON-PNP way of being detected and setting/sensing
317 * If the device i
[all...]
/freebsd-11-stable/usr.bin/setchannel/
H A Dsetchannel.c100 unsigned long device; local
107 device = 0;
129 device = METEOR_INPUT_DEV2;
138 device = 0;
143 device = METEOR_INPUT_DEV_SVIDEO;
148 device = METEOR_INPUT_DEV1;
207 if (afc == -1 && audio == -1 && !device && x_size == 0 && y_size == 0
227 if (device)
228 if (ioctl(tfd, METEORSINPUT, &device) < 0) {
/freebsd-11-stable/contrib/libpcap/testprogs/
H A Dvalgrindtest.c231 char *cp, *device; local
250 device = NULL;
273 device = optarg;
287 if (device == NULL) {
296 device = strdup(devlist->name);
323 pd = pcap_create(device, ebuf);
325 error("%s: pcap_create() failed: %s", device, ebuf);
329 device, pcap_statustostr(status));
333 device, pcap_statustostr(status));
338 device, pcap_statustost
[all...]
H A Dcapturetest.c66 register char *cp, *cmdbuf, *device; local
79 device = NULL;
90 device = optarg;
126 if (device == NULL) {
131 device = strdup(devlist->name);
135 pd = pcap_create(device, ebuf);
141 device, pcap_statustostr(status));
146 device, pcap_statustostr(status));
151 device, pcap_statustostr(status));
157 error("%s: %s\n(%s)", device,
[all...]
/freebsd-11-stable/sys/dev/isci/scil/
H A Dscic_sds_remote_device.c59 * @brief This file contains the implementation of remote device, it's
170 //Get accurate port width from port's phy mask for a DA device.
451 * This method invokes the remote device reset handler.
453 * @param[in] this_device The remote device for which the reset is being
478 * This method invokes the remote device reset handler.
480 * @param[in] this_device The remote device for which the reset is being
505 * This method invokes the remote device reset handler.
507 * @param[in] this_device The remote device for which the reset is being
642 * Remote device timer requirements
674 * device objec
1470 scic_sds_remote_device_default_start_request_handler( SCI_BASE_REMOTE_DEVICE_T *device, SCI_BASE_REQUEST_T *request ) argument
1502 scic_sds_remote_device_default_complete_request_handler( SCI_BASE_REMOTE_DEVICE_T *device, SCI_BASE_REQUEST_T *request ) argument
1533 scic_sds_remote_device_default_continue_request_handler( SCI_BASE_REMOTE_DEVICE_T *device, SCI_BASE_REQUEST_T *request ) argument
1898 scic_sds_remote_device_ready_state_start_task_handler( SCI_BASE_REMOTE_DEVICE_T *device, SCI_BASE_REQUEST_T *request ) argument
1945 scic_sds_remote_device_ready_state_start_io_handler( SCI_BASE_REMOTE_DEVICE_T *device, SCI_BASE_REQUEST_T *request ) argument
1989 scic_sds_remote_device_ready_state_complete_request_handler( SCI_BASE_REMOTE_DEVICE_T *device, SCI_BASE_REQUEST_T *request ) argument
2060 scic_sds_remote_device_stopping_state_complete_request_handler( SCI_BASE_REMOTE_DEVICE_T *device, SCI_BASE_REQUEST_T *request ) argument
2160 scic_sds_remote_device_resetting_state_complete_request_handler( SCI_BASE_REMOTE_DEVICE_T *device, SCI_BASE_REQUEST_T *request ) argument
[all...]
H A Dscic_sds_stp_remote_device.c81 * @param[in] device This parameter specifies the device for which the
90 SCI_BASE_REMOTE_DEVICE_T * device,
94 SCIC_SDS_REMOTE_DEVICE_T * this_device = (SCIC_SDS_REMOTE_DEVICE_T *)device;
111 //This request causes hardware error, device needs to be Lun Reset.
151 * @param[in] device The target device a task management request towards to.
161 SCI_BASE_REMOTE_DEVICE_T * device,
166 SCIC_SDS_REMOTE_DEVICE_T * this_device = (SCIC_SDS_REMOTE_DEVICE_T *)device;
188 /// @note If the remote device stat
89 scic_sds_stp_remote_device_complete_request( SCI_BASE_REMOTE_DEVICE_T * device, SCI_BASE_REQUEST_T * request ) argument
160 scic_sds_stp_remote_device_ready_substate_start_request_handler( SCI_BASE_REMOTE_DEVICE_T * device, SCI_BASE_REQUEST_T * request ) argument
243 scic_sds_stp_remote_device_ready_idle_substate_start_io_handler( SCI_BASE_REMOTE_DEVICE_T * device, SCI_BASE_REQUEST_T * request ) argument
340 scic_sds_stp_remote_device_ready_ncq_substate_start_io_handler( SCI_BASE_REMOTE_DEVICE_T * device, SCI_BASE_REQUEST_T * request ) argument
539 scic_sds_stp_remote_device_ready_cmd_substate_start_io_handler( SCI_BASE_REMOTE_DEVICE_T * device, SCI_BASE_REQUEST_T * request ) argument
599 scic_sds_stp_remote_device_ready_await_reset_substate_start_io_handler( SCI_BASE_REMOTE_DEVICE_T * device, SCI_BASE_REQUEST_T * request ) argument
621 scic_sds_stp_remote_device_ready_await_reset_substate_complete_request_handler( SCI_BASE_REMOTE_DEVICE_T * device, SCI_BASE_REQUEST_T * request ) argument
[all...]
H A Dscic_sds_remote_device.h89 * This is the initial state for the remote device ready substate.
94 * This is the ready operational substate for the remote device. This is the
95 * normal operational state for a remote device.
100 * This is the suspended state for the remote device. This is the state that
101 * the device is placed in when a RNC suspend is received by the SCU hardware.
106 * This is the final state that the device is placed in before a change to the
118 * the STP remote device.
123 * This is the idle substate for the stp remote device. When there are no
124 * active IO for the device it is in this state.
129 * This is the command state for for the STP remote device
[all...]
/freebsd-11-stable/sys/dev/iser/
H A Diser_memory.c105 dev = iser_pdu->iser_conn->ib_conn.device->ib_device;
110 iser_reg_dma(struct iser_device *device, struct iser_data_buf *mem, argument
115 reg->sge.lkey = device->mr->lkey;
116 reg->rkey = device->mr->rkey;
117 reg->sge.length = ib_sg_dma_len(device->ib_device, &sg[0]);
118 reg->sge.addr = ib_sg_dma_address(device->ib_device, &sg[0]);
158 struct iser_device *device = ib_conn->device; local
167 return iser_reg_dma(device, mem, reg);
221 struct iser_device *device local
[all...]
/freebsd-11-stable/sbin/fsirand/
H A Dfsirand.c112 fsirand(char *device) argument
125 if ((devfd = open(device, printonly ? O_RDONLY : O_RDWR)) < 0) {
126 warn("can't open %s", device);
140 (intmax_t)sblockloc, device);
144 warnx("can't read superblock on %s: %s", device,
166 warnx("file system is not clean, fsck %s first", device);
179 cg + 1, device, (n < SBLOCKSIZE) ? "short write"
186 cg + 1, device);
191 cg + 1, device);
207 (void)printf("%s was randomized on %s", device,
[all...]
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_pcf.c22 * device driver be installed. A device driver for Linux is available at
60 * pcf_start - open the device and initialize data for processing
70 char device[128]; local
73 * Open device file for reading.
75 snprintf(device, sizeof(device), DEVICE, unit);
76 fd = open(device, O_RDONLY);
78 snprintf(device, sizeof(device), OLDDEVIC
[all...]
/freebsd-11-stable/etc/
H A Dfreebsd-update.conf38 MergeChanges /etc/ /boot/device.hints
/freebsd-11-stable/usr.sbin/ppp/
H A Dppp.conf15 # Ensure that "device" references the correct serial port
18 set device /dev/cuau1
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dmiscdevice.h36 #include <linux/device.h>
41 struct device *this_device;
/freebsd-11-stable/release/amd64/
H A Dmkisoimages.sh44 device=`mdconfig -a -t vnode -f efiboot.img`
45 newfs_msdos -F 12 -m 0xf8 /dev/$device
47 mount -t msdosfs /dev/$device efi
52 mdconfig -d -u $device
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c743 * the device capabilities.
797 dev = container_of((struct device *)kobj,
820 struct ib_device *dev = container_of((struct device *)kobj,
847 struct ib_device *dev = container_of((struct device *)kobj,
904 static void setup_hw_stats(struct ib_device *device, struct ib_port *port, argument
911 stats = device->alloc_hw_stats(device, port_num);
929 ret = device->get_hw_stats(device, stats, port_num,
959 struct kobject *kobj = &device
979 add_port(struct ib_device *device, int port_num, int (*port_callback)(struct ib_device *, u8, struct kobject *)) argument
1146 show_node_type(struct device *device, struct device_attribute *attr, char *buf) argument
1162 show_sys_image_guid(struct device *device, struct device_attribute *dev_attr, char *buf) argument
1174 show_node_guid(struct device *device, struct device_attribute *attr, char *buf) argument
1186 show_node_desc(struct device *device, struct device_attribute *attr, char *buf) argument
1194 set_node_desc(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument
1213 show_fw_ver(struct device *device, struct device_attribute *attr, char *buf) argument
1237 free_port_list_attributes(struct ib_device *device) argument
1262 ib_device_register_sysfs(struct ib_device *device, int (*port_callback)(struct ib_device *, u8, struct kobject *)) argument
1319 ib_device_unregister_sysfs(struct ib_device *device) argument
[all...]
/freebsd-11-stable/sbin/camcontrol/
H A Dcamcontrol.c272 static int getdevlist(struct cam_device *device);
275 static int getdevtype(struct cam_device *device);
277 static int testunitready(struct cam_device *device, int task_attr,
279 static int scsistart(struct cam_device *device, int startstop, int loadeject,
281 static int scsiinquiry(struct cam_device *device, int task_attr,
283 static int scsiserial(struct cam_device *device, int task_attr,
288 static int reprobe(struct cam_device *device);
294 static int readdefects(struct cam_device *device, int argc, char **argv,
297 static void modepage(struct cam_device *device, int argc, char **argv,
300 static int scsicmd(struct cam_device *device, in
393 getdevlist(struct cam_device *device) argument
692 testunitready(struct cam_device *device, int task_attr, int retry_count, int timeout, int quiet) argument
740 scsistart(struct cam_device *device, int startstop, int loadeject, int task_attr, int retry_count, int timeout) argument
818 scsidoinquiry(struct cam_device *device, int argc, char **argv, char *combinedopt, int task_attr, int retry_count, int timeout) argument
863 scsiinquiry(struct cam_device *device, int task_attr, int retry_count, int timeout) argument
972 scsiserial(struct cam_device *device, int task_attr, int retry_count, int timeout) argument
1055 camxferrate(struct cam_device *device) argument
1583 scsi_cam_pass_16_send(struct cam_device *device, union ccb *ccb) argument
1629 ata_cam_send(struct cam_device *device, union ccb *ccb) argument
1666 ata_do_pass_16(struct cam_device *device, union ccb *ccb, int retries, u_int32_t flags, u_int8_t protocol, u_int8_t ata_flags, u_int8_t tag_action, u_int8_t command, u_int16_t features, u_int64_t lba, u_int16_t sector_count, u_int8_t *data_ptr, u_int16_t dxfer_len, int timeout) argument
1704 ata_try_pass_16(struct cam_device *device) argument
1723 ata_do_cmd(struct cam_device *device, union ccb *ccb, int retries, u_int32_t flags, u_int8_t protocol, u_int8_t ata_flags, u_int8_t tag_action, u_int8_t command, u_int16_t features, u_int64_t lba, u_int16_t sector_count, u_int8_t *data_ptr, u_int16_t dxfer_len, int timeout, int force48bit) argument
1780 atahpa_proc_resp(struct cam_device *device, union ccb *ccb, u_int64_t *hpasize) argument
1823 ata_read_native_max(struct cam_device *device, int retry_count, u_int32_t timeout, union ccb *ccb, struct ata_params *parm, u_int64_t *hpasize) argument
1864 atahpa_set_max(struct cam_device *device, int retry_count, u_int32_t timeout, union ccb *ccb, int is48bit, u_int64_t maxsize, int persist) argument
1908 atahpa_password(struct cam_device *device, int retry_count, u_int32_t timeout, union ccb *ccb, int is48bit, struct ata_set_max_pwd *pwd) argument
1937 atahpa_lock(struct cam_device *device, int retry_count, u_int32_t timeout, union ccb *ccb, int is48bit) argument
1964 atahpa_unlock(struct cam_device *device, int retry_count, u_int32_t timeout, union ccb *ccb, int is48bit, struct ata_set_max_pwd *pwd) argument
1993 atahpa_freeze_lock(struct cam_device *device, int retry_count, u_int32_t timeout, union ccb *ccb, int is48bit) argument
2020 ata_get_native_max(struct cam_device *device, int retry_count, u_int32_t timeout, union ccb *ccb, u_int64_t *nativesize) argument
2049 ataama_set(struct cam_device *device, int retry_count, u_int32_t timeout, union ccb *ccb, u_int64_t maxsize) argument
2081 ataama_freeze(struct cam_device *device, int retry_count, u_int32_t timeout, union ccb *ccb) argument
2103 ata_do_identify(struct cam_device *device, int retry_count, int timeout, union ccb *ccb, struct ata_params** ident_bufp) argument
2209 ataidentify(struct cam_device *device, int retry_count, int timeout) argument
2322 atasecurity_freeze(struct cam_device *device, union ccb *ccb, int retry_count, u_int32_t timeout, int quiet) argument
2347 atasecurity_unlock(struct cam_device *device, union ccb *ccb, int retry_count, u_int32_t timeout, struct ata_security_password *pwd, int quiet) argument
2374 atasecurity_disable(struct cam_device *device, union ccb *ccb, int retry_count, u_int32_t timeout, struct ata_security_password *pwd, int quiet) argument
2401 atasecurity_erase_confirm(struct cam_device *device, struct ata_params* ident_buf) argument
2432 atasecurity_erase(struct cam_device *device, union ccb *ccb, int retry_count, u_int32_t timeout, u_int32_t erase_timeout, struct ata_security_password *pwd, int quiet) argument
2488 atasecurity_set_password(struct cam_device *device, union ccb *ccb, int retry_count, u_int32_t timeout, struct ata_security_password *pwd, int quiet) argument
2594 atahpa_set_confirm(struct cam_device *device, struct ata_params* ident_buf, u_int64_t maxsize, int persist) argument
2625 atahpa(struct cam_device *device, int retry_count, int timeout, int argc, char **argv, char *combinedopt) argument
2834 ataama(struct cam_device *device, int retry_count, int timeout, int argc, char **argv, char *combinedopt) argument
2955 atasecurity(struct cam_device *device, int retry_count, int timeout, int argc, char **argv, char *combinedopt) argument
3572 struct cam_device *device; local
3669 readdefects(struct cam_device *device, int argc, char **argv, char *combinedopt, int task_attr, int retry_count, int timeout) argument
4243 mode_sense(struct cam_device *device, int *cdb_len, int dbd, int llbaa, int pc, int page, int subpage, int task_attr, int retry_count, int timeout, u_int8_t *data, int datalen) argument
4318 mode_select(struct cam_device *device, int cdb_len, int save_pages, int task_attr, int retry_count, int timeout, u_int8_t *data, int datalen) argument
4369 modepage(struct cam_device *device, int argc, char **argv, char *combinedopt, int task_attr, int retry_count, int timeout) argument
4442 scsicmd(struct cam_device *device, int argc, char **argv, char *combinedopt, int task_attr, int retry_count, int timeout) argument
4917 tagcontrol(struct cam_device *device, int argc, char **argv, char *combinedopt) argument
5031 cts_print(struct cam_device *device, struct ccb_trans_settings *cts) argument
5172 get_cpi(struct cam_device *device, struct ccb_pathinq *cpi) argument
5207 get_cgd(struct cam_device *device, struct ccb_getdev *cgd) argument
5450 get_ata_status(struct cam_device *dev, union ccb *ccb, uint8_t *error, uint16_t *count, uint64_t *lba, uint8_t *device, uint8_t *status) argument
5772 get_print_cts(struct cam_device *device, int user_settings, int quiet, struct ccb_trans_settings *cts) argument
5824 ratecontrol(struct cam_device *device, int task_attr, int retry_count, int timeout, int argc, char **argv, char *combinedopt) argument
6156 scsiformat(struct cam_device *device, int argc, char **argv, char *combinedopt, int task_attr, int retry_count, int timeout) argument
6442 sanitize_wait_ata(struct cam_device *device, union ccb *ccb, int quiet, camcontrol_devtype devtype) argument
6535 sanitize_wait_scsi(struct cam_device *device, union ccb *ccb, int task_attr, int quiet) argument
6635 sanitize(struct cam_device *device, int argc, char **argv, char *combinedopt, int task_attr, int retry_count, int timeout) argument
7011 scsireportluns(struct cam_device *device, int argc, char **argv, char *combinedopt, int task_attr, int retry_count, int timeout) argument
7248 scsireadcapacity(struct cam_device *device, int argc, char **argv, char *combinedopt, int task_attr, int retry_count, int timeout) argument
7454 smpcmd(struct cam_device *device, int argc, char **argv, char *combinedopt, int retry_count, int timeout) argument
7649 smpreportgeneral(struct cam_device *device, int argc, char **argv, char *combinedopt, int retry_count, int timeout) argument
7785 smpphycontrol(struct cam_device *device, int argc, char **argv, char *combinedopt, int retry_count, int timeout) argument
8050 smpmaninfo(struct cam_device *device, int argc, char **argv, char *combinedopt, int retry_count, int timeout) argument
8425 smpphylist(struct cam_device *device, int argc, char **argv, char *combinedopt, int retry_count, int timeout) argument
8680 atapm_proc_resp(struct cam_device *device, union ccb *ccb) argument
8742 atapm(struct cam_device *device, int argc, char **argv, char *combinedopt, int retry_count, int timeout) argument
8824 ataaxm(struct cam_device *device, int argc, char **argv, char *combinedopt, int retry_count, int timeout) argument
8887 scsigetopcodes(struct cam_device *device, int opcode_set, int opcode, int show_sa_errors, int sa_set, int service_action, int timeout_desc, int task_attr, int retry_count, int timeout, int verbosemode, uint32_t *fill_len, uint8_t **data_ptr) argument
9034 scsiprintoneopcode(struct cam_device *device, int req_opcode, int sa_set, int req_sa, uint8_t *buf, uint32_t valid_len) argument
9166 scsiprintopcodes(struct cam_device *device, int td_req, uint8_t *buf, uint32_t valid_len) argument
9255 scsiopcodes(struct cam_device *device, int argc, char **argv, char *combinedopt, int task_attr, int retry_count, int timeout, int verbosemode) argument
9344 reprobe(struct cam_device *device) argument
9726 char *device = NULL; local
[all...]
/freebsd-11-stable/contrib/libpcap/
H A Dpcap-dos.c96 static struct device *handle_to_device [20];
106 static int ndis_probe (struct device *dev);
107 static int pkt_probe (struct device *dev);
117 * These are the device we always support
119 static struct device ndis_dev = {
124 NDIS_NEXT_DEV, /* NULL or a 32-bit device */
128 static struct device pkt_dev = {
137 static struct device *get_device (int fd)
152 pcap_t *pcap_create_interface (const char *device _U_, char *ebuf)
208 if (!init_watt32(pcap, pcap->opt.device, pca
518 pcap_lookupnet(const char *device, bpf_u_int32 *localnet, bpf_u_int32 *netmask, char *errbuf) argument
[all...]
/freebsd-11-stable/sys/dev/bwn/
H A Dif_bwn_pcivar.h39 device_t dev; /**< device */
40 device_t bhndb_dev; /**< bhnd bridge device */
41 const struct bwn_pci_devcfg *devcfg; /**< bwn device config */
45 /* bwn device quirks */
73 /* PCI device descriptor */
76 uint16_t device; member in struct:bwn_pci_device
86 /* Supported device table */
/freebsd-11-stable/usr.sbin/config/
H A Dmkheaders.c53 struct device *dp;
59 warnx("Error: device \"%s\" is unknown",

Completed in 207 milliseconds

1234567891011>>