/drivers/s390/cio/ |
D | device_pgid.c | 76 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 …]
|
D | device_ops.c | 185 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 …]
|
D | ccwreq.c | 29 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()
|
D | cio.c | 99 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 …]
|
D | cio.h | 29 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);
|
D | orb.h | 32 u32 lpm:8; /* logical path mask */ member 48 u32 lpm:8; member
|
D | device_fsm.c | 59 "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()
|
D | io_sch.h | 75 u8 lpm; member
|
D | device.h | 110 int lpm_adjust(int lpm, int mask);
|
D | device_id.c | 218 req->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_sense_id_start()
|
D | device.c | 601 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()
|
D | trace.h | 48 __entry->schib.pmcw.lpm, __entry->schib.pmcw.pnom,
|
D | device_status.c | 65 sch->lpm &= ~sch->schib.pmcw.pnom; in ccw_device_path_notoper()
|
/drivers/usb/chipidea/ |
D | core.c | 226 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 …]
|
D | host.c | 138 ehci->has_hostpc = ci->hw_bank.lpm; in host_start() 139 ehci->has_tdi_phy_lpm = ci->hw_bank.lpm; in host_start()
|
D | ci.h | 148 unsigned lpm; member
|
/drivers/s390/block/ |
D | dasd_eckd.c | 854 __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 …]
|
D | dasd_3990_erp.c | 154 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()
|
D | dasd.c | 1451 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 …]
|
D | dasd_erp.c | 99 cqr->lpm = device->path_data.opm; in dasd_default_erp_action()
|
D | dasd_int.h | 188 char lpm; /* logical path mask */ member
|
/drivers/ps3/ |
D | Makefile | 7 obj-$(CONFIG_PS3_LPM) += ps3-lpm.o
|
D | ps3-lpm.c | 1204 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/ |
D | hci_intel.c | 990 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/ |
D | fimc-is.h | 271 u8 lpm; member
|