Home
last modified time | relevance | path

Searched full:lpm (Results 1 – 25 of 120) sorted by relevance

12345

/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 = lpm_adjust(req->lpm, cdev->private->pgid_todo_mask); in spid_do()
203 if (!req->lpm) in spid_do()
[all …]
H A Dvfio_ccw_fsm.c24 __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 Dio_sch.h65 * @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 Dorb.h36 u32 lpm:8; /* logical path mask */ member
52 u32 lpm:8; member
H A Ddevice_fsm.c61 printk(KERN_WARNING "cio: subchannel lpm: %02x, opm: %02x, " in ccw_timeout_log()
62 "vpm: %02x\n", sch->lpm, sch->opm, sch->vpm); in ccw_timeout_log()
176 if (!(sch->lpm & mask)) in __recover_lost_chpids()
203 old_lpm = sch->lpm; in ccw_device_recog_done()
209 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_recog_done()
214 if (sch->lpm != old_lpm) in ccw_device_recog_done()
495 /* Update lpm with verified path mask. */ in ccw_device_verify_done()
496 sch->lpm = sch->vpm; in ccw_device_verify_done()
954 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_trigger_reprobe()
/linux/Documentation/devicetree/bindings/usb/
H A Dusb-xhci.yaml16 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 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
H A Dsnps,dwc3-common.yaml54 snps,usb2-lpm-disable:
55 description: Indicate if we don't want to enable USB2 HW LPM for host
60 description: Determines if platform is USB3 LPM capable
63 snps,usb2-gadget-lpm-disable:
64 description: Indicate if we don't want to enable USB2 HW LPM for gadget
91 snps,has-lpm-erratum:
92 description: True when DWC3 was configured with LPM Erratum enabled
95 snps,lpm-nyet-threshold:
96 description: LPM NYET threshold
210 snps,gfladj-refclk-lpm-sel-quirk:
H A Dstarfive,jh7110-usb.yaml47 - const: lpm
97 clock-names = "lpm", "stb", "apb", "axi", "utmi_apb";
H A Dfsl,imx8qm-cdns3.yaml39 - const: lpm
81 clock-names = "lpm", "bus", "aclk", "ipg", "core";
H A Dmediatek,mtk-xhci.yaml123 usb3-lpm-capable: true
125 usb2-lpm-disable: true
231 usb3-lpm-capable;
/linux/Documentation/bpf/
H A Dmap_lpm_trie.rst18 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/Documentation/networking/devlink/
H A Ddevlink-dpipe.rst15 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/Documentation/devicetree/bindings/phy/
H A Dsophgo,cv1800b-usb2-phy.yaml26 - description: PHY lpm clock
32 - const: lpm
52 clock-names = "app", "stb", "lpm";
/linux/drivers/usb/chipidea/
H A Dcore.c203 enum ci_hw_regs reg = ci->hw_bank.lpm ? OP_DEVLC : OP_PORTSC; in ci_hdrc_enter_lpm_common()
204 bool lpm = !!(hw_read(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm))); in ci_hdrc_enter_lpm_common() local
206 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()
208 PORTSC_PHCD(ci->hw_bank.lpm)); in ci_hdrc_enter_lpm_common()
209 else if (!enable && lpm) in ci_hdrc_enter_lpm_common()
210 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm_common()
233 ci->hw_bank.lpm = reg; in hw_device_init()
258 "revision: %d, lpm: %d; cap: %px op: %px\n", in hw_device_init()
259 ci->rev, ci->hw_bank.lpm, ci->hw_bank.cap, ci->hw_bank.op); in hw_device_init()
[all …]
/linux/drivers/ps3/
H A Dps3-lpm.c77 * 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 rights 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/drivers/soc/pxa/
H A Dmfp.c45 * 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 Dusb3-debug-port.rst76 [ 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 Dpower-management.rst529 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/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.pu_id); in ps3_register_lpm_devices()
/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/arch/arm64/boot/dts/ti/
H A Dk3-am62p-main.dtsi30 snps,usb2-gadget-lpm-disable;
31 snps,usb2-lpm-disable;
/linux/drivers/s390/block/
H A Ddasd_eckd.c851 __u8 lpm) in dasd_eckd_fill_rcd_cqr() argument
874 cqr->lpm = lpm; in dasd_eckd_fill_rcd_cqr()
908 __u8 lpm) in dasd_eckd_read_conf_immediately() argument
920 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buffer, lpm); in dasd_eckd_read_conf_immediately()
931 int *rcd_buffer_size, __u8 lpm) in dasd_eckd_read_conf_lpm() argument
961 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buf, lpm); in dasd_eckd_read_conf_lpm()
1117 void *conf_data, __u8 lpm) in dasd_eckd_check_cabling() argument
1133 lpm, print_path_uid, print_device_uid); in dasd_eckd_check_cabling()
1145 __u8 lpm, opm; in dasd_eckd_read_conf() local
1153 for (lpm = 0x80; lpm; lpm>>= 1) { in dasd_eckd_read_conf()
[all …]
/linux/drivers/usb/cdns3/
H A Dcdns3-gadget.h158 /* 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/mediatek/
H A Dmt8195-evb.dts187 * Disable usb2 lpm to prevent known issues.
189 usb2-lpm-disable;

12345