/drivers/media/platform/exynos4-is/ |
H A D | common.c | 41 void __fimc_vidioc_querycap(struct device *dev, struct v4l2_capability *cap, argument 44 strlcpy(cap->driver, dev->driver->name, sizeof(cap->driver)); 45 strlcpy(cap->card, dev->driver->name, sizeof(cap->card)); 46 snprintf(cap->bus_info, sizeof(cap->bus_info), 48 cap->device_caps = caps; 49 cap->capabilities = cap [all...] |
/drivers/staging/lustre/lustre/libcfs/linux/ |
H A D | linux-curproc.c | 58 void cfs_cap_raise(cfs_cap_t cap) argument 64 cap_raise(cred->cap_effective, cap); 69 void cfs_cap_lower(cfs_cap_t cap) argument 75 cap_lower(cred->cap_effective, cap); 80 int cfs_cap_raised(cfs_cap_t cap) argument 82 return cap_raised(current_cap(), cap); 85 void cfs_kernel_cap_pack(kernel_cap_t kcap, cfs_cap_t *cap) argument 88 *cap = kcap.cap[0]; 91 void cfs_kernel_cap_unpack(kernel_cap_t *kcap, cfs_cap_t cap) argument 98 cfs_cap_t cap; local 99 cfs_kernel_cap_pack(current_cap(), &cap); local [all...] |
/drivers/net/wireless/mwifiex/ |
H A D | 11h.c | 32 struct mwifiex_ie_types_pwr_capability *cap; local 44 cap = (struct mwifiex_ie_types_pwr_capability *)*buffer; 45 cap->header.type = cpu_to_le16(WLAN_EID_PWR_CAPABILITY); 46 cap->header.len = cpu_to_le16(2); 47 cap->min_pwr = 0; 48 cap->max_pwr = 0; 49 *buffer += sizeof(*cap);
|
/drivers/thunderbolt/ |
H A D | cap.c | 21 static bool tb_cap_is_basic(struct tb_cap_any *cap) argument 23 /* basic.cap is u8. This checks only the lower 8 bit of cap. */ 24 return cap->basic.cap != 5; 27 static bool tb_cap_is_long(struct tb_cap_any *cap) argument 29 return !tb_cap_is_basic(cap) 30 && cap->extended_short.next == 0 31 && cap->extended_short.length == 0; 34 static enum tb_cap tb_cap(struct tb_cap_any *cap) argument 43 tb_cap_next(struct tb_cap_any *cap, u32 offset) argument 80 tb_find_cap(struct tb_port *port, enum tb_cfg_space space, enum tb_cap cap) argument [all...] |
H A D | tunnel_pci.c | 150 int cap = tb_find_cap(port, TB_CFG_PORT, TB_CAP_PCIE); local 151 if (cap <= 0) { 152 tb_port_warn(port, "TB_CAP_PCIE not found: %d\n", cap); 153 return cap ? cap : -ENXIO; 155 return tb_port_write(port, &word, TB_CFG_PORT, cap, 1);
|
H A D | switch.c | 187 int cap; local 195 cap = tb_find_cap(port, TB_CFG_PORT, TB_CAP_PHY); 197 if (cap > 0) 198 port->cap_phy = cap; 342 int cap; local 393 cap = tb_find_cap(&sw->ports[0], TB_CFG_SWITCH, TB_CAP_PLUG_EVENTS); 394 if (cap < 0) { 398 sw->cap_plug_events = cap;
|
H A D | tb.c | 116 int cap; local 124 cap = tb_find_cap(&sw->ports[i], TB_CFG_PORT, TB_CAP_PCIE); 125 if (cap <= 0) 127 res = tb_port_read(&sw->ports[i], &data, TB_CFG_PORT, cap, 1); 146 int cap; local 168 cap = tb_find_cap(up_port, TB_CFG_PORT, TB_CAP_PCIE); 169 if (cap <= 0) 171 if (tb_port_read(up_port, &data, TB_CFG_PORT, cap, 1))
|
/drivers/mfd/ |
H A D | rts5227.c | 98 u16 cap; local 112 pcie_capability_read_word(pcr->pci, PCI_EXP_DEVCTL2, &cap); 113 if (cap & PCI_EXP_DEVCTL2_LTR_EN)
|
/drivers/rtc/ |
H A D | rtc-efi.c | 177 efi_time_cap_t cap; local 179 status = efi.get_time(&eft, &cap);
|
/drivers/acpi/ |
H A D | video_detect.c | 53 long *cap = context; local 59 *cap |= ACPI_VIDEO_BACKLIGHT; 108 long *cap = context; local 124 *cap |= acpi_is_video_device(handle);
|
/drivers/char/ |
H A D | efirtc.c | 154 efi_time_cap_t cap; local 177 status = efi.get_time(&eft, &cap); 303 efi_time_cap_t cap; local 309 memset(&cap, 0, sizeof(cap)); 313 efi.get_time(&eft, &cap); 358 cap.resolution, cap.accuracy, cap.sets_to_zero);
|
/drivers/char/tpm/ |
H A D | tpm-sysfs.c | 109 cap_t cap; local 116 rc = tpm_getcap(dev, TPM_CAP_PROP_PCR, &cap, 121 num_pcrs = be32_to_cpu(cap.num_pcrs); 138 cap_t cap; local 141 rc = tpm_getcap(dev, TPM_CAP_FLAG_PERM, &cap, 146 rc = sprintf(buf, "%d\n", !cap.perm_flags.disable); 154 cap_t cap; local 157 rc = tpm_getcap(dev, TPM_CAP_FLAG_PERM, &cap, 162 rc = sprintf(buf, "%d\n", !cap.perm_flags.deactivated); 170 cap_t cap; local 186 cap_t cap; local 202 cap_t cap; local [all...] |
/drivers/dma/dw/ |
H A D | platform.c | 35 dma_cap_mask_t cap; local 51 dma_cap_zero(cap); 52 dma_cap_set(DMA_SLAVE, cap); 55 return dma_request_channel(cap, dw_dma_filter, &slave);
|
/drivers/infiniband/hw/ehca/ |
H A D | ehca_hca.c | 363 u32 cap; local 392 cap = (rblock->capability_mask | props->set_port_cap_mask) 396 cap, props->init_type, port_modify_mask);
|
/drivers/media/firewire/ |
H A D | firedtv-ci.c | 50 struct ca_caps *cap = arg; local 52 cap->slot_num = 1; 53 cap->slot_type = CA_CI; 54 cap->descr_num = 1; 55 cap->descr_type = CA_ECD;
|
/drivers/media/pci/zoran/ |
H A D | zr36016.c | 315 struct vfe_settings *cap, 322 cap->x, cap->y, cap->width, cap->height, 323 cap->decimation); 328 ptr->width = cap->width; 329 ptr->height = cap->height; 336 ptr->xoff = (norm->HStart ? norm->HStart : 1) + cap->x; 341 ptr->yoff = norm->VStart + cap 313 zr36016_set_video(struct videocodec *codec, struct tvnorm *norm, struct vfe_settings *cap, struct vfe_polarity *pol) argument [all...] |
H A D | zr36050.c | 605 struct vfe_settings *cap, 613 cap->x, cap->y, cap->width, cap->height, 614 cap->decimation, cap->quality); 618 ptr->width = cap->width / (cap->decimation & 0xff); 619 ptr->height = cap 603 zr36050_set_video(struct videocodec *codec, struct tvnorm *norm, struct vfe_settings *cap, struct vfe_polarity *pol) argument [all...] |
H A D | zr36060.c | 596 struct vfe_settings *cap, 604 cap->x, cap->y, cap->width, cap->height, cap->decimation); 609 ptr->width = cap->width / (cap->decimation & 0xff); 610 ptr->height = cap->height / (cap 594 zr36060_set_video(struct videocodec *codec, struct tvnorm *norm, struct vfe_settings *cap, struct vfe_polarity *pol) argument [all...] |
/drivers/media/platform/s5p-tv/ |
H A D | hdmiphy_drv.c | 226 struct v4l2_dv_timings_cap *cap) 228 if (cap->pad != 0) 231 cap->type = V4L2_DV_BT_656_1120; 234 cap->bt.min_pixelclock = 27000000; 235 cap->bt.max_pixelclock = 148500000; 225 hdmiphy_dv_timings_cap(struct v4l2_subdev *sd, struct v4l2_dv_timings_cap *cap) argument
|
/drivers/media/platform/soc_camera/ |
H A D | soc_scale_crop.c | 44 struct v4l2_cropcap cap; local 56 cap.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 58 ret = v4l2_subdev_call(sd, video, cropcap, &cap); 60 *rect = cap.defrect; 102 struct v4l2_cropcap cap; local 130 ret = v4l2_subdev_call(sd, video, cropcap, &cap); 135 soc_camera_limit_side(&rect->left, &rect->width, cap.bounds.left, 2, 136 cap.bounds.width); 137 soc_camera_limit_side(&rect->top, &rect->height, cap.bounds.top, 4, 138 cap 223 struct v4l2_cropcap cap; local [all...] |
/drivers/pci/ |
H A D | ats.c | 23 u16 cap; local 36 pci_read_config_word(dev, pos + PCI_ATS_CAP, &cap); 37 ats->qdep = PCI_ATS_CAP_QDEP(cap) ? PCI_ATS_CAP_QDEP(cap) : 163 u16 cap; local 175 pci_read_config_word(dev, pos + PCI_ATS_CAP, &cap); 177 return PCI_ATS_CAP_QDEP(cap) ? PCI_ATS_CAP_QDEP(cap) :
|
/drivers/spi/ |
H A D | spi-fsl-spi.h | 28 __be32 cap; /* TYPE_GRLIB specific */ member in struct:fsl_spi_reg
|
/drivers/xen/xen-pciback/ |
H A D | conf_space_capability.c | 33 static inline void register_capability(struct xen_pcibk_config_capability *cap) argument 35 list_add_tail(&cap->cap_list, &capabilities); 41 struct xen_pcibk_config_capability *cap; local 44 list_for_each_entry(cap, &capabilities, cap_list) { 45 cap_offset = pci_find_capability(dev, cap->capability); 48 cap->capability, cap_offset); 56 cap->fields,
|
/drivers/media/i2c/ |
H A D | ths8200.c | 421 struct v4l2_dv_timings_cap *cap) 423 if (cap->pad != 0) 426 *cap = ths8200_timings_cap; 420 ths8200_dv_timings_cap(struct v4l2_subdev *sd, struct v4l2_dv_timings_cap *cap) argument
|
/drivers/media/pci/ttpci/ |
H A D | av7110_ca.c | 270 ca_caps_t cap; local 272 cap.slot_num = 2; 273 cap.slot_type = (FW_CI_LL_SUPPORT(av7110->arm_app) ? 275 cap.descr_num = 16; 276 cap.descr_type = CA_ECD; 277 memcpy(parg, &cap, sizeof(cap));
|