Home
last modified time | relevance | path

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

12345678910>>...12

/kernel/linux/linux-5.10/drivers/s390/cio/
Ddevice_pgid.c77 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 …]
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
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 …]
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()
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 …]
Dcio.c99 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 …]
Dvfio_ccw_fsm.c23 __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()
/kernel/linux/linux-4.19/drivers/s390/cio/
Ddevice_pgid.c77 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 …]
Ddevice_ops.c168 * @lpm: defines the channel path to be used for a specific I/O request. A
185 * -%EACCES, if no path specified in @lpm is operational;
191 unsigned long intparm, __u8 lpm, __u8 key, in ccw_device_start_timeout_key() argument
223 if (lpm) { in ccw_device_start_timeout_key()
224 lpm &= sch->lpm; in ccw_device_start_timeout_key()
225 if (lpm == 0) in ccw_device_start_timeout_key()
228 ret = cio_start_key (sch, cpa, lpm, key); in ccw_device_start_timeout_key()
250 * @lpm: defines the channel path to be used for a specific I/O request. A
262 * -%EACCES, if no path specified in @lpm is operational;
268 unsigned long intparm, __u8 lpm, __u8 key, in ccw_device_start_key() argument
[all …]
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()
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 …]
Dvfio_ccw_fsm.c24 __u8 lpm; in fsm_io_helper() local
33 orb = cp_get_orb(&private->cp, (u32)(addr_t)sch, sch->lpm); in fsm_io_helper()
52 lpm = orb->cmd.lpm; in fsm_io_helper()
53 if (lpm != 0) in fsm_io_helper()
54 sch->lpm &= ~lpm; in fsm_io_helper()
56 sch->lpm = 0; in fsm_io_helper()
61 ret = sch->lpm ? -EACCES : -ENODEV; in fsm_io_helper()
Dcio.c99 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 …]
/kernel/linux/linux-4.19/Documentation/ABI/testing/
Dsysfs-bus-usb127 If CONFIG_PM is set and a USB 2.0 lpm-capable device is plugged
128 in to a xHCI host which support link PM, it will perform a LPM
129 test; if the test is passed and host supports USB2 hardware LPM
130 (xHCI 1.0 feature), USB2 hardware LPM will be enabled for the
133 or disable) indicating whether or not USB2 hardware LPM is
143 If CONFIG_PM is set and a USB 3.0 lpm-capable device is plugged
146 the check is passed and the host supports USB3 hardware LPM,
147 USB3 hardware LPM will be enabled for the device and the USB
151 or not USB3 hardware LPM U1 or U2 is enabled for the device.
228 Some USB3.0 devices are not friendly to USB3 LPM. usb3_lpm_permit
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-usb131 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.
251 Some USB3.0 devices are not friendly to USB3 LPM. usb3_lpm_permit
[all …]
/kernel/linux/linux-5.10/drivers/regulator/
Dmcp16502.c38 * controlled via GPIO lines called LPM and HPM.
43 * state by setting the GPIO lpm pin high/low.
119 * @lpm: LPM GPIO descriptor
122 struct gpio_desc *lpm; member
134 gpiod_set_value(mcp->lpm, 0); in mcp16502_gpio_set_mode()
138 gpiod_set_value(mcp->lpm, 1); in mcp16502_gpio_set_mode()
458 mcp->lpm = devm_gpiod_get(dev, "lpm", GPIOD_OUT_LOW); in mcp16502_probe()
459 if (IS_ERR(mcp->lpm)) { in mcp16502_probe()
460 dev_err(dev, "failed to get lpm pin: %ld\n", PTR_ERR(mcp->lpm)); in mcp16502_probe()
461 return PTR_ERR(mcp->lpm); in mcp16502_probe()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Dusb-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
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
Ddwc3.txt39 - snps,usb2-lpm-disable: indicate if we don't want to enable USB2 HW LPM
40 - snps,usb3_lpm_capable: determines if platform is USB3 LPM capable
46 - snps,has-lpm-erratum: true when DWC3 was configured with LPM Erratum enabled
47 - snps,lpm-nyet-threshold: LPM NYET threshold
Dmediatek,mtk-xhci.txt50 - usb3-lpm-capable : supports USB3.0 LPM
75 usb3-lpm-capable;
108 - usb3-lpm-capable : supports USB3.0 LPM
120 usb3-lpm-capable;
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/usb/
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
Dusb-xhci.txt36 - usb2-lpm-disable: indicate if we don't want to enable USB2 HW LPM
37 - usb3-lpm-capable: determines if platform is USB3 LPM capable
Dmediatek,mtk-xhci.txt49 - usb3-lpm-capable : supports USB3.0 LPM
74 usb3-lpm-capable;
107 - usb3-lpm-capable : supports USB3.0 LPM
119 usb3-lpm-capable;
Ddwc3.txt39 - snps,usb3_lpm_capable: determines if platform is USB3 LPM capable
42 - snps,has-lpm-erratum: true when DWC3 was configured with LPM Erratum enabled
43 - snps,lpm-nyet-threshold: LPM NYET threshold
/kernel/linux/linux-5.10/Documentation/networking/devlink/
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
/kernel/linux/linux-5.10/drivers/bluetooth/
Dhci_intel.c140 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 …]
/kernel/linux/linux-4.19/drivers/usb/chipidea/
Dcore.c34 * - Normal & LPM support
224 enum ci_hw_regs reg = ci->hw_bank.lpm ? OP_DEVLC : OP_PORTSC; in ci_hdrc_enter_lpm()
225 bool lpm = !!(hw_read(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm))); in ci_hdrc_enter_lpm() local
227 if (enable && !lpm) in ci_hdrc_enter_lpm()
228 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm()
229 PORTSC_PHCD(ci->hw_bank.lpm)); in ci_hdrc_enter_lpm()
230 else if (!enable && lpm) in ci_hdrc_enter_lpm()
231 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm()
249 ci->hw_bank.lpm = reg; in hw_device_init()
274 "ChipIdea HDRC found, revision: %d, lpm: %d; cap: %p op: %p\n", in hw_device_init()
[all …]
/kernel/linux/linux-4.19/drivers/bluetooth/
Dhci_intel.c155 bt_dev_err(hu->hdev, "LPM transaction interrupted"); in intel_wait_lpm_transaction()
160 bt_dev_err(hu->hdev, "LPM transaction timeout"); in intel_wait_lpm_transaction()
184 bt_dev_err(hu->hdev, "Failed to alloc memory for LPM packet"); in intel_lpm_suspend()
193 /* LPM flow is a priority, enqueue packet at list head */ in intel_lpm_suspend()
229 bt_dev_err(hu->hdev, "Failed to alloc memory for LPM packet"); in intel_lpm_resume()
237 /* LPM flow is a priority, enqueue packet at list head */ in intel_lpm_resume()
269 bt_dev_err(hu->hdev, "Failed to alloc memory for LPM packet"); in intel_lpm_host_wake()
276 /* LPM flow is a priority, enqueue packet at list head */ in intel_lpm_host_wake()
296 /* Host/Controller are now LPM resumed, trigger a new delayed suspend */ in intel_irq()
334 /* Provide to idev a hu reference which is used to run LPM in intel_set_power()
[all …]

12345678910>>...12