/linux-master/arch/powerpc/platforms/ps3/ |
H A D | device-init.c | 40 /* The current lpm driver only supports a single BE processor. */ 42 result = ps3_repository_read_be_node_id(0, &dev->lpm.node_id); 50 result = ps3_repository_read_lpm_privileges(dev->lpm.node_id, &tmp1, 51 &dev->lpm.rights); 68 if (!(dev->lpm.rights & PS3_LPM_RIGHTS_USE_LPM)) { 69 pr_debug("%s:%d: don't have rights to use lpm\n", 76 __func__, __LINE__, dev->lpm.pu_id, dev->lpm.rights, 77 dev->lpm.rights); 79 result = ps3_repository_read_pu_id(0, &dev->lpm [all...] |
/linux-master/drivers/ufs/host/ |
H A D | ufs-mediatek.c | 1155 static int ufs_mtk_unipro_set_lpm(struct ufs_hba *hba, bool lpm) argument 1162 lpm ? 1 : 0); 1163 if (!ret || !lpm) { 1169 host->unipro_lpm = lpm; 1340 static void ufs_mtk_vccqx_set_lpm(struct ufs_hba *hba, bool lpm) argument 1350 lpm ? REGULATOR_MODE_IDLE : REGULATOR_MODE_NORMAL); 1353 static void ufs_mtk_vsx_set_lpm(struct ufs_hba *hba, bool lpm) argument 1357 ufs_mtk_device_pwr_ctrl(!lpm, 1362 static void ufs_mtk_dev_vreg_set_lpm(struct ufs_hba *hba, bool lpm) argument 1367 if (lpm [all...] |
/linux-master/drivers/s390/block/ |
H A D | dasd_eckd.c | 813 __u8 lpm) 836 cqr->lpm = lpm; 870 __u8 lpm) 882 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buffer, lpm); 893 int *rcd_buffer_size, __u8 lpm) 923 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buf, lpm); 1079 void *conf_data, __u8 lpm) 1095 lpm, print_path_uid, print_device_uid); 1107 __u8 lpm, op local 810 dasd_eckd_fill_rcd_cqr(struct dasd_device *device, struct dasd_ccw_req *cqr, __u8 *rcd_buffer, __u8 lpm) argument 867 dasd_eckd_read_conf_immediately(struct dasd_device *device, struct dasd_ccw_req *cqr, __u8 *rcd_buffer, __u8 lpm) argument 891 dasd_eckd_read_conf_lpm(struct dasd_device *device, void **rcd_buffer, int *rcd_buffer_size, __u8 lpm) argument 1078 dasd_eckd_check_cabling(struct dasd_device *device, void *conf_data, __u8 lpm) argument 1208 verify_fcx_max_data(struct dasd_device *device, __u8 lpm) argument 1240 __u8 lpm, opm = dasd_path_get_opm(device); local 1279 __u8 lpm, opm, npm, ppm, epm, hpfpm, cablepm; local [all...] |
H A D | dasd_3990_erp.c | 151 if (erp->lpm == 0) 152 erp->lpm = dasd_path_get_opm(device) & 155 erp->lpm &= ~(erp->irb.esw.esw0.sublog.lpum); 157 if ((erp->lpm & opm) != 0x00) { 160 "try alternate lpm=%x (lpum=%x / opm=%x)", 161 erp->lpm, erp->irb.esw.esw0.sublog.lpum, opm); 273 erp->lpm = dasd_path_get_opm(erp->startdev); 1911 /* reset the lpm and the status to be able to 1913 erp->lpm = dasd_path_get_opm(erp->startdev); 2794 if (test_bit(DASD_CQR_VERIFY_PATH, &erp->flags) && cqr->lpm) { [all...] |
H A D | dasd.c | 1402 cqr->lpm &= dasd_path_get_opm(device); 1403 if (!cqr->lpm) 1404 cqr->lpm = dasd_path_get_opm(device); 1415 (long) cqr, cqr->lpm); 1418 (long) cqr, cqr->lpm, 0); 1430 * available paths and all these paths are gone. If the lpm of 1439 cqr->lpm); 1440 } else if (cqr->lpm != dasd_path_get_opm(device)) { 1441 cqr->lpm = dasd_path_get_opm(device); 1807 if (cqr->lpm 3827 dasd_generic_verify_path(struct dasd_device *device, __u8 lpm) argument [all...] |
/linux-master/drivers/bluetooth/ |
H A D | hci_intel.c | 317 * transactions (lpm suspend/resume) from PM callbacks. 922 struct hci_lpm_pkt *lpm = (void *)skb->data; local 926 switch (lpm->opcode) { 928 if (lpm->dlen < 1) { 932 intel_recv_lpm_notify(hdev, lpm->data[0]); 945 bt_dev_err(hdev, "Unknown LPM opcode (%02x)", lpm->opcode);
|
/linux-master/drivers/ata/ |
H A D | libata-core.c | 6369 force_horkage_onoff(lpm, ATA_HORKAGE_NOLPM),
|
/linux-master/drivers/s390/cio/ |
H A D | trace.h | 56 __entry->pmcw_lpm = schib->pmcw.lpm; 66 "lpm=0x%02x pnom=0x%02x lpum=0x%02x pim=0x%02x pam=0x%02x "
|
H A D | chsc.c | 243 sch->lpm = 0;
|
H A D | device_ops.c | 166 * @lpm: defines the channel path to be used for a specific I/O request. A 186 * -%EACCES, if no path specified in @lpm is operational; 192 unsigned long intparm, __u8 lpm, __u8 key, 228 if (lpm) { 229 lpm &= sch->lpm; 230 if (lpm == 0) 233 ret = cio_start_key (sch, cpa, lpm, key); 255 * @lpm: defines the channel path to be used for a specific I/O request. A 270 * -%EACCES, if no path specified in @lpm i 191 ccw_device_start_timeout_key(struct ccw_device *cdev, struct ccw1 *cpa, unsigned long intparm, __u8 lpm, __u8 key, unsigned long flags, int expires) argument 275 ccw_device_start_key(struct ccw_device *cdev, struct ccw1 *cpa, unsigned long intparm, __u8 lpm, __u8 key, unsigned long flags) argument 309 ccw_device_start(struct ccw_device *cdev, struct ccw1 *cpa, unsigned long intparm, __u8 lpm, unsigned long flags) argument 347 ccw_device_start_timeout(struct ccw_device *cdev, struct ccw1 *cpa, unsigned long intparm, __u8 lpm, unsigned long flags, int expires) argument 543 ccw_device_tm_start_timeout_key(struct ccw_device *cdev, struct tcw *tcw, unsigned long intparm, u8 lpm, u8 key, int expires) argument 596 ccw_device_tm_start_key(struct ccw_device *cdev, struct tcw *tcw, unsigned long intparm, u8 lpm, u8 key) argument 613 ccw_device_tm_start(struct ccw_device *cdev, struct tcw *tcw, unsigned long intparm, u8 lpm) argument 632 ccw_device_tm_start_timeout(struct ccw_device *cdev, struct tcw *tcw, unsigned long intparm, u8 lpm, int expires) argument [all...] |
H A D | device.c | 557 if (!sch->lpm) 1012 sch->lpm = sch->schib.pmcw.pam & sch->opm; 1161 sch->lpm &= ~mask; 1168 sch->lpm |= mask; 1183 sch->lpm |= mask & sch->opm;
|
H A D | device_fsm.c | 60 printk(KERN_WARNING "cio: subchannel lpm: %02x, opm: %02x, " 61 "vpm: %02x\n", sch->lpm, sch->opm, sch->vpm); 175 if (!(sch->lpm & mask)) 202 old_lpm = sch->lpm; 208 sch->lpm = sch->schib.pmcw.pam & sch->opm; 213 if (sch->lpm != old_lpm) 494 /* Update lpm with verified path mask. */ 495 sch->lpm = sch->vpm; 953 sch->lpm = sch->schib.pmcw.pam & sch->opm;
|
H A D | vfio_ccw_fsm.c | 24 __u8 lpm; local 59 lpm = orb->cmd.lpm; 60 if (lpm != 0) 61 sch->lpm &= ~lpm; 63 sch->lpm = 0; 68 ret = sch->lpm ? -EACCES : -ENODEV;
|
H A D | vfio_ccw_cp.c | 877 if (orb->cmd.lpm == 0) 878 orb->cmd.lpm = sch->lpm;
|
H A D | device_status.c | 67 sch->lpm &= ~sch->schib.pmcw.pnom;
|
H A D | orb.h | 36 u32 lpm:8; /* logical path mask */ member in struct:cmd_orb 52 u32 lpm:8; member in struct:tm_orb
|
H A D | device_pgid.c | 78 req->lpm = lpm_adjust(req->lpm, sch->schib.pmcw.pam & sch->opm & 80 if (!req->lpm) 112 sch->vpm |= req->lpm; 115 cdev->private->path_noirq_mask |= req->lpm; 118 cdev->private->path_notoper_mask |= req->lpm; 124 req->lpm >>= 1; 139 int i = pathmask_to_pos(req->lpm); 183 req->lpm = sch->schib.pmcw.pam; 202 req->lpm 306 int lpm; local 338 int lpm; local [all...] |
H A D | device_id.c | 221 req->lpm = sch->schib.pmcw.pam & sch->opm;
|
H A D | cio.c | 99 cio_start_handle_notoper(struct subchannel *sch, __u8 lpm) argument 103 if (lpm != 0) 104 sch->lpm &= ~lpm; 106 sch->lpm = 0; 119 return (sch->lpm ? -EACCES : -ENODEV); 125 __u8 lpm, /* logical path mask */ 143 orb->cmd.lpm = (lpm != 0) ? lpm 123 cio_start_key(struct subchannel *sch, struct ccw1 * cpa, __u8 lpm, __u8 key) argument 176 cio_start(struct subchannel *sch, struct ccw1 *cpa, __u8 lpm) argument 710 cio_tm_start_key(struct subchannel *sch, struct tcw *tcw, u8 lpm, u8 key) argument [all...] |
/linux-master/drivers/usb/dwc2/ |
H A D | hcd.c | 63 if (dwc2_is_device_mode(hsotg) && hsotg->params.lpm)
|
H A D | gadget.c | 5003 if (hsotg->params.lpm) 5272 if (!hsotg->params.lpm)
|
H A D | core.h | 364 * @lpm: Enable LPM support. 463 bool lpm; member in struct:dwc2_core_params
|
/linux-master/arch/s390/include/asm/ |
H A D | fcx.h | 195 * @lpm: Logical-Path Mask 209 u32 lpm:8; member in struct:dcw_intrg_data
|
H A D | ccwdev.h | 189 unsigned long intparm, u8 lpm, u8 key);
|
/linux-master/drivers/gpu/drm/bridge/ |
H A D | samsung-dsim.c | 1068 static void samsung_dsim_set_cmd_lpm(struct samsung_dsim *dsi, bool lpm) argument 1072 if (lpm)
|