Home
last modified time | relevance | path

Searched refs:cfg_size (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.1.9/drivers/pci/
Dproc.c25 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()
Dpci-sysfs.c681 size = dev->cfg_size; in pci_read_config()
759 if (off > dev->cfg_size) in pci_write_config()
761 if (off + count > dev->cfg_size) { in pci_write_config()
762 size = dev->cfg_size - off; in pci_write_config()
820 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_dev_config_attr_is_visible()
Dquirks.c454 dev->cfg_size = 0xA0; in quirk_citrine()
464 dev->cfg_size = 0x600; in quirk_nfp6000()
5297 pdev->cfg_size = PCI_CFG_SPACE_EXP_SIZE; in quirk_intel_qat_vf_cap()
5300 pdev->cfg_size = PCI_CFG_SPACE_SIZE; in quirk_intel_qat_vf_cap()
Dprobe.c1861 dev->cfg_size = pci_cfg_space_size(dev); in pci_setup_device()
Dpci.c553 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
/linux-6.1.9/sound/soc/intel/avs/
Dpath.c150 size_t cfg_size, data_size = 0; in avs_copier_create() local
235 cfg_size = sizeof(*cfg) + data_size; in avs_copier_create()
238 cfg_size -= sizeof(cfg->gtw_cfg.config.attrs); in avs_copier_create()
240 cfg = kzalloc(cfg_size, GFP_KERNEL); in avs_copier_create()
261 t->core_id, t->domain, cfg, cfg_size, in avs_copier_create()
417 size_t cfg_size, num_pins; in avs_modext_create() local
421 cfg_size = sizeof(*cfg) + sizeof(*cfg->pin_fmts) * num_pins; in avs_modext_create()
423 cfg = kzalloc(cfg_size, GFP_KERNEL); in avs_modext_create()
446 t->core_id, t->domain, cfg, cfg_size, in avs_modext_create()
/linux-6.1.9/drivers/vfio/pci/
Dvfio_pci_config.c1319 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len()
1336 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len()
1615 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; in vfio_ecap_init()
1734 map = kmalloc(pdev->cfg_size, GFP_KERNEL); in vfio_config_init()
1738 vconfig = kmalloc(pdev->cfg_size, GFP_KERNEL); in vfio_config_init()
1749 pdev->cfg_size - PCI_STD_HEADER_SIZEOF); in vfio_config_init()
1865 if (*ppos < 0 || *ppos >= pdev->cfg_size || in vfio_config_do_rw()
1866 *ppos + count > pdev->cfg_size) in vfio_config_do_rw()
Dvfio_pci_igd.c408 &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()
Dvfio_pci_core.c952 info.size = pdev->cfg_size; in vfio_pci_ioctl_get_region_info()
/linux-6.1.9/include/linux/soc/qcom/
Dllcc-qcom.h130 u32 cfg_size; member
/linux-6.1.9/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.h72 u8 cfg_size:2; member
/linux-6.1.9/drivers/soc/qcom/
Dllcc-qcom.c465 sz = drv_data->cfg_size; in llcc_slice_getd()
731 sz = drv_data->cfg_size; in qcom_llcc_cfg_program()
843 drv_data->cfg_size = sz; in qcom_llcc_probe()
/linux-6.1.9/arch/um/drivers/
Dvirtio_uml.c524 u32 cfg_size = offset + len; in vhost_user_get_config() local
526 size_t payload_size = sizeof(msg->payload.config) + cfg_size; in vhost_user_get_config()
540 msg->payload.config.size = cfg_size; in vhost_user_get_config()
558 msg->payload.config.size != cfg_size) { in vhost_user_get_config()
563 msg->payload.config.size, cfg_size); in vhost_user_get_config()
/linux-6.1.9/drivers/scsi/
Dwd719x.h216 u8 cfg_size; member
/linux-6.1.9/arch/x86/pci/
Dintel_mid_pci.c391 if (dev->cfg_size < PCIE_CAP_OFFSET + 4) in pci_fixed_bar_fixup()
/linux-6.1.9/tools/testing/nvdimm/test/
Dnfit.c2882 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.1.9/arch/powerpc/kernel/
Dpci_of_scan.c201 dev->cfg_size = pci_cfg_space_size(dev); in of_create_pci_dev()
/linux-6.1.9/drivers/pci/controller/dwc/
Dpci-imx6.c1393 dev->cfg_size = imx6_pcie->drvdata->dbi_length; in imx6_pcie_quirk()
1395 dev->cfg_size); in imx6_pcie_quirk()
/linux-6.1.9/drivers/media/platform/nxp/imx-jpeg/
Dmxc-jpeg.c834 unsigned int *cfg_size = &jpeg->slot_data[slot].cfg_stream_size; in mxc_jpeg_config_dec_desc() local
863 *cfg_size = mxc_jpeg_setup_cfg_stream(cfg_stream_vaddr, in mxc_jpeg_config_dec_desc()
876 cfg_desc->stm_bufsize = ALIGN(*cfg_size, 1024); in mxc_jpeg_config_dec_desc()
/linux-6.1.9/arch/sparc/kernel/
Dpci.c308 dev->cfg_size = pci_cfg_space_size(dev); in of_create_pci_dev()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c11185 int cfg_size = 0, idx, port = BP_PORT(bp); in bnx2x_link_settings_supported() local
11193 cfg_size = 1; in bnx2x_link_settings_supported()
11197 cfg_size = 1; in bnx2x_link_settings_supported()
11212 cfg_size = 2; in bnx2x_link_settings_supported()
11245 for (idx = 0; idx < cfg_size; idx++) { in bnx2x_link_settings_supported()
11286 u32 link_config, idx, cfg_size = 0; in bnx2x_link_settings_requested() local
11292 cfg_size = 1; in bnx2x_link_settings_requested()
11295 cfg_size = 2; in bnx2x_link_settings_requested()
11298 for (idx = 0; idx < cfg_size; idx++) { in bnx2x_link_settings_requested()
Dbnx2x_link.c248 u32 link_status, cfg_idx, lfa_mask, cfg_size; in bnx2x_check_lfa() local
290 cfg_size = 2; in bnx2x_check_lfa()
293 cfg_size = 1; in bnx2x_check_lfa()
325 for (cfg_idx = 0; cfg_idx < cfg_size; cfg_idx++) { in bnx2x_check_lfa()
/linux-6.1.9/include/linux/
Dpci.h404 int cfg_size; /* Size of config space */ member
/linux-6.1.9/drivers/misc/habanalabs/common/
Dhabanalabs.h728 u32 cfg_size; member
/linux-6.1.9/arch/powerpc/platforms/powernv/
Dpci-ioda.c3224 dev->cfg_size = PCI_CFG_SPACE_EXP_SIZE; in pnv_npu2_opencapi_cfg_size_fixup()

12