/linux-master/drivers/acpi/ |
H A D | pfr_update.c | 271 static bool applicable_image(const void *data, struct pfru_update_cap_info *cap, argument 311 return payload_hdr->rt_ver >= cap->code_rt_version; 313 return payload_hdr->rt_ver >= cap->drv_rt_version; 441 struct pfru_update_cap_info cap; local 472 ret = query_capability(&cap, pfru_dev); 476 if (!applicable_image(buf_ptr, &cap, pfru_dev))
|
/linux-master/drivers/i3c/master/mipi-i3c-hci/ |
H A D | ext_caps.c | 212 u8 cap; member in struct:hci_ext_cap_vendor_specific 218 { .vendor = (MIPI_VENDOR_##_vendor), .cap = (_cap), \ 235 vendor_ext_caps[i].cap == cap_id) {
|
/linux-master/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_verbs.c | 147 .cap = { 236 if (init_attr.cap.max_send_sge > 1) 239 priv->max_send_sge = init_attr.cap.max_send_sge;
|
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_sriov.c | 18 nfp_net_sriov_check(struct nfp_app *app, int vf, u16 cap, const char *msg, bool warn) argument 26 if ((cap_vf & cap) != cap) {
|
/linux-master/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_top.c | 235 unsigned long cap) 241 if (cap & BIT(DPU_MDP_VSYNC_SEL)) 248 if (cap & BIT(DPU_MDP_AUDIO_SELECT)) 234 _setup_mdp_ops(struct dpu_hw_mdp_ops *ops, unsigned long cap) argument
|
H A D | dpu_hw_sspp.h | 301 * @cap: pointer to layer_cfg 311 const struct dpu_sspp_cfg *cap; member in struct:dpu_hw_sspp
|
/linux-master/drivers/xen/ |
H A D | pcpu.c | 407 void xen_sanitize_proc_cap_bits(uint32_t *cap) argument 414 u32 buf[3] = { ACPI_PDC_REVISION_ID, 1, *cap }; 423 *cap = buf[2];
|
/linux-master/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | mcu.c | 492 } __packed * cap; local 499 cap = (struct mt7921_phy_cap *)skb->data; 501 dev->phy.antenna_mask = BIT(cap->nss) - 1; 503 dev->phy.cap.has_2ghz = cap->hw_path & BIT(WF0_24G); 504 dev->phy.cap.has_5ghz = cap->hw_path & BIT(WF0_5G); 548 phy->cap.has_6ghz = skb->data[0]; 1192 * 1: only cap field IE 1260 u8 cap; member in struct:__anon1291 [all...] |
/linux-master/io_uring/ |
H A D | fdinfo.c | 24 kernel_cap_t cap; local 43 cap = cred->cap_effective; 44 seq_put_hex_ll(m, NULL, cap.val, 16);
|
/linux-master/drivers/platform/chrome/ |
H A D | cros_ec_typec.c | 44 static int cros_typec_parse_port_props(struct typec_capability *cap, argument 51 memset(cap, 0, sizeof(*cap)); 61 cap->type = ret; 72 cap->data = ret; 78 cap->prefer_role = TYPEC_NO_PREFERRED_ROLE; 83 cap->prefer_role = ret; 88 cap->fwnode = fwnode; 328 struct typec_capability *cap; local 373 cap [all...] |
/linux-master/drivers/net/ethernet/sfc/ |
H A D | mcdi_port_common.h | 37 void mcdi_to_ethtool_linkset(u32 media, u32 cap, unsigned long *linkset);
|
H A D | ef100.c | 359 int cap = 0; local 363 while ((cap = pci_find_next_ext_capability(efx->pci_dev, cap, PCI_EXT_CAP_ID_VNDR)) != 0) { 364 int vndr_cap = cap + PCI_EXT_CAP_HDR_LENGTH; 388 /* Get length of whole capability - i.e. starting at cap */
|
/linux-master/include/linux/platform_data/ |
H A D | ti-sysc.h | 133 * @cap: interconnect target module capabilities 145 const struct sysc_capabilities *cap; member in struct:ti_sysc_module_data
|
/linux-master/drivers/gpu/drm/amd/pm/swsmu/inc/ |
H A D | smu_v11_0_7_pptable.h | 30 #define SMU_11_0_7_PP_PLATFORM_CAP_POWERPLAY 0x1 // This cap indicates whether CCC need to show Powerplay page. 31 #define SMU_11_0_7_PP_PLATFORM_CAP_SBIOSPOWERSOURCE 0x2 // This cap indicates whether power source notificaiton is done by SBIOS instead of OS. 32 #define SMU_11_0_7_PP_PLATFORM_CAP_HARDWAREDC 0x4 // This cap indicates whether DC mode notificaiton is done by GPIO pin directly. 33 #define SMU_11_0_7_PP_PLATFORM_CAP_BACO 0x8 // This cap indicates whether board supports the BACO circuitry. 34 #define SMU_11_0_7_PP_PLATFORM_CAP_MACO 0x10 // This cap indicates whether board supports the MACO circuitry. 35 #define SMU_11_0_7_PP_PLATFORM_CAP_SHADOWPSTATE 0x20 // This cap indicates whether board supports the Shadow Pstate. 139 uint8_t cap[SMU_11_0_7_MAX_ODFEATURE]; //OD feature support flags member in struct:smu_11_0_7_overdrive_table
|
H A D | smu_v13_0_pptable.h | 111 uint8_t cap[SMU_13_0_MAX_ODFEATURE]; //OD feature support flags member in struct:smu_13_0_overdrive_table
|
H A D | smu_v13_0_7_pptable.h | 30 #define SMU_13_0_7_PP_PLATFORM_CAP_POWERPLAY 0x1 // This cap indicates whether CCC need to show Powerplay page. 31 #define SMU_13_0_7_PP_PLATFORM_CAP_SBIOSPOWERSOURCE 0x2 // This cap indicates whether power source notificaiton is done by SBIOS instead of OS. 32 #define SMU_13_0_7_PP_PLATFORM_CAP_HARDWAREDC 0x4 // This cap indicates whether DC mode notificaiton is done by GPIO pin directly. 33 #define SMU_13_0_7_PP_PLATFORM_CAP_BACO 0x8 // This cap indicates whether board supports the BACO circuitry. 34 #define SMU_13_0_7_PP_PLATFORM_CAP_MACO 0x10 // This cap indicates whether board supports the MACO circuitry. 35 #define SMU_13_0_7_PP_PLATFORM_CAP_SHADOWPSTATE 0x20 // This cap indicates whether board supports the Shadow Pstate. 148 uint8_t cap[SMU_13_0_7_MAX_ODFEATURE]; //OD feature support flags member in struct:smu_13_0_7_overdrive_table
|
H A D | smu_v11_0_pptable.h | 109 uint8_t cap[SMU_11_0_MAX_ODFEATURE]; //OD feature support flags member in struct:smu_11_0_overdrive_table
|
/linux-master/sound/firewire/oxfw/ |
H A D | oxfw-pcm.c | 432 unsigned int cap = 0; local 436 cap = 1; 438 err = snd_pcm_new(oxfw->card, oxfw->card->driver, 0, 1, cap, &pcm); 445 if (cap > 0)
|
/linux-master/drivers/pci/ |
H A D | pci-bridge-emul.h | 46 __le16 cap; member in struct:pci_bridge_emul_pcie_conf
|
/linux-master/drivers/media/platform/st/stm32/dma2d/ |
H A D | dma2d.c | 105 return V4L2_TYPE_IS_OUTPUT(type) ? &ctx->cap : &ctx->out; 287 ctx->cap = def_frame; 337 struct v4l2_capability *cap) 339 strscpy(cap->driver, DMA2D_NAME, sizeof(cap->driver)); 340 strscpy(cap->card, DMA2D_NAME, sizeof(cap->card)); 341 strscpy(cap->bus_info, BUS_INFO, sizeof(cap->bus_info)); 336 vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
|
/linux-master/drivers/gpu/drm/amd/pm/inc/ |
H A D | smu_v13_0_0_pptable.h | 30 #define SMU_13_0_0_PP_PLATFORM_CAP_POWERPLAY 0x1 // This cap indicates whether CCC need to show Powerplay page. 31 #define SMU_13_0_0_PP_PLATFORM_CAP_SBIOSPOWERSOURCE 0x2 // This cap indicates whether power source notificaiton is done by SBIOS instead of OS. 32 #define SMU_13_0_0_PP_PLATFORM_CAP_HARDWAREDC 0x4 // This cap indicates whether DC mode notificaiton is done by GPIO pin directly. 33 #define SMU_13_0_0_PP_PLATFORM_CAP_BACO 0x8 // This cap indicates whether board supports the BACO circuitry. 34 #define SMU_13_0_0_PP_PLATFORM_CAP_MACO 0x10 // This cap indicates whether board supports the MACO circuitry. 35 #define SMU_13_0_0_PP_PLATFORM_CAP_SHADOWPSTATE 0x20 // This cap indicates whether board supports the Shadow Pstate. 148 uint8_t cap[SMU_13_0_0_MAX_ODFEATURE]; //OD feature support flags member in struct:smu_13_0_0_overdrive_table
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | ocxl.c | 329 int pnv_ocxl_get_tl_cap(struct pci_dev *dev, long *cap, argument 347 *cap = PNV_OCXL_TL_P9_RECV_CAP; 352 int pnv_ocxl_set_tl_conf(struct pci_dev *dev, long cap, argument 362 rc = opal_npu_tl_set(phb->opal_id, dev->devfn, cap,
|
/linux-master/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-eeprom-parse.c | 704 ht_info->cap = IEEE80211_HT_CAP_DSSSCCK40; 707 ht_info->cap |= (1 << IEEE80211_HT_CAP_RX_STBC_SHIFT); 710 ht_info->cap |= IEEE80211_HT_CAP_TX_STBC; 714 ht_info->cap |= IEEE80211_HT_CAP_LDPC_CODING; 718 ht_info->cap |= IEEE80211_HT_CAP_MAX_AMSDU; 733 ht_info->cap |= IEEE80211_HT_CAP_GRN_FLD; 734 ht_info->cap |= IEEE80211_HT_CAP_SGI_20; 739 ht_info->cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40; 740 ht_info->cap |= IEEE80211_HT_CAP_SGI_40;
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_sdp.c | 113 if (!hw->cap.programmable_chans) {
|
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | mac80211.c | 261 ht_cap->cap |= IEEE80211_HT_CAP_TX_STBC; 263 ht_cap->cap &= ~IEEE80211_HT_CAP_TX_STBC; 273 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; 275 vht_cap->cap &= ~IEEE80211_VHT_CAP_TXSTBC; 276 vht_cap->cap |= IEEE80211_VHT_CAP_TX_ANTENNA_PATTERN | 295 if (phy->cap.has_2ghz) 297 if (phy->cap.has_5ghz) 299 if (phy->cap.has_6ghz) 337 ht_cap->cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40 | 353 vht_cap->cap | [all...] |