Home
last modified time | relevance | path

Searched refs:lpm (Results 1 – 25 of 30) sorted by relevance

12

/drivers/s390/cio/
Ddevice_pgid.c76 req->lpm = lpm_adjust(req->lpm, sch->schib.pmcw.pam & sch->opm & in nop_do()
78 if (!req->lpm) in nop_do()
110 sch->vpm |= req->lpm; in nop_callback()
113 cdev->private->path_noirq_mask |= req->lpm; in nop_callback()
116 cdev->private->path_notoper_mask |= req->lpm; in nop_callback()
122 req->lpm >>= 1; in nop_callback()
137 int i = pathmask_to_pos(req->lpm); in spid_build_cp()
181 req->lpm = sch->schib.pmcw.pam; in pgid_wipeout_start()
200 req->lpm = lpm_adjust(req->lpm, cdev->private->pgid_todo_mask); in spid_do()
201 if (!req->lpm) in spid_do()
[all …]
Ddevice_ops.c185 unsigned long intparm, __u8 lpm, __u8 key, in ccw_device_start_key() argument
217 if (lpm) { in ccw_device_start_key()
218 lpm &= sch->lpm; in ccw_device_start_key()
219 if (lpm == 0) in ccw_device_start_key()
222 ret = cio_start_key (sch, cpa, lpm, key); in ccw_device_start_key()
265 unsigned long intparm, __u8 lpm, __u8 key, in ccw_device_start_timeout_key() argument
273 ret = ccw_device_start_key(cdev, cpa, intparm, lpm, key, flags); in ccw_device_start_timeout_key()
303 unsigned long intparm, __u8 lpm, unsigned long flags) in ccw_device_start() argument
305 return ccw_device_start_key(cdev, cpa, intparm, lpm, in ccw_device_start()
338 unsigned long intparm, __u8 lpm, in ccw_device_start_timeout() argument
[all …]
Dccwreq.c29 int lpm_adjust(int lpm, int mask) in lpm_adjust() argument
31 while (lpm && ((lpm & mask) == 0)) in lpm_adjust()
32 lpm >>= 1; in lpm_adjust()
33 return lpm; in lpm_adjust()
49 req->mask = lpm_adjust(req->mask >> 1, req->lpm); in ccwreq_next_path()
127 req->mask = req->lpm; in ccw_request_start()
130 req->mask = lpm_adjust(req->mask, req->lpm); in ccw_request_start()
236 u8 lpm; in ccwreq_log_status() member
241 data.lpm = (u8) req->mask; in ccwreq_log_status()
Dcio.c99 cio_start_handle_notoper(struct subchannel *sch, __u8 lpm) in cio_start_handle_notoper() argument
103 if (lpm != 0) in cio_start_handle_notoper()
104 sch->lpm &= ~lpm; in cio_start_handle_notoper()
106 sch->lpm = 0; in cio_start_handle_notoper()
119 return (sch->lpm ? -EACCES : -ENODEV); in cio_start_handle_notoper()
125 __u8 lpm, /* logical path mask */ in cio_start_key() argument
143 orb->cmd.lpm = (lpm != 0) ? lpm : sch->lpm; in cio_start_key()
168 return cio_start_handle_notoper(sch, lpm); in cio_start_key()
175 cio_start (struct subchannel *sch, struct ccw1 *cpa, __u8 lpm) in cio_start() argument
177 return cio_start_key(sch, cpa, lpm, PAGE_DEFAULT_KEY); in cio_start()
[all …]
Dcio.h29 u8 lpm; /* logical path mask */ member
105 __u8 lpm; /* logical path mask */ member
134 int cio_tm_start_key(struct subchannel *sch, struct tcw *tcw, u8 lpm, u8 key);
Dorb.h32 u32 lpm:8; /* logical path mask */ member
48 u32 lpm:8; member
Ddevice_fsm.c59 "vpm: %02x\n", sch->lpm, sch->opm, sch->vpm); in ccw_timeout_log()
213 if (!(sch->lpm & mask)) in __recover_lost_chpids()
240 old_lpm = sch->lpm; in ccw_device_recog_done()
246 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_recog_done()
251 if (sch->lpm != old_lpm) in ccw_device_recog_done()
528 sch->lpm = sch->vpm; in ccw_device_verify_done()
974 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_trigger_reprobe()
Dio_sch.h75 u8 lpm; member
Ddevice.h110 int lpm_adjust(int lpm, int mask);
Ddevice_id.c218 req->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_sense_id_start()
Ddevice.c601 if (!sch->lpm) in available_show()
1045 sch->lpm = sch->schib.pmcw.pam & sch->opm; in io_subchannel_init_fields()
1188 sch->lpm &= ~mask; in io_subchannel_chp_event()
1195 sch->lpm |= mask; in io_subchannel_chp_event()
1210 sch->lpm |= mask & sch->opm; in io_subchannel_chp_event()
Dtrace.h48 __entry->schib.pmcw.lpm, __entry->schib.pmcw.pnom,
Ddevice_status.c65 sch->lpm &= ~sch->schib.pmcw.pnom; in ccw_device_path_notoper()
/drivers/usb/chipidea/
Dcore.c226 enum ci_hw_regs reg = ci->hw_bank.lpm ? OP_DEVLC : OP_PORTSC; in ci_hdrc_enter_lpm()
227 bool lpm = !!(hw_read(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm))); in ci_hdrc_enter_lpm() local
229 if (enable && !lpm) in ci_hdrc_enter_lpm()
230 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm()
231 PORTSC_PHCD(ci->hw_bank.lpm)); in ci_hdrc_enter_lpm()
232 else if (!enable && lpm) in ci_hdrc_enter_lpm()
233 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm()
251 ci->hw_bank.lpm = reg; in hw_device_init()
277 ci->rev, ci->hw_bank.lpm, ci->hw_bank.cap, ci->hw_bank.op); in hw_device_init()
290 u32 portsc, lpm, sts = 0; in hw_phymode_configure() local
[all …]
Dhost.c138 ehci->has_hostpc = ci->hw_bank.lpm; in host_start()
139 ehci->has_tdi_phy_lpm = ci->hw_bank.lpm; in host_start()
Dci.h148 unsigned lpm; member
/drivers/s390/block/
Ddasd_eckd.c854 __u8 lpm) in dasd_eckd_fill_rcd_cqr() argument
877 cqr->lpm = lpm; in dasd_eckd_fill_rcd_cqr()
911 __u8 lpm) in dasd_eckd_read_conf_immediately() argument
923 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buffer, lpm); in dasd_eckd_read_conf_immediately()
934 int *rcd_buffer_size, __u8 lpm) in dasd_eckd_read_conf_lpm() argument
964 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buf, lpm); in dasd_eckd_read_conf_lpm()
1058 __u8 lpm, opm; in dasd_eckd_read_conf() local
1070 for (lpm = 0x80; lpm; lpm>>= 1) { in dasd_eckd_read_conf()
1071 if (!(lpm & opm)) in dasd_eckd_read_conf()
1074 &conf_len, lpm); in dasd_eckd_read_conf()
[all …]
Ddasd_3990_erp.c154 if (erp->lpm == 0) in dasd_3990_erp_alternate_path()
155 erp->lpm = device->path_data.opm & in dasd_3990_erp_alternate_path()
158 erp->lpm &= ~(erp->irb.esw.esw0.sublog.lpum); in dasd_3990_erp_alternate_path()
160 if ((erp->lpm & opm) != 0x00) { in dasd_3990_erp_alternate_path()
164 erp->lpm, erp->irb.esw.esw0.sublog.lpum, opm); in dasd_3990_erp_alternate_path()
276 erp->lpm = erp->startdev->path_data.opm; in dasd_3990_erp_action_1()
1929 erp->lpm = erp->startdev->path_data.opm; in dasd_3990_erp_compound_path()
2764 if (test_bit(DASD_CQR_VERIFY_PATH, &erp->flags) && cqr->lpm) { in dasd_3990_erp_action()
2765 erp->lpm = cqr->lpm; in dasd_3990_erp_action()
Ddasd.c1451 cqr->lpm &= device->path_data.opm; in dasd_start_IO()
1452 if (!cqr->lpm) in dasd_start_IO()
1453 cqr->lpm = device->path_data.opm; in dasd_start_IO()
1457 (long) cqr, cqr->lpm); in dasd_start_IO()
1460 (long) cqr, cqr->lpm, 0); in dasd_start_IO()
1485 cqr->lpm); in dasd_start_IO()
1486 } else if (cqr->lpm != device->path_data.opm) { in dasd_start_IO()
1487 cqr->lpm = device->path_data.opm; in dasd_start_IO()
1761 if (cqr->lpm == device->path_data.opm) in dasd_int_handler()
1767 cqr->lpm = device->path_data.opm; in dasd_int_handler()
[all …]
Ddasd_erp.c99 cqr->lpm = device->path_data.opm; in dasd_default_erp_action()
Ddasd_int.h188 char lpm; /* logical path mask */ member
/drivers/ps3/
DMakefile7 obj-$(CONFIG_PS3_LPM) += ps3-lpm.o
Dps3-lpm.c1204 lpm_priv->node_id = dev->lpm.node_id; in ps3_lpm_probe()
1205 lpm_priv->pu_id = dev->lpm.pu_id; in ps3_lpm_probe()
1206 lpm_priv->rights = dev->lpm.rights; in ps3_lpm_probe()
/drivers/bluetooth/
Dhci_intel.c990 struct hci_lpm_pkt *lpm = (void *)skb->data; in intel_recv_lpm() local
994 switch (lpm->opcode) { in intel_recv_lpm()
996 if (lpm->dlen < 1) { in intel_recv_lpm()
1000 intel_recv_lpm_notify(hdev, lpm->data[0]); in intel_recv_lpm()
1017 bt_dev_err(hdev, "Unknown LPM opcode (%02x)", lpm->opcode); in intel_recv_lpm()
/drivers/media/platform/exynos4-is/
Dfimc-is.h271 u8 lpm; member

12