/linux-master/drivers/usb/typec/ucsi/ |
H A D | displayport.c | 158 u32 cap = dp->alt->vdo; local 166 if (DP_CAP_CAPABILITY(cap) & DP_CAP_UFP_D) { 169 if (DP_CAP_UFP_D_PIN_ASSIGN(cap) & BIT(DP_PIN_ASSIGN_D)) 174 if (DP_CAP_DFP_D_PIN_ASSIGN(cap) & BIT(DP_PIN_ASSIGN_D))
|
/linux-master/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-capture.c | 86 struct fimc_vid_cap *cap = &fimc->vid_cap; local 102 while (!suspend && !list_empty(&cap->pending_buf_q)) { 103 buf = fimc_pending_queue_pop(cap); 107 while (!list_empty(&cap->active_buf_q)) { 108 buf = fimc_active_queue_pop(cap); 110 fimc_pending_queue_add(cap, buf); 116 cap->buf_index = 0; 121 return fimc_pipeline_call(&cap->ve, set_stream, 0); 180 struct fimc_vid_cap *cap = &fimc->vid_cap; local 181 struct fimc_pipeline *p = to_fimc_pipeline(cap 713 fimc_cap_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument [all...] |
/linux-master/drivers/mmc/host/ |
H A D | cqhci-crypto.c | 142 cqhci_find_blk_crypto_mode(union cqhci_crypto_cap_entry cap) argument 148 if (cqhci_crypto_algs[i].alg == cap.algorithm_id && 149 cqhci_crypto_algs[i].key_size == cap.key_size)
|
/linux-master/sound/hda/ |
H A D | hdmi_chmap.c | 622 struct hdac_cea_channel_speaker_allocation *cap, int channels) 625 if (cap->channels != channels) 633 struct hdac_cea_channel_speaker_allocation *cap, 640 int spk = cap->speakers[c]; 690 struct hdac_cea_channel_speaker_allocation *cap; local 692 cap = channel_allocations; 693 for (i = 0; i < ARRAY_SIZE(channel_allocations); i++, cap++) { 697 if (cap->channels != chs) 700 if (!(cap->spk_mask == (spk_mask & cap 621 hdmi_chmap_cea_alloc_validate_get_type(struct hdac_chmap *chmap, struct hdac_cea_channel_speaker_allocation *cap, int channels) argument 632 hdmi_cea_alloc_to_tlv_chmap(struct hdac_chmap *hchmap, struct hdac_cea_channel_speaker_allocation *cap, unsigned int *chmap, int channels) argument [all...] |
/linux-master/drivers/media/pci/zoran/ |
H A D | zr36050.c | 544 struct vfe_settings *cap, struct vfe_polarity *pol) 552 cap->x, cap->y, cap->width, cap->height, 553 cap->decimation, cap->quality); 558 ptr->width = cap->width / (cap->decimation & 0xff); 559 ptr->height = cap 543 zr36050_set_video(struct videocodec *codec, const struct tvnorm *norm, struct vfe_settings *cap, struct vfe_polarity *pol) argument [all...] |
H A D | zoran_device.c | 608 struct vfe_settings cap; local 613 cap.x = zr->jpg_settings.img_x; 614 cap.y = zr->jpg_settings.img_y; 615 cap.width = zr->jpg_settings.img_width; 616 cap.height = zr->jpg_settings.img_height; 617 cap.decimation = 619 cap.quality = zr->jpg_settings.jpg_comp.quality; 651 zr->codec->set_video(zr->codec, zr->timing, &cap, 659 zr->vfe->set_video(zr->vfe, zr->timing, &cap, 684 zr->vfe->set_video(zr->vfe, zr->timing, &cap, [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt76x0/ |
H A D | init.c | 251 if (dev->mphy.cap.has_5ghz) { 255 sband->vht_cap.cap &= ~IEEE80211_VHT_CAP_RXLDPC; 259 if (dev->mphy.cap.has_2ghz)
|
/linux-master/arch/arm64/kernel/ |
H A D | alternative.c | 152 int cap = ALT_CAP(alt); local 154 if (!test_bit(cap, cpucap_mask)) 157 if (!cpus_have_cap(cap))
|
/linux-master/drivers/ufs/core/ |
H A D | ufshcd-crypto.c | 135 ufshcd_find_blk_crypto_mode(union ufs_crypto_cap_entry cap) argument 141 if (ufs_crypto_algs[i].ufs_alg == cap.algorithm_id && 142 ufs_crypto_algs[i].ufs_key_size == cap.key_size) {
|
/linux-master/drivers/acpi/ |
H A D | acpi_extlog.c | 234 u64 cap; local 237 if (rdmsrl_safe(MSR_IA32_MCG_CAP, &cap) || 238 !(cap & MCG_ELOG_P) ||
|
H A D | bus.c | 191 for (i = 0; i < context->cap.length; i += sizeof(u32)) 192 pr_debug(" %x", *((u32 *)(context->cap.pointer + i))); 223 in_params[2].integer.value = context->cap.length/sizeof(u32); 225 in_params[3].buffer.length = context->cap.length; 226 in_params[3].buffer.pointer = context->cap.pointer; 237 || out_obj->buffer.length != context->cap.length) { 256 if (((u32 *)context->cap.pointer)[OSC_QUERY_DWORD] 319 .cap.length = 8, 320 .cap.pointer = capbuf, 431 .cap [all...] |
/linux-master/drivers/iommu/intel/ |
H A D | perfmon.c | 586 u32 cap; local 592 if (!cap_ecmds(iommu->cap)) 672 cap = dmar_readl(iommu_pmu->cfg_reg + 675 if (!iommu_cntrcap_pcc(cap)) 683 if ((iommu_cntrcap_cw(cap) != iommu_pmu->cntr_width) || 684 !iommu_cntrcap_ios(cap)) { 695 for (j = 0; j < iommu_cntrcap_egcnt(cap); j++) { 696 cap = dmar_readl(iommu_pmu->cfg_reg + i * IOMMU_PMU_CFG_OFFSET + 699 iommu_pmu->cntr_evcap[i][iommu_event_group(cap)] = iommu_event_select(cap); [all...] |
H A D | cache.c | 287 if (!cap_pgsel_inv(iommu->cap) || 288 mask > cap_max_amask_val(iommu->cap)) 395 if (!cap_caching_mode(iommu->cap) || domain->use_first_level) { 406 if (!cap_pgsel_inv(iommu->cap) || 407 mask > cap_max_amask_val(iommu->cap))
|
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | nvm-reg.h | 314 * @cap: capabilities for all channels which matches the MCC 326 u8 cap; member in struct:iwl_mcc_update_resp_v3 341 * @cap: capabilities for all channels which matches the MCC 354 __le16 cap; member in struct:iwl_mcc_update_resp_v4 371 * @cap: capabilities for all channels which matches the MCC 385 __le32 cap; member in struct:iwl_mcc_update_resp_v8
|
/linux-master/drivers/net/wireless/realtek/rtw88/ |
H A D | bf.c | 64 if ((ic_vht_cap->cap & IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE) && 65 (vht_cap->cap & IEEE80211_VHT_CAP_MU_BEAMFORMER_CAPABLE)) { 78 } else if ((ic_vht_cap->cap & IEEE80211_VHT_CAP_SU_BEAMFORMEE_CAPABLE) && 79 (vht_cap->cap & IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE)) { 85 sound_dim = vht_cap->cap &
|
/linux-master/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-nvm-parse.c | 508 vht_cap->cap = IEEE80211_VHT_CAP_SHORT_GI_80 | 516 vht_cap->cap &= ~IEEE80211_VHT_CAP_RXSTBC_MASK; 519 vht_cap->cap |= IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ | 523 vht_cap->cap |= IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE; 526 vht_cap->cap |= IEEE80211_VHT_CAP_RXLDPC; 534 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; 536 vht_cap->cap |= IEEE80211_VHT_CAP_TX_ANTENNA_PATTERN; 541 vht_cap->cap |= 544 vht_cap->cap |= IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_3895; 548 vht_cap->cap | 1725 iwl_parse_nvm_mcc_info(struct device *dev, const struct iwl_cfg *cfg, int num_of_ch, __le32 *channels, u16 fw_mcc, u16 geo_info, u32 cap, u8 resp_ver, bool uats_enabled) argument [all...] |
/linux-master/drivers/power/supply/ |
H A D | 88pm860x_battery.c | 712 static int calc_capacity(struct pm860x_battery_info *info, int *cap) argument 742 dev_dbg(info->dev, "%s, last cap : %d", __func__, 761 *cap = min(cap_ocv, cap_cc); 769 *cap = cap_ocv; 771 *cap = cap_cc; 775 if (*cap > info->last_capacity) 776 *cap = info->last_capacity; 778 *cap = cap_cc; 780 info->last_capacity = *cap; 782 dev_dbg(info->dev, "%s, cap_ocv:%d cap_cc:%d, cap [all...] |
/linux-master/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.c | 567 size_t cap = rand(); local 569 cap &= 0xffff; 571 if (cap == 0) 572 cap = 1; 573 else if (cap > len) 574 cap = len; 577 ret = recv(fd, buf, cap, MSG_PEEK); 580 ret = recv(fd, buf, cap, MSG_PEEK); 581 ret = (ret < 0) ? ret : read(fd, buf, cap); 583 ret = do_recvmsg_cmsg(fd, buf, cap); [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb_nl.c | 640 * @cap: the capability value 642 static u8 ice_dcbnl_get_cap(struct net_device *netdev, int capid, u8 *cap) argument 651 *cap = true; 654 *cap = true; 657 *cap = false; 660 *cap = 0x80; 663 *cap = 0x80; 666 *cap = false; 669 *cap = false; 672 *cap 680 capid, *cap); local [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | rs-fw.c | 51 if (ht_cap->cap & IEEE80211_HT_CAP_SGI_20) 53 if (ht_cap->cap & IEEE80211_HT_CAP_SGI_40) 55 if (vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_80) 57 if (vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_160) 80 else if (vht_cap->cap & IEEE80211_VHT_CAP_RXSTBC_MASK) 82 else if (ht_cap->cap & IEEE80211_HT_CAP_RX_STBC) 87 ((ht_cap->cap & IEEE80211_HT_CAP_LDPC_CODING) || 88 (vht_ena && (vht_cap->cap & IEEE80211_VHT_CAP_RXLDPC)))) 144 .vht_cap_info = cpu_to_le32(vht_cap->cap), 559 switch (vht_cap->cap [all...] |
/linux-master/drivers/media/usb/stk1160/ |
H A D | stk1160-v4l.c | 336 void *priv, struct v4l2_capability *cap) 340 strscpy(cap->driver, "stk1160", sizeof(cap->driver)); 341 strscpy(cap->card, "stk1160", sizeof(cap->card)); 342 usb_make_path(dev->udev, cap->bus_info, sizeof(cap->bus_info)); 335 vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
|
/linux-master/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-stats.c | 52 void *priv, struct v4l2_capability *cap) 56 strscpy(cap->driver, RKISP1_DRIVER_NAME, sizeof(cap->driver)); 57 strscpy(cap->card, vdev->name, sizeof(cap->card)); 58 strscpy(cap->bus_info, RKISP1_BUS_INFO, sizeof(cap->bus_info)); 51 rkisp1_stats_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
|
/linux-master/drivers/input/rmi4/ |
H A D | rmi_f54.c | 389 struct v4l2_capability *cap) 393 strscpy(cap->driver, F54_NAME, sizeof(cap->driver)); 394 strscpy(cap->card, SYNAPTICS_INPUT_DEVICE_NAME, sizeof(cap->card)); 395 snprintf(cap->bus_info, sizeof(cap->bus_info), 388 rmi_f54_vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
|
/linux-master/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_video.c | 166 struct v4l2_capability *cap) 168 strscpy(cap->driver, CEDRUS_NAME, sizeof(cap->driver)); 169 strscpy(cap->card, CEDRUS_NAME, sizeof(cap->card)); 170 snprintf(cap->bus_info, sizeof(cap->bus_info), 165 cedrus_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
|
/linux-master/drivers/staging/most/video/ |
H A D | video.c | 243 struct v4l2_capability *cap) 248 strscpy(cap->driver, "v4l2_component", sizeof(cap->driver)); 249 strscpy(cap->card, "MOST", sizeof(cap->card)); 250 snprintf(cap->bus_info, sizeof(cap->bus_info), 242 vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
|