/kernel/linux/linux-5.10/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 | 192 unsigned long intparm, __u8 lpm, __u8 key, in ccw_device_start_timeout_key() argument 224 if (lpm) { in ccw_device_start_timeout_key() 225 lpm &= sch->lpm; in ccw_device_start_timeout_key() 226 if (lpm == 0) in ccw_device_start_timeout_key() 229 ret = cio_start_key (sch, cpa, lpm, key); in ccw_device_start_timeout_key() 272 unsigned long intparm, __u8 lpm, __u8 key, in ccw_device_start_key() argument 275 return ccw_device_start_timeout_key(cdev, cpa, intparm, lpm, key, in ccw_device_start_key() 306 unsigned long intparm, __u8 lpm, unsigned long flags) in ccw_device_start() argument 308 return ccw_device_start_key(cdev, cpa, intparm, lpm, in ccw_device_start() 344 unsigned long intparm, __u8 lpm, in ccw_device_start_timeout() argument [all …]
|
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() 238 u8 lpm; in ccwreq_log_status() member 243 data.lpm = (u8) req->mask; in ccwreq_log_status()
|
D | vfio_ccw_fsm.c | 23 __u8 lpm; in fsm_io_helper() local 31 orb = cp_get_orb(&private->cp, (u32)(addr_t)sch, sch->lpm); in fsm_io_helper() 60 lpm = orb->cmd.lpm; in fsm_io_helper() 61 if (lpm != 0) in fsm_io_helper() 62 sch->lpm &= ~lpm; in fsm_io_helper() 64 sch->lpm = 0; in fsm_io_helper() 69 ret = sch->lpm ? -EACCES : -ENODEV; in fsm_io_helper()
|
D | cio.h | 30 u8 lpm; /* logical path mask */ member 106 __u8 lpm; /* logical path mask */ member 137 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 | 49 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() 180 if (!(sch->lpm & mask)) in __recover_lost_chpids() 207 old_lpm = sch->lpm; in ccw_device_recog_done() 213 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_recog_done() 218 if (sch->lpm != old_lpm) in ccw_device_recog_done() 506 sch->lpm = sch->vpm; in ccw_device_verify_done() 959 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_trigger_reprobe()
|
D | vfio_ccw_cp.c | 776 union orb *cp_get_orb(struct channel_program *cp, u32 intparm, u8 lpm) in cp_get_orb() argument 792 if (orb->cmd.lpm == 0) in cp_get_orb() 793 orb->cmd.lpm = lpm; in cp_get_orb()
|
/kernel/linux/linux-5.10/drivers/regulator/ |
D | mcp16502.c | 122 struct gpio_desc *lpm; member 134 gpiod_set_value(mcp->lpm, 0); in mcp16502_gpio_set_mode() 138 gpiod_set_value(mcp->lpm, 1); in mcp16502_gpio_set_mode() 458 mcp->lpm = devm_gpiod_get(dev, "lpm", GPIOD_OUT_LOW); in mcp16502_probe() 459 if (IS_ERR(mcp->lpm)) { in mcp16502_probe() 460 dev_err(dev, "failed to get lpm pin: %ld\n", PTR_ERR(mcp->lpm)); in mcp16502_probe() 461 return PTR_ERR(mcp->lpm); in mcp16502_probe()
|
/kernel/linux/linux-5.10/drivers/usb/chipidea/ |
D | core.c | 200 enum ci_hw_regs reg = ci->hw_bank.lpm ? OP_DEVLC : OP_PORTSC; in ci_hdrc_enter_lpm() 201 bool lpm = !!(hw_read(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm))); in ci_hdrc_enter_lpm() local 203 if (enable && !lpm) in ci_hdrc_enter_lpm() 204 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm() 205 PORTSC_PHCD(ci->hw_bank.lpm)); in ci_hdrc_enter_lpm() 206 else if (!enable && lpm) in ci_hdrc_enter_lpm() 207 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm() 225 ci->hw_bank.lpm = reg; in hw_device_init() 251 ci->rev, ci->hw_bank.lpm, ci->hw_bank.cap, ci->hw_bank.op); in hw_device_init() 264 u32 portsc, lpm, sts = 0; in hw_phymode_configure() local [all …]
|
/kernel/linux/linux-5.10/arch/arm/plat-pxa/ |
D | mfp.c | 171 int pin, af, drv, lpm, edge, pull; in mfp_config() local 179 lpm = MFP_LPM_STATE(c); in mfp_config() 190 p->mfpr_run = tmp | mfpr_lpm[lpm] | mfpr_edge[edge]; in mfp_config() 193 p->mfpr_lpm = tmp | mfpr_lpm[lpm] | mfpr_edge[edge]; in mfp_config()
|
/kernel/linux/linux-5.10/arch/arm/plat-pxa/include/plat/ |
D | mfp.h | 415 #define MFP_CFG_LPM(pin, af, lpm) \ argument 417 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_LPM_##lpm)) 419 #define MFP_CFG_X(pin, af, drv, lpm) \ argument 421 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_##drv | MFP_LPM_##lpm))
|
/kernel/linux/linux-5.10/drivers/s390/block/ |
D | dasd_eckd.c | 818 __u8 lpm) in dasd_eckd_fill_rcd_cqr() argument 841 cqr->lpm = lpm; in dasd_eckd_fill_rcd_cqr() 875 __u8 lpm) in dasd_eckd_read_conf_immediately() argument 887 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buffer, lpm); in dasd_eckd_read_conf_immediately() 898 int *rcd_buffer_size, __u8 lpm) in dasd_eckd_read_conf_lpm() argument 928 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buf, lpm); in dasd_eckd_read_conf_lpm() 1025 __u8 lpm, opm; in dasd_eckd_read_conf() local 1038 for (lpm = 0x80; lpm; lpm>>= 1) { in dasd_eckd_read_conf() 1039 if (!(lpm & opm)) in dasd_eckd_read_conf() 1042 &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()
|
/kernel/linux/linux-5.10/drivers/usb/dwc2/ |
D | params.c | 129 p->lpm = false; in dwc2_set_amlogic_g12a_params() 336 p->lpm = hsotg->hw_params.lpm_mode; in dwc2_set_param_lpm() 337 if (p->lpm) { in dwc2_set_param_lpm() 667 CHECK_BOOL(lpm, (hsotg->hw_params.snpsid >= DWC2_CORE_REV_2_80a)); in dwc2_check_params() 668 CHECK_BOOL(lpm, hw->lpm_mode); in dwc2_check_params() 669 CHECK_BOOL(lpm_clock_gating, hsotg->params.lpm); in dwc2_check_params() 670 CHECK_BOOL(besl, hsotg->params.lpm); in dwc2_check_params() 672 CHECK_BOOL(hird_threshold_en, hsotg->params.lpm); in dwc2_check_params()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/ |
D | device-init.c | 42 result = ps3_repository_read_be_node_id(0, &dev->lpm.node_id); in ps3_register_lpm_devices() 50 result = ps3_repository_read_lpm_privileges(dev->lpm.node_id, &tmp1, in ps3_register_lpm_devices() 51 &dev->lpm.rights); in ps3_register_lpm_devices() 68 if (!(dev->lpm.rights & PS3_LPM_RIGHTS_USE_LPM)) { in ps3_register_lpm_devices() 76 __func__, __LINE__, dev->lpm.pu_id, dev->lpm.rights, in ps3_register_lpm_devices() 77 dev->lpm.rights); in ps3_register_lpm_devices() 79 result = ps3_repository_read_pu_id(0, &dev->lpm.pu_id); in ps3_register_lpm_devices()
|
/kernel/linux/linux-5.10/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 | 50 - usb3-lpm-capable : supports USB3.0 LPM 75 usb3-lpm-capable; 108 - usb3-lpm-capable : supports USB3.0 LPM 120 usb3-lpm-capable;
|
D | usb-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
|
/kernel/linux/linux-5.10/drivers/scsi/ufs/ |
D | ufs-mediatek.c | 643 static int ufs_mtk_unipro_set_pm(struct ufs_hba *hba, bool lpm) in ufs_mtk_unipro_set_pm() argument 650 lpm); in ufs_mtk_unipro_set_pm() 651 if (!ret || !lpm) { in ufs_mtk_unipro_set_pm() 657 host->unipro_lpm = lpm; in ufs_mtk_unipro_set_pm() 811 static void ufs_mtk_vreg_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_vreg_set_lpm() argument 816 if (lpm && !hba->vreg_info.vcc->enabled) in ufs_mtk_vreg_set_lpm() 819 else if (!lpm) in ufs_mtk_vreg_set_lpm()
|
/kernel/linux/linux-5.10/drivers/ps3/ |
D | Makefile | 8 obj-$(CONFIG_PS3_LPM) += ps3-lpm.o
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/ |
D | mcp16502-regulator.txt | 6 - lpm-gpios: GPIO for LPM pin. Note that this GPIO *must* remain high during 33 lpm-gpios = <&pioBU 7 GPIO_ACTIVE_HIGH>;
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/msm/ |
D | hdmi.txt | 26 - qcom,hdmi-tx-mux-lpm-gpios: hdmi mux lpm pin
|