Home
last modified time | relevance | path

Searched refs:lpm (Results 1 – 25 of 58) sorted by relevance

123

/linux/drivers/s390/cio/
H A Ddevice_pgid.c78 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 Ddevice_ops.c194 unsigned long intparm, __u8 lpm, __u8 key, in ccw_device_start_timeout_key() argument
232 if (lpm) { in ccw_device_start_timeout_key()
233 lpm &= sch->lpm; in ccw_device_start_timeout_key()
234 if (lpm == 0) in ccw_device_start_timeout_key()
237 ret = cio_start_key (sch, cpa, lpm, key); in ccw_device_start_timeout_key()
280 unsigned long intparm, __u8 lpm, __u8 key, in ccw_device_start_key() argument
283 return ccw_device_start_timeout_key(cdev, cpa, intparm, lpm, key, in ccw_device_start_key()
314 unsigned long intparm, __u8 lpm, unsigned long flags) in ccw_device_start() argument
316 return ccw_device_start_key(cdev, cpa, intparm, lpm, in ccw_device_start()
352 unsigned long intparm, __u8 lpm, in ccw_device_start_timeout() argument
[all …]
H A Dcio.c99 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 …]
H A Dvfio_ccw_fsm.c24 __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 Dcio.h32 u8 lpm; /* logical path mask */ member
96 __u8 lpm; /* logical path mask */ member
126 int cio_tm_start_key(struct subchannel *sch, struct tcw *tcw, u8 lpm, u8 key);
H A Dorb.h36 u32 lpm:8; /* logical path mask */ member
52 u32 lpm:8; member
H A Ddevice_fsm.c62 "vpm: %02x\n", sch->lpm, sch->opm, sch->vpm); in ccw_timeout_log()
179 if (!(sch->lpm & mask)) in __recover_lost_chpids()
206 old_lpm = sch->lpm; in ccw_device_recog_done()
212 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_recog_done()
217 if (sch->lpm != old_lpm) in ccw_device_recog_done()
499 sch->lpm = sch->vpm; in ccw_device_verify_done()
957 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_trigger_reprobe()
H A Ddevice.h110 int lpm_adjust(int lpm, int mask);
H A Dio_sch.h81 u8 lpm; member
H A Dvfio_ccw_cp.c908 if (orb->cmd.lpm == 0) in cp_get_orb()
909 orb->cmd.lpm = sch->lpm; in cp_get_orb()
/linux/drivers/usb/chipidea/
H A Dcore.c203 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()
258 "revision: %d, lpm in hw_device_init()
272 u32 portsc, lpm, sts = 0; hw_phymode_configure() local
[all...]
/linux/drivers/soc/pxa/
H A Dmfp.c171 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 Dmfp.h413 #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/powerpc/platforms/ps3/
H A Ddevice-init.c43 result = ps3_repository_read_be_node_id(0, &dev->lpm.node_id); in ps3_register_lpm_devices()
51 result = ps3_repository_read_lpm_privileges(dev->lpm.node_id, &tmp1, in ps3_register_lpm_devices()
52 &dev->lpm.rights); in ps3_register_lpm_devices()
69 if (!(dev->lpm.rights & PS3_LPM_RIGHTS_USE_LPM)) { in ps3_register_lpm_devices()
77 __func__, __LINE__, dev->lpm.pu_id, dev->lpm.rights, in ps3_register_lpm_devices()
78 dev->lpm.rights); in ps3_register_lpm_devices()
80 result = ps3_repository_read_pu_id(0, &dev->lpm.pu_id); in ps3_register_lpm_devices()
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am62p-main.dtsi30 snps,usb2-gadget-lpm-disable;
31 snps,usb2-lpm-disable;
/linux/drivers/s390/block/
H A Ddasd_eckd.c868 __u8 lpm) in dasd_eckd_fill_rcd_cqr()
883 cqr->lpm = lpm;
894 __u8 lpm) in read_conf_cb()
906 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buffer, lpm); in dasd_eckd_read_conf_immediately()
916 int *rcd_buffer_size, __u8 lpm) in dasd_eckd_read_conf_immediately()
946 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buf, lpm); in dasd_eckd_read_conf_lpm()
1101 void *conf_data, __u8 lpm) in dasd_eckd_read_fc_security()
1117 lpm, print_path_uid, print_device_uid); in dasd_eckd_check_cabling() argument
1129 __u8 lpm, op in dasd_eckd_check_cabling()
851 dasd_eckd_fill_rcd_cqr(struct dasd_device * device,struct dasd_ccw_req * cqr,__u8 * rcd_buffer,__u8 lpm) dasd_eckd_fill_rcd_cqr() argument
908 dasd_eckd_read_conf_immediately(struct dasd_device * device,struct dasd_ccw_req * cqr,__u8 * rcd_buffer,__u8 lpm) dasd_eckd_read_conf_immediately() argument
931 dasd_eckd_read_conf_lpm(struct dasd_device * device,void ** rcd_buffer,int * rcd_buffer_size,__u8 lpm) dasd_eckd_read_conf_lpm() argument
1145 __u8 lpm, opm; dasd_eckd_read_conf() local
1246 verify_fcx_max_data(struct dasd_device * device,__u8 lpm) verify_fcx_max_data() argument
1278 __u8 lpm, opm = dasd_path_get_opm(device); rebuild_device_uid() local
1317 __u8 lpm, opm, npm, ppm, epm, hpfpm, cablepm; dasd_eckd_path_available_action() local
[all...]
H A Ddasd_3990_erp.c151 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()
2789 if (test_bit(DASD_CQR_VERIFY_PATH, &erp->flags) && cqr->lpm) { in dasd_3990_erp_action()
2790 erp->lpm = cqr->lpm; in dasd_3990_erp_action()
H A Ddasd.c1404 cqr->lpm &= dasd_path_get_opm(device); in dasd_start_IO()
1405 if (!cqr->lpm) in dasd_start_IO()
1406 cqr->lpm = dasd_path_get_opm(device); in dasd_start_IO()
1410 (long) cqr, cqr->lpm); in dasd_start_IO()
1413 (long) cqr, cqr->lpm, 0); in dasd_start_IO()
1425 * available paths and all these paths are gone. If the lpm of in dasd_start_IO()
1434 cqr->lpm); in dasd_start_IO()
1435 } else if (cqr->lpm != dasd_path_get_opm(device)) { in dasd_start_IO()
1436 cqr->lpm = dasd_path_get_opm(device); in dasd_start_IO()
1808 if (cqr->lpm in dasd_int_handler()
3932 dasd_generic_verify_path(struct dasd_device * device,__u8 lpm) dasd_generic_verify_path() argument
[all...]
/linux/Documentation/devicetree/bindings/usb/
H A Dhisilicon,histb-xhci.txt26 - 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 Dufs-mediatek.c1571 static int ufs_mtk_unipro_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_pre_link()
1578 lpm ? 1 : 0); in ufs_mtk_pre_link()
1579 if (!ret || !lpm) { in ufs_mtk_pre_link()
1585 host->unipro_lpm = lpm; in ufs_mtk_pre_link()
1772 static void ufs_mtk_vccqx_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_dev_vreg_set_lpm() argument
1785 lpm ? REGULATOR_MODE_IDLE : REGULATOR_MODE_NORMAL); in ufs_mtk_dev_vreg_set_lpm()
1788 static void ufs_mtk_vsx_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_dev_vreg_set_lpm()
1792 ufs_mtk_device_pwr_ctrl(!lpm, in ufs_mtk_dev_vreg_set_lpm()
1797 static void ufs_mtk_dev_vreg_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_dev_vreg_set_lpm()
1802 if (lpm in ufs_mtk_dev_vreg_set_lpm()
1546 ufs_mtk_unipro_set_lpm(struct ufs_hba * hba,bool lpm) ufs_mtk_unipro_set_lpm() argument
1747 ufs_mtk_vccqx_set_lpm(struct ufs_hba * hba,bool lpm) ufs_mtk_vccqx_set_lpm() argument
1763 ufs_mtk_vsx_set_lpm(struct ufs_hba * hba,bool lpm) ufs_mtk_vsx_set_lpm() argument
[all...]
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8195-evb.dts187 * Disable usb2 lpm to prevent known issues.
189 usb2-lpm-disable;
/linux/drivers/ps3/
H A DMakefile8 obj-$(CONFIG_PS3_LPM) += ps3-lpm.o
/linux/arch/arm64/boot/dts/socionext/
H A Duniphier-pxs3-ref-gadget1.dts27 snps,usb2-gadget-lpm-disable;
H A Duniphier-pxs3-ref-gadget0.dts27 snps,usb2-gadget-lpm-disable;
/linux/drivers/bluetooth/
H A Dhci_intel.c314 * transactions (lpm suspend/resume) from PM callbacks. in intel_set_power()
919 struct hci_lpm_pkt *lpm = (void *)skb->data; in intel_recv_lpm() local
923 switch (lpm->opcode) { in intel_recv_lpm()
925 if (lpm->dlen < 1) { in intel_recv_lpm()
929 intel_recv_lpm_notify(hdev, lpm->data[0]); in intel_recv_lpm()
942 bt_dev_err(hdev, "Unknown LPM opcode (%02x)", lpm->opcode); in intel_recv_lpm()

123