Searched defs:cap (Results 126 - 150 of 186) sorted by relevance

12345678

/drivers/media/video/
H A Dzr364xx.c737 struct v4l2_capability *cap)
741 strlcpy(cap->driver, DRIVER_DESC, sizeof(cap->driver));
742 strlcpy(cap->card, cam->udev->product, sizeof(cap->card));
743 strlcpy(cap->bus_info, dev_name(&cam->udev->dev),
744 sizeof(cap->bus_info));
745 cap->capabilities = V4L2_CAP_VIDEO_CAPTURE |
736 zr364xx_vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
H A Dmx2_camera.c1430 struct v4l2_capability *cap)
1432 /* cap->name is set by the friendly caller:-> */
1433 strlcpy(cap->card, MX2_CAM_DRIVER_DESCRIPTION, sizeof(cap->card));
1434 cap->capabilities = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING;
1429 mx2_camera_querycap(struct soc_camera_host *ici, struct v4l2_capability *cap) argument
H A Dpxa_camera.c1586 struct v4l2_capability *cap)
1588 /* cap->name is set by the firendly caller:-> */
1589 strlcpy(cap->card, pxa_cam_driver_description, sizeof(cap->card));
1590 cap->capabilities = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING;
1585 pxa_camera_querycap(struct soc_camera_host *ici, struct v4l2_capability *cap) argument
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_dcb.c2077 static u8 bnx2x_dcbnl_get_cap(struct net_device *netdev, int capid, u8 *cap) argument
2085 *cap = true;
2088 *cap = true;
2091 *cap = false;
2094 *cap = 0x80; /* 8 priorities for PGs */
2097 *cap = 0x80; /* 8 priorities for PFC */
2100 *cap = true;
2103 *cap = false;
2106 *cap = BNX2X_DCBX_CAPS;
2118 DP(BNX2X_MSG_DCB, "capid %d:%x\n", capid, *cap);
[all...]
/drivers/net/ethernet/sis/
H A Dsis900.c784 u16 cap; local
790 cap = MII_NWAY_CSMA_CD |
796 mdio_write(net_dev, phy->phy_addr, MII_ANADV, cap);
/drivers/net/ethernet/smsc/
H A Dsmsc911x.c889 u8 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); local
891 if (cap & FLOW_CTRL_RX)
896 if (cap & FLOW_CTRL_TX)
902 (cap & FLOW_CTRL_RX ? "enabled" : "disabled"),
903 (cap & FLOW_CTRL_TX ? "enabled" : "disabled"));
H A Dsmsc9420.c1109 u8 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); local
1111 if (cap & FLOW_CTRL_RX)
1117 (cap & FLOW_CTRL_RX ? "enabled" : "disabled"),
1118 (cap & FLOW_CTRL_TX ? "enabled" : "disabled"));
/drivers/net/wireless/ath/ath9k/
H A Dmain.c2321 static u32 fill_chainmask(u32 cap, u32 new) argument
2326 for (i = 0; cap && new; i++, cap >>= 1) {
2327 if (!(cap & BIT(0)))
/drivers/net/wireless/prism54/
H A Disl_ioctl.c579 short cap; local
606 cap = bss->capinfo;
608 if (cap & CAP_ESS)
610 else if (cap & CAP_IBSS)
618 if (cap & CAP_CRYPT)
/drivers/pci/
H A Dprobe.c1369 u16 cap; local
1378 pci_read_config_word(dev, pos + 4, &cap);
1379 next_fn = cap >> 8;
/drivers/pcmcia/
H A Dvrc4173_cardu.h239 socket_cap_t cap; member in struct:vrc4173_socket
/drivers/platform/x86/
H A Dacer-wmi.c548 static bool has_cap(u32 cap) argument
550 if ((interface->capability & cap) != 0)
587 static acpi_status AMW0_get_u32(u32 *value, u32 cap) argument
592 switch (cap) {
657 static acpi_status AMW0_set_u32(u32 value, u32 cap) argument
665 switch (cap) {
878 static acpi_status WMID_get_u32(u32 *value, u32 cap) argument
884 switch (cap) {
914 static acpi_status WMID_set_u32(u32 value, u32 cap) argument
919 switch (cap) {
1005 wmid_v2_get_u32(u32 *value, u32 cap) argument
1112 wmid_v2_set_u32(u32 value, u32 cap) argument
1207 get_u32(u32 *value, u32 cap) argument
1236 set_u32(u32 value, u32 cap) argument
1415 u32 cap = (unsigned long)data; local
1430 acer_rfkill_register(struct device *dev, enum rfkill_type type, char *name, u32 cap) argument
[all...]
/drivers/power/
H A Dab8500_fg.c816 int cap = 0; local
827 cap = interpolate(voltage,
833 cap = 1000;
835 cap = 0;
839 __func__, voltage, cap);
841 return cap;
1325 int cap; local
1328 cap = di->bat_cap.user_mah;
1329 if (cap > di->bat_cap.max_mah_design) {
1330 dev_dbg(di->dev, "Remaining cap
1342 int cap, lower, upper; local
[all...]
/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c506 } __packed * cap; local
517 cap = (struct fip_encaps_head *)skb_push(skb, sizeof(*cap));
518 memset(cap, 0, sizeof(*cap));
521 if (fcoe_ctlr_vn_lookup(fip, d_id, cap->eth.h_dest))
533 memcpy(cap->eth.h_dest, fcf->fcf_mac, ETH_ALEN);
535 memcpy(cap->eth.h_source, fip->ctl_src_addr, ETH_ALEN);
536 cap->eth.h_proto = htons(ETH_P_FIP);
538 cap
[all...]
/drivers/scsi/osd/
H A Dosd_initiator.c1621 u8 options, const void *cap, const u8 *cap_key)
1639 osd_set_caps(&or->cdb, cap);
1965 struct osd_capability *cap = caps; local
1985 memset(cap, 0, sizeof(*cap));
1987 cap->h.format = OSD_SEC_CAP_FORMAT_VER1;
1988 cap->h.integrity_algorithm__key_version = 0; /* MAKE_BYTE(0, 0); */
1989 cap->h.security_method = OSD_SEC_NOSEC;
1990 /* cap->expiration_time;
1991 cap
1620 osd_finalize_request(struct osd_request *or, u8 options, const void *cap, const u8 *cap_key) argument
[all...]
/drivers/staging/media/solo6x10/
H A Dv4l2-enc.c1055 struct v4l2_capability *cap)
1061 strcpy(cap->driver, SOLO6X10_NAME);
1062 snprintf(cap->card, sizeof(cap->card), "Softlogic 6x10 Enc %d",
1064 snprintf(cap->bus_info, sizeof(cap->bus_info), "PCI %s",
1066 cap->version = SOLO6X10_VER_NUM;
1067 cap->capabilities = V4L2_CAP_VIDEO_CAPTURE |
1054 solo_enc_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_core.c518 void rtl8192_update_cap(struct net_device *dev, u16 cap) argument
524 if (cap & WLAN_CAPABILITY_SHORT_PREAMBLE) {
548 if ((cap & WLAN_CAPABILITY_SHORT_SLOT_TIME) &&
/drivers/staging/rtl8712/
H A Drtl871x_ioctl_linux.c174 u16 cap, ht_cap = false, mcs_rate; local
231 memcpy((u8 *)&cap, r8712_get_capability_from_ie(pnetwork->network.IEs),
233 cap = le16_to_cpu(cap);
234 if (cap & (WLAN_CAPABILITY_IBSS|WLAN_CAPABILITY_BSS)) {
235 if (cap & WLAN_CAPABILITY_BSS)
261 if (cap & WLAN_CAPABILITY_PRIVACY)
/drivers/usb/gadget/
H A Dci13xxx_udc.c141 void __iomem *cap; /* bus map offset + CAP offset + CAP data */ member in struct:__anon5691
228 return ioread32(addr + hw_bank.cap) & mask;
240 addr + hw_bank.cap);
254 iowrite32(reg, addr + hw_bank.cap);
270 iowrite32((reg & ~mask) | (data & mask), addr + hw_bank.cap);
281 hw_bank.cap = hw_bank.abs;
282 hw_bank.cap += ABS_CAPLENGTH;
283 hw_bank.cap += ioread8(hw_bank.cap);
287 hw_bank.size = hw_bank.cap
[all...]
/drivers/dma/ppc4xx/
H A Dadma.c1568 * capable to process 'cap' type of operation.
1570 * @cap: type of transaction
1578 enum dma_transaction_type cap, struct page **dst_lst, int dst_cnt,
1583 if (cap == DMA_PQ || cap == DMA_PQ_VAL) {
1600 if (cap == DMA_PQ && chan->chan_id == PPC440SPE_XOR_ID) {
1619 ppc440spe_async_tx_find_best_channel(enum dma_transaction_type cap, argument
1635 switch (cap) {
1651 if (dma_has_cap(cap, ref->chan->device->cap_mask)) {
1654 rank = ppc440spe_adma_estimate(ref->chan, cap, dst_ls
1577 ppc440spe_adma_estimate(struct dma_chan *chan, enum dma_transaction_type cap, struct page **dst_lst, int dst_cnt, struct page **src_lst, int src_cnt, size_t src_sz) argument
[all...]
/drivers/iommu/
H A Damd_iommu.c3229 unsigned long cap)
3231 switch (cap) {
3228 amd_iommu_domain_has_cap(struct iommu_domain *domain, unsigned long cap) argument
H A Damd_iommu_types.h493 u32 cap; member in struct:amd_iommu
/drivers/media/video/bt8xx/
H A Dbttv-driver.c1688 bttv_dma_free(&fh->cap,btv, old);
2396 q = &fh->cap;
2462 f->fmt.pix.field = fh->cap.field;
2585 fh->cap.field = f->fmt.pix.field;
2586 fh->cap.last = V4L2_FIELD_NONE;
2611 struct v4l2_capability *cap)
2619 strlcpy(cap->driver, "bttv", sizeof(cap->driver));
2620 strlcpy(cap->card, btv->video_dev->name, sizeof(cap
2610 bttv_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
2957 bttv_cropcap(struct file *file, void *priv, struct v4l2_cropcap *cap) argument
3413 radio_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
[all...]
/drivers/media/video/cx231xx/
H A Dcx231xx-417.c1691 struct v4l2_capability *cap)
1696 memcpy(cap, &pvr_capability, sizeof(struct v4l2_capability));
1690 vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
/drivers/media/video/cx23885/
H A Dcx23885-417.c1336 struct v4l2_capability *cap)
1342 strlcpy(cap->driver, dev->name, sizeof(cap->driver));
1343 strlcpy(cap->card, cx23885_boards[tsport->dev->board].name,
1344 sizeof(cap->card));
1345 sprintf(cap->bus_info, "PCI:%s", pci_name(dev->pci));
1346 cap->capabilities =
1352 cap->capabilities |= V4L2_CAP_TUNER;
1335 vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument

Completed in 617 milliseconds

12345678