Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/i3c/master/mipi-i3c-hci/
A 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()
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()
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()
290 if (ext_capabilities[i].id == cap_id) { in i3c_hci_parse_ext_caps()
297 "unknown ext_cap 0x%02x\n", cap_id); in i3c_hci_parse_ext_caps()
[all …]
/linux-6.3-rc2/drivers/cxl/core/
A Dregs.c65 u16 cap_id, offset; in cxl_probe_component_regs() local
70 cap_id = FIELD_GET(CXL_CM_CAP_HDR_ID_MASK, hdr); in cxl_probe_component_regs()
76 switch (cap_id) { in cxl_probe_component_regs()
95 dev_dbg(dev, "Unknown CM cap ID: %d (0x%x)\n", cap_id, in cxl_probe_component_regs()
103 rmap->id = cap_id; in cxl_probe_component_regs()
136 u16 cap_id; in cxl_probe_device_regs() local
138 cap_id = FIELD_GET(CXLDEV_CAP_HDR_CAP_ID_MASK, in cxl_probe_device_regs()
144 switch (cap_id) { in cxl_probe_device_regs()
161 if (cap_id >= 0x8000) in cxl_probe_device_regs()
162 dev_dbg(dev, "Vendor cap ID: %#x offset: %#x\n", cap_id, offset); in cxl_probe_device_regs()
[all …]
/linux-6.3-rc2/include/linux/ceph/
A 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.3-rc2/drivers/vfio/pci/
A 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.3-rc2/drivers/bcma/
A 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.3-rc2/fs/ceph/
A Dcaps.c691 WARN_ON(cap->cap_id != cap_id); in ceph_add_cap()
747 cap->cap_id = cap_id; in ceph_add_cap()
1249 fc->cap_id = cpu_to_le64(arg->cid); in encode_cap_msg()
1377 arg->cid = cap->cap_id; in __prep_cap()
3384 WARN_ON(cap->cap_id != le64_to_cpu(grant->cap_id)); in handle_cap_grant()
3881 if (!cap || cap->cap_id != le64_to_cpu(ex->cap_id)) in handle_cap_export()
3907 if (tcap->cap_id == t_cap_id && in handle_cap_export()
3910 tcap->cap_id = t_cap_id; in handle_cap_export()
3998 u64 cap_id = le64_to_cpu(im->cap_id); in handle_cap_import() local
4193 cap->cap_id = le64_to_cpu(h->cap_id); in ceph_handle_caps()
[all …]
A Dsuper.h175 u64 cap_id; /* unique cap id (mds provided) */ member
1175 struct ceph_mds_session *session, u64 cap_id,
A Dmds_client.c2142 item->cap_id = cpu_to_le64(cap->cap_id); in ceph_send_cap_releases()
3931 inode, ceph_vinop(inode), cap, cap->cap_id, in reconnect_caps_cb()
3965 rec.v2.cap_id = cpu_to_le64(cap->cap_id); in reconnect_caps_cb()
3973 rec.v1.cap_id = cpu_to_le64(cap->cap_id); in reconnect_caps_cb()
A Dfile.c650 in.cap.cap_id = cpu_to_le64(1); in ceph_finish_async_create()
A Dinode.c1019 le64_to_cpu(info->cap.cap_id), in ceph_fill_inode()
/linux-6.3-rc2/drivers/usb/host/
A 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.3-rc2/drivers/pci/
A Dpci-bridge-emul.h44 u8 cap_id; member
A Dpci-bridge-emul.c388 bridge->pcie_conf.cap_id = PCI_CAP_ID_EXP; in pci_bridge_emul_init()
/linux-6.3-rc2/drivers/pci/controller/dwc/
A Dpcie-designware-ep.c91 u8 cap_id, next_cap_ptr; in __dw_pcie_ep_find_next_cap() local
100 cap_id = (reg & 0x00ff); in __dw_pcie_ep_find_next_cap()
102 if (cap_id > PCI_CAP_ID_MAX) in __dw_pcie_ep_find_next_cap()
105 if (cap_id == cap) in __dw_pcie_ep_find_next_cap()
A Dpcie-designware.c212 u8 cap_id, next_cap_ptr; in __dw_pcie_find_next_cap() local
219 cap_id = (reg & 0x00ff); in __dw_pcie_find_next_cap()
221 if (cap_id > PCI_CAP_ID_MAX) in __dw_pcie_find_next_cap()
224 if (cap_id == cap) in __dw_pcie_find_next_cap()
/linux-6.3-rc2/drivers/net/ethernet/amazon/ena/
A 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.3-rc2/drivers/thunderbolt/
A 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.3-rc2/drivers/net/ethernet/chelsio/cxgb4/
A 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.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
A Dhw.c2280 u8 cap_id = 0xff; in _rtl8821ae_clear_pci_pme_status() local
2294 cap_id = cap_hdr & 0xFF; in _rtl8821ae_clear_pci_pme_status()
2298 cap_pointer, cap_id); in _rtl8821ae_clear_pci_pme_status()
2300 if (cap_id == 0x01) { in _rtl8821ae_clear_pci_pme_status()
2307 cap_id = 0xff; in _rtl8821ae_clear_pci_pme_status()
2313 if (cap_id == 0x01) { in _rtl8821ae_clear_pci_pme_status()

Completed in 81 milliseconds