/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 | 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 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 is operational; 276 unsigned long intparm, __u8 lpm, __u8 key, in ccw_device_start_key() argument [all …]
|
H A 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 …]
|
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 | 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
|
H A D | orb.h | 36 u32 lpm:8; /* logical path mask */ member 52 u32 lpm:8; member
|
/linux/Documentation/devicetree/bindings/usb/ |
H A 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 46 usb2-lpm-disable; 47 usb3-lpm-capable;
|
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
|
H A D | mediatek,mtk-xhci.yaml | 118 usb3-lpm-capable: true 120 usb2-lpm-disable: true 225 usb3-lpm-capable;
|
H A D | starfive,jh7110-usb.yaml | 47 - const: lpm 97 clock-names = "lpm", "stb", "apb", "axi", "utmi_apb";
|
/linux/Documentation/bpf/ |
H A D | map_lpm_trie.rst | 18 LPM tries may be created with a maximum prefix length that is a multiple 26 The value type stored in the LPM trie can be any user defined type. 96 A userspace program can iterate through the entries in an LPM trie using 104 ``bpf_map_get_next_key()`` will iterate through the LPM trie elements 112 of LPM trie usage from userspace. The code snippets below demonstrate 118 The following BPF code snippet shows how to declare a new LPM trie for IPv4 157 LPM trie: 171 of an LPM trie:
|
/linux/drivers/regulator/ |
H A D | mcp16502.c | 38 * controlled via GPIO lines called LPM and HPM. 43 * 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() 185 return MCP16502_REG_BASE(rdev_get_id(rdev), LPM); in mcp16502_get_state_reg() 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/Documentation/networking/devlink/ |
H A 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/drivers/bluetooth/ |
H A 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/Documentation/ABI/testing/ |
H A D | sysfs-bus-usb | 97 If CONFIG_PM is set and a USB 2.0 lpm-capable device is plugged 98 in to a xHCI host which support link PM, it will perform a LPM 99 test; if the test is passed and host supports USB2 hardware LPM 100 (xHCI 1.0 feature), USB2 hardware LPM will be enabled for the 103 or disable) indicating whether or not USB2 hardware LPM is 113 If CONFIG_PM is set and a USB 3.0 lpm-capable device is plugged 116 the check is passed and the host supports USB3 hardware LPM, 117 USB3 hardware LPM will be enabled for the device and the USB 121 or not USB3 hardware LPM U1 or U2 is enabled for the device. 223 Some USB3.0 devices are not friendly to USB3 LPM. usb3_lpm_permit [all …]
|
/linux/drivers/soc/pxa/ |
H A 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/Documentation/driver-api/usb/ |
H A 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.
|
H A 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/drivers/ufs/host/ |
H A D | ufs-mediatek.c | 1158 static int ufs_mtk_unipro_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_unipro_set_lpm() argument 1165 lpm ? 1 : 0); in ufs_mtk_unipro_set_lpm() 1166 if (!ret || !lpm) { in ufs_mtk_unipro_set_lpm() 1168 * Forcibly set as non-LPM mode if UIC commands is failed in ufs_mtk_unipro_set_lpm() 1172 host->unipro_lpm = lpm; in ufs_mtk_unipro_set_lpm() 1343 static void ufs_mtk_vccqx_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_vccqx_set_lpm() argument 1353 lpm ? REGULATOR_MODE_IDLE : REGULATOR_MODE_NORMAL); in ufs_mtk_vccqx_set_lpm() 1356 static void ufs_mtk_vsx_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_vsx_set_lpm() argument 1360 ufs_mtk_device_pwr_ctrl(!lpm, in ufs_mtk_vsx_set_lpm() 1365 static void ufs_mtk_dev_vreg_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_dev_vreg_set_lpm() argument [all …]
|
/linux/drivers/usb/dwc2/ |
H A D | params.c | 129 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/drivers/s390/block/ |
H A D | dasd_eckd.c | 814 __u8 lpm) in dasd_eckd_fill_rcd_cqr() argument 837 cqr->lpm = lpm; in dasd_eckd_fill_rcd_cqr() 871 __u8 lpm) in dasd_eckd_read_conf_immediately() argument 883 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buffer, lpm); in dasd_eckd_read_conf_immediately() 894 int *rcd_buffer_size, __u8 lpm) in dasd_eckd_read_conf_lpm() argument 924 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buf, lpm); in dasd_eckd_read_conf_lpm() 1080 void *conf_data, __u8 lpm) in dasd_eckd_check_cabling() argument 1096 lpm, print_path_uid, print_device_uid); in dasd_eckd_check_cabling() 1108 __u8 lpm, opm; in dasd_eckd_read_conf() local 1116 for (lpm = 0x80; lpm; lpm>>= 1) { in dasd_eckd_read_conf() [all …]
|
/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/drivers/ata/ |
H A D | libata-pmp.c | 189 * sata_pmp_set_lpm - configure LPM for a PMP link 190 * @link: PMP link to configure LPM for 191 * @policy: target LPM policy 192 * @hints: LPM hints 194 * Configure LPM for @link. This function will contain any PMP 388 /* link reports offline after LPM */ in sata_pmp_quirks() 408 * Link reports offline after LPM. Class code report is in sata_pmp_quirks() 419 /* link reports offline after LPM */ in sata_pmp_quirks() 456 * LPM disabled to avoid potential problems in sata_pmp_quirks() 992 * If LPM is active on any fan-out port, hotplug wouldn't in sata_pmp_eh_recover()
|
/linux/drivers/usb/cdns3/ |
H A D | cdns3-gadget.h | 158 /* L1 LPM state entry enable (used in HS/FS mode). */ 160 /* L1 LPM state entry disable (used in HS/FS mode). */ 166 /* L0 LPM state entry request (used in HS/FS mode). */ 291 * L1 LPM state enable status (used in HS/FS mode). 292 * 0 - Entering to L1 LPM state disabled. 293 * 1 - Entering to L1 LPM state enabled. 305 * HS/FS LPM state (used in FS/HS mode). 461 /* LPM L2 state enter interrupt enable.*/ 463 /* LPM L2 state exit interrupt enable.*/ 465 /* LPM L1 state enter interrupt enable.*/ [all …]
|
/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-am62p-main.dtsi | 30 snps,usb2-gadget-lpm-disable; 31 snps,usb2-lpm-disable;
|