/drivers/ieee802154/ |
H A D | fakehard.c | 133 * @cap: The capability information field to use in the association. 142 struct ieee802154_addr *addr, u8 channel, u8 page, u8 cap) 141 fake_assoc_req(struct net_device *dev, struct ieee802154_addr *addr, u8 channel, u8 page, u8 cap) argument
|
/drivers/infiniband/hw/ehca/ |
H A D | ehca_main.c | 560 qp_init_attr.cap.max_send_wr = 100; 561 qp_init_attr.cap.max_recv_wr = 100; 562 qp_init_attr.cap.max_send_sge = 2; 563 qp_init_attr.cap.max_recv_sge = 1;
|
/drivers/infiniband/ulp/iser/ |
H A D | iser_verbs.c | 227 init_attr.cap.max_send_wr = ISER_QP_MAX_REQ_DTOS; 228 init_attr.cap.max_recv_wr = ISER_QP_MAX_RECV_DTOS; 229 init_attr.cap.max_send_sge = 2; 230 init_attr.cap.max_recv_sge = 1;
|
/drivers/media/dvb/ttpci/ |
H A D | av7110_v4l.c | 522 struct v4l2_sliced_vbi_cap *cap) 528 if (cap->type != V4L2_BUF_TYPE_SLICED_VBI_OUTPUT) 531 cap->service_set = V4L2_SLICED_WSS_625; 532 cap->service_lines[0][23] = V4L2_SLICED_WSS_625; 521 vidioc_g_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_sliced_vbi_cap *cap) argument
|
/drivers/media/video/ |
H A D | atmel-isi.c | 807 struct v4l2_capability *cap) 809 strcpy(cap->driver, "atmel-isi"); 810 strcpy(cap->card, "Atmel Image Sensor Interface"); 811 cap->capabilities = (V4L2_CAP_VIDEO_CAPTURE | 806 isi_camera_querycap(struct soc_camera_host *ici, struct v4l2_capability *cap) argument
|
H A D | mx1_camera.c | 687 struct v4l2_capability *cap) 689 /* cap->name is set by the friendly caller:-> */ 690 strlcpy(cap->card, "i.MX1/i.MXL Camera", sizeof(cap->card)); 691 cap->capabilities = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING; 686 mx1_camera_querycap(struct soc_camera_host *ici, struct v4l2_capability *cap) argument
|
H A D | stk-webcam.c | 722 void *priv, struct v4l2_capability *cap) 724 strcpy(cap->driver, "stk"); 725 strcpy(cap->card, "stk"); 726 cap->version = DRIVER_VERSION_NUM; 728 cap->capabilities = V4L2_CAP_VIDEO_CAPTURE 721 stk_vidioc_querycap(struct file *filp, void *priv, struct v4l2_capability *cap) argument
|
H A D | via-camera.c | 1038 struct v4l2_capability *cap) 1040 strcpy(cap->driver, "via-camera"); 1041 strcpy(cap->card, "via-camera"); 1042 cap->version = 1; 1043 cap->capabilities = V4L2_CAP_VIDEO_CAPTURE | 1037 viacam_querycap(struct file *filp, void *priv, struct v4l2_capability *cap) argument
|
H A D | v4l2-ioctl.c | 174 [V4L2_BUF_TYPE_VIDEO_CAPTURE] = "vid-cap", 177 [V4L2_BUF_TYPE_VBI_CAPTURE] = "vbi-cap", 179 [V4L2_BUF_TYPE_SLICED_VBI_CAPTURE] = "sliced-vbi-cap", 182 [V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE] = "vid-cap-mplane", 535 struct v4l2_capability *cap = (struct v4l2_capability *)arg; local 540 cap->version = LINUX_VERSION_CODE; 541 ret = ops->vidioc_querycap(file, fh, cap); 547 cap->driver, cap->card, cap [all...] |
/drivers/media/video/cx25821/ |
H A D | cx25821-video.h | 130 struct v4l2_capability *cap);
|
/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_ctx.c | 298 u32 cap, reg, val; local 328 cap = (NX_CAP0_LEGACY_CONTEXT | NX_CAP0_LEGACY_MN); 329 cap |= (NX_CAP0_JUMBO_CONTIGUOUS | NX_CAP0_LRO_CONTIGUOUS); 331 prq->capabilities[0] = cpu_to_le32(cap);
|
/drivers/pci/ |
H A D | pci.h | 238 u32 cap; /* SR-IOV Capabilities */ member in struct:pci_sriov
|
/drivers/pcmcia/ |
H A D | vrc4173_cardu.h | 239 socket_cap_t cap; member in struct:vrc4173_socket
|
/drivers/infiniband/hw/mthca/ |
H A D | mthca_provider.c | 569 &init_attr->cap, qp); 603 init_attr->sq_sig_type, &init_attr->cap, 618 init_attr->cap.max_send_wr = qp->sq.max; 619 init_attr->cap.max_recv_wr = qp->rq.max; 620 init_attr->cap.max_send_sge = qp->sq.max_gs; 621 init_attr->cap.max_recv_sge = qp->rq.max_gs; 622 init_attr->cap.max_inline_data = qp->max_inline_data;
|
/drivers/media/video/cx23885/ |
H A D | cx23885-video.c | 1140 struct v4l2_capability *cap) 1144 strcpy(cap->driver, "cx23885"); 1145 strlcpy(cap->card, cx23885_boards[dev->board].name, 1146 sizeof(cap->card)); 1147 sprintf(cap->bus_info, "PCIe:%s", pci_name(dev->pci)); 1148 cap->capabilities = 1154 cap->capabilities |= V4L2_CAP_TUNER; 1139 vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
|
/drivers/media/video/tlg2300/ |
H A D | pd-video.c | 143 struct v4l2_capability *cap) 150 strcpy(cap->driver, "tele-video"); 151 strcpy(cap->card, "Telegent Poseidon"); 152 usb_make_path(p->udev, cap->bus_info, sizeof(cap->bus_info)); 153 cap->version = KERNEL_VERSION(0, 0, 1); 154 cap->capabilities = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_TUNER | 142 vidioc_querycap(struct file *file, void *fh, struct v4l2_capability *cap) argument
|
/drivers/media/video/gspca/ |
H A D | gspca.c | 1191 PDEBUG_MODE("try fmt cap", fmt->fmt.pix.pixelformat, w, h); 1384 struct v4l2_capability *cap) 1396 strlcpy((char *) cap->driver, gspca_dev->sd_desc->name, 1397 sizeof cap->driver); 1399 strlcpy((char *) cap->card, gspca_dev->dev->product, 1400 sizeof cap->card); 1402 snprintf((char *) cap->card, sizeof cap->card, 1407 usb_make_path(gspca_dev->dev, (char *) cap->bus_info, 1408 sizeof(cap 1383 vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument [all...] |
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_dcb.c | 2077 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/media/video/saa7134/ |
H A D | saa7134-core.c | 377 enum v4l2_field cap = V4L2_FIELD_ANY; local 391 cap = dev->video_q.curr->vb.field; 434 if (V4L2_FIELD_HAS_BOTH(cap) || V4L2_FIELD_HAS_BOTH(ov) || cap == ov) { 443 if (V4L2_FIELD_TOP == cap) {
|
/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 1667 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...] |
H A D | skge.c | 794 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...] |
/drivers/net/usb/ |
H A D | smsc75xx.c | 477 u8 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); local 479 if (cap & FLOW_CTRL_TX) { 485 if (cap & FLOW_CTRL_RX) 489 (cap & FLOW_CTRL_RX ? "enabled" : "disabled"), 490 (cap & FLOW_CTRL_TX ? "enabled" : "disabled"));
|
H A D | smsc95xx.c | 431 u8 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); local 433 if (cap & FLOW_CTRL_RX) 438 if (cap & FLOW_CTRL_TX) 444 cap & FLOW_CTRL_RX ? "enabled" : "disabled", 445 cap & FLOW_CTRL_TX ? "enabled" : "disabled");
|
/drivers/infiniband/core/ |
H A D | uverbs_cmd.c | 1458 attr.cap.max_send_wr = cmd.max_send_wr; 1459 attr.cap.max_recv_wr = cmd.max_recv_wr; 1460 attr.cap.max_send_sge = cmd.max_send_sge; 1461 attr.cap.max_recv_sge = cmd.max_recv_sge; 1462 attr.cap.max_inline_data = cmd.max_inline_data; 1506 resp.max_recv_sge = attr.cap.max_recv_sge; 1507 resp.max_send_sge = attr.cap.max_send_sge; 1508 resp.max_recv_wr = attr.cap.max_recv_wr; 1509 resp.max_send_wr = attr.cap.max_send_wr; 1510 resp.max_inline_data = attr.cap [all...] |
/drivers/media/video/et61x251/ |
H A D | et61x251_core.c | 1582 struct v4l2_capability cap = { local 1589 strlcpy(cap.card, cam->v4ldev->name, sizeof(cap.card)); 1590 if (usb_make_path(cam->usbdev, cap.bus_info, sizeof(cap.bus_info)) < 0) 1591 strlcpy(cap.bus_info, dev_name(&cam->usbdev->dev), 1592 sizeof(cap.bus_info)); 1594 if (copy_to_user(arg, &cap, sizeof(cap)))
|