Home
last modified time | relevance | path

Searched refs:ltr (Results 1 – 16 of 16) sorted by relevance

/linux-5.19.10/include/linux/
Drbtree_latch.h76 __lt_insert(struct latch_tree_node *ltn, struct latch_tree_root *ltr, int idx, in __lt_insert() argument
79 struct rb_root *root = &ltr->tree[idx]; in __lt_insert()
100 __lt_erase(struct latch_tree_node *ltn, struct latch_tree_root *ltr, int idx) in __lt_erase() argument
102 rb_erase(&ltn->node[idx], &ltr->tree[idx]); in __lt_erase()
106 __lt_find(void *key, struct latch_tree_root *ltr, int idx, in __lt_find() argument
109 struct rb_node *node = rcu_dereference_raw(ltr->tree[idx].rb_node); in __lt_find()
/linux-5.19.10/drivers/mfd/
Dintel-lpss.c164 u32 ltr; in intel_lpss_ltr_set() local
171 ltr = readl(lpss->priv + LPSS_PRIV_ACTIVELTR); in intel_lpss_ltr_set()
174 ltr &= ~LPSS_PRIV_LTR_REQ; in intel_lpss_ltr_set()
176 ltr |= LPSS_PRIV_LTR_REQ; in intel_lpss_ltr_set()
177 ltr &= ~LPSS_PRIV_LTR_SCALE_MASK; in intel_lpss_ltr_set()
178 ltr &= ~LPSS_PRIV_LTR_VALUE_MASK; in intel_lpss_ltr_set()
181 ltr |= LPSS_PRIV_LTR_SCALE_32US | val >> 5; in intel_lpss_ltr_set()
183 ltr |= LPSS_PRIV_LTR_SCALE_1US | val; in intel_lpss_ltr_set()
186 if (ltr == lpss->active_ltr) in intel_lpss_ltr_set()
189 writel(ltr, lpss->priv + LPSS_PRIV_ACTIVELTR); in intel_lpss_ltr_set()
[all …]
/linux-5.19.10/drivers/ufs/host/
Dufshcd-pci.c228 u32 ltr; in intel_ltr_set() local
237 ltr = readl(hba->mmio_base + INTEL_ACTIVELTR); in intel_ltr_set()
240 ltr &= ~INTEL_LTR_REQ; in intel_ltr_set()
242 ltr |= INTEL_LTR_REQ; in intel_ltr_set()
243 ltr &= ~INTEL_LTR_SCALE_MASK; in intel_ltr_set()
244 ltr &= ~INTEL_LTR_VALUE_MASK; in intel_ltr_set()
250 ltr |= INTEL_LTR_SCALE_32US | val; in intel_ltr_set()
252 ltr |= INTEL_LTR_SCALE_1US | val; in intel_ltr_set()
256 if (ltr == host->active_ltr) in intel_ltr_set()
259 writel(ltr, hba->mmio_base + INTEL_ACTIVELTR); in intel_ltr_set()
[all …]
/linux-5.19.10/drivers/ntb/hw/intel/
Dntb_hw_gen4.c452 u32 ltr; in intel_ntb4_link_enable() local
455 ltr = NTB_LTR_ACTIVE_REQMNT | NTB_LTR_ACTIVE_VAL | NTB_LTR_ACTIVE_LATSCALE; in intel_ntb4_link_enable()
457 ltr = (ltr << NTB_LTR_NS_SHIFT) | ltr; in intel_ntb4_link_enable()
458 iowrite32(ltr, ndev->self_mmio + GEN4_LTR_ACTIVE_OFFSET); in intel_ntb4_link_enable()
461 ltr = NTB_LTR_IDLE_VAL | NTB_LTR_IDLE_LATSCALE | NTB_LTR_IDLE_REQMNT; in intel_ntb4_link_enable()
463 ltr = (ltr << NTB_LTR_NS_SHIFT) | ltr; in intel_ntb4_link_enable()
464 iowrite32(ltr, ndev->self_mmio + GEN4_LTR_IDLE_OFFSET); in intel_ntb4_link_enable()
/linux-5.19.10/drivers/thunderbolt/
Dnhi_ops.c113 u32 max_ltr, ltr; in icl_nhi_set_ltr() local
118 ltr = max_ltr << 16 | max_ltr; in icl_nhi_set_ltr()
119 pci_write_config_dword(nhi->pdev, VS_CAP_15, ltr); in icl_nhi_set_ltr()
/linux-5.19.10/drivers/mmc/host/
Dsdhci-pci-core.c743 u32 ltr; in intel_ltr_set() local
752 ltr = readl(host->ioaddr + INTEL_ACTIVELTR); in intel_ltr_set()
755 ltr &= ~INTEL_LTR_REQ; in intel_ltr_set()
757 ltr |= INTEL_LTR_REQ; in intel_ltr_set()
758 ltr &= ~INTEL_LTR_SCALE_MASK; in intel_ltr_set()
759 ltr &= ~INTEL_LTR_VALUE_MASK; in intel_ltr_set()
765 ltr |= INTEL_LTR_SCALE_32US | val; in intel_ltr_set()
767 ltr |= INTEL_LTR_SCALE_1US | val; in intel_ltr_set()
771 if (ltr == intel_host->active_ltr) in intel_ltr_set()
774 writel(ltr, host->ioaddr + INTEL_ACTIVELTR); in intel_ltr_set()
[all …]
/linux-5.19.10/arch/x86/boot/
Dpmjump.S61 ltr %di
/linux-5.19.10/Documentation/ABI/testing/
Dsysfs-platform-dfl-port42 What: /sys/bus/platform/devices/dfl-port.0/ltr
47 Set ltr to 1 if the AFU can tolerate latency >= 40us or set it
Dsysfs-platform-dfl-fme244 Reporting (ltr) value. It returns 1 if all Accelerated
/linux-5.19.10/drivers/fpga/
Ddfl-afu-main.c184 bool ltr; in ltr_store() local
187 if (kstrtobool(buf, &ltr)) in ltr_store()
195 v |= FIELD_PREP(PORT_CTRL_LATENCY, ltr ? 1 : 0); in ltr_store()
201 static DEVICE_ATTR_RW(ltr);
/linux-5.19.10/drivers/media/platform/qcom/venus/
Dhfi_cmds.c927 struct hfi_ltr_mode *in = pdata, *ltr = prop_data; in pkt_session_set_property_1x() local
939 ltr->ltr_mode = in->ltr_mode; in pkt_session_set_property_1x()
940 ltr->ltr_count = in->ltr_count; in pkt_session_set_property_1x()
941 ltr->trust_mode = in->trust_mode; in pkt_session_set_property_1x()
942 pkt->shdr.hdr.size += sizeof(u32) + sizeof(*ltr); in pkt_session_set_property_1x()
/linux-5.19.10/drivers/pci/
Dpci.c1607 int ltr; in pci_save_ltr_state() local
1614 ltr = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_LTR); in pci_save_ltr_state()
1615 if (!ltr) in pci_save_ltr_state()
1626 pci_read_config_dword(dev, ltr + PCI_LTR_MAX_SNOOP_LAT, cap); in pci_save_ltr_state()
1632 int ltr; in pci_restore_ltr_state() local
1636 ltr = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_LTR); in pci_restore_ltr_state()
1637 if (!save_state || !ltr) in pci_restore_ltr_state()
1642 pci_write_config_dword(dev, ltr + PCI_LTR_MAX_SNOOP_LAT, *cap); in pci_restore_ltr_state()
/linux-5.19.10/arch/x86/boot/compressed/
Dhead_64.S250 ltr %ax
/linux-5.19.10/arch/s390/tools/
Dopcodes.txt25 12 ltr RR_RR
/linux-5.19.10/Documentation/trace/
Dftrace.rst1372 # ls -ltr
1571 # ls -ltr
1723 # ls -ltr
/linux-5.19.10/arch/x86/kvm/
Demulate.c4411 II(Prot | Priv | SrcMem16, em_ltr, ltr),