Home
last modified time | relevance | path

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

1234

/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 in spid_do()
306 int lpm; pgid_analyze() local
338 int lpm; pgid_to_donepm() local
[all...]
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, in ccw_device_start_timeout_key() argument
228 if (lpm) { in ccw_device_start_timeout_key()
229 lpm &= sch->lpm; in ccw_device_start_timeout_key()
230 if (lpm == 0) in ccw_device_start_timeout_key()
233 ret = cio_start_key (sch, cpa, lpm, key); in ccw_device_start_timeout_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
276 ccw_device_start_key(struct ccw_device * cdev,struct ccw1 * cpa,unsigned long intparm,__u8 lpm,__u8 key,unsigned long flags) ccw_device_start_key() argument
310 ccw_device_start(struct ccw_device * cdev,struct ccw1 * cpa,unsigned long intparm,__u8 lpm,unsigned long flags) ccw_device_start() argument
348 ccw_device_start_timeout(struct ccw_device * cdev,struct ccw1 * cpa,unsigned long intparm,__u8 lpm,unsigned long flags,int expires) ccw_device_start_timeout() argument
544 ccw_device_tm_start_timeout_key(struct ccw_device * cdev,struct tcw * tcw,unsigned long intparm,u8 lpm,u8 key,int expires) ccw_device_tm_start_timeout_key() argument
597 ccw_device_tm_start_key(struct ccw_device * cdev,struct tcw * tcw,unsigned long intparm,u8 lpm,u8 key) ccw_device_tm_start_key() argument
614 ccw_device_tm_start(struct ccw_device * cdev,struct tcw * tcw,unsigned long intparm,u8 lpm) ccw_device_tm_start() argument
633 ccw_device_tm_start_timeout(struct ccw_device * cdev,struct tcw * tcw,unsigned long intparm,u8 lpm,int expires) ccw_device_tm_start_timeout() argument
[all...]
H A Dcio.c100 cio_start_handle_notoper(struct subchannel *sch, __u8 lpm) in cio_start_handle_notoper() argument
104 if (lpm != 0) in cio_start_handle_notoper()
105 sch->lpm &= ~lpm; in cio_start_handle_notoper()
107 sch->lpm = 0; in cio_start_handle_notoper()
120 return (sch->lpm ? -EACCES : -ENODEV); in cio_start_handle_notoper()
126 __u8 lpm, /* logical path mask */ in cio_start_key() argument
144 orb->cmd.lpm = (lpm != 0) ? lpm in cio_start_key()
177 cio_start(struct subchannel * sch,struct ccw1 * cpa,__u8 lpm) cio_start() argument
714 cio_tm_start_key(struct subchannel * sch,struct tcw * tcw,u8 lpm,u8 key) cio_tm_start_key() argument
[all...]
H A Dccwreq.c24 * @lpm: path mask to adjust
27 * Shift @lpm right until @lpm and @mask have at least one bit in common or
28 * until @lpm is zero. Return the resulting lpm.
30 int lpm_adjust(int lpm, int mask) in lpm_adjust() argument
32 while (lpm && ((lpm & mask) == 0)) in lpm_adjust()
33 lpm >>= 1; in lpm_adjust()
34 return lpm; in lpm_adjust()
238 u8 lpm; ccwreq_log_status() member
[all...]
H A Dcio.h31 u8 lpm; /* logical path mask */ member
95 __u8 lpm; /* logical path mask */ member
130 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 Dvfio_ccw_drv.c323 sch->lpm &= ~mask; in vfio_ccw_chp_event()
337 sch->lpm |= mask; in vfio_ccw_chp_event()
341 sch->lpm |= mask & sch->opm; in vfio_ccw_chp_event()
H A Ddevice.h110 int lpm_adjust(int lpm, int mask);
/linux/drivers/usb/chipidea/
H A Dcore.c202 enum ci_hw_regs reg = ci->hw_bank.lpm ? OP_DEVLC : OP_PORTSC; in ci_hdrc_enter_lpm_common()
203 bool lpm = !!(hw_read(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm))); in ci_hdrc_enter_lpm_common() local
205 if (enable && !lpm) in ci_hdrc_enter_lpm_common()
206 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm_common()
207 PORTSC_PHCD(ci->hw_bank.lpm)); in ci_hdrc_enter_lpm_common()
208 else if (!enable && lpm) in ci_hdrc_enter_lpm_common()
209 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm_common()
232 ci->hw_bank.lpm = reg; in hw_device_init()
257 "revision: %d, lpm in hw_device_init()
271 u32 portsc, lpm, sts = 0; hw_phymode_configure() local
[all...]
/linux/drivers/regulator/
H A Dmcp16502.c43 * state by setting the GPIO lpm pin high/low.
147 * @lpm: LPM GPIO descriptor
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()
[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/drivers/usb/dwc2/
H A Dparams.c129 p->lpm = false; in dwc2_set_rk_params()
189 p->lpm = false; in dwc2_set_amlogic_g12a_params()
208 p->lpm = false; in dwc2_set_amlogic_a1_params()
233 p->lpm = false; in dwc2_set_cv1800_params()
300 p->lpm = false; in dwc2_set_stm32mp15_hsotg_params()
486 p->lpm = hsotg->hw_params.lpm_mode; in dwc2_set_param_lpm()
487 if (p->lpm) { in dwc2_set_param_lpm()
838 CHECK_BOOL(lpm, (hsotg->hw_params.snpsid >= DWC2_CORE_REV_2_80a)); in dwc2_check_params()
839 CHECK_BOOL(lpm, hw->lpm_mode); in dwc2_check_params()
840 CHECK_BOOL(lpm_clock_gating, hsotg->params.lpm); in dwc2_check_params()
[all...]
/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/drivers/s390/block/
H A Ddasd_eckd.c815 __u8 lpm) in dasd_eckd_fill_rcd_cqr() argument
838 cqr->lpm = lpm; in dasd_eckd_fill_rcd_cqr()
872 __u8 lpm) in dasd_eckd_read_conf_immediately() argument
884 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buffer, lpm); in dasd_eckd_read_conf_immediately()
895 int *rcd_buffer_size, __u8 lpm) in dasd_eckd_read_conf_lpm() argument
925 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buf, lpm); in dasd_eckd_read_conf_lpm()
1081 void *conf_data, __u8 lpm) in dasd_eckd_check_cabling() argument
1097 lpm, print_path_uid, print_device_uid); in dasd_eckd_check_cabling()
1109 __u8 lpm, op in dasd_eckd_read_conf() local
1210 verify_fcx_max_data(struct dasd_device * device,__u8 lpm) verify_fcx_max_data() argument
1242 __u8 lpm, opm = dasd_path_get_opm(device); rebuild_device_uid() local
1281 __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()
160 "try alternate lpm=%x (lpum=%x / opm=%x)", 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()
1905 /* reset the lpm and the status to be able to in dasd_3990_erp_compound_path()
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()
[all...]
/linux/arch/powerpc/platforms/ps3/
H A Ddevice-init.c41 /* The current lpm driver only supports a single BE processor. */ in ps3_register_lpm_devices()
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()
70 pr_debug("%s:%d: don't have rights to use lpm\n", 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 in ps3_register_lpm_devices()
[all...]
/linux/drivers/ufs/host/
H A Dufs-mediatek.c1321 static int ufs_mtk_unipro_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_unipro_set_lpm() argument
1328 lpm ? 1 : 0); in ufs_mtk_unipro_set_lpm()
1329 if (!ret || !lpm) { in ufs_mtk_unipro_set_lpm()
1335 host->unipro_lpm = lpm; in ufs_mtk_unipro_set_lpm()
1506 static void ufs_mtk_vccqx_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_vccqx_set_lpm() argument
1516 lpm ? REGULATOR_MODE_IDLE : REGULATOR_MODE_NORMAL); in ufs_mtk_vccqx_set_lpm()
1519 static void ufs_mtk_vsx_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_vsx_set_lpm() argument
1523 ufs_mtk_device_pwr_ctrl(!lpm, in ufs_mtk_vsx_set_lpm()
1528 static void ufs_mtk_dev_vreg_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_dev_vreg_set_lpm() argument
1533 if (lpm in ufs_mtk_dev_vreg_set_lpm()
[all...]
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am62p-main.dtsi30 snps,usb2-gadget-lpm-disable;
31 snps,usb2-lpm-disable;
/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/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/drivers/gpu/drm/bridge/synopsys/
H A Ddw-mipi-dsi2.c570 u32 hdr_val, bool lpm) in dw_mipi_dsi2_gen_pkt_hdr_write() argument
574 regmap_write(dsi2->regmap, DSI2_CRI_TX_HDR, hdr_val | CMD_TX_MODE(lpm)); in dw_mipi_dsi2_gen_pkt_hdr_write()
586 const struct mipi_dsi_packet *packet, bool lpm) in dw_mipi_dsi2_write() argument
609 return dw_mipi_dsi2_gen_pkt_hdr_write(dsi2, le32_to_cpu(word), lpm); in dw_mipi_dsi2_write()
654 bool lpm = msg->flags & MIPI_DSI_MSG_USE_LPM; in dw_mipi_dsi2_host_transfer() local
660 lpm ? LPDT_DISPLAY_CMD_EN : 0); in dw_mipi_dsi2_host_transfer()
673 ret = dw_mipi_dsi2_write(dsi2, &packet, lpm); in dw_mipi_dsi2_host_transfer()
/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.c317 * transactions (lpm suspend/resume) from PM callbacks. in intel_set_power()
922 struct hci_lpm_pkt *lpm = (void *)skb->data; in intel_recv_lpm() local
926 switch (lpm->opcode) { in intel_recv_lpm()
928 if (lpm->dlen < 1) { in intel_recv_lpm()
932 intel_recv_lpm_notify(hdev, lpm->data[0]); in intel_recv_lpm()
945 bt_dev_err(hdev, "Unknown LPM opcode (%02x)", lpm->opcode); in intel_recv_lpm()

1234