Searched defs:driver (Results 1 - 20 of 20) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/bus/usb/serial/
H A Dcommon.c45 struct grub_serial_driver *driver)
70 port->driver = driver;
44 grub_usbserial_attach(grub_usb_device_t usbdev, int configno, int interfno, struct grub_serial_driver *driver) argument
/osnet-11/usr/src/lib/libinetutil/common/
H A Difspec.c115 * - datalink name (which is driver name plus PPA), for e.g. bge0 or
151 * Given a `linkname' of the form drv(ppa), parse it into `driver' and `ppa'.
152 * If the `dsize' for the `driver' is not atleast MAXLINKNAMELEN then part of
153 * the driver name will be copied to `driver'.
155 * This function also validates driver name and PPA and therefore callers can
156 * call this function with `driver' and `ppa' set to NULL, to just verify the
160 dlparse_drvppa(const char *linknamep, char *driver, uint_t dsize, uint_t *ppa) argument
194 if (driver != NULL)
195 (void) strlcpy(driver, linknam
[all...]
/osnet-11/usr/src/grub/grub2/include/grub/
H A Draid.h64 struct grub_raid *driver; member in struct:grub_raid_array
H A Dserial.h67 struct grub_serial_driver *driver; member in struct:grub_serial_port
104 return port->driver->configure (port, config);
110 return port->driver->fetch (port);
116 port->driver->put (port, c);
122 port->driver->fini (port);
141 return port->driver->configure (port, &config);
148 void EXPORT_FUNC(grub_serial_unregister_driver) (struct grub_serial_driver *driver);
H A Dnet.h116 struct grub_net_card_driver *driver; member in struct:grub_net_card
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Ddev.h33 const struct isa_driver *driver; member in struct:isa_probe_state
H A Dpci.c214 const struct pci_driver *driver; local
218 driver = pci_drivers[j];
219 if (driver->type != type)
222 if (skip_driver == driver)
226 for(i = 0; i < driver->id_count; i++) {
227 if ((vendor == driver->ids[i].vendor) &&
228 (device == driver->ids[i].dev_id)) {
230 dev->driver = driver;
231 dev->name = driver
[all...]
H A Dpci.h280 const struct pci_driver *driver; member in struct:pci_device
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_systemfile.c34 * patch /etc/driver/drv/md.conf file
281 char **driver, /* returned driver name */
295 *driver = p;
298 if (*driver == p) {
350 char *driver; local
394 (confline(buf, &driver, &mnum, &block, &devid_char_p) != 0))
412 i, driver, mnum, block, devid_char_p);
419 if (confline(buf, &driver, &mnum, &block,
424 driver, mnu
279 confline( char *line, char **driver, minor_t *mnump, daddr_t *block, char **devid_char_pp ) argument
[all...]
/osnet-11/usr/src/lib/libcpc/common/
H A Dobsoleted.c214 const char driver[] = CPUDRV_SHARED; local
216 return (open(driver, O_RDWR));
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dmod.c185 "No system object file for driver %s", path);
209 mod_fmri_create(topo_mod_t *mp, const char *driver) argument
219 (void) snprintf(objpath, PATH_MAX, "%s/%s/object", OBJFS_ROOT, driver);
228 topo_mod_dprintf(mp, "failed to get modinfo for %s", driver);
246 char *driver; local
252 nvlist_lookup_string(args, "DRIVER", &driver) != 0) {
257 modnvl = mod_fmri_create(mp, driver);
H A Dtopo_mod.c471 topo_mod_modfmri(topo_mod_t *mod, int version, const char *driver) argument
483 if (nvlist_add_string(args, "DRIVER", driver) != 0) {
/osnet-11/usr/src/grub/grub2/grub-core/term/
H A Dserial.c67 data->port->driver->put (data->port, c);
74 return data->port->driver->fetch (data->port);
221 err = port->driver->configure (port, &config);
226 if (port->driver == &grub_ns8250_driver)
346 if (port->driver->fini)
347 port->driver->fini (port);
358 grub_serial_unregister_driver (struct grub_serial_driver *driver)
364 if (port->driver == driver)
357 grub_serial_unregister_driver(struct grub_serial_driver *driver) argument
/osnet-11/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_configfile.c51 char *driver; member in struct:usb_configrec
71 { "driver", USB_DRIVER },
555 user_rec->driver =
719 free(rec->driver);
726 char *path, char *driver, char **errmsg)
737 DPRINTF("add_entry: driver=%s, path=%s\n",
738 driver ? driver : "", path ? path : "");
756 cfgrec.driver = driver;
725 add_entry(char *selection, int vid, int pid, int cfgndx, char *srno, char *path, char *driver, char **errmsg) argument
[all...]
H A Dcfga_usb.c529 /* Set up to pass port number down to driver */
733 set_configuration(const char *ap_id, uint_t config, char *driver, argument
775 serial_no : "", dev_path ? dev_path : "", driver ? driver : "");
795 driver, /* Driver (optional) */
1228 char *driver = NULL; local
1336 S_FREE(driver);
1337 driver = strdup(value);
1338 if (driver == NULL) {
1375 S_FREE(driver);
[all...]
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_devperm.c371 * path and return the driver name for the node.
401 * check a logindevperm line for a driver list and match this against
402 * the driver of the minor node
403 * returns 0 if no drivers were specified or a driver match
408 char *driver, *lasts; local
428 p = strstr(saveline, "driver");
432 driver = strtok_r(p, "=", &lasts);
433 if (driver) {
434 if (strcmp(driver, "driver")
[all...]
H A Ddevfsmap.c116 /* structure to hold entries with mpxio-disable property in driver.conf file */
188 /* return the next token from the given driver.conf file, or -1 on error */
438 * Parse the next entry from the driver.conf file and return in the form of
625 * Parse all entries with mpxio-disable property in the given driver.conf
628 * fname driver.conf file name
630 * driver.conf file entries with mpxio-disable property.
632 * driver global mpxio-dissable property as follows.
633 * 0 if driver mpxio-disable="no"
634 * 1 if driver mpxio-disable="yes"
635 * -1 if driver mpxi
732 char driver[BUFSIZE]; local
[all...]
H A Ddevinfo.c27 * through the devinfo driver.
170 char driver[MAXPATHLEN]; local
180 (void) strcpy(driver, drv_name);
183 * open the devinfo driver
191 if (ioctl(fd, DINFOLODRV, driver) != 0) {
192 DPRINTF((DI_ERR, "failed to load driver %s\n", driver));
253 * Attempt to open the devinfo driver. Make a second attempt at the
284 * the devinfo driver.
288 "driver I
[all...]
/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdllink.c52 * Return the attributes of the specified datalink from the DLD driver.
1081 parse_devname(const char *devname, char *driver, uint_t *ppa, size_t maxlen) argument
1092 (void) strlcpy(driver, devname, maxlen);
1093 cp = (char *)&driver[len - 1];
1096 if (tp <= driver)
/osnet-11/usr/src/lib/libdlpi/common/
H A Dlibdlpi.c1099 char driver[DLPI_LINKNAME_MAX]; local
1109 if (dlpi_parsezonelink(provider, driver, sizeof (driver),
1151 (void) snprintf(device, DLPI_LINKNAME_MAX, "%s%d", driver,

Completed in 95 milliseconds