/titanic_50/usr/src/cmd/hal/hald/ |
H A D | device.h | 53 void (*property_changed) (HalDevice *device, 58 void (*capability_added) (HalDevice *device, 61 void (*callouts_finished) (HalDevice *device); 63 void (*cancelled) (HalDevice *device); 76 typedef void (*HalDeviceAsyncCallback) (HalDevice *device, 81 typedef gboolean (*HalDevicePropertyForeachFn) (HalDevice *device, 101 const char *hal_device_get_udi (HalDevice *device); 102 void hal_device_set_udi (HalDevice *device, 105 void hal_device_add_capability (HalDevice *device, 107 gboolean hal_device_has_capability (HalDevice *device, [all …]
|
H A D | device.c | 59 HalDevice *device = HAL_DEVICE (obj); in hal_device_finalize() local 61 runner_device_finalized (device); in hal_device_finalize() 65 printf ("************* in finalize for udi=%s\n", device->udi); in hal_device_finalize() 69 g_slist_foreach (device->properties, (GFunc) hal_property_free, NULL); in hal_device_finalize() 71 g_slist_free (device->properties); in hal_device_finalize() 73 g_free (device->udi); in hal_device_finalize() 135 hal_device_init (HalDevice *device) in hal_device_init() argument 139 device->udi = g_strdup_printf ("/org/freedesktop/Hal/devices/temp/%d", in hal_device_init() 141 device->num_addons = 0; in hal_device_init() 142 device->num_addons_ready = 0; in hal_device_init() [all …]
|
H A D | device_store.c | 109 hal_device_store_init (HalDeviceStore *device) in hal_device_store_init() argument 149 emit_device_property_changed (HalDevice *device, in emit_device_property_changed() argument 158 device, key, added, removed); in emit_device_property_changed() 162 emit_device_capability_added (HalDevice *device, in emit_device_capability_added() argument 169 device, capability); in emit_device_capability_added() 173 hal_device_store_add (HalDeviceStore *store, HalDevice *device) in hal_device_store_add() argument 177 if (strncmp(device->udi, buf, sizeof (buf) - 1) != 0) { in hal_device_store_add() 184 g_object_ref (device)); in hal_device_store_add() 186 g_signal_connect (device, "property_changed", in hal_device_store_add() 188 g_signal_connect (device, "capability_added", in hal_device_store_add() [all …]
|
H A D | hald.c | 78 addon_terminated (HalDevice *device, guint32 exit_type, in addon_terminated() argument 82 HAL_INFO (("in addon_terminated for udi=%s", device->udi)); in addon_terminated() 89 if (hal_device_inc_num_ready_addons (device)) { in addon_terminated() 90 if (hal_device_are_all_addons_ready (device)) { in addon_terminated() 91 manager_send_signal_device_added (device); in addon_terminated() 100 gdl_store_changed (HalDeviceStore *store, HalDevice *device, in gdl_store_changed() argument 106 HAL_INFO (("Added device to GDL; udi=%s", hal_device_get_udi(device))); in gdl_store_changed() 108 if ((addons = hal_device_property_get_strlist (device, "info.addons")) != NULL) { in gdl_store_changed() 116 if (hald_runner_start(device, command_line, extra_env, addon_terminated, NULL, NULL)) { in gdl_store_changed() 118 command_line, hal_device_get_udi(device))); in gdl_store_changed() [all …]
|
/titanic_50/usr/src/cmd/boot/installgrub/ |
H A D | installgrub.c | 103 static int get_disk_fd(ig_device_t *device); 304 if (init_device(&install_data.device, device_path) != BC_SUCCESS) { in handle_install() 324 if (is_bootpar(install_data.device.type) && do_version) in handle_install() 351 cleanup_device(&install_data.device); in handle_install() 373 ig_device_t *device = &data.device; in handle_getinfo() local 391 if (init_device(device, device_path) != BC_SUCCESS) { in handle_getinfo() 397 if (is_bootpar(device->type)) { in handle_getinfo() 403 ret = read_stage2_from_disk(device->part_fd, stage2, device->type); in handle_getinfo() 437 cleanup_device(&data.device); in handle_getinfo() 457 ig_device_t *curr_device = &curr_data.device; in handle_mirror() [all …]
|
/titanic_50/usr/src/uts/common/sys/agp/ |
H A D | agpdefs.h | 190 #define IS_INTEL_915(device) ((device == INTEL_IGD_915) || \ argument 191 (device == INTEL_IGD_915GM) || \ 192 (device == INTEL_IGD_945) || \ 193 (device == INTEL_IGD_945GM) || \ 194 (device == INTEL_IGD_945GME)) 197 #define IS_INTEL_965(device) ((device == INTEL_IGD_946GZ) || \ argument 198 (device == INTEL_IGD_965G1) || \ 199 (device == INTEL_IGD_965Q) || \ 200 (device == INTEL_IGD_965G2) || \ 201 (device == INTEL_IGD_965GM) || \ [all …]
|
/titanic_50/usr/src/cmd/fm/dicts/ |
H A D | PCIEX.dict | 29 fault.io.pciex.device-interr=0 30 fault.io.pciex.device-interr fault.io.pciex.device-invreq=1 31 fault.io.pciex.bus-noresp fault.io.pciex.device-noresp=2 32 fault.io.pciex.bus-linkerr fault.io.pciex.device-interr=3 33 fault.io.pci.bus-linkerr fault.io.pciex.device-interr=4 34 fault.io.pci.device-invreq=5 35 fault.io.pci.device-invreq fault.io.pciex.device-interr=6 36 fault.io.pci.device-interr fault.io.pciex.device-invreq=7 37 fault.io.pciex.device-invreq=8 38 fault.io.pci.device-noresp fault.io.pciex.device-invreq=9 [all …]
|
H A D | PCIEX.po | 28 # keys: fault.io.pciex.device-interr 35 msgstr "A problem was detected for a PCIEX device.\n Refer to %s for more information." 37 msgstr "One or more device instances may be disabled\n" 39 msgstr "Loss of services provided by the device instances associated with this fault\n" 41 …Schedule a repair procedure to replace the affected device. Use fmadm faulty to identify the devi… 44 # keys: fault.io.pciex.device-interr fault.io.pciex.device-invreq 51 msgstr "Either the transmitting device sent an invalid request or the receiving device is reporting… 53 msgstr "One or more device instances may be disabled\n" 55 msgstr "Loss of services provided by the device instances associated with this fault\n" 57 …nstalled. Otherwise schedule a repair procedure to replace the affected device(s). Use fmadm fau… [all …]
|
H A D | PCI.po | 37 msgstr "One or more of device instances may be disabled." 39 msgstr "Loss of services provided by the device instances associated with this problem." 53 msgstr "One or more device instances may be disabled." 55 msgstr "Loss of services provided by the device instances associated with this fault." 57 …ule a repair procedure to replace the affected device. Use fmdump -v -u <EVENT_ID> to identify th… 71 msgstr "Possible loss of devices that may be attached to the system via this device/bus and/or syst… 73 …v -u <EVENT_ID> to identify the \nsuspected device(s)or driver(s).\n\nCheck for patches to identif… 76 # keys: fault.io.pci.device 87 msgstr "Possible loss of devices that may be attached to the system via this device/bus and/or syst… 89 … <EVENT_ID> to identify the \nsuspected device(s).\n\nSchedule a repair procedure to replace the a… [all …]
|
H A D | SUN4U.dict | 69 fault.io.datapath fault.io.pci.device=40 70 defect.io.pci.driver fault.io.datapath fault.io.pci.device=41 71 fault.io.datapath fault.io.pci.bus fault.io.pci.device=42 72 defect.io.pci.driver fault.io.datapath fault.io.pci.bus fault.io.pci.device=43 77 fault.io.hbus fault.io.pci.device=48 78 defect.io.pci.driver fault.io.hbus fault.io.pci.device=49 79 fault.io.hbus fault.io.pci.bus fault.io.pci.device=50 80 defect.io.pci.driver fault.io.hbus fault.io.pci.bus fault.io.pci.device=51 85 fault.io.datapath fault.io.hbus fault.io.pci.device=56 86 defect.io.pci.driver fault.io.datapath fault.io.hbus fault.io.pci.device=57 [all …]
|
H A D | PCI.dict | 32 fault.io.pci.device=3 33 defect.io.pci.driver fault.io.pci.device=4 34 fault.io.pci.bus fault.io.pci.device=5 35 defect.io.pci.driver fault.io.pci.bus fault.io.pci.device=6 36 fault.io.pci.device-interr=7 37 fault.io.pci.bus-linkerr fault.io.pci.device-interr=8 38 fault.io.pci.device-invreq fault.io.pci.device-noresp=9 39 fault.io.pci.device-interr fault.io.pci.device-invreq=10 40 fault.io.pci.device-noresp=11 41 fault.io.pci.bus-linkerr-unaf fault.io.pci.device-interr-unaf=12 [all …]
|
/titanic_50/usr/src/uts/i86pc/os/ |
H A D | pci_mech1.c | 48 pci_mech1_getb(int bus, int device, int function, int reg) in pci_mech1_getb() argument 51 if (device == PCI_MECH1_SPEC_CYCLE_DEV && in pci_mech1_getb() 57 outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg)); in pci_mech1_getb() 64 pci_mech1_getw(int bus, int device, int function, int reg) in pci_mech1_getw() argument 68 if (device == PCI_MECH1_SPEC_CYCLE_DEV && in pci_mech1_getw() 74 outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg)); in pci_mech1_getw() 81 pci_mech1_getl(int bus, int device, int function, int reg) in pci_mech1_getl() argument 85 if (device == PCI_MECH1_SPEC_CYCLE_DEV && in pci_mech1_getl() 91 outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg)); in pci_mech1_getl() 98 pci_mech1_putb(int bus, int device, int function, int reg, uint8_t val) in pci_mech1_putb() argument [all …]
|
H A D | pci_mech2.c | 73 pci_mech2_getb(int bus, int device, int function, int reg) in pci_mech2_getb() argument 78 if (device >= PCI_MAX_DEVS_2) in pci_mech2_getb() 82 val = inb(PCI_CADDR2(device, reg)); in pci_mech2_getb() 89 pci_mech2_getw(int bus, int device, int function, int reg) in pci_mech2_getw() argument 94 if (device >= PCI_MAX_DEVS_2) in pci_mech2_getw() 98 val = inw(PCI_CADDR2(device, reg)); in pci_mech2_getw() 105 pci_mech2_getl(int bus, int device, int function, int reg) in pci_mech2_getl() argument 110 if (device >= PCI_MAX_DEVS_2) in pci_mech2_getl() 114 val = inl(PCI_CADDR2(device, reg)); in pci_mech2_getl() 121 pci_mech2_putb(int bus, int device, int function, int reg, uint8_t val) in pci_mech2_putb() argument [all …]
|
H A D | pci_mech1_amd.c | 95 pci_mech1_amd_getb(int bus, int device, int function, int reg) in pci_mech1_amd_getb() argument 99 if (device == PCI_MECH1_SPEC_CYCLE_DEV && in pci_mech1_amd_getb() 105 outl(PCI_CONFADD, PCI_CADDR1_ECS(bus, device, function, reg)); in pci_mech1_amd_getb() 112 pci_mech1_amd_getw(int bus, int device, int function, int reg) in pci_mech1_amd_getw() argument 116 if (device == PCI_MECH1_SPEC_CYCLE_DEV && in pci_mech1_amd_getw() 122 outl(PCI_CONFADD, PCI_CADDR1_ECS(bus, device, function, reg)); in pci_mech1_amd_getw() 129 pci_mech1_amd_getl(int bus, int device, int function, int reg) in pci_mech1_amd_getl() argument 133 if (device == PCI_MECH1_SPEC_CYCLE_DEV && in pci_mech1_amd_getl() 139 outl(PCI_CONFADD, PCI_CADDR1_ECS(bus, device, function, reg)); in pci_mech1_amd_getl() 146 pci_mech1_amd_putb(int bus, int device, int function, int reg, uint8_t val) in pci_mech1_amd_putb() argument [all …]
|
H A D | pci_neptune.c | 140 pci_neptune_getb(int bus, int device, int function, int reg) in pci_neptune_getb() argument 146 val = pci_mech1_getb(bus, device, function, reg); in pci_neptune_getb() 153 pci_neptune_getw(int bus, int device, int function, int reg) in pci_neptune_getw() argument 159 val = pci_mech1_getw(bus, device, function, reg); in pci_neptune_getw() 166 pci_neptune_getl(int bus, int device, int function, int reg) in pci_neptune_getl() argument 172 val = pci_mech1_getl(bus, device, function, reg); in pci_neptune_getl() 179 pci_neptune_putb(int bus, int device, int function, int reg, uint8_t val) in pci_neptune_putb() argument 183 pci_mech1_putb(bus, device, function, reg, val); in pci_neptune_putb() 189 pci_neptune_putw(int bus, int device, int function, int reg, uint16_t val) in pci_neptune_putw() argument 193 pci_mech1_putw(bus, device, function, reg, val); in pci_neptune_putw() [all …]
|
/titanic_50/usr/src/cmd/boot/installboot/ |
H A D | installboot.c | 90 ib_device_t *device = &data->device; in read_bootblock_from_file() local 117 if (!is_zfs(device->type)) { in read_bootblock_from_file() 152 if (!is_zfs(device->type)) { in read_bootblock_from_file() 268 ib_device_t *device = &data->device; in is_update_necessary() local 269 int dev_fd = device->fd; in is_update_necessary() 272 assert(device->fd != -1); in is_update_necessary() 275 if (!is_zfs(device->type)) in is_update_necessary() 281 BOOT_DEBUG("Unable to read bootblock from %s\n", device->path); in is_update_necessary() 294 "non versioned one\n", device->path); in is_update_necessary() 299 BOOT_DEBUG("Forcing update of %s bootblock\n", device->path); in is_update_necessary() [all …]
|
/titanic_50/usr/src/cmd/lp/cmd/lpsched/ |
H A D | ports.c | 159 char *device; in open_direct() local 184 device = pp->device; in open_direct() 185 if (is_printer_uri(device) == 0) { in open_direct() 192 device = strstr(device, "://"); in open_direct() 193 if (device != NULL) in open_direct() 194 device = strchr(device + 3, '/'); in open_direct() 196 if ((device == NULL) || (access(device, F_OK) < 0)) in open_direct() 197 device = "/dev/null"; in open_direct() 209 if (access(device, R_OK) == 0) in open_direct() 215 while ((fd = open(device, open_mode, 0)) == -1) { in open_direct() [all …]
|
/titanic_50/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_kverbs.c | 109 ib_device_t *device; in get_device() local 119 device = entry->ptr; in get_device() 120 if (device->node_guid == htonll(guid)) { in get_device() 121 ASSERT(device->reg_state == IB_DEV_CLOSE); in get_device() 122 ASSERT(device->node_type == RDMA_NODE_IB_CA); in get_device() 123 ASSERT(device->clnt_hdl == (ofs_client_p_t)ofs_client); in get_device() 124 return (device); in get_device() 203 ib_device_t *device; in ofs_async_handler() local 208 device = get_device(ofs_client, event->ev_hca_guid); in ofs_async_handler() 209 if (device == NULL) { in ofs_async_handler() [all …]
|
/titanic_50/usr/src/cmd/devinfo/ |
H A D | devinfo.c | 62 static void partinfo(int fd, char *device); 63 static void devinfo(struct dk_geom *geom, int fd, char *device); 73 char *device; in main() local 82 device = optarg; in main() 86 device = optarg; in main() 101 if ((fd = open(device, O_RDONLY)) < 0) { in main() 103 device, strerror(errno)); in main() 110 (void) warn(device, in main() 113 (void) warn(device, in main() 119 devinfo(&geom, fd, device); in main() [all …]
|
/titanic_50/usr/src/uts/common/io/ |
H A D | dcopy.c | 155 static void dcopy_device_cleanup(dcopy_device_handle_t device, 328 dcopy_device_handle_t device; in dcopy_free() local 349 device = (*channel)->ch_device; in dcopy_free() 350 mutex_enter(&device->dc_devchan_list.dl_mutex); in dcopy_free() 351 device->dc_removing_cnt--; in dcopy_free() 352 if (device->dc_removing_cnt == 0) { in dcopy_free() 355 mutex_exit(&device->dc_devchan_list.dl_mutex); in dcopy_free() 365 dcopy_device_cleanup(device, B_TRUE); in dcopy_free() 605 struct dcopy_device_s *device; in dcopy_device_register() local 611 device = kmem_zalloc(sizeof (*device), KM_SLEEP); in dcopy_device_register() [all …]
|
/titanic_50/usr/src/lib/libpkg/common/ |
H A D | dstream.c | 51 extern char *devattr(char *device, char *attribute); 54 extern int getvol(char *device, char *label, int options, char *prompt); 95 int ds_next(char *device, char *instdir); 96 int ds_ginit(char *device); 111 static int ds_getnextvol(char *device); 112 static int ds_skip(char *device, int nskip); 183 ds_readbuf(char *device) in ds_readbuf() argument 189 if ((ds_fd = open(device, O_RDONLY)) >= 0 && in ds_readbuf() 201 if (ds_ginit(device) < 0) { in ds_readbuf() 203 logerr(pkg_gt(MSG_OPEN), device, errno); in ds_readbuf() [all …]
|
/titanic_50/usr/src/cmd/fm/eversholt/files/sparc/sun4v/ |
H A D | n2piu.esc | 145 event ereport.io.device.inval_state@niu/niufn{within(5s)}; 146 event ereport.io.device.no_response@niu/niufn{within(5s)}; 147 event ereport.io.device.stall@niu/niufn{within(5s)}; 148 event ereport.io.device.badint_limit@niu/niufn{within(5s)}; 149 event ereport.io.device.intern_corr@niu/niufn{within(5s)}; 150 event ereport.io.device.intern_uncorr@niu/niufn{within(5s)}; 151 event ereport.io.device.nf-device@niu/niufn; 225 event error.io.device.f-device@niu/niufn; 226 event error.io.device.nf-device@niu/niufn; 235 error.io.device.f-device@niu/niufn, [all …]
|
/titanic_50/usr/src/cmd/fm/eversholt/files/common/ |
H A D | storage.esc | 35 event fault.device.controller.fail@controller; 36 event fault.device.ethernet.fail@controller; 37 event fault.device.ethernet.fail@sas-expander; 38 event fault.device.fan.fail@fan; 39 event fault.device.fan.fail@fanmodule; 40 event fault.device.psu.fail@psu; 41 event fault.device.psu.fail@psu; 42 event fault.device.sas-expander.fail@sas-expander; 43 event fault.device.unusable-chassis-id@fanboard; 77 event ereport.chassis.device.ecb.shutoff@controller; [all …]
|
/titanic_50/usr/src/cmd/ssh/sshd/ |
H A D | auth-chall.c | 37 static KbdintDevice *device; variable 46 device = devices[0]; /* we always use the 1st device for protocol 1 */ in get_challenge() 47 if (device == NULL) in get_challenge() 49 if ((authctxt->kbdintctxt = device->init_ctx(authctxt)) == NULL) in get_challenge() 51 if (device->query(authctxt->kbdintctxt, &name, &info, in get_challenge() 53 device->free_ctx(authctxt->kbdintctxt); in get_challenge() 75 if (device == NULL) in verify_response() 80 res = device->respond(authctxt->kbdintctxt, 1, resp); in verify_response() 81 device->free_ctx(authctxt->kbdintctxt); in verify_response()
|
/titanic_50/usr/src/cmd/acct/lib/ |
H A D | devtolin.c | 65 devtolin(device) in devtolin() argument 66 dev_t device; in devtolin() 74 if (device == tp->tdev) 83 found = srch_dir(device, srch_dirs[dirno], 94 found = srch_dir(device, dev_dir, 0, srch_dirs); 101 tp->tdev = device; 111 tp->tdev = device; 120 srch_dir(device, path, depth, skip_dirs) in srch_dir() argument 121 dev_t device; /* device we are looking for */ in srch_dir() 171 if (lintodev(file_name+5) == device) { [all …]
|