|
@@ -139,23 +139,6 @@ struct ccw_device_private {
|
|
|
void *cmb_wait; /* deferred cmb enable/disable */
|
|
|
};
|
|
|
|
|
|
-static inline int ssch(struct subchannel_id schid, union orb *addr)
|
|
|
-{
|
|
|
- register struct subchannel_id reg1 asm("1") = schid;
|
|
|
- int ccode = -EIO;
|
|
|
-
|
|
|
- asm volatile(
|
|
|
- " ssch 0(%2)\n"
|
|
|
- "0: ipm %0\n"
|
|
|
- " srl %0,28\n"
|
|
|
- "1:\n"
|
|
|
- EX_TABLE(0b, 1b)
|
|
|
- : "+d" (ccode)
|
|
|
- : "d" (reg1), "a" (addr), "m" (*addr)
|
|
|
- : "cc", "memory");
|
|
|
- return ccode;
|
|
|
-}
|
|
|
-
|
|
|
static inline int rsch(struct subchannel_id schid)
|
|
|
{
|
|
|
register struct subchannel_id reg1 asm("1") = schid;
|
|
@@ -171,21 +154,6 @@ static inline int rsch(struct subchannel_id schid)
|
|
|
return ccode;
|
|
|
}
|
|
|
|
|
|
-static inline int csch(struct subchannel_id schid)
|
|
|
-{
|
|
|
- register struct subchannel_id reg1 asm("1") = schid;
|
|
|
- int ccode;
|
|
|
-
|
|
|
- asm volatile(
|
|
|
- " csch\n"
|
|
|
- " ipm %0\n"
|
|
|
- " srl %0,28"
|
|
|
- : "=d" (ccode)
|
|
|
- : "d" (reg1)
|
|
|
- : "cc");
|
|
|
- return ccode;
|
|
|
-}
|
|
|
-
|
|
|
static inline int hsch(struct subchannel_id schid)
|
|
|
{
|
|
|
register struct subchannel_id reg1 asm("1") = schid;
|