| /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 | 908 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 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/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;
|
| /linux/arch/powerpc/platforms/ps3/ |
| H A D | device-init.c | 43 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/drivers/s390/block/ |
| H A D | dasd_eckd.c | 851 __u8 lpm) in dasd_eckd_fill_rcd_cqr() argument 874 cqr->lpm = lpm; in dasd_eckd_fill_rcd_cqr() 908 __u8 lpm) in dasd_eckd_read_conf_immediately() argument 920 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buffer, lpm); in dasd_eckd_read_conf_immediately() 931 int *rcd_buffer_size, __u8 lpm) in dasd_eckd_read_conf_lpm() argument 961 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buf, lpm); in dasd_eckd_read_conf_lpm() 1117 void *conf_data, __u8 lpm) in dasd_eckd_check_cabling() argument 1133 lpm, print_path_uid, print_device_uid); in dasd_eckd_check_cabling() 1145 __u8 lpm, opm; in dasd_eckd_read_conf() local 1153 for (lpm = 0x80; lpm; lpm>>= 1) { in dasd_eckd_read_conf() [all …]
|
| 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() 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 D | dasd.c | 1403 cqr->lpm &= dasd_path_get_opm(device); in dasd_start_IO() 1404 if (!cqr->lpm) in dasd_start_IO() 1405 cqr->lpm = dasd_path_get_opm(device); in dasd_start_IO() 1409 (long) cqr, cqr->lpm); in dasd_start_IO() 1412 (long) cqr, cqr->lpm, 0); in dasd_start_IO() 1433 cqr->lpm); in dasd_start_IO() 1434 } else if (cqr->lpm != dasd_path_get_opm(device)) { in dasd_start_IO() 1435 cqr->lpm = dasd_path_get_opm(device); in dasd_start_IO() 1807 if (cqr->lpm == dasd_path_get_opm(device)) in dasd_int_handler() 1813 cqr->lpm = dasd_path_get_opm(device); in dasd_int_handler() [all …]
|
| H A D | dasd_erp.c | 96 cqr->lpm = dasd_path_get_opm(device); in dasd_default_erp_action()
|
| /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/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/ps3/ |
| H A D | Makefile | 8 obj-$(CONFIG_PS3_LPM) += ps3-lpm.o
|
| H A D | ps3-lpm.c | 1190 lpm_priv->node_id = dev->lpm.node_id; in ps3_lpm_probe() 1191 lpm_priv->pu_id = dev->lpm.pu_id; in ps3_lpm_probe() 1192 lpm_priv->rights = dev->lpm.rights; in ps3_lpm_probe()
|
| /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 | 918 struct hci_lpm_pkt *lpm = (void *)skb->data; in intel_recv_lpm() local 922 switch (lpm->opcode) { in intel_recv_lpm() 924 if (lpm->dlen < 1) { in intel_recv_lpm() 928 intel_recv_lpm_notify(hdev, lpm->data[0]); in intel_recv_lpm() 941 bt_dev_err(hdev, "Unknown LPM opcode (%02x)", lpm->opcode); in intel_recv_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);
|