Searched defs:lpm (Results 1 - 12 of 12) sorted by relevance

/drivers/s390/cio/
H A Dccwreq.c23 * @lpm: path mask to adjust
26 * Shift @lpm right until @lpm and @mask have at least one bit in common or
27 * until @lpm is zero. Return the resulting lpm.
29 int lpm_adjust(int lpm, int mask) argument
31 while (lpm && ((lpm & mask) == 0))
32 lpm >>= 1;
33 return lpm;
236 u8 lpm; member in struct:__anon3926
[all...]
H A Dorb.h32 u32 lpm:8; /* logical path mask */ member in struct:cmd_orb
48 u32 lpm:8; member in struct:tm_orb
H A Dcio.h29 u8 lpm; /* logical path mask */ member in struct:pmcw
93 __u8 lpm; /* logical path mask */ member in struct:subchannel
121 int cio_tm_start_key(struct subchannel *sch, struct tcw *tcw, u8 lpm, u8 key);
H A Ddevice_ops.c167 * @lpm: defines the channel path to be used for a specific I/O request. A
179 * -%EACCES, if no path specified in @lpm is operational;
185 unsigned long intparm, __u8 lpm, __u8 key,
217 if (lpm) {
218 lpm &= sch->lpm;
219 if (lpm == 0)
222 ret = cio_start_key (sch, cpa, lpm, key);
242 * @lpm: defines the channel path to be used for a specific I/O request. A
259 * -%EACCES, if no path specified in @lpm i
184 ccw_device_start_key(struct ccw_device *cdev, struct ccw1 *cpa, unsigned long intparm, __u8 lpm, __u8 key, unsigned long flags) argument
264 ccw_device_start_timeout_key(struct ccw_device *cdev, struct ccw1 *cpa, unsigned long intparm, __u8 lpm, __u8 key, unsigned long flags, int expires) argument
302 ccw_device_start(struct ccw_device *cdev, struct ccw1 *cpa, unsigned long intparm, __u8 lpm, unsigned long flags) argument
337 ccw_device_start_timeout(struct ccw_device *cdev, struct ccw1 *cpa, unsigned long intparm, __u8 lpm, unsigned long flags, int expires) argument
599 ccw_device_tm_start_key(struct ccw_device *cdev, struct tcw *tcw, unsigned long intparm, u8 lpm, u8 key) argument
645 ccw_device_tm_start_timeout_key(struct ccw_device *cdev, struct tcw *tcw, unsigned long intparm, u8 lpm, u8 key, int expires) argument
669 ccw_device_tm_start(struct ccw_device *cdev, struct tcw *tcw, unsigned long intparm, u8 lpm) argument
688 ccw_device_tm_start_timeout(struct ccw_device *cdev, struct tcw *tcw, unsigned long intparm, u8 lpm, int expires) argument
[all...]
H A Ddevice_pgid.c73 /* Adjust lpm. */
74 req->lpm = lpm_adjust(req->lpm, sch->schib.pmcw.pam & sch->opm);
75 if (!req->lpm)
106 sch->vpm |= req->lpm;
109 req->lpm >>= 1;
124 int i = 8 - ffs(req->lpm);
145 req->lpm = lpm_adjust(req->lpm, cdev->private->pgid_todo_mask);
146 if (!req->lpm)
241 int lpm; local
273 int lpm; local
[all...]
H A Dcio.c98 cio_start_handle_notoper(struct subchannel *sch, __u8 lpm) argument
102 if (lpm != 0)
103 sch->lpm &= ~lpm;
105 sch->lpm = 0;
118 return (sch->lpm ? -EACCES : -ENODEV);
124 __u8 lpm, /* logical path mask */
142 orb->cmd.lpm = (lpm != 0) ? lpm
122 cio_start_key(struct subchannel *sch, struct ccw1 * cpa, __u8 lpm, __u8 key) argument
176 cio_start(struct subchannel *sch, struct ccw1 *cpa, __u8 lpm) argument
1105 cio_tm_start_key(struct subchannel *sch, struct tcw *tcw, u8 lpm, u8 key) argument
[all...]
H A Dio_sch.h59 * @lpm: mask of paths to use
64 * @singlepath: if set, use only one path from @lpm per start I/O
75 u8 lpm; member in struct:ccw_request
/drivers/usb/gadget/
H A Dlangwell_udc.h187 lpm:1, /* LPM capability */ member in struct:langwell_udc
H A Dci13xxx_udc.c139 unsigned lpm; /* is LPM? */ member in struct:__anon5691
152 #define ABS_TESTMODE (hw_bank.lpm ? 0x0FCUL : 0x138UL)
161 #define CAP_USBMODE (hw_bank.lpm ? 0x0C8UL : 0x068UL)
162 #define CAP_ENDPTSETUPSTAT (hw_bank.lpm ? 0x0D8UL : 0x06CUL)
163 #define CAP_ENDPTPRIME (hw_bank.lpm ? 0x0DCUL : 0x070UL)
164 #define CAP_ENDPTFLUSH (hw_bank.lpm ? 0x0E0UL : 0x074UL)
165 #define CAP_ENDPTSTAT (hw_bank.lpm ? 0x0E4UL : 0x078UL)
166 #define CAP_ENDPTCOMPLETE (hw_bank.lpm ? 0x0E8UL : 0x07CUL)
167 #define CAP_ENDPTCTRL (hw_bank.lpm ? 0x0ECUL : 0x080UL)
168 #define CAP_LAST (hw_bank.lpm
[all...]
/drivers/s390/block/
H A Ddasd.c1417 cqr->lpm &= device->path_data.opm;
1418 if (!cqr->lpm)
1419 cqr->lpm = device->path_data.opm;
1423 (long) cqr, cqr->lpm);
1426 (long) cqr, cqr->lpm, 0);
1442 * available paths and all these paths are gone. If the lpm of
1451 cqr->lpm);
1452 } else if (cqr->lpm != device->path_data.opm) {
1453 cqr->lpm = device->path_data.opm;
1685 if (cqr->lpm
3279 dasd_generic_verify_path(struct dasd_device *device, __u8 lpm) argument
[all...]
H A Ddasd_int.h190 char lpm; /* logical path mask */ member in struct:dasd_ccw_req
H A Ddasd_eckd.c838 __u8 lpm)
861 cqr->lpm = lpm;
895 __u8 lpm)
907 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buffer, lpm);
918 int *rcd_buffer_size, __u8 lpm)
948 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buf, lpm);
1028 __u8 lpm, opm; local
1039 for (lpm = 0x80; lpm; lp
835 dasd_eckd_fill_rcd_cqr(struct dasd_device *device, struct dasd_ccw_req *cqr, __u8 *rcd_buffer, __u8 lpm) argument
892 dasd_eckd_read_conf_immediately(struct dasd_device *device, struct dasd_ccw_req *cqr, __u8 *rcd_buffer, __u8 lpm) argument
916 dasd_eckd_read_conf_lpm(struct dasd_device *device, void **rcd_buffer, int *rcd_buffer_size, __u8 lpm) argument
1146 verify_fcx_max_data(struct dasd_device *device, __u8 lpm) argument
1180 __u8 lpm, opm; local
1227 __u8 lpm, opm, npm, ppm, epm; local
1377 dasd_eckd_verify_path(struct dasd_device *device, __u8 lpm) argument
[all...]

Completed in 616 milliseconds