/Linux-v4.19/drivers/s390/cio/ |
D | device_pgid.c | 77 req->lpm = lpm_adjust(req->lpm, sch->schib.pmcw.pam & sch->opm & in nop_do() 79 if (!req->lpm) in nop_do() 111 sch->vpm |= req->lpm; in nop_callback() 114 cdev->private->path_noirq_mask |= req->lpm; in nop_callback() 117 cdev->private->path_notoper_mask |= req->lpm; in nop_callback() 123 req->lpm >>= 1; in nop_callback() 138 int i = pathmask_to_pos(req->lpm); in spid_build_cp() 182 req->lpm = sch->schib.pmcw.pam; in pgid_wipeout_start() 201 req->lpm = lpm_adjust(req->lpm, cdev->private->pgid_todo_mask); in spid_do() 202 if (!req->lpm) in spid_do() [all …]
|
D | device_ops.c | 191 unsigned long intparm, __u8 lpm, __u8 key, in ccw_device_start_timeout_key() argument 223 if (lpm) { in ccw_device_start_timeout_key() 224 lpm &= sch->lpm; in ccw_device_start_timeout_key() 225 if (lpm == 0) in ccw_device_start_timeout_key() 228 ret = cio_start_key (sch, cpa, lpm, key); in ccw_device_start_timeout_key() 268 unsigned long intparm, __u8 lpm, __u8 key, in ccw_device_start_key() argument 271 return ccw_device_start_timeout_key(cdev, cpa, intparm, lpm, key, in ccw_device_start_key() 299 unsigned long intparm, __u8 lpm, unsigned long flags) in ccw_device_start() argument 301 return ccw_device_start_key(cdev, cpa, intparm, lpm, in ccw_device_start() 334 unsigned long intparm, __u8 lpm, in ccw_device_start_timeout() argument [all …]
|
D | vfio_ccw_fsm.c | 24 __u8 lpm; in fsm_io_helper() local 33 orb = cp_get_orb(&private->cp, (u32)(addr_t)sch, sch->lpm); in fsm_io_helper() 52 lpm = orb->cmd.lpm; in fsm_io_helper() 53 if (lpm != 0) in fsm_io_helper() 54 sch->lpm &= ~lpm; in fsm_io_helper() 56 sch->lpm = 0; in fsm_io_helper() 61 ret = sch->lpm ? -EACCES : -ENODEV; in fsm_io_helper()
|
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() 176 cio_start (struct subchannel *sch, struct ccw1 *cpa, __u8 lpm) in cio_start() argument 178 return cio_start_key(sch, cpa, lpm, PAGE_DEFAULT_KEY); in cio_start() [all …]
|
D | ccwreq.c | 30 int lpm_adjust(int lpm, int mask) in lpm_adjust() argument 32 while (lpm && ((lpm & mask) == 0)) in lpm_adjust() 33 lpm >>= 1; in lpm_adjust() 34 return lpm; in lpm_adjust() 50 req->mask = lpm_adjust(req->mask >> 1, req->lpm); in ccwreq_next_path() 128 req->mask = req->lpm; in ccw_request_start() 131 req->mask = lpm_adjust(req->mask, req->lpm); in ccw_request_start() 237 u8 lpm; in ccwreq_log_status() member 242 data.lpm = (u8) req->mask; in ccwreq_log_status()
|
D | cio.h | 30 u8 lpm; /* logical path mask */ member 106 __u8 lpm; /* logical path mask */ member 135 int cio_tm_start_key(struct subchannel *sch, struct tcw *tcw, u8 lpm, u8 key);
|
D | orb.h | 33 u32 lpm:8; /* logical path mask */ member 49 u32 lpm:8; member
|
D | vfio_ccw_cp.h | 39 extern union orb *cp_get_orb(struct channel_program *cp, u32 intparm, u8 lpm);
|
D | device_fsm.c | 60 "vpm: %02x\n", sch->lpm, sch->opm, sch->vpm); in ccw_timeout_log() 174 if (!(sch->lpm & mask)) in __recover_lost_chpids() 201 old_lpm = sch->lpm; in ccw_device_recog_done() 207 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_recog_done() 212 if (sch->lpm != old_lpm) in ccw_device_recog_done() 500 sch->lpm = sch->vpm; in ccw_device_verify_done() 950 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_trigger_reprobe()
|
D | vfio_ccw_cp.c | 790 union orb *cp_get_orb(struct channel_program *cp, u32 intparm, u8 lpm) in cp_get_orb() argument 802 if (orb->cmd.lpm == 0) in cp_get_orb() 803 orb->cmd.lpm = lpm; in cp_get_orb()
|
D | device.h | 111 int lpm_adjust(int lpm, int mask);
|
/Linux-v4.19/drivers/usb/chipidea/ |
D | core.c | 224 enum ci_hw_regs reg = ci->hw_bank.lpm ? OP_DEVLC : OP_PORTSC; in ci_hdrc_enter_lpm() 225 bool lpm = !!(hw_read(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm))); in ci_hdrc_enter_lpm() local 227 if (enable && !lpm) in ci_hdrc_enter_lpm() 228 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm() 229 PORTSC_PHCD(ci->hw_bank.lpm)); in ci_hdrc_enter_lpm() 230 else if (!enable && lpm) in ci_hdrc_enter_lpm() 231 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm() 249 ci->hw_bank.lpm = reg; in hw_device_init() 275 ci->rev, ci->hw_bank.lpm, ci->hw_bank.cap, ci->hw_bank.op); in hw_device_init() 288 u32 portsc, lpm, sts = 0; in hw_phymode_configure() local [all …]
|
D | host.c | 135 ehci->has_hostpc = ci->hw_bank.lpm; in host_start() 136 ehci->has_tdi_phy_lpm = ci->hw_bank.lpm; in host_start()
|
/Linux-v4.19/arch/arm/plat-pxa/ |
D | mfp.c | 174 int pin, af, drv, lpm, edge, pull; in mfp_config() local 182 lpm = MFP_LPM_STATE(c); in mfp_config() 193 p->mfpr_run = tmp | mfpr_lpm[lpm] | mfpr_edge[edge]; in mfp_config() 196 p->mfpr_lpm = tmp | mfpr_lpm[lpm] | mfpr_edge[edge]; in mfp_config()
|
/Linux-v4.19/drivers/s390/block/ |
D | dasd_eckd.c | 786 __u8 lpm) in dasd_eckd_fill_rcd_cqr() argument 809 cqr->lpm = lpm; in dasd_eckd_fill_rcd_cqr() 843 __u8 lpm) in dasd_eckd_read_conf_immediately() argument 855 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buffer, lpm); in dasd_eckd_read_conf_immediately() 866 int *rcd_buffer_size, __u8 lpm) in dasd_eckd_read_conf_lpm() argument 896 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buf, lpm); in dasd_eckd_read_conf_lpm() 993 __u8 lpm, opm; in dasd_eckd_read_conf() local 1006 for (lpm = 0x80; lpm; lpm>>= 1) { in dasd_eckd_read_conf() 1007 if (!(lpm & opm)) in dasd_eckd_read_conf() 1010 &conf_len, lpm); in dasd_eckd_read_conf() [all …]
|
D | dasd_3990_erp.c | 155 if (erp->lpm == 0) in dasd_3990_erp_alternate_path() 156 erp->lpm = dasd_path_get_opm(device) & in dasd_3990_erp_alternate_path() 159 erp->lpm &= ~(erp->irb.esw.esw0.sublog.lpum); in dasd_3990_erp_alternate_path() 161 if ((erp->lpm & opm) != 0x00) { in dasd_3990_erp_alternate_path() 165 erp->lpm, erp->irb.esw.esw0.sublog.lpum, opm); in dasd_3990_erp_alternate_path() 277 erp->lpm = dasd_path_get_opm(erp->startdev); in dasd_3990_erp_action_1() 1931 erp->lpm = dasd_path_get_opm(erp->startdev); in dasd_3990_erp_compound_path() 2825 if (test_bit(DASD_CQR_VERIFY_PATH, &erp->flags) && cqr->lpm) { in dasd_3990_erp_action() 2826 erp->lpm = cqr->lpm; in dasd_3990_erp_action()
|
/Linux-v4.19/arch/arm/plat-pxa/include/plat/ |
D | mfp.h | 418 #define MFP_CFG_LPM(pin, af, lpm) \ argument 420 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_LPM_##lpm)) 422 #define MFP_CFG_X(pin, af, drv, lpm) \ argument 424 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_##drv | MFP_LPM_##lpm))
|
/Linux-v4.19/arch/powerpc/platforms/ps3/ |
D | device-init.c | 53 result = ps3_repository_read_be_node_id(0, &dev->lpm.node_id); in ps3_register_lpm_devices() 61 result = ps3_repository_read_lpm_privileges(dev->lpm.node_id, &tmp1, in ps3_register_lpm_devices() 62 &dev->lpm.rights); in ps3_register_lpm_devices() 79 if (!(dev->lpm.rights & PS3_LPM_RIGHTS_USE_LPM)) { in ps3_register_lpm_devices() 87 __func__, __LINE__, dev->lpm.pu_id, dev->lpm.rights, in ps3_register_lpm_devices() 88 dev->lpm.rights); in ps3_register_lpm_devices() 90 result = ps3_repository_read_pu_id(0, &dev->lpm.pu_id); in ps3_register_lpm_devices()
|
/Linux-v4.19/Documentation/devicetree/bindings/usb/ |
D | hisilicon,histb-xhci.txt | 26 - usb2-lpm-disable: indicate if we don't want to enable USB2 HW LPM 27 - usb3-lpm-capable: determines if platform is USB3 LPM capable
|
D | mediatek,mtk-xhci.txt | 49 - usb3-lpm-capable : supports USB3.0 LPM 74 usb3-lpm-capable; 107 - usb3-lpm-capable : supports USB3.0 LPM 119 usb3-lpm-capable;
|
D | usb-xhci.txt | 36 - usb2-lpm-disable: indicate if we don't want to enable USB2 HW LPM 37 - usb3-lpm-capable: determines if platform is USB3 LPM capable
|
/Linux-v4.19/drivers/usb/dwc2/ |
D | params.c | 296 p->lpm = true; in dwc2_set_default_params() 588 CHECK_BOOL(lpm, (hsotg->hw_params.snpsid >= DWC2_CORE_REV_2_80a)); in dwc2_check_params() 589 CHECK_BOOL(lpm, hw->lpm_mode); in dwc2_check_params() 590 CHECK_BOOL(lpm_clock_gating, hsotg->params.lpm); in dwc2_check_params() 591 CHECK_BOOL(besl, hsotg->params.lpm); in dwc2_check_params() 593 CHECK_BOOL(hird_threshold_en, hsotg->params.lpm); in dwc2_check_params()
|
/Linux-v4.19/drivers/ps3/ |
D | Makefile | 7 obj-$(CONFIG_PS3_LPM) += ps3-lpm.o
|
/Linux-v4.19/Documentation/devicetree/bindings/display/msm/ |
D | hdmi.txt | 26 - qcom,hdmi-tx-mux-lpm-gpios: hdmi mux lpm pin
|
/Linux-v4.19/drivers/bluetooth/ |
D | hci_intel.c | 949 struct hci_lpm_pkt *lpm = (void *)skb->data; in intel_recv_lpm() local 953 switch (lpm->opcode) { in intel_recv_lpm() 955 if (lpm->dlen < 1) { in intel_recv_lpm() 959 intel_recv_lpm_notify(hdev, lpm->data[0]); in intel_recv_lpm() 976 bt_dev_err(hdev, "Unknown LPM opcode (%02x)", lpm->opcode); in intel_recv_lpm()
|