| /linux/drivers/s390/cio/ |
| H A 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 …]
|
| H A 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()
|
| H A D | orb.h | 36 u32 lpm:8; /* logical path mask */ member 52 u32 lpm:8; member
|
| H A D | device_fsm.c | 62 "vpm: %02x\n", sch->lpm, sch->opm, sch->vpm); in ccw_timeout_log() 176 if (!(sch->lpm & mask)) in __recover_lost_chpids() 203 old_lpm = sch->lpm; in ccw_device_recog_done() 209 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_recog_done() 214 if (sch->lpm != old_lpm) in ccw_device_recog_done() 496 sch->lpm = sch->vpm; in ccw_device_verify_done() 954 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_trigger_reprobe()
|
| H A D | device.h | 110 int lpm_adjust(int lpm, int mask);
|
| H A D | io_sch.h | 81 u8 lpm; member
|
| H A D | vfio_ccw_cp.c | 878 if (orb->cmd.lpm == 0) in cp_get_orb() 879 orb->cmd.lpm = sch->lpm; in cp_get_orb()
|
| /linux/drivers/usb/chipidea/ |
| H A D | core.c | 203 enum ci_hw_regs reg = ci->hw_bank.lpm ? OP_DEVLC : OP_PORTSC; in ci_hdrc_enter_lpm_common() 204 bool lpm = !!(hw_read(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm))); in ci_hdrc_enter_lpm_common() local 206 if (enable && !lpm) in ci_hdrc_enter_lpm_common() 207 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm_common() 208 PORTSC_PHCD(ci->hw_bank.lpm)); in ci_hdrc_enter_lpm_common() 209 else if (!enable && lpm) in ci_hdrc_enter_lpm_common() 210 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm_common() 233 ci->hw_bank.lpm = reg; in hw_device_init() 259 ci->rev, ci->hw_bank.lpm, ci->hw_bank.cap, ci->hw_bank.op); in hw_device_init() 272 u32 portsc, lpm, sts = 0; in hw_phymode_configure() local [all …]
|
| /linux/drivers/regulator/ |
| H A D | mcp16502.c | 150 struct gpio_desc *lpm; member 162 gpiod_set_value(mcp->lpm, 0); in mcp16502_gpio_set_mode() 166 gpiod_set_value(mcp->lpm, 1); in mcp16502_gpio_set_mode() 531 mcp->lpm = devm_gpiod_get_optional(dev, "lpm", GPIOD_OUT_LOW); in mcp16502_probe() 532 if (IS_ERR(mcp->lpm)) { in mcp16502_probe() 533 dev_err(dev, "failed to get lpm pin: %ld\n", PTR_ERR(mcp->lpm)); in mcp16502_probe() 534 return PTR_ERR(mcp->lpm); in mcp16502_probe()
|
| /linux/drivers/soc/pxa/ |
| H A 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/include/linux/soc/pxa/ |
| H A 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/arch/arm64/boot/dts/ti/ |
| H A D | k3-am62p-main.dtsi | 30 snps,usb2-gadget-lpm-disable; 31 snps,usb2-lpm-disable;
|
| H A D | k3-am62l-main.dtsi | 233 snps,usb2-gadget-lpm-disable; 234 snps,usb2-lpm-disable; 259 snps,usb2-gadget-lpm-disable; 260 snps,usb2-lpm-disable;
|
| /linux/Documentation/devicetree/bindings/usb/ |
| H A 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
|
| /linux/drivers/ufs/host/ |
| H A D | ufs-mediatek.c | 1533 static int ufs_mtk_unipro_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_unipro_set_lpm() argument 1540 lpm ? 1 : 0); in ufs_mtk_unipro_set_lpm() 1541 if (!ret || !lpm) { in ufs_mtk_unipro_set_lpm() 1547 host->unipro_lpm = lpm; in ufs_mtk_unipro_set_lpm() 1734 static void ufs_mtk_vccqx_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_vccqx_set_lpm() argument 1747 lpm ? REGULATOR_MODE_IDLE : REGULATOR_MODE_NORMAL); in ufs_mtk_vccqx_set_lpm() 1750 static void ufs_mtk_vsx_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_vsx_set_lpm() argument 1754 ufs_mtk_device_pwr_ctrl(!lpm, in ufs_mtk_vsx_set_lpm() 1759 static void ufs_mtk_dev_vreg_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_dev_vreg_set_lpm() argument 1764 if (lpm && ufshcd_is_ufs_dev_active(hba)) in ufs_mtk_dev_vreg_set_lpm() [all …]
|
| /linux/arch/arm64/boot/dts/mediatek/ |
| H A D | mt8195-evb.dts | 187 * Disable usb2 lpm to prevent known issues. 189 usb2-lpm-disable;
|
| /linux/drivers/s390/block/ |
| H A D | dasd_3990_erp.c | 151 if (erp->lpm == 0) in dasd_3990_erp_alternate_path() 152 erp->lpm = dasd_path_get_opm(device) & in dasd_3990_erp_alternate_path() 155 erp->lpm &= ~(erp->irb.esw.esw0.sublog.lpum); in dasd_3990_erp_alternate_path() 157 if ((erp->lpm & opm) != 0x00) { in dasd_3990_erp_alternate_path() 161 erp->lpm, erp->irb.esw.esw0.sublog.lpum, opm); in dasd_3990_erp_alternate_path() 273 erp->lpm = dasd_path_get_opm(erp->startdev); in dasd_3990_erp_action_1() 1907 erp->lpm = dasd_path_get_opm(erp->startdev); in dasd_3990_erp_compound_path() 2788 if (test_bit(DASD_CQR_VERIFY_PATH, &erp->flags) && cqr->lpm) { in dasd_3990_erp_action() 2789 erp->lpm = cqr->lpm; in dasd_3990_erp_action()
|
| H A D | dasd_erp.c | 96 cqr->lpm = dasd_path_get_opm(device); in dasd_default_erp_action()
|
| /linux/drivers/ps3/ |
| H A D | Makefile | 8 obj-$(CONFIG_PS3_LPM) += ps3-lpm.o
|
| /linux/arch/arm64/boot/dts/socionext/ |
| H A D | uniphier-pxs3-ref-gadget1.dts | 27 snps,usb2-gadget-lpm-disable;
|
| H A D | uniphier-pxs3-ref-gadget0.dts | 27 snps,usb2-gadget-lpm-disable;
|
| /linux/drivers/bluetooth/ |
| H A D | hci_intel.c | 920 struct hci_lpm_pkt *lpm = (void *)skb->data; in intel_recv_lpm() local 924 switch (lpm->opcode) { in intel_recv_lpm() 926 if (lpm->dlen < 1) { in intel_recv_lpm() 930 intel_recv_lpm_notify(hdev, lpm->data[0]); in intel_recv_lpm() 943 bt_dev_err(hdev, "Unknown LPM opcode (%02x)", lpm->opcode); in intel_recv_lpm()
|
| /linux/arch/arm/mach-pxa/ |
| H A D | mfp-pxa2xx.c | 154 void pxa2xx_mfp_set_lpm(int mfp, unsigned long lpm) in pxa2xx_mfp_set_lpm() argument 166 c = (c & ~MFP_LPM_STATE_MASK) | lpm; in pxa2xx_mfp_set_lpm()
|
| /linux/arch/s390/include/asm/ |
| H A D | fcx.h | 209 u32 lpm:8; member
|
| H A D | ccwdev.h | 189 unsigned long intparm, u8 lpm, u8 key);
|