Searched refs:lpm (Results 1 - 25 of 53) sorted by last modified time

123

/linux-master/arch/powerpc/platforms/ps3/
H A Ddevice-init.c40 /* 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 Dufs-mediatek.c1155 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 Ddasd_eckd.c813 __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 Ddasd_3990_erp.c151 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 Ddasd.c1402 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 Dhci_intel.c317 * 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 Dlibata-core.c6369 force_horkage_onoff(lpm, ATA_HORKAGE_NOLPM),
/linux-master/drivers/s390/cio/
H A Dtrace.h56 __entry->pmcw_lpm = schib->pmcw.lpm;
66 "lpm=0x%02x pnom=0x%02x lpum=0x%02x pim=0x%02x pam=0x%02x "
H A Dchsc.c243 sch->lpm = 0;
H A Ddevice_ops.c166 * @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 Ddevice.c557 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 Ddevice_fsm.c60 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 Dvfio_ccw_fsm.c24 __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 Dvfio_ccw_cp.c877 if (orb->cmd.lpm == 0)
878 orb->cmd.lpm = sch->lpm;
H A Ddevice_status.c67 sch->lpm &= ~sch->schib.pmcw.pnom;
H A Dorb.h36 u32 lpm:8; /* logical path mask */ member in struct:cmd_orb
52 u32 lpm:8; member in struct:tm_orb
H A Ddevice_pgid.c78 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 Ddevice_id.c221 req->lpm = sch->schib.pmcw.pam & sch->opm;
H A Dcio.c99 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 Dhcd.c63 if (dwc2_is_device_mode(hsotg) && hsotg->params.lpm)
H A Dgadget.c5003 if (hsotg->params.lpm)
5272 if (!hsotg->params.lpm)
H A Dcore.h364 * @lpm: Enable LPM support.
463 bool lpm; member in struct:dwc2_core_params
/linux-master/arch/s390/include/asm/
H A Dfcx.h195 * @lpm: Logical-Path Mask
209 u32 lpm:8; member in struct:dcw_intrg_data
H A Dccwdev.h189 unsigned long intparm, u8 lpm, u8 key);
/linux-master/drivers/gpu/drm/bridge/
H A Dsamsung-dsim.c1068 static void samsung_dsim_set_cmd_lpm(struct samsung_dsim *dsi, bool lpm) argument
1072 if (lpm)

Completed in 337 milliseconds

123