Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/virtio/
Dvirtio_pci_modern.c402 u8 type, cap_len, id, res_bar; in virtio_pci_find_shm_cap() local
412 cap_len), &cap_len); in virtio_pci_find_shm_cap()
413 if (cap_len != sizeof(struct virtio_pci_cap64)) { in virtio_pci_find_shm_cap()
415 " %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.6.21/drivers/spi/
Dspi-mtk-snfi.c1014 u32 cap_len = snf->buf_len - snf->nfi_cfg.page_size; in mtk_snand_read_page_cache() local
1020 cap_len < req_left ? cap_len : req_left); in mtk_snand_read_page_cache()
1022 u32 cap_len = snf->buf_len - rd_offset; in mtk_snand_read_page_cache() local
1024 if (op->data.nbytes < cap_len) in mtk_snand_read_page_cache()
1025 cap_len = op->data.nbytes; in mtk_snand_read_page_cache()
1026 memcpy(op->data.buf.in, snf->buf + rd_offset, cap_len); in mtk_snand_read_page_cache()
1066 size_t cap_len; in mtk_snand_write_page_cache() local
1089 cap_len = snf->buf_len - wr_offset; in mtk_snand_write_page_cache()
1090 if (op->data.nbytes < cap_len) in mtk_snand_write_page_cache()
1091 cap_len = op->data.nbytes; in mtk_snand_write_page_cache()
[all …]
/linux-6.6.21/include/uapi/linux/
Dvirtio_pci.h123 __u8 cap_len; /* Generic PCI field: capability length */ member
/linux-6.6.21/drivers/video/fbdev/mb862xx/
Dmb862xxfb.h63 size_t cap_len; /* length of capture buffers */ member
Dmb862xxfbdrv.c524 par->cap_len = 0x1bd800; in mb862xxfb_init_fbinfo()
538 outreg(cap, GC_CAP_CBLA, par->cap_buf + par->cap_len); in mb862xxfb_init_fbinfo()
/linux-6.6.21/drivers/s390/scsi/
Dzfcp_dbf.c484 u64 req_id, u32 d_id, u16 cap_len) in zfcp_dbf_san() argument
515 for (; sg && pay_sum < cap_len; sg = sg_next(sg)) { in zfcp_dbf_san()
518 while (offset < sg->length && pay_sum < cap_len) { in zfcp_dbf_san()
/linux-6.6.21/net/netfilter/
Dnfnetlink_queue.c395 size_t data_len = 0, cap_len = 0; in nfqnl_build_packet_message() local
461 cap_len = entskb->len; in nfqnl_build_packet_message()
629 if (cap_len > data_len && in nfqnl_build_packet_message()
630 nla_put_be32(skb, NFQA_CAP_LEN, htonl(cap_len))) in nfqnl_build_packet_message()
/linux-6.6.21/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.6.21/net/bluetooth/
Dmgmt.c4295 u16 cap_len = 0; in read_controller_cap() local
4324 cap_len = eir_append_data(rp->cap, cap_len, MGMT_CAP_SEC_FLAGS, in read_controller_cap()
4331 cap_len = eir_append_le16(rp->cap, cap_len, in read_controller_cap()
4335 cap_len = eir_append_le16(rp->cap, cap_len, in read_controller_cap()
4345 cap_len = eir_append_data(rp->cap, cap_len, MGMT_CAP_LE_TX_PWR, in read_controller_cap()
4349 rp->cap_len = cpu_to_le16(cap_len); in read_controller_cap()
4354 rp, sizeof(*rp) + cap_len); in read_controller_cap()
/linux-6.6.21/include/net/bluetooth/
Dmgmt.h702 __le16 cap_len; member