Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/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-v6.1/drivers/ufs/host/
Dufshcd-pci.c237 u32 ltr; in intel_ltr_set() local
246 ltr = readl(hba->mmio_base + INTEL_ACTIVELTR); in intel_ltr_set()
249 ltr &= ~INTEL_LTR_REQ; in intel_ltr_set()
251 ltr |= INTEL_LTR_REQ; in intel_ltr_set()
252 ltr &= ~INTEL_LTR_SCALE_MASK; in intel_ltr_set()
253 ltr &= ~INTEL_LTR_VALUE_MASK; in intel_ltr_set()
259 ltr |= INTEL_LTR_SCALE_32US | val; in intel_ltr_set()
261 ltr |= INTEL_LTR_SCALE_1US | val; in intel_ltr_set()
265 if (ltr == host->active_ltr) in intel_ltr_set()
268 writel(ltr, hba->mmio_base + INTEL_ACTIVELTR); in intel_ltr_set()
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/drivers/mmc/host/
Dsdhci-pci-core.c764 u32 ltr; in intel_ltr_set() local
773 ltr = readl(host->ioaddr + INTEL_ACTIVELTR); in intel_ltr_set()
776 ltr &= ~INTEL_LTR_REQ; in intel_ltr_set()
778 ltr |= INTEL_LTR_REQ; in intel_ltr_set()
779 ltr &= ~INTEL_LTR_SCALE_MASK; in intel_ltr_set()
780 ltr &= ~INTEL_LTR_VALUE_MASK; in intel_ltr_set()
786 ltr |= INTEL_LTR_SCALE_32US | val; in intel_ltr_set()
788 ltr |= INTEL_LTR_SCALE_1US | val; in intel_ltr_set()
792 if (ltr == intel_host->active_ltr) in intel_ltr_set()
795 writel(ltr, host->ioaddr + INTEL_ACTIVELTR); in intel_ltr_set()
[all …]
/Linux-v6.1/arch/x86/boot/
Dpmjump.S61 ltr %di
/Linux-v6.1/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-v6.1/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-v6.1/drivers/media/platform/qcom/venus/
Dhfi_cmds.c936 struct hfi_ltr_mode *in = pdata, *ltr = prop_data; in pkt_session_set_property_1x() local
948 ltr->ltr_mode = in->ltr_mode; in pkt_session_set_property_1x()
949 ltr->ltr_count = in->ltr_count; in pkt_session_set_property_1x()
950 ltr->trust_mode = in->trust_mode; in pkt_session_set_property_1x()
951 pkt->shdr.hdr.size += sizeof(u32) + sizeof(*ltr); in pkt_session_set_property_1x()
/Linux-v6.1/drivers/pci/
Dpci.c1605 int ltr; in pci_save_ltr_state() local
1612 ltr = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_LTR); in pci_save_ltr_state()
1613 if (!ltr) in pci_save_ltr_state()
1624 pci_read_config_dword(dev, ltr + PCI_LTR_MAX_SNOOP_LAT, cap); in pci_save_ltr_state()
1630 int ltr; in pci_restore_ltr_state() local
1634 ltr = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_LTR); in pci_restore_ltr_state()
1635 if (!save_state || !ltr) in pci_restore_ltr_state()
1640 pci_write_config_dword(dev, ltr + PCI_LTR_MAX_SNOOP_LAT, *cap); in pci_restore_ltr_state()
/Linux-v6.1/arch/x86/boot/compressed/
Dhead_64.S250 ltr %ax
/Linux-v6.1/arch/s390/tools/
Dopcodes.txt25 12 ltr RR_RR
/Linux-v6.1/Documentation/trace/
Dftrace.rst1372 # ls -ltr
1571 # ls -ltr
1723 # ls -ltr
/Linux-v6.1/arch/x86/kvm/
Demulate.c4453 II(Prot | Priv | SrcMem16, em_ltr, ltr),