Home
last modified time | relevance | path

Searched refs:DDI_SUCCESS (Results 1 – 25 of 961) sorted by relevance

12345678910>>...39

/titanic_50/usr/src/uts/sun4u/io/
H A Dgptwo_cpu.c270 "name", "cmp") != DDI_SUCCESS) { in set_cmp_props()
277 "portid", portid) != DDI_SUCCESS) { in set_cmp_props()
290 sizeof (gptwo_regspec_t) / sizeof (int)) != DDI_SUCCESS) { in set_cmp_props()
380 "cpuid", cpuid) != DDI_SUCCESS) { in set_cpu_common_props()
387 "device_type", "cpu") != DDI_SUCCESS) { in set_cpu_common_props()
394 manufacturer) != DDI_SUCCESS) { in set_cpu_common_props()
401 impl) != DDI_SUCCESS) { in set_cpu_common_props()
408 mask) != DDI_SUCCESS) { in set_cpu_common_props()
415 "sparc-version", 9) != DDI_SUCCESS) { in set_cpu_common_props()
422 "clock-frequency", (pcd->spcd_afreq * 1000000)) != DDI_SUCCESS) { in set_cpu_common_props()
[all …]
/titanic_50/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_s1394if.c176 if (status != DDI_SUCCESS) { in hci1394_s1394if_phy()
186 return (DDI_SUCCESS); in hci1394_s1394if_phy()
224 if (status != DDI_SUCCESS) { in hci1394_s1394if_write()
235 return (DDI_SUCCESS); in hci1394_s1394if_write()
273 if (status != DDI_SUCCESS) { in hci1394_s1394if_read()
283 return (DDI_SUCCESS); in hci1394_s1394if_read()
323 if (status != DDI_SUCCESS) { in hci1394_s1394if_lock()
333 return (DDI_SUCCESS); in hci1394_s1394if_lock()
371 if (status != DDI_SUCCESS) { in hci1394_s1394if_write_response()
382 return (DDI_SUCCESS); in hci1394_s1394if_write_response()
[all …]
/titanic_50/usr/src/uts/sun4/io/px/
H A Dpx.c153 if (e != DDI_SUCCESS) in _init()
160 if (e != DDI_SUCCESS) in _init()
174 if (e != DDI_SUCCESS) in _fini()
196 int ret = DDI_SUCCESS; in px_info()
228 int ret = DDI_SUCCESS; in px_attach()
244 != DDI_SUCCESS) { in px_attach()
268 if (px_lib_dev_init(dip, &dev_hdl) != DDI_SUCCESS) in px_attach()
281 if ((ret = px_ib_attach(px_p)) != DDI_SUCCESS) in px_attach()
284 if (px_cb_attach(px_p) != DDI_SUCCESS) in px_attach()
293 if ((px_mmu_attach(px_p)) != DDI_SUCCESS) in px_attach()
[all …]
H A Dpx_util.c66 "bus-range", (caddr_t)&px_p->px_bus_range, &i) != DDI_SUCCESS) { in px_get_props()
79 &px_p->px_inos_len) != DDI_SUCCESS) { in px_get_props()
101 DDI_SUCCESS) { in px_get_props()
109 return (DDI_SUCCESS); in px_get_props()
156 return (DDI_SUCCESS); in px_reloc_reg()
204 return (i < assign_entries ? DDI_SUCCESS : DDI_ME_INVAL); in px_reloc_reg()
257 return (DDI_SUCCESS); in px_xlate_reg()
288 return (DDI_SUCCESS); in px_report_dev()
337 return (DDI_SUCCESS); in px_name_child()
345 "reg", (int **)&pci_rp, (uint_t *)&reglen) == DDI_SUCCESS) { in px_name_child()
[all …]
H A Dpx_tools.c80 DDI_SUCCESS) { in pxtool_intr_info()
93 DDI_SUCCESS) { in pxtool_intr_info()
126 DDI_SUCCESS) in pxtool_get_intr()
145 &msi_state) != DDI_SUCCESS) || in pxtool_get_intr()
150 &msiq_id) != DDI_SUCCESS) in pxtool_get_intr()
188 DDI_SUCCESS) { in pxtool_get_intr()
196 DDI_SUCCESS) { in pxtool_get_intr()
215 &old_cpu_id) != DDI_SUCCESS) { in pxtool_get_intr()
235 if (copyout_rval != DDI_SUCCESS) in pxtool_get_intr()
257 int ret = DDI_SUCCESS; in pxtool_set_intr()
[all …]
/titanic_50/usr/src/uts/sun4v/io/n2piupc/
H A Dn2piupc.c111 DDI_SUCCESS) { in _init()
119 sizeof (n2piupc_t), 1)) != DDI_SUCCESS) in _init()
123 if ((rval = n2piupc_kstat_init()) != DDI_SUCCESS) in _init()
127 if ((rval = mod_install(&ml)) == DDI_SUCCESS) in _init()
129 return (DDI_SUCCESS); in _init()
154 if (rval != DDI_SUCCESS) in _fini()
190 DDI_SUCCESS) { in n2piupc_attach()
204 "reg", (caddr_t)regprop, &len) != DDI_SUCCESS) { in n2piupc_attach()
216 if (n2piupc_kstat_attach(n2piupc_p) != DDI_SUCCESS) in n2piupc_attach()
219 return (DDI_SUCCESS); in n2piupc_attach()
[all …]
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_mpi.c37 int rtn_val = DDI_SUCCESS; in ql_poll_processor_intr()
40 != DDI_SUCCESS) { in ql_poll_processor_intr()
53 int rtn_val = DDI_SUCCESS; in ql_wait_processor_addr_reg_ready()
56 PROCESSOR_ADDRESS_RDY, BIT_SET, 0) != DDI_SUCCESS) { in ql_wait_processor_addr_reg_ready()
84 rtn_val = DDI_SUCCESS; in ql_write_processor_data()
113 rtn_val = DDI_SUCCESS; in ql_read_processor_data()
132 if (ql_sem_spinlock(qlge, QL_PROCESSOR_SEM_MASK) != DDI_SUCCESS) { in ql_read_mailbox_cmd()
156 rtn_val = DDI_SUCCESS; in ql_read_mailbox_cmd()
178 if (ql_sem_spinlock(qlge, QL_PROCESSOR_SEM_MASK) != DDI_SUCCESS) { in ql_issue_mailbox_cmd()
183 HOST_TO_MPI_INTR_NOT_DONE, BIT_RESET, 0) != DDI_SUCCESS) { in ql_issue_mailbox_cmd()
[all …]
H A Dqlge_flash.c60 if ((rval != DDI_SUCCESS) || (fdata == 0)) { in ql_flash_id()
84 int rval = DDI_SUCCESS; in qlge_dump_fcode()
116 if (rval != DDI_SUCCESS) { in qlge_dump_fcode()
126 if (rval != DDI_SUCCESS) { in qlge_dump_fcode()
171 if (rval != DDI_SUCCESS) { in ql_erase_and_write_to_flash()
184 if (rval != DDI_SUCCESS) { in ql_erase_and_write_to_flash()
198 rval = DDI_SUCCESS; in ql_erase_and_write_to_flash()
200 if (rval != DDI_SUCCESS) { in ql_erase_and_write_to_flash()
240 if (ql_sem_spinlock(qlge, QL_FLASH_SEM_MASK) != DDI_SUCCESS) { in qlge_load_flash()
282 num * sector_size) != DDI_SUCCESS) in qlge_load_flash()
[all …]
/titanic_50/usr/src/uts/common/io/scsi/adapters/smrt/
H A Dsmrt_device.c37 return (DDI_SUCCESS); in smrt_locate_bar()
85 return (DDI_SUCCESS); in smrt_locate_cfgtbl()
101 if (pci_config_setup(smrt->smrt_dip, &pci_hdl) != DDI_SUCCESS) in smrt_identify_device()
109 return (DDI_SUCCESS); in smrt_identify_device()
131 DDI_SUCCESS) { in smrt_map_device()
142 &smrt_dev_attributes, &smrt->smrt_i2o_handle) != DDI_SUCCESS) { in smrt_map_device()
149 &smrt->smrt_ct_baseaddr) != DDI_SUCCESS) { in smrt_map_device()
160 &smrt->smrt_ct_handle) != DDI_SUCCESS) { in smrt_map_device()
166 r = DDI_SUCCESS; in smrt_map_device()
180 if (ddi_slaveonly(smrt->smrt_dip) == DDI_SUCCESS) { in smrt_device_setup()
[all …]
H A Dsmrt_interrupts.c98 if (ret == DDI_SUCCESS) { in smrt_interrupts_enable()
124 if (ddi_intr_get_nintrs(dip, type, &nintrs) != DDI_SUCCESS) { in smrt_interrupts_alloc()
135 if (ddi_intr_get_navail(dip, type, &navail) != DDI_SUCCESS) { in smrt_interrupts_alloc()
147 &smrt->smrt_ninterrupts, DDI_INTR_ALLOC_STRICT) != DDI_SUCCESS) { in smrt_interrupts_alloc()
156 return (DDI_SUCCESS); in smrt_interrupts_alloc()
179 if (ddi_intr_get_supported_types(dip, &types) != DDI_SUCCESS) { in smrt_interrupts_setup()
194 DDI_SUCCESS) { in smrt_interrupts_setup()
205 DDI_SUCCESS) { in smrt_interrupts_setup()
218 DDI_SUCCESS) { in smrt_interrupts_setup()
234 if (ddi_intr_get_pri(smrt->smrt_interrupts[0], &ipri) != DDI_SUCCESS) { in smrt_interrupts_setup()
[all …]
/titanic_50/usr/src/uts/common/io/pciex/
H A Dpcieb.c253 int ret = DDI_SUCCESS; in pcieb_info()
311 != DDI_SUCCESS) in pcieb_41210_mps_wkrnd()
322 != DDI_SUCCESS) { in pcieb_41210_mps_wkrnd()
374 return (DDI_SUCCESS); in pcieb_attach()
401 if (ddi_soft_state_zalloc(pcieb_state, instance) != DDI_SUCCESS) in pcieb_attach()
406 if ((pcieb_fm_init(pcieb)) != DDI_SUCCESS) { in pcieb_attach()
425 if (pwr_common_setup(devi) != DDI_SUCCESS) { in pcieb_attach()
430 if (pcieb_pwr_setup(devi) != DDI_SUCCESS) { in pcieb_attach()
463 if (pcie_init(devi, NULL) != DDI_SUCCESS) in pcieb_attach()
490 return (DDI_SUCCESS); in pcieb_attach()
[all …]
/titanic_50/usr/src/uts/sun4u/excalibur/io/
H A Dxcalppm.c269 if (rv0 != DDI_SUCCESS || rv1 != DDI_SUCCESS || in xcppm_map_all_regs()
270 rv2 != DDI_SUCCESS || rv3 != DDI_SUCCESS) { in xcppm_map_all_regs()
271 if (rv0 == DDI_SUCCESS) in xcppm_map_all_regs()
273 if (rv1 == DDI_SUCCESS) in xcppm_map_all_regs()
275 if (rv2 == DDI_SUCCESS) in xcppm_map_all_regs()
277 if (rv3 == DDI_SUCCESS) in xcppm_map_all_regs()
295 return (DDI_SUCCESS); in xcppm_map_all_regs()
310 retval = DDI_SUCCESS; in xcppm_attach()
347 if (xcppm_map_all_regs(dip) != DDI_SUCCESS) in xcppm_attach()
351 pm_register_ppm(ppm_claim_dev, dip)) != DDI_SUCCESS) { in xcppm_attach()
[all …]
/titanic_50/usr/src/uts/common/io/
H A Dpci_intr_lib.c111 if (pci_config_setup(dip, h) != DDI_SUCCESS) { in pci_get_msi_ctrl()
119 if ((PCI_CAP_LOCATE(*h, PCI_CAP_ID_MSI, caps_ptr) == DDI_SUCCESS) && in pci_get_msi_ctrl()
128 return (DDI_SUCCESS); in pci_get_msi_ctrl()
131 if ((PCI_CAP_LOCATE(*h, PCI_CAP_ID_MSI_X, caps_ptr) == DDI_SUCCESS) && in pci_get_msi_ctrl()
140 return (DDI_SUCCESS); in pci_get_msi_ctrl()
166 &caps_ptr, &cfg_hdle) != DDI_SUCCESS) in pci_msi_get_cap()
188 return (DDI_SUCCESS); in pci_msi_get_cap()
211 &caps_ptr, &h) != DDI_SUCCESS) in pci_msi_configure()
284 return (DDI_SUCCESS); in pci_msi_configure()
305 DDI_SUCCESS) in pci_msi_unconfigure()
[all …]
H A Dgen_drv.c257 DDI_SUCCESS) { in gen_attach()
285 isclone) != DDI_SUCCESS) { in gen_attach()
293 rval = DDI_SUCCESS; in gen_attach()
296 if (rval != DDI_SUCCESS) { in gen_attach()
308 &dev_offline_cookie) == DDI_SUCCESS) { in gen_attach()
314 &dev_reset_cookie) == DDI_SUCCESS) { in gen_attach()
320 &bus_reset_cookie) == DDI_SUCCESS) { in gen_attach()
326 &bus_quiesce_cookie) == DDI_SUCCESS) { in gen_attach()
332 &bus_unquiesce_cookie) == DDI_SUCCESS) { in gen_attach()
339 &bus_test_post_cookie) == DDI_SUCCESS) { in gen_attach()
[all …]
/titanic_50/usr/src/uts/common/os/
H A Dddi_intr.c62 return (DDI_SUCCESS); in ddi_intr_get_supported_types()
70 if (ret != DDI_SUCCESS) in ddi_intr_get_supported_types()
103 return (DDI_SUCCESS); in ddi_intr_get_nintrs()
144 return (DDI_SUCCESS); in ddi_intr_get_navail()
188 if (ddi_intr_get_nintrs(dip, type, &nintrs) != DDI_SUCCESS) { in ddi_intr_alloc()
245 if (curr_nintrs && (i_ddi_irm_supported(dip, type) != DDI_SUCCESS)) in ddi_intr_alloc()
267 else if (i_ddi_irm_supported(dip, type) != DDI_SUCCESS) in ddi_intr_alloc()
283 &tmp_hdl, (void *)actualp) != DDI_SUCCESS) { in ddi_intr_alloc()
291 &tmp_hdl, (void *)&pri)) != DDI_SUCCESS) { in ddi_intr_alloc()
300 &tmp_hdl, (void *)&cap)) != DDI_SUCCESS) { in ddi_intr_alloc()
[all …]
/titanic_50/usr/src/uts/common/io/ib/clients/iser/
H A Diser.c120 if (status != DDI_SUCCESS) { in _init()
145 if (status != DDI_SUCCESS) { in _fini()
150 return (DDI_SUCCESS); in _fini()
187 if (status != DDI_SUCCESS) { in iser_attach()
198 if (status != DDI_SUCCESS) { in iser_attach()
209 return (DDI_SUCCESS); in iser_attach()
240 if (iser_ib_fini() != DDI_SUCCESS) { in iser_detach()
251 return (DDI_SUCCESS); in iser_detach()
273 return (DDI_SUCCESS); in iser_getinfo()
277 return (DDI_SUCCESS); in iser_getinfo()
[all …]
/titanic_50/usr/src/uts/intel/io/pci/
H A Dpci_pci.c301 if (ddi_soft_state_zalloc(ppb_state, instance) != DDI_SUCCESS) in ppb_attach()
330 if (pci_config_setup(devi, &config_handle) != DDI_SUCCESS) { in ppb_attach()
374 if (ret != DDI_SUCCESS) { in ppb_attach()
382 return (DDI_SUCCESS); in ppb_attach()
391 return (DDI_SUCCESS); in ppb_attach()
422 if (ret != DDI_SUCCESS) in ppb_detach()
435 return (DDI_SUCCESS); in ppb_detach()
440 return (DDI_SUCCESS); in ppb_detach()
493 return (DDI_SUCCESS); in ppb_ctlops()
500 return (DDI_SUCCESS); in ppb_ctlops()
[all …]
/titanic_50/usr/src/uts/sun4u/io/ppm/
H A Djbusppm.c147 sizeof (jbppm_unit), 0)) != DDI_SUCCESS) { in _init()
153 if ((error = mod_install(&modlinkage)) != DDI_SUCCESS) { in _init()
167 if ((error = mod_remove(&modlinkage)) == DDI_SUCCESS) { in _fini()
195 int rv = DDI_SUCCESS; in jbppm_attach()
201 return (DDI_SUCCESS); in jbppm_attach()
209 if (rv != DDI_SUCCESS) { in jbppm_attach()
239 if (rv != DDI_SUCCESS) in jbppm_attach()
244 if (rv != DDI_SUCCESS) in jbppm_attach()
257 if (rv != DDI_SUCCESS) in jbppm_attach()
297 return (DDI_SUCCESS); in jbppm_getinfo()
[all …]
/titanic_50/usr/src/uts/i86pc/io/pciex/
H A Dnpe.c252 int ret = DDI_SUCCESS; in npe_info()
286 return (DDI_SUCCESS); in npe_attach()
307 if (ddi_soft_state_zalloc(npe_statep, instance) == DDI_SUCCESS) in npe_attach()
316 if (pcie_init(devi, NULL) != DDI_SUCCESS) in npe_attach()
320 if (pcitool_init(devi, B_TRUE) != DDI_SUCCESS) in npe_attach()
338 return (DDI_SUCCESS); in npe_attach()
365 if (pcie_uninit(devi) != DDI_SUCCESS) in npe_detach()
376 return (DDI_SUCCESS); in npe_detach()
384 return (DDI_SUCCESS); in npe_detach()
402 DDI_SUCCESS) { in npe_setup_std_pcicfg_acc()
[all …]
/titanic_50/usr/src/uts/common/io/ppm/
H A Dppm.c213 &ppm_statep, sizeof (ppm_unit_t), 1) != DDI_SUCCESS) { in _init()
218 if (mod_install(&modlinkage) != DDI_SUCCESS) { in _init()
222 return (DDI_SUCCESS); in _init()
231 if ((error = mod_remove(&modlinkage)) == DDI_SUCCESS) in _fini()
261 rval = DDI_SUCCESS; in ppm_getinfo()
271 return (DDI_SUCCESS); in ppm_getinfo()
303 return (DDI_SUCCESS); in ppm_attach()
317 if (ddi_soft_state_zalloc(ppm_statep, ppm_inst) != DDI_SUCCESS) { in ppm_attach()
325 if (ret != DDI_SUCCESS) { in ppm_attach()
337 if ((ret = ppm_create_db(dip)) != DDI_SUCCESS) in ppm_attach()
[all …]
/titanic_50/usr/src/uts/common/io/audio/drv/audioixp/
H A Daudioixp.c375 return (DDI_SUCCESS); in audioixp_quiesce()
388 return (DDI_SUCCESS); in audioixp_suspend()
399 if (audioixp_chip_init(statep) != DDI_SUCCESS) { in audioixp_resume()
401 return (DDI_SUCCESS); in audioixp_resume()
407 return (DDI_SUCCESS); in audioixp_resume()
749 if (rc != DDI_SUCCESS) { in audioixp_alloc_port()
779 if (rc != DDI_SUCCESS) { in audioixp_alloc_port()
791 if (rc != DDI_SUCCESS) { in audioixp_alloc_port()
833 return (DDI_SUCCESS); in audioixp_alloc_port()
958 &dev_attr, &statep->regsh)) != DDI_SUCCESS) { in audioixp_map_regs()
[all …]
/titanic_50/usr/src/uts/sun4u/io/pci/
H A Dpci_util.c79 "bus-range", (caddr_t)&pci_p->pci_bus_range, &i) != DDI_SUCCESS) { in get_pci_properties()
102 DDI_SUCCESS) { in get_pci_properties()
123 return (DDI_SUCCESS); in get_pci_properties()
168 return (DDI_SUCCESS); in pci_reloc_reg()
204 return (i < assign_entries ? DDI_SUCCESS : DDI_ME_INVAL); in pci_reloc_reg()
253 return (DDI_SUCCESS); in pci_xlate_reg()
285 return (DDI_SUCCESS); in report_dev()
334 return (DDI_SUCCESS); in name_child()
342 "reg", (int **)&pci_rp, (uint_t *)&reglen) == DDI_SUCCESS) { in name_child()
356 return (DDI_SUCCESS); in name_child()
[all …]
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_hw.c54 if (ret != DDI_SUCCESS) { in oce_map_regs()
63 if (ret != DDI_SUCCESS) { in oce_map_regs()
73 if (ret != DDI_SUCCESS) { in oce_map_regs()
83 if (ret != DDI_SUCCESS) { in oce_map_regs()
92 if (ret != DDI_SUCCESS) { in oce_map_regs()
102 if (ret != DDI_SUCCESS) { in oce_map_regs()
113 if (ret != DDI_SUCCESS) { in oce_map_regs()
120 return (DDI_SUCCESS); in oce_map_regs()
152 if (ret != DDI_SUCCESS) { in oce_pci_init()
165 return (DDI_SUCCESS); in oce_pci_init()
[all …]
/titanic_50/usr/src/uts/i86pc/io/fipe/
H A Dfipe_drv.c162 return (DDI_SUCCESS); in fipe_getinfo()
172 return (DDI_SUCCESS); in fipe_getinfo()
200 if (pci_config_setup(dip, &handle) != DDI_SUCCESS) { in fipe_validate_dip()
242 "disable_fipe_pm", &ptr) == DDI_SUCCESS) { in fipe_attach()
279 "ddi_mem_pm", 0) != DDI_SUCCESS) { in fipe_attach()
284 rc = DDI_SUCCESS; in fipe_attach()
289 rc = DDI_SUCCESS; in fipe_attach()
298 if (ignore == 0 && rc != DDI_SUCCESS) { in fipe_attach()
325 rc = DDI_SUCCESS; in fipe_detach()
330 rc = DDI_SUCCESS; in fipe_detach()
[all …]
/titanic_50/usr/src/uts/i86pc/io/ppm/
H A Dacpippm.c153 sizeof (appm_unit), 0)) != DDI_SUCCESS) { in _init()
159 if ((error = mod_install(&modlinkage)) != DDI_SUCCESS) { in _init()
173 if ((error = mod_remove(&modlinkage)) == DDI_SUCCESS) { in _fini()
200 int rv = DDI_SUCCESS; in appm_attach()
206 return (DDI_SUCCESS); in appm_attach()
214 if (rv != DDI_SUCCESS) { in appm_attach()
253 if (rv != DDI_SUCCESS) in appm_attach()
297 return (DDI_SUCCESS); in appm_getinfo()
302 return (DDI_SUCCESS); in appm_getinfo()
323 return (DDI_SUCCESS); in appm_detach()
[all …]

12345678910>>...39