Searched defs:cap (Results 151 - 175 of 186) sorted by relevance

12345678

/drivers/media/video/saa7134/
H A Dsaa7134-video.c1304 q = &fh->cap;
1364 videobuf_queue_sg_init(&fh->cap, &video_qops,
1426 mutex_lock(&fh->cap.vb_lock);
1427 if (!list_empty(&fh->cap.stream))
1428 buf = list_entry(fh->cap.stream.next, struct videobuf_buffer, stream);
1430 mutex_lock(&fh->cap.vb_lock);
1431 if (UNSET == fh->cap.read_off) {
1435 if (0 != fh->cap.ops->buf_prepare(&fh->cap,fh->cap
1803 saa7134_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
1920 saa7134_cropcap(struct file *file, void *priv, struct v4l2_cropcap *cap) argument
2302 radio_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
[all...]
H A Dsaa7134.h481 struct videobuf_queue cap; member in struct:saa7134_fh
/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c1823 int cap = 0; local
1828 cap = SUPPORTED_10baseT_Full;
1830 cap = SUPPORTED_10baseT_Half;
1834 cap = SUPPORTED_100baseT_Full;
1836 cap = SUPPORTED_100baseT_Half;
1840 cap = SUPPORTED_1000baseT_Full;
1842 cap = SUPPORTED_1000baseT_Half;
1846 cap = SUPPORTED_10000baseT_Full;
1848 return cap;
1868 int cap local
1877 int cap = speed_duplex_to_caps(speed, cmd->duplex); local
[all...]
/drivers/net/ethernet/marvell/
H A Dskge.c794 static u32 skge_vpd_read(struct pci_dev *pdev, int cap, u16 offset) argument
798 pci_write_config_word(pdev, cap + PCI_VPD_ADDR, offset);
801 pci_read_config_word(pdev, cap + PCI_VPD_ADDR, &offset);
804 pci_read_config_dword(pdev, cap + PCI_VPD_DATA, &val);
808 static void skge_vpd_write(struct pci_dev *pdev, int cap, u16 offset, u32 val) argument
810 pci_write_config_dword(pdev, cap + PCI_VPD_DATA, val);
811 pci_write_config_word(pdev, cap + PCI_VPD_ADDR,
815 pci_read_config_word(pdev, cap + PCI_VPD_ADDR, &offset);
824 int cap = pci_find_capability(pdev, PCI_CAP_ID_VPD); local
828 if (!cap)
850 int cap = pci_find_capability(pdev, PCI_CAP_ID_VPD); local
[all...]
H A Dsky2.c1667 int cap; local
1677 (cap = pci_find_capability(hw->pdev, PCI_CAP_ID_PCIX))) {
1680 cmd = sky2_pci_read16(hw, cap + PCI_X_CMD);
1682 sky2_pci_write16(hw, cap + PCI_X_CMD, cmd);
4262 static int sky2_vpd_wait(const struct sky2_hw *hw, int cap, u16 busy) argument
4266 while ( (sky2_pci_read16(hw, cap + PCI_VPD_ADDR) & PCI_VPD_ADDR_F) == busy) {
4278 static int sky2_vpd_read(struct sky2_hw *hw, int cap, void *data, argument
4286 sky2_pci_write16(hw, cap + PCI_VPD_ADDR, offset);
4287 rc = sky2_vpd_wait(hw, cap, 0);
4291 val = sky2_pci_read32(hw, cap
4302 sky2_vpd_write(struct sky2_hw *hw, int cap, const void *data, u16 offset, unsigned int length) argument
4325 int cap = pci_find_capability(sky2->hw->pdev, PCI_CAP_ID_VPD); local
4339 int cap = pci_find_capability(sky2->hw->pdev, PCI_CAP_ID_VPD); local
[all...]
/drivers/net/wireless/bcmdhd/
H A Dwl_iw.c462 char cap[5]; local
466 cap[0] = 0;
475 strcpy(cap, "a");
478 strcpy(cap, "b");
483 strcpy(cap, "abg");
485 strcpy(cap, "bg");
489 strcpy(cap, "abgn");
491 strcpy(cap, "bgn");
495 snprintf(cwrq->name, IFNAMSIZ, "IEEE 802.11%s", cap);
/drivers/pci/
H A Dpci.c165 u8 pos, int cap, int *ttl)
178 if (id == cap)
186 u8 pos, int cap)
190 return __pci_find_next_cap_ttl(bus, devfn, pos, cap, &ttl);
193 int pci_find_next_capability(struct pci_dev *dev, u8 pos, int cap) argument
196 pos + PCI_CAP_LIST_NEXT, cap);
225 * @cap: capability code
230 * support it. Possible values for @cap:
241 int pci_find_capability(struct pci_dev *dev, int cap) argument
247 pos = __pci_find_next_cap(dev->bus, dev->devfn, pos, cap);
164 __pci_find_next_cap_ttl(struct pci_bus *bus, unsigned int devfn, u8 pos, int cap, int *ttl) argument
185 __pci_find_next_cap(struct pci_bus *bus, unsigned int devfn, u8 pos, int cap) argument
265 pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap) argument
293 pci_find_ext_capability(struct pci_dev *dev, int cap) argument
344 pci_bus_find_ext_capability(struct pci_bus *bus, unsigned int devfn, int cap) argument
377 u8 cap, mask; local
831 pci_find_saved_cap( struct pci_dev *pci_dev, char cap) argument
848 u16 *cap; local
886 u16 *cap; local
939 u16 *cap; local
1041 struct pci_cap_saved_data cap[0]; member in struct:pci_saved_state
1055 struct pci_cap_saved_data *cap; local
1093 struct pci_cap_saved_data *cap; local
1927 pci_add_cap_save_buffer( struct pci_dev *dev, char cap, unsigned int size) argument
1984 u32 cap; local
2094 u32 cap; local
2174 u32 cap; local
2330 u16 cap; local
3020 u32 cap; local
3061 u8 cap; local
3318 int cap; local
3341 int cap; local
3366 int cap; local
3412 int ret, cap; local
3437 int cap, err = -EINVAL; local
3487 int ret, cap; local
3511 int cap, err = -EINVAL; local
[all...]
/drivers/scsi/
H A Dgdth.c3977 static int gdth_bios_param(struct scsi_device *sdev,struct block_device *bdev,sector_t cap,int *ip) argument
3985 capacity = cap;
H A Dips.c4151 IPS_SCSI_CAPACITY cap; local
4158 cap.lba =
4162 cap.len = cpu_to_be32((uint32_t) IPS_BLKSIZE);
4164 ips_scmd_buf_write(scb->scsi_cmd, &cap, sizeof (cap));
/drivers/staging/telephony/
H A Dixj.c5927 j->caplist[j->caps].cap = PHONE_VENDOR_QUICKNET;
5950 j->caplist[j->caps].cap = j->cardtype;
5955 j->caplist[j->caps].cap = pots;
5967 j->caplist[j->caps].cap = speaker;
5979 j->caplist[j->caps].cap = handset;
5992 j->caplist[j->caps].cap = pstn;
6003 j->caplist[j->caps].cap = ULAW;
6009 j->caplist[j->caps].cap = LINEAR16;
6015 j->caplist[j->caps].cap = LINEAR8;
6021 j->caplist[j->caps].cap
6583 struct phone_capability cap; local
[all...]
/drivers/tty/
H A Dmxser.c2397 static int __init mxser_get_ISA_conf(int cap, struct mxser_board *brd) argument
2405 id = mxser_read_register(cap, regs);
2476 scratch2 = inb(cap + UART_LCR) & (~UART_LCR_DLAB);
2477 outb(scratch2 | UART_LCR_DLAB, cap + UART_LCR);
2478 outb(0, cap + UART_EFR); /* EFR is the same as FCR */
2479 outb(scratch2, cap + UART_LCR);
2480 outb(UART_FCR_ENABLE_FIFO, cap + UART_FCR);
2481 scratch = inb(cap + UART_IIR);
/drivers/video/console/
H A Dfbcon.c1023 int cap, ret; local
1028 cap = info->flags;
1124 if ((cap & FBINFO_HWACCEL_COPYAREA) &&
1125 !(cap & FBINFO_HWACCEL_DISABLED))
2051 int cap = info->flags; local
2059 int good_pan = (cap & FBINFO_HWACCEL_YPAN) &&
2061 int good_wrap = (cap & FBINFO_HWACCEL_YWRAP) &&
2065 int reading_fast = cap & FBINFO_READS_FAST;
2066 int fast_copyarea = (cap & FBINFO_HWACCEL_COPYAREA) &&
2067 !(cap
[all...]
/drivers/dma/
H A Dste_dma40.c1827 dma_cap_mask_t cap = d40c->chan.device->cap_mask; local
1829 if (dma_has_cap(DMA_MEMCPY, cap) && !dma_has_cap(DMA_SLAVE, cap)) {
1835 } else if (dma_has_cap(DMA_MEMCPY, cap) &&
1836 dma_has_cap(DMA_SLAVE, cap)) {
/drivers/iommu/
H A Dintel-iommu.c543 sagaw = cap_sagaw(iommu->cap);
628 mask &= cap_super_page_val(iommu->cap);
988 if (!rwbf_quirk && !cap_rwbf(iommu->cap))
1065 if (cap_read_drain(iommu->cap))
1068 if (cap_write_drain(iommu->cap))
1177 if (!cap_pgsel_inv(iommu->cap) || mask > cap_max_amask_val(iommu->cap))
1188 if (!cap_caching_mode(iommu->cap) || !map)
1249 ndomains = cap_ndoms(iommu->cap);
1275 if (cap_caching_mode(iommu->cap))
4082 intel_iommu_domain_has_cap(struct iommu_domain *domain, unsigned long cap) argument
[all...]
/drivers/media/video/pvrusb2/
H A Dpvrusb2-hdw.c455 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
460 *left = cap->bounds.left;
466 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
471 *left = cap->bounds.left;
472 if (cap->bounds.width > cptr->hdw->cropw_val) {
473 *left += cap->bounds.width - cptr->hdw->cropw_val;
480 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
485 *top = cap->bounds.top;
491 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
496 *top = cap
505 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
521 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
537 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
548 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
559 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
570 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
581 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
592 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
603 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
614 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
625 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
636 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
[all...]
/drivers/media/video/
H A Ds2255drv.c841 struct v4l2_capability *cap)
845 strlcpy(cap->driver, "s2255", sizeof(cap->driver));
846 strlcpy(cap->card, "s2255", sizeof(cap->card));
847 usb_make_path(dev->udev, cap->bus_info, sizeof(cap->bus_info));
848 cap->capabilities = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING;
840 vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
H A Dvino.c2928 struct v4l2_capability *cap)
2930 memset(cap, 0, sizeof(struct v4l2_capability));
2932 strcpy(cap->driver, vino_driver_name);
2933 strcpy(cap->card, vino_driver_description);
2934 strcpy(cap->bus_info, vino_bus_name);
2935 cap->capabilities =
2927 vino_querycap(struct file *file, void *__fh, struct v4l2_capability *cap) argument
/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_main.c1463 unsigned int cap; local
1483 cap = speed_to_caps(speed);
1485 if (!(lc->supported & cap) || (speed == SPEED_1000) ||
1488 lc->requested_speed = cap;
1491 cap = to_fw_linkcaps(cmd->advertising);
1492 if (!(lc->supported & cap))
1495 lc->advertising = cap | FW_PORT_CAP_ANEG;
/drivers/net/ethernet/dec/tulip/
H A Dde4x5.c2749 int ana, anlpa, cap, cr, slnk, sr; local
2831 (cap = anlpa & MII_ANLPA_TAF & ana)) {
2832 if (cap & MII_ANA_100M) {
2835 } else if (cap & MII_ANA_10M) {
2934 s32 cr, anlpa, ana, cap, irqs, irq_mask, imr, omr, slnk, sr, sts; local
3015 (cap = anlpa & MII_ANLPA_TAF & ana)) {
3016 if (cap & MII_ANA_100M) {
3019 } else if (cap & MII_ANA_10M) {
/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c1081 int ret, cap, err; local
1084 cap = pci_pcie_cap(pdev);
1085 if (!cap)
1088 err = pci_read_config_word(pdev, cap + PCI_EXP_DEVCTL, &ctl);
1096 pci_write_config_word(pdev, cap + PCI_EXP_DEVCTL, ctl);
3193 int cap; local
3203 cap = pci_pcie_cap(bridge);
3204 pci_read_config_word(bridge, cap + PCI_CAP_FLAGS, &val);
3221 cap = pci_pcie_cap(bridge);
3223 cap
3394 int cap; local
[all...]
/drivers/net/wireless/ath/ath6kl/
H A Dwmi.c621 struct wmi_p2p_capabilities *cap; local
622 if (dlen < sizeof(*cap))
624 cap = (struct wmi_p2p_capabilities *) ev->data;
626 cap->go_power_save);
/drivers/platform/x86/
H A Dsony-laptop.c750 u16 cap[0x10]; member in struct:sony_nc_handles
762 for (i = 0; i < ARRAY_SIZE(handles->cap); i++) {
764 handles->cap[i]);
780 for (i = 0; i < ARRAY_SIZE(handles->cap); i++) {
785 handles->cap[i] = result;
826 if (handles->cap[i] == handle) {
/drivers/staging/et131x/
H A Det131x.c4003 int cap = pci_pcie_cap(pdev); local
4012 if (!cap) {
4020 if (pci_read_config_word(pdev, cap + PCI_EXP_DEVCAP, &max_payload)) {
4057 if (pci_read_config_word(pdev, cap + PCI_EXP_DEVCTL, &ctl)) {
4065 if (pci_write_config_word(pdev, cap + PCI_EXP_DEVCTL, ctl)) {
/drivers/staging/rtl8192u/
H A Dr8192U_core.c1638 void rtl8192_update_cap(struct net_device* dev, u16 cap) argument
1643 priv->short_preamble = cap & WLAN_CAPABILITY_SHORT_PREAMBLE;
1652 if ((cap & WLAN_CAPABILITY_SHORT_SLOT)&&(!priv->ieee80211->pHTInfo->bCurrentRT2RTLongSlotTime))
/drivers/net/ethernet/freescale/
H A Ducc_geth.h1108 int cap; member in struct:ucc_geth_info

Completed in 1156 milliseconds

12345678