Searched refs:device (Results 101 - 125 of 805) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/ofed/include/linux/
H A Ddevice.h53 void (*dev_release)(struct device *dev);
56 struct device { struct
57 struct device *parent;
62 void (*release)(struct device *dev);
71 extern struct device linux_rootdev;
85 ssize_t (*show)(struct device *,
87 ssize_t (*store)(struct device *,
103 dev_get_drvdata(struct device *dev)
110 dev_set_drvdata(struct device *dev, void *data)
116 static inline struct device *
[all...]
H A Dinterrupt.h32 #include <linux/device.h>
46 struct device *dev;
55 _irq_rid(struct device *dev, int irq)
72 _irq_ent(struct device *dev, int irq)
89 struct device *dev;
120 free_irq(unsigned int irq, void *device) argument
123 struct device *dev;
/freebsd-9.3-release/sys/dev/isci/scil/
H A Dscic_sds_remote_node_context.c79 SCIC_SDS_REMOTE_DEVICE_T * device,
87 rnc->device = device;
90 rnc->parent.logger = device->parent.parent.logger;
158 * This method will construct the RNC buffer for this remote device object.
160 * @param[in] this_device The remote device to use to construct the RNC
162 * @param[in] rnc The buffer into which the remote device data will be copied.
173 the_controller = scic_sds_remote_device_get_controller(this_rnc->device);
182 * scic_sds_remote_device_node_count(this_rnc->device)
186 rnc->ssp.remote_node_port_width = this_rnc->device
78 scic_sds_remote_node_context_construct( SCIC_SDS_REMOTE_DEVICE_T * device, SCIC_SDS_REMOTE_NODE_CONTEXT_T * rnc, U16 remote_node_index ) argument
[all...]
H A Dscif_sas_stp_remote_device.c72 * STP remote device object.
74 * @param[in] device This parameter specifies the STP remote device
80 SCIF_SAS_REMOTE_DEVICE_T * device
84 &device->protocol_device.stp_device.sati_device,
85 device->domain->controller->user_parameters.sas.is_sata_ncq_enabled,
86 (U8) device->domain->controller->user_parameters.sas.max_ncq_depth,
87 device->domain->controller->user_parameters.sas.ignore_fua
90 device->protocol_device.stp_device.s_active = 0;
95 * of available tags in the remote device
[all...]
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-9.3-release/contrib/groff/src/preproc/eqn/
H A Deqn.h47 void init_table(const char *device);
/freebsd-9.3-release/contrib/ipfilter/ipsend/
H A Dhpux.c21 int initdevice(device, sport, tout)
22 char *device;
77 int initdevice(device, sport, tout)
78 char *device;
/freebsd-9.3-release/contrib/libpcap/
H A Dpcap-null.c43 pcap_create_interface(const char *device, char *ebuf) argument
/freebsd-9.3-release/sbin/fsck_ffs/
H A Dutilities.c66 static char device[MAXPATHLEN]; local
72 (void)snprintf(device, sizeof(device), "%s%s",
74 newname = device;
96 "Can't resolve %s to character special device.\n",
105 * Not a block or character device, just return name and
/freebsd-9.3-release/sys/dev/xen/xenpci/
H A Dxenpcivar.h28 * One of these per allocated device.
41 extern int xenpci_irq_init(device_t device, struct xenpci_softc *scp);
/freebsd-9.3-release/sys/ofed/drivers/infiniband/core/
H A Dsa.h61 struct ib_device *device, u8 port_num,
75 struct ib_device *device, u8 port_num,
90 struct ib_device *device, u8 port_num,
99 int notice_dispatch(struct ib_device *device, u8 port_num,
H A Dsysfs.c439 static void ib_device_release(struct device *device) argument
441 struct ib_device *dev = container_of(device, struct ib_device, dev);
448 static int ib_device_uevent(struct device *device, argument
451 struct ib_device *dev = container_of(device, struct ib_device, dev);
506 static int add_port(struct ib_device *device, int port_num) argument
513 ret = ib_query_port(device, port_num, &attr);
521 p->ibdev = device;
525 device
584 show_node_type(struct device *device, struct device_attribute *attr, char *buf) argument
598 show_sys_image_guid(struct device *device, struct device_attribute *dev_attr, char *buf) argument
616 show_node_guid(struct device *device, struct device_attribute *attr, char *buf) argument
628 show_node_desc(struct device *device, struct device_attribute *attr, char *buf) argument
636 set_node_desc(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument
676 show_protocol_stat(const struct device *device, struct device_attribute *attr, char *buf, unsigned offset) argument
789 ib_device_register_sysfs(struct ib_device *device) argument
863 ib_device_unregister_sysfs(struct ib_device *device) argument
894 ib_sysfs_create_port_files(struct ib_device *device, int (*create)(struct ib_device *dev, u8 port_num, struct kobject *kobj)) argument
[all...]
/freebsd-9.3-release/tools/tools/kdrv/
H A Dsample.drvinfo42 device blorg0 at isa? port 0x123 irq 10 flags 0x10 drq 2
43 device blorg1 at isa? port 0x234 irq 11 flags 0x10 drq 2
/freebsd-9.3-release/usr.bin/wall/
H A Dttymsg.c65 static char device[MAXNAMLEN] = _PATH_DEV; local
74 p = device + sizeof(_PATH_DEV) - 1;
75 strlcpy(p, line, sizeof(device));
81 "Too many '/' in \"%s\"", device);
89 if ((fd = open(device, O_WRONLY|O_NONBLOCK, 0)) < 0) {
92 (void) snprintf(errbuf, sizeof(errbuf), "%s: %s", device,
159 "%s: %s", device, strerror(errno));
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Bin/
H A Diotop10 # USAGE: iotop [-C] [-D|-o|-P] [-j|-Z] [-d device] [-f filename]
21 # -d device # instance name to snoop (eg, dad0)
41 # DEVICE device name
42 # MAJ device major number
43 # MIN device minor number
102 opt_percent=0; opt_def=1; opt_bytes=1; filter=0; device=.; filename=.; mount=.
111 d) opt_device=1; device=$OPTARG ;;
120 USAGE: iotop [-C] [-D|-o|-P] [-j|-Z] [-d device] [-f filename]
129 -d device # instance name to snoop
194 inline string DEVICE = "'$device'";
[all...]
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/
H A Diotop10 # USAGE: iotop [-C] [-D|-o|-P] [-j|-Z] [-d device] [-f filename]
21 # -d device # instance name to snoop (eg, dad0)
41 # DEVICE device name
42 # MAJ device major number
43 # MIN device minor number
102 opt_percent=0; opt_def=1; opt_bytes=1; filter=0; device=.; filename=.; mount=.
111 d) opt_device=1; device=$OPTARG ;;
120 USAGE: iotop [-C] [-D|-o|-P] [-j|-Z] [-d device] [-f filename]
129 -d device # instance name to snoop
194 inline string DEVICE = "'$device'";
[all...]
/freebsd-9.3-release/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-9.3-release/crypto/openssh/
H A Dauth2-chall.c83 KbdintDevice *device; member in struct:KbdintAuthctxt
132 kbdintctxt->device = NULL;
141 kbdintctxt->device->free_ctx(kbdintctxt->ctxt);
144 kbdintctxt->device = NULL;
149 if (kbdintctxt->device)
155 /* get next device */
163 if (kbdintctxt->device)
178 kbdintctxt->device = devices[i];
187 } while (kbdintctxt->devices && !kbdintctxt->device);
189 return kbdintctxt->device
[all...]
/freebsd-9.3-release/contrib/ntp/libntp/
H A Daudio.c53 static struct audio_device device; /* audio device ident */ variable in typeref:struct:audio_device
65 static struct audio_info info; /* audio device info */
108 * The device names for the "agc" and "monitor" keywords
117 const char **c_dev, /* Control device */
118 const char **i_dev /* input device */
122 char device[20], line[100], ab[100]; local
124 snprintf(device, sizeof(device), "%s%d", INIT_FILE, unit);
125 if ((fd = fopen(device, "
[all...]
/freebsd-9.3-release/share/examples/drivers/
H A Dmake_device_driver.sh27 echo "Hey, how about some help here... give me a device name!"
108 device ${1}
194 * One of these per allocated device.
207 device_t device;
215 static int ${1}_deallocate_resources(device_t device);
216 static int ${1}_allocate_resources(device_t device);
217 static int ${1}_attach(device_t device, struct ${1}_softc *scp);
218 static int ${1}_detach(device_t device, struct ${1}_softc *scp);
313 * If the device has a NON-PNP way of being detected and setting/sensing
318 * If the device i
[all...]
/freebsd-9.3-release/contrib/libpcap/tests/
H A Dnonblocktest.c59 register char *cp, *cmdbuf, *device; local
65 device = NULL;
76 device = optarg;
85 if (device == NULL) {
86 device = pcap_lookupdev(ebuf);
87 if (device == NULL)
91 pd = pcap_open_live(device, 65535, 0, 1000, ebuf);
96 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) {
110 printf("Listening on %s\n", device);
/freebsd-9.3-release/usr.bin/setchannel/
H A Dsetchannel.c98 unsigned long device; local
105 device = 0;
127 device = METEOR_INPUT_DEV2;
136 device = 0;
141 device = METEOR_INPUT_DEV_SVIDEO;
146 device = METEOR_INPUT_DEV1;
205 if (afc == -1 && audio == -1 && !device && x_size == 0 && y_size == 0
225 if (device)
226 if (ioctl(tfd, METEORSINPUT, &device) < 0) {
/freebsd-9.3-release/sbin/fsirand/
H A Dfsirand.c111 fsirand(char *device) argument
125 if ((devfd = open(device, printonly ? O_RDONLY : O_RDWR)) < 0) {
126 warn("can't open %s", device);
149 (intmax_t)sblockloc, device);
153 warnx("can't read superblock on %s: %s", device,
175 warnx("file system is not clean, fsck %s first", device);
188 cg + 1, device, (n < SBLOCKSIZE) ? "short write"
195 cg + 1, device);
200 cg + 1, device);
216 (void)printf("%s was randomized on %s", device,
[all...]

Completed in 190 milliseconds

1234567891011>>