/linux-6.6.21/drivers/s390/cio/ |
D | device_pgid.c | 78 req->lpm = lpm_adjust(req->lpm, sch->schib.pmcw.pam & sch->opm & in nop_do() 80 if (!req->lpm) in nop_do() 112 sch->vpm |= req->lpm; in nop_callback() 115 cdev->private->path_noirq_mask |= req->lpm; in nop_callback() 118 cdev->private->path_notoper_mask |= req->lpm; in nop_callback() 124 req->lpm >>= 1; in nop_callback() 139 int i = pathmask_to_pos(req->lpm); in spid_build_cp() 183 req->lpm = sch->schib.pmcw.pam; in pgid_wipeout_start() 202 req->lpm = lpm_adjust(req->lpm, cdev->private->pgid_todo_mask); in spid_do() 203 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 | 24 __u8 lpm; in fsm_io_helper() local 59 lpm = orb->cmd.lpm; in fsm_io_helper() 60 if (lpm != 0) in fsm_io_helper() 61 sch->lpm &= ~lpm; in fsm_io_helper() 63 sch->lpm = 0; in fsm_io_helper() 68 ret = sch->lpm ? -EACCES : -ENODEV; in fsm_io_helper()
|
D | cio.h | 31 u8 lpm; /* logical path mask */ member 95 __u8 lpm; /* logical path mask */ member 130 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 | device_fsm.c | 61 "vpm: %02x\n", sch->lpm, sch->opm, sch->vpm); in ccw_timeout_log() 175 if (!(sch->lpm & mask)) in __recover_lost_chpids() 202 old_lpm = sch->lpm; in ccw_device_recog_done() 208 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_recog_done() 213 if (sch->lpm != old_lpm) in ccw_device_recog_done() 495 sch->lpm = sch->vpm; in ccw_device_verify_done() 948 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_trigger_reprobe()
|
/linux-6.6.21/Documentation/devicetree/bindings/usb/ |
D | usb-xhci.yaml | 16 usb2-lpm-disable: 20 usb3-lpm-capable: 40 usb2-lpm-disable; 41 usb3-lpm-capable;
|
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 | starfive,jh7110-usb.yaml | 47 - const: lpm 97 clock-names = "lpm", "stb", "apb", "axi", "utmi_apb";
|
D | fsl,imx8qm-cdns3.yaml | 39 - const: lpm 81 clock-names = "lpm", "bus", "aclk", "ipg", "core";
|
D | ti,j721e-usb.yaml | 41 - const: lpm 91 clock-names = "ref", "lpm";
|
/linux-6.6.21/drivers/usb/chipidea/ |
D | core.c | 202 enum ci_hw_regs reg = ci->hw_bank.lpm ? OP_DEVLC : OP_PORTSC; in ci_hdrc_enter_lpm_common() 203 bool lpm = !!(hw_read(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm))); in ci_hdrc_enter_lpm_common() local 205 if (enable && !lpm) in ci_hdrc_enter_lpm_common() 206 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm_common() 207 PORTSC_PHCD(ci->hw_bank.lpm)); in ci_hdrc_enter_lpm_common() 208 else if (!enable && lpm) in ci_hdrc_enter_lpm_common() 209 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm_common() 232 ci->hw_bank.lpm = reg; in hw_device_init() 258 ci->rev, ci->hw_bank.lpm, ci->hw_bank.cap, ci->hw_bank.op); in hw_device_init() 271 u32 portsc, lpm, sts = 0; in hw_phymode_configure() local [all …]
|
/linux-6.6.21/drivers/regulator/ |
D | mcp16502.c | 149 struct gpio_desc *lpm; member 161 gpiod_set_value(mcp->lpm, 0); in mcp16502_gpio_set_mode() 165 gpiod_set_value(mcp->lpm, 1); in mcp16502_gpio_set_mode() 530 mcp->lpm = devm_gpiod_get_optional(dev, "lpm", GPIOD_OUT_LOW); in mcp16502_probe() 531 if (IS_ERR(mcp->lpm)) { in mcp16502_probe() 532 dev_err(dev, "failed to get lpm pin: %ld\n", PTR_ERR(mcp->lpm)); in mcp16502_probe() 533 return PTR_ERR(mcp->lpm); in mcp16502_probe()
|
/linux-6.6.21/drivers/soc/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()
|
/linux-6.6.21/drivers/ufs/host/ |
D | ufs-mediatek.c | 1071 static int ufs_mtk_unipro_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_unipro_set_lpm() argument 1078 lpm ? 1 : 0); in ufs_mtk_unipro_set_lpm() 1079 if (!ret || !lpm) { in ufs_mtk_unipro_set_lpm() 1085 host->unipro_lpm = lpm; in ufs_mtk_unipro_set_lpm() 1252 static void ufs_mtk_vccqx_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_vccqx_set_lpm() argument 1262 lpm ? REGULATOR_MODE_IDLE : REGULATOR_MODE_NORMAL); in ufs_mtk_vccqx_set_lpm() 1265 static void ufs_mtk_vsx_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_vsx_set_lpm() argument 1269 ufs_mtk_device_pwr_ctrl(!lpm, in ufs_mtk_vsx_set_lpm() 1274 static void ufs_mtk_dev_vreg_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_dev_vreg_set_lpm() argument 1284 if (lpm && ufshcd_is_ufs_dev_active(hba)) in ufs_mtk_dev_vreg_set_lpm() [all …]
|
/linux-6.6.21/include/linux/soc/pxa/ |
D | mfp.h | 413 #define MFP_CFG_LPM(pin, af, lpm) \ argument 415 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_LPM_##lpm)) 417 #define MFP_CFG_X(pin, af, drv, lpm) \ argument 419 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_##drv | MFP_LPM_##lpm))
|
/linux-6.6.21/drivers/usb/dwc2/ |
D | params.c | 129 p->lpm = false; in dwc2_set_rk_params() 171 p->lpm = false; in dwc2_set_amlogic_g12a_params() 190 p->lpm = false; in dwc2_set_amlogic_a1_params() 263 p->lpm = false; in dwc2_set_stm32mp15_hsotg_params() 443 p->lpm = hsotg->hw_params.lpm_mode; in dwc2_set_param_lpm() 444 if (p->lpm) { in dwc2_set_param_lpm() 773 CHECK_BOOL(lpm, (hsotg->hw_params.snpsid >= DWC2_CORE_REV_2_80a)); in dwc2_check_params() 774 CHECK_BOOL(lpm, hw->lpm_mode); in dwc2_check_params() 775 CHECK_BOOL(lpm_clock_gating, hsotg->params.lpm); in dwc2_check_params() 776 CHECK_BOOL(besl, hsotg->params.lpm); in dwc2_check_params() [all …]
|
/linux-6.6.21/drivers/s390/block/ |
D | dasd_eckd.c | 820 __u8 lpm) in dasd_eckd_fill_rcd_cqr() argument 843 cqr->lpm = lpm; in dasd_eckd_fill_rcd_cqr() 877 __u8 lpm) in dasd_eckd_read_conf_immediately() argument 889 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buffer, lpm); in dasd_eckd_read_conf_immediately() 900 int *rcd_buffer_size, __u8 lpm) in dasd_eckd_read_conf_lpm() argument 930 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buf, lpm); in dasd_eckd_read_conf_lpm() 1094 void *conf_data, __u8 lpm) in dasd_eckd_check_cabling() argument 1110 lpm, print_path_uid, print_device_uid); in dasd_eckd_check_cabling() 1122 __u8 lpm, opm; in dasd_eckd_read_conf() local 1130 for (lpm = 0x80; lpm; lpm>>= 1) { 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() 1936 erp->lpm = dasd_path_get_opm(erp->startdev); in dasd_3990_erp_compound_path() 2830 if (test_bit(DASD_CQR_VERIFY_PATH, &erp->flags) && cqr->lpm) { in dasd_3990_erp_action() 2831 erp->lpm = cqr->lpm; in dasd_3990_erp_action()
|
/linux-6.6.21/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()
|
/linux-6.6.21/arch/arm64/boot/dts/mediatek/ |
D | mt8195-evb.dts | 177 * Disable usb2 lpm to prevent known issues. 179 usb2-lpm-disable;
|
/linux-6.6.21/drivers/ps3/ |
D | Makefile | 8 obj-$(CONFIG_PS3_LPM) += ps3-lpm.o
|
/linux-6.6.21/Documentation/devicetree/bindings/regulator/ |
D | mcp16502-regulator.txt | 6 - lpm-gpios: GPIO for LPM pin. Note that this GPIO *must* remain high during 34 lpm-gpios = <&pioBU 7 GPIO_ACTIVE_HIGH>;
|