| /include/linux/mlx5/ |
| A D | device.h | 1288 #define MLX5_CAP_GEN(mdev, cap) \ argument 1297 #define MLX5_CAP_GEN_2(mdev, cap) \ argument 1306 #define MLX5_CAP_ETH(mdev, cap) \ argument 1314 #define MLX5_CAP_ROCE(mdev, cap) \ argument 1375 #define MLX5_CAP_ESW(mdev, cap) \ argument 1405 #define MLX5_CAP_ODP(mdev, cap)\ argument 1419 #define MLX5_CAP_QOS(mdev, cap)\ argument 1422 #define MLX5_CAP_DEBUG(mdev, cap)\ argument 1452 #define MLX5_CAP_FPGA(mdev, cap) \ argument 1464 #define MLX5_CAP_TLS(mdev, cap) \ argument [all …]
|
| /include/linux/ |
| A D | capability.h | 143 struct user_namespace *ns, int cap); 144 extern bool has_capability_noaudit(struct task_struct *t, int cap); 146 struct user_namespace *ns, int cap); 147 extern bool capable(int cap); 148 extern bool ns_capable(struct user_namespace *ns, int cap); 150 extern bool ns_capable_setid(struct user_namespace *ns, int cap); 153 struct user_namespace *ns, int cap) in has_ns_capability() argument 162 struct user_namespace *ns, int cap) in has_ns_capability_noaudit() argument 166 static inline bool capable(int cap) in capable() argument 170 static inline bool ns_capable(struct user_namespace *ns, int cap) in ns_capable() argument [all …]
|
| A D | mii.h | 514 static inline u16 mii_advertise_flowctrl(int cap) in mii_advertise_flowctrl() argument 518 if (cap & FLOW_CTRL_RX) in mii_advertise_flowctrl() 520 if (cap & FLOW_CTRL_TX) in mii_advertise_flowctrl() 535 u8 cap = 0; in mii_resolve_flowctrl_fdx() local 538 cap = FLOW_CTRL_TX | FLOW_CTRL_RX; in mii_resolve_flowctrl_fdx() 541 cap = FLOW_CTRL_RX; in mii_resolve_flowctrl_fdx() 543 cap = FLOW_CTRL_TX; in mii_resolve_flowctrl_fdx() 546 return cap; in mii_resolve_flowctrl_fdx()
|
| A D | netlink.h | 354 struct user_namespace *ns, int cap); 356 struct user_namespace *ns, int cap); 357 bool netlink_capable(const struct sk_buff *skb, int cap); 358 bool netlink_net_capable(const struct sk_buff *skb, int cap);
|
| A D | nvme.h | 165 #define NVME_CAP_MQES(cap) ((cap) & 0xffff) argument 166 #define NVME_CAP_TIMEOUT(cap) (((cap) >> 24) & 0xff) argument 167 #define NVME_CAP_STRIDE(cap) (((cap) >> 32) & 0xf) argument 168 #define NVME_CAP_NSSRC(cap) (((cap) >> 36) & 0x1) argument 169 #define NVME_CAP_CSS(cap) (((cap) >> 37) & 0xff) argument 170 #define NVME_CAP_MPSMIN(cap) (((cap) >> 48) & 0xf) argument 171 #define NVME_CAP_MPSMAX(cap) (((cap) >> 52) & 0xf) argument 172 #define NVME_CAP_CMBS(cap) (((cap) >> 57) & 0x1) argument
|
| A D | lsm_audit.h | 86 int cap; member
|
| A D | pci.h | 314 u8 cap; member 1222 u8 pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap); 1223 u8 pci_find_capability(struct pci_dev *dev, int cap); 1224 u8 pci_find_next_capability(struct pci_dev *dev, u8 pos, int cap); 1227 u16 pci_find_ext_capability(struct pci_dev *dev, int cap); 1228 u16 pci_find_next_ext_capability(struct pci_dev *dev, u16 pos, int cap); 1230 u16 pci_find_vsec_capability(struct pci_dev *dev, u16 vendor, int cap); 2079 static inline u8 pci_find_capability(struct pci_dev *dev, int cap) in pci_find_capability() argument 2081 static inline u8 pci_find_next_capability(struct pci_dev *dev, u8 post, int cap) in pci_find_next_capability() argument 2083 static inline u16 pci_find_ext_capability(struct pci_dev *dev, int cap) in pci_find_ext_capability() argument
|
| A D | nfs_fs.h | 418 static inline int nfs_server_capable(const struct inode *inode, int cap) in nfs_server_capable() argument 420 return NFS_SERVER(inode)->caps & cap; in nfs_server_capable()
|
| /include/trace/events/ |
| A D | capability.h | 29 const struct user_namespace *capable_ns, int cap, int ret), 31 TP_ARGS(cred, target_ns, capable_ns, cap, ret), 37 __field(int, cap) 45 __entry->cap = cap; 50 __entry->cred, __entry->target_ns, __entry->capable_ns, __entry->cap,
|
| /include/media/ |
| A D | v4l2-dv-timings.h | 53 const struct v4l2_dv_timings_cap *cap, 74 const struct v4l2_dv_timings_cap *cap, 97 const struct v4l2_dv_timings_cap *cap, 160 const struct v4l2_dv_timings_cap *cap, 187 const struct v4l2_dv_timings_cap *cap,
|
| /include/linux/sched/ |
| A D | cpufreq.h | 27 unsigned long freq, unsigned long cap) in map_util_freq() argument 29 return freq * util / cap; in map_util_freq()
|
| /include/scsi/ |
| A D | scsi_host.h | 856 static unsigned char cap[] = { 0, in scsi_host_dif_capable() local 861 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dif_capable() 864 return shost->prot_capabilities & cap[target_type] ? target_type : 0; in scsi_host_dif_capable() 870 static unsigned char cap[] = { SHOST_DIX_TYPE0_PROTECTION, in scsi_host_dix_capable() local 875 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dix_capable() 878 return shost->prot_capabilities & cap[target_type]; in scsi_host_dix_capable()
|
| /include/sound/ |
| A D | hda_chmap.h | 31 struct hdac_cea_channel_speaker_allocation *cap, int channels); 33 struct hdac_cea_channel_speaker_allocation *cap,
|
| A D | designware_i2s.h | 31 unsigned int cap; member
|
| A D | seq_kernel.h | 91 int cap, int type, int midi_channels, int midi_voices, char *portname);
|
| /include/dt-bindings/usb/ |
| A D | pd.h | 208 #define VDO_UFP(ver, cap, conn, vcpwr, vcr, vbr, alt, spd) \ argument 209 (((ver) & 0x7) << 29 | ((cap) & 0xf) << 24 | ((conn) & 0x3) << 22 \ 230 #define VDO_DFP(ver, cap, conn, pnum) \ argument 231 (((ver) & 0x7) << 29 | ((cap) & 0x7) << 24 | ((conn) & 0x3) << 22 \
|
| /include/linux/usb/ |
| A D | pd_vdo.h | 236 #define VDO_UFP(ver, cap, conn, vcpwr, vcr, vbr, alt, spd) \ argument 237 (((ver) & 0x7) << 29 | ((cap) & 0xf) << 24 | ((conn) & 0x3) << 22 \ 260 #define VDO_DFP(ver, cap, conn, pnum) \ argument 261 (((ver) & 0x7) << 29 | ((cap) & 0x7) << 24 | ((conn) & 0x3) << 22 \
|
| A D | typec.h | 320 const struct typec_capability *cap); 351 int typec_get_fw_cap(struct typec_capability *cap,
|
| /include/uapi/linux/ |
| A D | virtio_pci.h | 148 struct virtio_pci_cap cap; member 154 struct virtio_pci_cap cap; member 200 struct virtio_pci_cap cap; member
|
| A D | if_arcnet.h | 125 struct arc_cap cap; member
|
| /include/net/ |
| A D | net_shaper.h | 117 enum net_shaper_scope scope, unsigned long *cap);
|
| /include/linux/spi/ |
| A D | spi-mem.h | 364 #define spi_mem_controller_is_capable(ctlr, cap) \ argument 365 ((ctlr)->mem_caps && (ctlr)->mem_caps->cap)
|
| /include/linux/platform_data/ |
| A D | ti-sysc.h | 144 const struct sysc_capabilities *cap; member
|
| /include/linux/net/intel/libie/ |
| A D | adminq.h | 212 __le16 cap; member
|
| /include/rdma/ |
| A D | opa_port_info.h | 259 u8 cap; /* 3 res, 5 bits */ member
|