Lines Matching refs:irq_ret
4382 int irq_ret; in s390_device_recognition_irq() local
4386 irq_ret = request_irq (irq, in s390_device_recognition_irq()
4391 irq_ret = request_irq (irq, in s390_device_recognition_irq()
4395 if (!irq_ret) { in s390_device_recognition_irq()
4993 int irq_ret; /* return code */ in s390_SenseID() local
5032 irq_ret = in s390_SenseID()
5036 if (irq_ret == 0) in s390_SenseID()
5040 irq_ret = 0; in s390_SenseID()
5045 if (irq_ret) { in s390_SenseID()
5046 return irq_ret; in s390_SenseID()
5110 irq_ret = s390_start_IO (irq, sense_ccw, 0x00E2C9C4, /* == SID */ in s390_SenseID()
5262 || (irq_ret == -ENODEV)) { in s390_SenseID()
5292 irq, irq_ret, retry, pdevstat->flag); in s390_SenseID()
5301 irq_ret, retry, pdevstat->flag); in s390_SenseID()
5303 if (irq_ret == -ETIMEDOUT) { in s390_SenseID()
5431 irq_ret = 0; in s390_SenseID()
5432 else if (irq_ret != -ETIMEDOUT) in s390_SenseID()
5433 irq_ret = -ENODEV; in s390_SenseID()
5435 return (irq_ret); in s390_SenseID()
5834 int irq_ret = 0; /* return code */ in s390_SetPGID() local
5861 irq_ret = request_irq (irq, in s390_SetPGID()
5865 if (irq_ret == 0) in s390_SetPGID()
5872 if (irq_ret) { in s390_SetPGID()
5873 return irq_ret; in s390_SetPGID()
5909 irq_ret = s390_start_IO (irq, spid_ccw, 0xE2D7C9C4, /* == SPID */ in s390_SetPGID()
5916 if (!irq_ret) { in s390_SetPGID()
5936 irq_ret = -EIO; in s390_SetPGID()
5942 irq_ret = 0; in s390_SetPGID()
5973 irq_ret = -EIO; in s390_SetPGID()
5975 irq_ret = -EOPNOTSUPP; in s390_SetPGID()
6036 irq_ret = -EIO; in s390_SetPGID()
6064 irq_ret = -EAGAIN; in s390_SetPGID()
6068 } else if (irq_ret == -ETIMEDOUT) { in s390_SetPGID()
6084 } else if (irq_ret == -EBUSY) { in s390_SetPGID()
6095 } else if (irq_ret != -ENODEV) { in s390_SetPGID()
6097 irq_ret = -EIO; in s390_SetPGID()
6100 irq_ret = -ENODEV; in s390_SetPGID()
6127 irq_ret = -EAGAIN; in s390_SetPGID()
6129 irq_ret = -ENODEV; in s390_SetPGID()
6151 return (irq_ret); in s390_SetPGID()
6169 int irq_ret = 0; /* return code */ in s390_SensePGID() local
6191 irq_ret = request_irq (irq, in s390_SensePGID()
6195 if (irq_ret == 0) in s390_SensePGID()
6203 if (irq_ret) { in s390_SensePGID()
6204 return irq_ret; in s390_SensePGID()
6250 irq_ret = s390_start_IO (irq, snid_ccw, 0xE2D5C9C4, /* == SNID */ in s390_SensePGID()
6257 if (irq_ret == 0) { in s390_SensePGID()
6267 irq_ret = -EOPNOTSUPP; in s390_SensePGID()
6326 irq_ret = -EIO; in s390_SensePGID()
6352 irq_ret = -EAGAIN; in s390_SensePGID()
6356 irq_ret = 0; in s390_SensePGID()
6390 } else if (irq_ret == -ETIMEDOUT) { in s390_SensePGID()
6407 } else if (irq_ret != -ENODEV) { /* -EIO, or -EBUSY */ in s390_SensePGID()
6429 ioinfo[irq]->schib.pmcw.dev, irq_ret); in s390_SensePGID()
6434 ioinfo[irq]->schib.pmcw.dev, irq_ret); in s390_SensePGID()
6436 irq_ret = -EIO; in s390_SensePGID()
6439 irq_ret = -ENODEV; in s390_SensePGID()
6466 irq_ret = -EAGAIN; in s390_SensePGID()
6468 irq_ret = -ENODEV; in s390_SensePGID()
6492 return (irq_ret); in s390_SensePGID()