Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/cxl/core/
Dregs.c64 u16 cap_id, offset; in cxl_probe_component_regs() local
69 cap_id = FIELD_GET(CXL_CM_CAP_HDR_ID_MASK, hdr); in cxl_probe_component_regs()
73 switch (cap_id) { in cxl_probe_component_regs()
88 dev_dbg(dev, "Unknown CM cap ID: %d (0x%x)\n", cap_id, in cxl_probe_component_regs()
121 u16 cap_id; in cxl_probe_device_regs() local
123 cap_id = FIELD_GET(CXLDEV_CAP_HDR_CAP_ID_MASK, in cxl_probe_device_regs()
128 switch (cap_id) { in cxl_probe_device_regs()
152 if (cap_id >= 0x8000) in cxl_probe_device_regs()
153 dev_dbg(dev, "Vendor cap ID: %#x offset: %#x\n", cap_id, offset); in cxl_probe_device_regs()
155 dev_dbg(dev, "Unknown cap ID: %#x offset: %#x\n", cap_id, offset); in cxl_probe_device_regs()
/linux-6.1.9/include/linux/ceph/
Dceph_fs.h513 __le64 ino, cap_id; /* ino and unique cap id */ member
544 __le64 cap_id; member
754 __le64 cap_id; member
780 __le64 cap_id; member
794 __le64 cap_id; member
818 __le64 cap_id; member
828 __le64 cap_id; member
/linux-6.1.9/drivers/vfio/pci/
Dvfio_pci_config.c1862 u8 cap_id; in vfio_config_do_rw() local
1883 cap_id = vdev->pci_config_map[*ppos]; in vfio_config_do_rw()
1885 if (cap_id == PCI_CAP_ID_INVALID) { in vfio_config_do_rw()
1888 } else if (cap_id == PCI_CAP_ID_INVALID_VIRT) { in vfio_config_do_rw()
1893 WARN_ON(cap_id > PCI_EXT_CAP_ID_MAX); in vfio_config_do_rw()
1895 perm = &ecap_perms[cap_id]; in vfio_config_do_rw()
1898 WARN_ON(cap_id > PCI_CAP_ID_MAX); in vfio_config_do_rw()
1900 perm = &cap_perms[cap_id]; in vfio_config_do_rw()
1902 if (cap_id == PCI_CAP_ID_MSI) in vfio_config_do_rw()
1905 if (cap_id > PCI_CAP_ID_BASIC) in vfio_config_do_rw()
[all …]
/linux-6.1.9/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-6.1.9/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()
1248 fc->cap_id = cpu_to_le64(arg->cid); in encode_cap_msg()
1376 arg->cid = cap->cap_id; in __prep_cap()
3385 WARN_ON(cap->cap_id != le64_to_cpu(grant->cap_id)); in handle_cap_grant()
3868 t_cap_id = le64_to_cpu(ph->cap_id); in handle_cap_export()
3883 if (!cap || cap->cap_id != le64_to_cpu(ex->cap_id)) in handle_cap_export()
3909 if (tcap->cap_id == t_cap_id && in handle_cap_export()
[all …]
Dsuper.h164 u64 cap_id; /* unique cap id (mds provided) */ member
1162 struct ceph_mds_session *session, u64 cap_id,
Dmds_client.c2136 item->cap_id = cpu_to_le64(cap->cap_id); in ceph_send_cap_releases()
3902 inode, ceph_vinop(inode), cap, cap->cap_id, in reconnect_caps_cb()
3936 rec.v2.cap_id = cpu_to_le64(cap->cap_id); in reconnect_caps_cb()
3944 rec.v1.cap_id = cpu_to_le64(cap->cap_id); in reconnect_caps_cb()
Dfile.c645 in.cap.cap_id = cpu_to_le64(1); in ceph_finish_async_create()
Dinode.c1019 le64_to_cpu(info->cap.cap_id), in ceph_fill_inode()
/linux-6.1.9/drivers/pci/controller/dwc/
Dpcie-designware.c54 u8 cap_id, next_cap_ptr; in __dw_pcie_find_next_cap() local
61 cap_id = (reg & 0x00ff); in __dw_pcie_find_next_cap()
63 if (cap_id > PCI_CAP_ID_MAX) in __dw_pcie_find_next_cap()
66 if (cap_id == cap) in __dw_pcie_find_next_cap()
Dpcie-designware-ep.c93 u8 cap_id, next_cap_ptr; in __dw_pcie_ep_find_next_cap() local
102 cap_id = (reg & 0x00ff); in __dw_pcie_ep_find_next_cap()
104 if (cap_id > PCI_CAP_ID_MAX) in __dw_pcie_ep_find_next_cap()
107 if (cap_id == cap) in __dw_pcie_ep_find_next_cap()
/linux-6.1.9/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-6.1.9/drivers/pci/
Dpci-bridge-emul.h44 u8 cap_id; member
Dpci-bridge-emul.c388 bridge->pcie_conf.cap_id = PCI_CAP_ID_EXP; in pci_bridge_emul_init()
/linux-6.1.9/drivers/net/ethernet/amazon/ena/
Dena_com.h978 enum ena_admin_aq_caps_id cap_id) in ena_com_get_cap() argument
980 return !!(ena_dev->capabilities & BIT(cap_id)); in ena_com_get_cap()
/linux-6.1.9/drivers/thunderbolt/
Ddebugfs.c1079 unsigned int offset, u8 cap_id, u8 vsec_id, in cap_show_by_dw() argument
1096 offset + i, cap_id, vsec_id, data); in cap_show_by_dw()
1101 struct tb_port *port, unsigned int cap, u8 cap_id, in cap_show() argument
1116 cap_show_by_dw(s, sw, port, cap, offset, cap_id, vsec_id, length); in cap_show()
1123 cap_id, vsec_id, data[i]); in cap_show()
/linux-6.1.9/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-6.1.9/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()