Home
last modified time | relevance | path

Searched refs:cap_id (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.15/drivers/i3c/master/mipi-i3c-hci/
Dext_caps.c227 u32 cap_id, u32 cap_length) in hci_extcap_vendor_specific() argument
235 vendor_ext_caps[i].cap == cap_id) { in hci_extcap_vendor_specific()
244 cap_id, hci->vendor_mipi_id); in hci_extcap_vendor_specific()
250 cap_id, cap_length, vendor_cap_entry->min_length); in hci_extcap_vendor_specific()
260 u32 cap_header, cap_id, cap_length; in i3c_hci_parse_ext_caps() local
269 cap_id = FIELD_GET(CAP_HEADER_ID, cap_header); in i3c_hci_parse_ext_caps()
271 DBG("id=0x%02x length=%d", cap_id, cap_length); in i3c_hci_parse_ext_caps()
277 cap_id, cap_length); in i3c_hci_parse_ext_caps()
282 if (cap_id >= 0xc0 && cap_id <= 0xcf) { in i3c_hci_parse_ext_caps()
284 cap_id, cap_length); in i3c_hci_parse_ext_caps()
[all …]
/Linux-v5.15/drivers/cxl/core/
Dregs.c63 u16 cap_id, offset; in cxl_probe_component_regs() local
68 cap_id = FIELD_GET(CXL_CM_CAP_HDR_ID_MASK, hdr); in cxl_probe_component_regs()
72 switch (cap_id) { in cxl_probe_component_regs()
87 dev_dbg(dev, "Unknown CM cap ID: %d (0x%x)\n", cap_id, in cxl_probe_component_regs()
120 u16 cap_id; in cxl_probe_device_regs() local
122 cap_id = FIELD_GET(CXLDEV_CAP_HDR_CAP_ID_MASK, in cxl_probe_device_regs()
127 switch (cap_id) { in cxl_probe_device_regs()
151 if (cap_id >= 0x8000) in cxl_probe_device_regs()
152 dev_dbg(dev, "Vendor cap ID: %#x offset: %#x\n", cap_id, offset); in cxl_probe_device_regs()
154 dev_dbg(dev, "Unknown cap ID: %#x offset: %#x\n", cap_id, offset); in cxl_probe_device_regs()
/Linux-v5.15/include/linux/ceph/
Dceph_fs.h510 __le64 ino, cap_id; /* ino and unique cap id */ member
541 __le64 cap_id; member
751 __le64 cap_id; member
777 __le64 cap_id; member
791 __le64 cap_id; member
815 __le64 cap_id; member
825 __le64 cap_id; member
/Linux-v5.15/drivers/vfio/pci/
Dvfio_pci_config.c1812 u8 cap_id; in vfio_config_do_rw() local
1833 cap_id = vdev->pci_config_map[*ppos]; in vfio_config_do_rw()
1835 if (cap_id == PCI_CAP_ID_INVALID) { in vfio_config_do_rw()
1838 } else if (cap_id == PCI_CAP_ID_INVALID_VIRT) { in vfio_config_do_rw()
1843 WARN_ON(cap_id > PCI_EXT_CAP_ID_MAX); in vfio_config_do_rw()
1845 perm = &ecap_perms[cap_id]; in vfio_config_do_rw()
1848 WARN_ON(cap_id > PCI_CAP_ID_MAX); in vfio_config_do_rw()
1850 perm = &cap_perms[cap_id]; in vfio_config_do_rw()
1852 if (cap_id == PCI_CAP_ID_MSI) in vfio_config_do_rw()
1855 if (cap_id > PCI_CAP_ID_BASIC) in vfio_config_do_rw()
[all …]
/Linux-v5.15/drivers/thunderbolt/
Ddebugfs.c256 unsigned int offset, u8 cap_id, u8 vsec_id, in cap_show_by_dw() argument
273 offset + i, cap_id, vsec_id, data); in cap_show_by_dw()
278 struct tb_port *port, unsigned int cap, u8 cap_id, in cap_show() argument
293 cap_show_by_dw(s, sw, port, cap, offset, cap_id, vsec_id, length); in cap_show()
300 cap_id, vsec_id, data[i]); in cap_show()
/Linux-v5.15/drivers/bcma/
Ddriver_pci_host.c275 u8 cap_id; in bcma_find_pci_capability() local
300 bcma_extpci_read_config(pc, dev, func, cap_ptr, &cap_id, sizeof(u8)); in bcma_find_pci_capability()
301 while (cap_id != req_cap_id) { in bcma_find_pci_capability()
306 bcma_extpci_read_config(pc, dev, func, cap_ptr, &cap_id, in bcma_find_pci_capability()
/Linux-v5.15/fs/ceph/
Dcaps.c631 struct ceph_mds_session *session, u64 cap_id, in ceph_add_cap() argument
646 session->s_mds, cap_id, ceph_cap_string(issued), seq); in ceph_add_cap()
690 WARN_ON(cap->cap_id != cap_id); in ceph_add_cap()
746 cap->cap_id = cap_id; in ceph_add_cap()
1247 fc->cap_id = cpu_to_le64(arg->cid); in encode_cap_msg()
1375 arg->cid = cap->cap_id; in __prep_cap()
3344 WARN_ON(cap->cap_id != le64_to_cpu(grant->cap_id)); in handle_cap_grant()
3827 t_cap_id = le64_to_cpu(ph->cap_id); in handle_cap_export()
3841 if (!cap || cap->cap_id != le64_to_cpu(ex->cap_id)) in handle_cap_export()
3867 if (tcap->cap_id == t_cap_id && in handle_cap_export()
[all …]
Dsuper.h157 u64 cap_id; /* unique cap id (mds provided) */ member
1133 struct ceph_mds_session *session, u64 cap_id,
Dmds_client.c2142 item->cap_id = cpu_to_le64(cap->cap_id); in ceph_send_cap_releases()
3780 inode, ceph_vinop(inode), cap, cap->cap_id, in reconnect_caps_cb()
3815 rec.v2.cap_id = cpu_to_le64(cap->cap_id); in reconnect_caps_cb()
3823 rec.v1.cap_id = cpu_to_le64(cap->cap_id); in reconnect_caps_cb()
Dfile.c602 in.cap.cap_id = cpu_to_le64(1); in ceph_finish_async_create()
Dinode.c1009 le64_to_cpu(info->cap.cap_id), in ceph_fill_inode()
/Linux-v5.15/drivers/usb/host/
Dxhci-debugfs.c140 static void xhci_debugfs_extcap_regset(struct xhci_hcd *xhci, int cap_id, in xhci_debugfs_extcap_regset() argument
149 offset = xhci_find_next_ext_cap(base, 0, cap_id); in xhci_debugfs_extcap_regset()
151 if (cap_id == XHCI_EXT_CAPS_PROTOCOL) { in xhci_debugfs_extcap_regset()
159 offset = xhci_find_next_ext_cap(base, offset, cap_id); in xhci_debugfs_extcap_regset()
/Linux-v5.15/drivers/pci/controller/dwc/
Dpcie-designware.c27 u8 cap_id, next_cap_ptr; in __dw_pcie_find_next_cap() local
34 cap_id = (reg & 0x00ff); in __dw_pcie_find_next_cap()
36 if (cap_id > PCI_CAP_ID_MAX) in __dw_pcie_find_next_cap()
39 if (cap_id == cap) in __dw_pcie_find_next_cap()
Dpcie-designware-ep.c92 u8 cap_id, next_cap_ptr; in __dw_pcie_ep_find_next_cap() local
101 cap_id = (reg & 0x00ff); in __dw_pcie_ep_find_next_cap()
103 if (cap_id > PCI_CAP_ID_MAX) in __dw_pcie_ep_find_next_cap()
106 if (cap_id == cap) in __dw_pcie_ep_find_next_cap()
/Linux-v5.15/drivers/pci/
Dpci-bridge-emul.h44 u8 cap_id; member
Dpci-bridge-emul.c280 bridge->pcie_conf.cap_id = PCI_CAP_ID_EXP; in pci_bridge_emul_init()
/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c686 static u8 cxgb4_getcap(struct net_device *dev, int cap_id, u8 *caps) in cxgb4_getcap() argument
690 switch (cap_id) { in cxgb4_getcap()
/Linux-v5.15/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c2276 u8 cap_id = 0xff; in _rtl8821ae_clear_pci_pme_status() local
2290 cap_id = cap_hdr & 0xFF; in _rtl8821ae_clear_pci_pme_status()
2294 cap_pointer, cap_id); in _rtl8821ae_clear_pci_pme_status()
2296 if (cap_id == 0x01) { in _rtl8821ae_clear_pci_pme_status()
2303 cap_id = 0xff; in _rtl8821ae_clear_pci_pme_status()
2309 if (cap_id == 0x01) { in _rtl8821ae_clear_pci_pme_status()