| /Linux-v5.15/drivers/s390/cio/ |
| D | device_pgid.c | 77 req->lpm = lpm_adjust(req->lpm, sch->schib.pmcw.pam & sch->opm & in nop_do() 79 if (!req->lpm) in nop_do() 111 sch->vpm |= req->lpm; in nop_callback() 114 cdev->private->path_noirq_mask |= req->lpm; in nop_callback() 117 cdev->private->path_notoper_mask |= req->lpm; in nop_callback() 123 req->lpm >>= 1; in nop_callback() 138 int i = pathmask_to_pos(req->lpm); in spid_build_cp() 182 req->lpm = sch->schib.pmcw.pam; in pgid_wipeout_start() 201 req->lpm = lpm_adjust(req->lpm, cdev->private->pgid_todo_mask); in spid_do() 202 if (!req->lpm) in spid_do() [all …]
|
| 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, in ccw_device_start_timeout_key() argument 224 if (lpm) { in ccw_device_start_timeout_key() 225 lpm &= sch->lpm; in ccw_device_start_timeout_key() 226 if (lpm == 0) in ccw_device_start_timeout_key() 229 ret = cio_start_key (sch, cpa, lpm, key); in ccw_device_start_timeout_key() 251 * @lpm: defines the channel path to be used for a specific I/O request. A 266 * -%EACCES, if no path specified in @lpm is operational; 272 unsigned long intparm, __u8 lpm, __u8 key, in ccw_device_start_key() argument [all …]
|
| D | ccwreq.c | 24 * @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() 50 req->mask = lpm_adjust(req->mask >> 1, req->lpm); in ccwreq_next_path() 128 req->mask = req->lpm; in ccw_request_start() 131 req->mask = lpm_adjust(req->mask, req->lpm); in ccw_request_start() [all …]
|
| D | cio.c | 99 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 …]
|
| D | vfio_ccw_fsm.c | 23 __u8 lpm; in fsm_io_helper() local 31 orb = cp_get_orb(&private->cp, (u32)(addr_t)sch, sch->lpm); in fsm_io_helper() 60 lpm = orb->cmd.lpm; in fsm_io_helper() 61 if (lpm != 0) in fsm_io_helper() 62 sch->lpm &= ~lpm; in fsm_io_helper() 64 sch->lpm = 0; in fsm_io_helper() 69 ret = sch->lpm ? -EACCES : -ENODEV; in fsm_io_helper()
|
| D | cio.h | 31 u8 lpm; /* logical path mask */ member 95 __u8 lpm; /* logical path mask */ member 126 int cio_tm_start_key(struct subchannel *sch, struct tcw *tcw, u8 lpm, u8 key);
|
| D | io_sch.h | 65 * @lpm: mask of paths to use 70 * @singlepath: if set, use only one path from @lpm per start I/O 81 u8 lpm; member
|
| /Linux-v5.15/Documentation/devicetree/bindings/usb/ |
| D | usb-xhci.yaml | 16 usb2-lpm-disable: 17 description: Indicates if we don't want to enable USB2 HW LPM 20 usb3-lpm-capable: 21 description: Determines if platform is USB3 LPM capable 40 usb2-lpm-disable; 41 usb3-lpm-capable;
|
| 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
|
| D | snps,dwc3.yaml | 89 snps,usb2-lpm-disable: 90 description: Indicate if we don't want to enable USB2 HW LPM for host 95 description: Determines if platform is USB3 LPM capable 98 snps,usb2-gadget-lpm-disable: 99 description: Indicate if we don't want to enable USB2 HW LPM for gadget 115 snps,has-lpm-erratum: 116 description: True when DWC3 was configured with LPM Erratum enabled 119 snps,lpm-nyet-threshold: 120 description: LPM NYET threshold
|
| D | mediatek,mtk-xhci.yaml | 115 usb3-lpm-capable: true 117 usb2-lpm-disable: true 207 usb3-lpm-capable;
|
| /Linux-v5.15/Documentation/ABI/testing/ |
| D | sysfs-bus-usb | 131 If CONFIG_PM is set and a USB 2.0 lpm-capable device is plugged 132 in to a xHCI host which support link PM, it will perform a LPM 133 test; if the test is passed and host supports USB2 hardware LPM 134 (xHCI 1.0 feature), USB2 hardware LPM will be enabled for the 137 or disable) indicating whether or not USB2 hardware LPM is 147 If CONFIG_PM is set and a USB 3.0 lpm-capable device is plugged 150 the check is passed and the host supports USB3 hardware LPM, 151 USB3 hardware LPM will be enabled for the device and the USB 155 or not USB3 hardware LPM U1 or U2 is enabled for the device. 240 Some USB3.0 devices are not friendly to USB3 LPM. usb3_lpm_permit [all …]
|
| /Linux-v5.15/drivers/regulator/ |
| D | mcp16502.c | 39 * controlled via GPIO lines called LPM and HPM. 44 * state by setting the GPIO lpm pin high/low. 146 * @lpm: LPM GPIO descriptor 149 struct gpio_desc *lpm; member 161 gpiod_set_value(mcp->lpm, 0); in mcp16502_gpio_set_mode() 165 gpiod_set_value(mcp->lpm, 1); in mcp16502_gpio_set_mode() 184 return MCP16502_REG_BASE(rdev_get_id(rdev), LPM); in mcp16502_get_state_reg() 530 mcp->lpm = devm_gpiod_get_optional(dev, "lpm", GPIOD_OUT_LOW); in mcp16502_probe() 531 if (IS_ERR(mcp->lpm)) { in mcp16502_probe() 532 dev_err(dev, "failed to get lpm pin: %ld\n", PTR_ERR(mcp->lpm)); in mcp16502_probe() [all …]
|
| /Linux-v5.15/Documentation/networking/devlink/ |
| D | devlink-dpipe.rst | 15 For example, the routing longest prefix match (LPM) algorithm used by the 31 One example is the kernel's LPM algorithm which in many cases differs 127 LPM are not supported due to the fact that this is exactly a process we wish 166 LPM section in Abstraction Example 169 The LPM algorithm can be implemented as a list of hash tables. Each hash 177 The ``meta.lpm_prefix`` field is used to connect two LPM tables. 197 In the case of local routes the LPM lookup already resolves the egress 215 In case of remote routes this table does the ECMP. The LPM lookup results in 218 and the packet's hash a local offset is generated. Multiple LPM entries can
|
| /Linux-v5.15/drivers/bluetooth/ |
| D | hci_intel.c | 140 bt_dev_err(hu->hdev, "LPM transaction interrupted"); in intel_wait_lpm_transaction() 145 bt_dev_err(hu->hdev, "LPM transaction timeout"); in intel_wait_lpm_transaction() 169 bt_dev_err(hu->hdev, "Failed to alloc memory for LPM packet"); in intel_lpm_suspend() 178 /* LPM flow is a priority, enqueue packet at list head */ in intel_lpm_suspend() 214 bt_dev_err(hu->hdev, "Failed to alloc memory for LPM packet"); in intel_lpm_resume() 222 /* LPM flow is a priority, enqueue packet at list head */ in intel_lpm_resume() 254 bt_dev_err(hu->hdev, "Failed to alloc memory for LPM packet"); in intel_lpm_host_wake() 261 /* LPM flow is a priority, enqueue packet at list head */ in intel_lpm_host_wake() 281 /* Host/Controller are now LPM resumed, trigger a new delayed suspend */ in intel_irq() 316 /* Provide to idev a hu reference which is used to run LPM in intel_set_power() [all …]
|
| /Linux-v5.15/drivers/usb/chipidea/ |
| D | core.c | 200 enum ci_hw_regs reg = ci->hw_bank.lpm ? OP_DEVLC : OP_PORTSC; in ci_hdrc_enter_lpm_common() 201 bool lpm = !!(hw_read(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm))); in ci_hdrc_enter_lpm_common() local 203 if (enable && !lpm) in ci_hdrc_enter_lpm_common() 204 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm_common() 205 PORTSC_PHCD(ci->hw_bank.lpm)); in ci_hdrc_enter_lpm_common() 206 else 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() 230 ci->hw_bank.lpm = reg; in hw_device_init() 255 "revision: %d, lpm: %d; cap: %px op: %px\n", in hw_device_init() 256 ci->rev, ci->hw_bank.lpm, ci->hw_bank.cap, ci->hw_bank.op); in hw_device_init() [all …]
|
| /Linux-v5.15/drivers/ps3/ |
| D | ps3-lpm.c | 77 * The initial value of the shadow registers at lpm creation is 91 * struct ps3_lpm_priv - Private lpm device data. 93 * @open: An atomic variable indicating the lpm driver has been opened. 94 * @rights: The lpm rigths granted by the system policy module. A logical 99 * @lpm_id: The lv1 id of this lpm instance. 100 * @outlet_id: The outlet created by lv1 for this lpm instance. 137 * lpm_priv - Static instance of the lpm data. 157 * to start/stop LPM. 384 * ps3_read_pm - Read Other LPM control registers. 436 * ps3_write_pm - Write Other LPM control registers. [all …]
|
| /Linux-v5.15/arch/arm/plat-pxa/ |
| D | mfp.c | 45 * non-LPM pulled output, the same configuration could probably be used. 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-v5.15/Documentation/driver-api/usb/ |
| D | usb3-debug-port.rst | 76 [ 1815.999595] usb 4-3: LPM exit latency is zeroed, disabling LPM. 144 [ 79.475003] usb 2-2.1: LPM exit latency is zeroed, disabling LPM.
|
| D | power-management.rst | 529 enabling hardware LPM, the host can automatically put the device into 533 The user interface for controlling hardware LPM is located in the 540 When a USB2 device which support LPM is plugged to a 541 xHCI host root hub which support software LPM, the 542 host will run a software LPM test for it; if the device 544 supports USB2 hardware LPM, this file will show up and 545 driver will enable hardware LPM for the device. You 547 USB2 hardware LPM manually. This is for test purpose mainly. 552 When a USB 3.0 lpm-capable device is plugged in to a 556 supports USB3 hardware LPM, USB3 hardware LPM will be [all …]
|
| /Linux-v5.15/Documentation/devicetree/bindings/regulator/ |
| D | mcp16502-regulator.txt | 6 - lpm-gpios: GPIO for LPM pin. Note that this GPIO *must* remain high during 34 lpm-gpios = <&pioBU 7 GPIO_ACTIVE_HIGH>;
|
| /Linux-v5.15/arch/powerpc/platforms/ps3/ |
| D | device-init.c | 40 /* The current lpm driver only supports a single BE processor. */ in ps3_register_lpm_devices() 42 result = ps3_repository_read_be_node_id(0, &dev->lpm.node_id); in ps3_register_lpm_devices() 50 result = ps3_repository_read_lpm_privileges(dev->lpm.node_id, &tmp1, in ps3_register_lpm_devices() 51 &dev->lpm.rights); in ps3_register_lpm_devices() 68 if (!(dev->lpm.rights & PS3_LPM_RIGHTS_USE_LPM)) { in ps3_register_lpm_devices() 69 pr_debug("%s:%d: don't have rights to use lpm\n", in ps3_register_lpm_devices() 76 __func__, __LINE__, dev->lpm.pu_id, dev->lpm.rights, in ps3_register_lpm_devices() 77 dev->lpm.rights); in ps3_register_lpm_devices() 79 result = ps3_repository_read_pu_id(0, &dev->lpm.pu_id); in ps3_register_lpm_devices()
|
| /Linux-v5.15/drivers/s390/block/ |
| D | dasd_eckd.c | 819 __u8 lpm) in dasd_eckd_fill_rcd_cqr() argument 842 cqr->lpm = lpm; in dasd_eckd_fill_rcd_cqr() 876 __u8 lpm) in dasd_eckd_read_conf_immediately() argument 888 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buffer, lpm); in dasd_eckd_read_conf_immediately() 899 int *rcd_buffer_size, __u8 lpm) in dasd_eckd_read_conf_lpm() argument 929 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buf, lpm); in dasd_eckd_read_conf_lpm() 1079 __u8 lpm, opm; in dasd_eckd_read_conf() local 1089 for (lpm = 0x80; lpm; lpm>>= 1) { in dasd_eckd_read_conf() 1090 if (!(lpm & opm)) in dasd_eckd_read_conf() 1093 &conf_len, lpm); in dasd_eckd_read_conf() [all …]
|
| /Linux-v5.15/drivers/usb/dwc2/ |
| D | params.c | 130 p->lpm = false; in dwc2_set_amlogic_g12a_params() 198 p->lpm = false; in dwc2_set_stm32mp15_hsotg_params() 351 p->lpm = hsotg->hw_params.lpm_mode; in dwc2_set_param_lpm() 352 if (p->lpm) { in dwc2_set_param_lpm() 682 CHECK_BOOL(lpm, (hsotg->hw_params.snpsid >= DWC2_CORE_REV_2_80a)); in dwc2_check_params() 683 CHECK_BOOL(lpm, hw->lpm_mode); in dwc2_check_params() 684 CHECK_BOOL(lpm_clock_gating, hsotg->params.lpm); in dwc2_check_params() 685 CHECK_BOOL(besl, hsotg->params.lpm); in dwc2_check_params() 687 CHECK_BOOL(hird_threshold_en, hsotg->params.lpm); in dwc2_check_params()
|
| /Linux-v5.15/arch/arm/plat-pxa/include/plat/ |
| D | mfp.h | 415 #define MFP_CFG_LPM(pin, af, lpm) \ argument 417 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_LPM_##lpm)) 419 #define MFP_CFG_X(pin, af, drv, lpm) \ argument 421 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_##drv | MFP_LPM_##lpm))
|