Lines Matching defs:e
135 int e;
137 e = ddi_soft_state_init(&ioat_statep, sizeof (ioat_state_t), 1);
138 if (e != 0) {
139 return (e);
142 e = mod_install(&ioat_modlinkage);
143 if (e != 0) {
145 return (e);
166 int e;
168 e = mod_remove(&ioat_modlinkage);
169 if (e != 0) {
170 return (e);
186 int e;
199 e = ioat_channel_resume(state);
200 if (e != DDI_SUCCESS) {
211 e = ddi_soft_state_zalloc(ioat_statep, instance);
212 if (e != DDI_SUCCESS) {
224 e = ioat_chip_init(state);
225 if (e != DDI_SUCCESS) {
230 e = ioat_drv_init(state);
231 if (e != DDI_SUCCESS) {
236 e = ddi_create_minor_node(dip, "ioat", S_IFCHR, instance, DDI_PSEUDO,
238 if (e != DDI_SUCCESS) {
249 e = dcopy_device_register(state, &state->is_deviceinfo,
251 if (e != DCOPY_SUCCESS) {
279 int e;
305 e = dcopy_device_unregister(&state->is_device_handle);
306 if (e != DCOPY_SUCCESS) {
307 if (e == DCOPY_PENDING) {
329 int e;
342 e = DDI_SUCCESS;
347 e = DDI_SUCCESS;
351 e = DDI_FAILURE;
355 return (e);
397 int e;
404 e = ddi_regs_map_setup(state->is_dip, 1, (caddr_t *)&state->is_genregs,
406 if (e != DDI_SUCCESS) {
470 int e;
481 e = pci_config_setup(state->is_dip, &handle);
482 if (e != DDI_SUCCESS) {
498 e = ddi_intr_hilevel(state->is_dip, 0);
499 if (e != 0) {
505 e = ddi_add_intr(state->is_dip, 0, NULL, NULL, ioat_isr,
507 if (e != DDI_SUCCESS) {
511 e = ddi_get_iblock_cookie(state->is_dip, 0, &state->is_iblock_cookie);
512 if (e != DDI_SUCCESS) {
516 e = ioat_channel_init(state);
517 if (e != DDI_SUCCESS) {