/linux-6.6.21/drivers/pci/ |
D | proc.c | 25 return fixed_size_llseek(file, off, whence, dev->cfg_size); in proc_bus_pci_lseek() 42 size = dev->cfg_size; in proc_bus_pci_read() 117 int size = dev->cfg_size; in proc_bus_pci_write() 183 i_size_write(ino, dev->cfg_size); in proc_bus_pci_write() 441 proc_set_size(e, dev->cfg_size); in pci_proc_attach_device()
|
D | pci-sysfs.c | 677 size = dev->cfg_size; in pci_read_config() 762 if (off > dev->cfg_size) in pci_write_config() 764 if (off + count > dev->cfg_size) { in pci_write_config() 765 size = dev->cfg_size - off; in pci_write_config() 823 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_dev_config_attr_is_visible()
|
D | quirks.c | 549 dev->cfg_size = 0xA0; in quirk_citrine() 559 dev->cfg_size = 0x600; in quirk_nfp6000() 5453 pdev->cfg_size = PCI_CFG_SPACE_EXP_SIZE; in quirk_intel_qat_vf_cap() 5456 pdev->cfg_size = PCI_CFG_SPACE_SIZE; in quirk_intel_qat_vf_cap()
|
D | probe.c | 1875 dev->cfg_size = pci_cfg_space_size(dev); in pci_setup_device()
|
/linux-6.6.21/drivers/vdpa/solidrun/ |
D | snet_vdpa.h | 103 u32 cfg_size; member 112 u32 cfg_size; member
|
D | snet_main.c | 259 return (size_t)snet->cfg->cfg_size; in snet_get_config_size() 473 if (offset + len > snet->cfg->cfg_size) in snet_get_config() 490 if (offset + len > snet->cfg->cfg_size) in snet_set_config() 690 cfg->cfg_size = psnet_read32(psnet, off); in psnet_read_cfg() 749 cfg->devs[i]->cfg_size = psnet_read32(psnet, off); in psnet_read_cfg()
|
/linux-6.6.21/sound/soc/intel/avs/ |
D | path.c | 151 size_t cfg_size, data_size = 0; in avs_copier_create() local 236 cfg_size = sizeof(*cfg) + data_size; in avs_copier_create() 239 cfg_size -= sizeof(cfg->gtw_cfg.config.attrs); in avs_copier_create() 241 cfg = kzalloc(cfg_size, GFP_KERNEL); in avs_copier_create() 262 t->core_id, t->domain, cfg, cfg_size, in avs_copier_create() 477 size_t cfg_size, num_pins; in avs_modext_create() local 481 cfg_size = struct_size(cfg, pin_fmts, num_pins); in avs_modext_create() 483 cfg = kzalloc(cfg_size, GFP_KERNEL); in avs_modext_create() 506 t->core_id, t->domain, cfg, cfg_size, in avs_modext_create()
|
/linux-6.6.21/drivers/vfio/pci/ |
D | vfio_pci_config.c | 1321 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len() 1338 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len() 1622 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; in vfio_ecap_init() 1741 map = kmalloc(pdev->cfg_size, GFP_KERNEL_ACCOUNT); in vfio_config_init() 1745 vconfig = kmalloc(pdev->cfg_size, GFP_KERNEL_ACCOUNT); in vfio_config_init() 1756 pdev->cfg_size - PCI_STD_HEADER_SIZEOF); in vfio_config_init() 1872 if (*ppos < 0 || *ppos >= pdev->cfg_size || in vfio_config_do_rw() 1873 *ppos + count > pdev->cfg_size) in vfio_config_do_rw()
|
D | vfio_pci_igd.c | 408 &vfio_pci_igd_cfg_regops, host_bridge->cfg_size, in vfio_pci_igd_cfg_init() 428 &vfio_pci_igd_cfg_regops, lpc_bridge->cfg_size, in vfio_pci_igd_cfg_init()
|
D | vfio_pci_core.c | 1032 info.size = pdev->cfg_size; in vfio_pci_ioctl_get_region_info()
|
/linux-6.6.21/include/linux/soc/qcom/ |
D | llcc-qcom.h | 135 u32 cfg_size; member
|
/linux-6.6.21/include/sound/ |
D | tas2781-dsp.h | 95 unsigned int cfg_size; member
|
/linux-6.6.21/drivers/staging/rtl8192u/ |
D | r819xU_cmdpkt.h | 72 u8 cfg_size:2; member
|
/linux-6.6.21/arch/um/drivers/ |
D | virtio_uml.c | 525 u32 cfg_size = offset + len; in vhost_user_get_config() local 527 size_t payload_size = sizeof(msg->payload.config) + cfg_size; in vhost_user_get_config() 541 msg->payload.config.size = cfg_size; in vhost_user_get_config() 559 msg->payload.config.size != cfg_size) { in vhost_user_get_config() 564 msg->payload.config.size, cfg_size); in vhost_user_get_config()
|
/linux-6.6.21/drivers/scsi/ |
D | wd719x.h | 216 u8 cfg_size; member
|
/linux-6.6.21/drivers/soc/qcom/ |
D | llcc-qcom.c | 541 sz = drv_data->cfg_size; in llcc_slice_getd() 897 sz = drv_data->cfg_size; in qcom_llcc_cfg_program() 1024 drv_data->cfg_size = sz; in qcom_llcc_probe()
|
/linux-6.6.21/arch/x86/pci/ |
D | intel_mid_pci.c | 391 if (dev->cfg_size < PCIE_CAP_OFFSET + 4) in pci_fixed_bar_fixup()
|
/linux-6.6.21/tools/testing/nvdimm/test/ |
D | nfit.c | 2882 struct nd_cmd_get_config_size cfg_size; in nfit_ctl_test() member 2954 cmd_size = sizeof(cmd.cfg_size); in nfit_ctl_test() 2955 cmd.cfg_size = (struct nd_cmd_get_config_size) { in nfit_ctl_test() 2966 if (rc < 0 || cmd_rc || cmd.cfg_size.status != 0 in nfit_ctl_test() 2967 || cmd.cfg_size.config_size != SZ_128K in nfit_ctl_test() 2968 || cmd.cfg_size.max_xfer != SZ_4K) { in nfit_ctl_test() 3057 cmd_size = sizeof(cmd.cfg_size); in nfit_ctl_test() 3058 cmd.cfg_size = (struct nd_cmd_get_config_size) { in nfit_ctl_test()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | pci_of_scan.c | 201 dev->cfg_size = pci_cfg_space_size(dev); in of_create_pci_dev()
|
/linux-6.6.21/drivers/pci/controller/dwc/ |
D | pci-imx6.c | 1580 dev->cfg_size = imx6_pcie->drvdata->dbi_length; in imx6_pcie_quirk() 1582 dev->cfg_size); in imx6_pcie_quirk()
|
/linux-6.6.21/drivers/media/platform/nxp/imx-jpeg/ |
D | mxc-jpeg.c | 1177 unsigned int *cfg_size = &jpeg->slot_data.cfg_stream_size; in mxc_jpeg_config_dec_desc() local 1210 *cfg_size = mxc_jpeg_setup_cfg_stream(cfg_stream_vaddr, in mxc_jpeg_config_dec_desc() 1223 cfg_desc->stm_bufsize = ALIGN(*cfg_size, 1024); in mxc_jpeg_config_dec_desc()
|
/linux-6.6.21/arch/sparc/kernel/ |
D | pci.c | 309 dev->cfg_size = pci_cfg_space_size(dev); in of_create_pci_dev()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 11187 int cfg_size = 0, idx, port = BP_PORT(bp); in bnx2x_link_settings_supported() local 11195 cfg_size = 1; in bnx2x_link_settings_supported() 11199 cfg_size = 1; in bnx2x_link_settings_supported() 11214 cfg_size = 2; in bnx2x_link_settings_supported() 11247 for (idx = 0; idx < cfg_size; idx++) { in bnx2x_link_settings_supported() 11288 u32 link_config, idx, cfg_size = 0; in bnx2x_link_settings_requested() local 11294 cfg_size = 1; in bnx2x_link_settings_requested() 11297 cfg_size = 2; in bnx2x_link_settings_requested() 11300 for (idx = 0; idx < cfg_size; idx++) { in bnx2x_link_settings_requested()
|
/linux-6.6.21/sound/soc/codecs/ |
D | tas2781-fmwlib.c | 563 config->cfg_size = be32_to_cpup((__be32 *)&buf[offset]); in fw_parse_variable_header_kernel()
|
/linux-6.6.21/include/linux/ |
D | pci.h | 405 int cfg_size; /* Size of config space */ member
|