Home
last modified time | relevance | path

Searched refs:cap_len (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/virtio/
Dvirtio_pci_modern.c392 u8 type, cap_len, id, res_bar; in virtio_pci_find_shm_cap() local
402 cap_len), &cap_len); in virtio_pci_find_shm_cap()
403 if (cap_len != sizeof(struct virtio_pci_cap64)) { in virtio_pci_find_shm_cap()
405 " %d size: %d\n", __func__, pos, cap_len); in virtio_pci_find_shm_cap()
Dvirtio_pci_modern_dev.c154 offsetof(struct virtio_pci_cap, cap_len)); in check_offsets()
/linux-6.1.9/drivers/spi/
Dspi-mtk-snfi.c983 u32 cap_len = snf->buf_len - snf->nfi_cfg.page_size; in mtk_snand_read_page_cache() local
989 cap_len < req_left ? cap_len : req_left); in mtk_snand_read_page_cache()
991 u32 cap_len = snf->buf_len - rd_offset; in mtk_snand_read_page_cache() local
993 if (op->data.nbytes < cap_len) in mtk_snand_read_page_cache()
994 cap_len = op->data.nbytes; in mtk_snand_read_page_cache()
995 memcpy(op->data.buf.in, snf->buf + rd_offset, cap_len); in mtk_snand_read_page_cache()
1035 size_t cap_len; in mtk_snand_write_page_cache() local
1058 cap_len = snf->buf_len - wr_offset; in mtk_snand_write_page_cache()
1059 if (op->data.nbytes < cap_len) in mtk_snand_write_page_cache()
1060 cap_len = op->data.nbytes; in mtk_snand_write_page_cache()
[all …]
/linux-6.1.9/include/uapi/linux/
Dvirtio_pci.h123 __u8 cap_len; /* Generic PCI field: capability length */ member
/linux-6.1.9/drivers/video/fbdev/mb862xx/
Dmb862xxfb.h63 size_t cap_len; /* length of capture buffers */ member
Dmb862xxfbdrv.c527 par->cap_len = 0x1bd800; in mb862xxfb_init_fbinfo()
541 outreg(cap, GC_CAP_CBLA, par->cap_buf + par->cap_len); in mb862xxfb_init_fbinfo()
/linux-6.1.9/drivers/s390/scsi/
Dzfcp_dbf.c442 u64 req_id, u32 d_id, u16 cap_len) in zfcp_dbf_san() argument
473 for (; sg && pay_sum < cap_len; sg = sg_next(sg)) { in zfcp_dbf_san()
476 while (offset < sg->length && pay_sum < cap_len) { in zfcp_dbf_san()
/linux-6.1.9/net/netfilter/
Dnfnetlink_queue.c380 size_t data_len = 0, cap_len = 0; in nfqnl_build_packet_message() local
443 cap_len = entskb->len; in nfqnl_build_packet_message()
608 if (cap_len > data_len && in nfqnl_build_packet_message()
609 nla_put_be32(skb, NFQA_CAP_LEN, htonl(cap_len))) in nfqnl_build_packet_message()
/linux-6.1.9/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c1619 u16 olen, len, status, min_len, cap_len; in ibmvscsis_cap_mad() local
1660 cap_len = be16_to_cpu(common->length); in ibmvscsis_cap_mad()
1661 if (cap_len > len) { in ibmvscsis_cap_mad()
1667 if (cap_len == 0) { in ibmvscsis_cap_mad()
1682 len = len - cap_len; in ibmvscsis_cap_mad()
1684 ((char *)common + cap_len); in ibmvscsis_cap_mad()
/linux-6.1.9/net/bluetooth/
Dmgmt.c4281 u16 cap_len = 0; in read_controller_cap() local
4310 cap_len = eir_append_data(rp->cap, cap_len, MGMT_CAP_SEC_FLAGS, in read_controller_cap()
4317 cap_len = eir_append_le16(rp->cap, cap_len, in read_controller_cap()
4321 cap_len = eir_append_le16(rp->cap, cap_len, in read_controller_cap()
4331 cap_len = eir_append_data(rp->cap, cap_len, MGMT_CAP_LE_TX_PWR, in read_controller_cap()
4335 rp->cap_len = cpu_to_le16(cap_len); in read_controller_cap()
4340 rp, sizeof(*rp) + cap_len); in read_controller_cap()
/linux-6.1.9/include/net/bluetooth/
Dmgmt.h698 __le16 cap_len; member