/drivers/ata/ |
D | sata_sx4.c | 986 u32 window_size; in pdc20621_get_from_dimm() local 997 window_size = 0x2000 * 4; /* 32K byte uchar size */ in pdc20621_get_from_dimm() 998 idx = (u16) (offset / window_size); in pdc20621_get_from_dimm() 1005 offset -= (idx * window_size); in pdc20621_get_from_dimm() 1007 dist = ((long) (window_size - (offset + size))) >= 0 ? size : in pdc20621_get_from_dimm() 1008 (long) (window_size - offset); in pdc20621_get_from_dimm() 1013 for (; (long) size >= (long) window_size ;) { in pdc20621_get_from_dimm() 1018 memcpy_fromio(psource, dimm_mmio, window_size / 4); in pdc20621_get_from_dimm() 1019 psource += window_size; in pdc20621_get_from_dimm() 1020 size -= window_size; in pdc20621_get_from_dimm() [all …]
|
/drivers/pci/controller/ |
D | pci-rcar-gen2.c | 179 unsigned long window_size; in rcar_pci_setup() local 188 window_size = SZ_1G; in rcar_pci_setup() 192 window_size = resource_size(entry->res); in rcar_pci_setup() 212 switch (window_size) { in rcar_pci_setup() 224 window_size); in rcar_pci_setup() 225 window_size = SZ_256M; in rcar_pci_setup()
|
D | pcie-iproc.c | 947 resource_size_t window_size = in iproc_pcie_setup_ob() local 956 if (size < window_size) { in iproc_pcie_setup_ob() 965 axi_addr = ALIGN_DOWN(axi_addr, window_size); in iproc_pcie_setup_ob() 966 pci_addr = ALIGN_DOWN(pci_addr, window_size); in iproc_pcie_setup_ob() 967 size = window_size; in iproc_pcie_setup_ob() 970 if (!IS_ALIGNED(axi_addr, window_size) || in iproc_pcie_setup_ob() 971 !IS_ALIGNED(pci_addr, window_size)) { in iproc_pcie_setup_ob() 987 size -= window_size; in iproc_pcie_setup_ob() 996 axi_addr += window_size; in iproc_pcie_setup_ob() 997 pci_addr += window_size; in iproc_pcie_setup_ob()
|
/drivers/video/fbdev/ |
D | carminefb.c | 225 u32 window_size; in carmine_init_display_param() local 274 window_size = (par->res->vdp - 1) << CARMINE_DISP_WIN_H_SHIFT; in carmine_init_display_param() 275 window_size |= par->res->hdp; in carmine_init_display_param() 278 c_set_disp_reg(par, CARMINE_DISP_REG_L0_WIN_SIZE, window_size); in carmine_init_display_param() 280 c_set_disp_reg(par, CARMINE_DISP_REG_L1_WIN_SIZE, window_size); in carmine_init_display_param() 282 c_set_disp_reg(par, CARMINE_DISP_REG_L2_WIN_SIZE, window_size); in carmine_init_display_param() 284 c_set_disp_reg(par, CARMINE_DISP_REG_L3_WIN_SIZE, window_size); in carmine_init_display_param() 286 c_set_disp_reg(par, CARMINE_DISP_REG_L4_WIN_SIZE, window_size); in carmine_init_display_param() 288 c_set_disp_reg(par, CARMINE_DISP_REG_L5_WIN_SIZE, window_size); in carmine_init_display_param() 290 c_set_disp_reg(par, CARMINE_DISP_REG_L6_WIN_SIZE, window_size); in carmine_init_display_param() [all …]
|
/drivers/thermal/intel/ |
D | intel_powerclamp.c | 95 static unsigned int window_size; variable 159 window_size = clamp(new_window_size, 2ul, 10ul); in window_size_set() 172 module_param_cb(window_size, &window_size_ops, &window_size, 0644); 173 MODULE_PARM_DESC(window_size, "sliding window in number of clamping cycles\n" 384 w_data->window_size_now = window_size; in clamp_balancing_func() 728 window_size = 2; in powerclamp_init()
|
/drivers/cxl/ |
D | acpi.c | 50 if (!IS_ALIGNED(cfmws->window_size, SZ_256M)) { in cxl_acpi_cfmws_verify() 106 cfmws->window_size - 1); in cxl_add_cfmws_decoders() 114 cfmws->base_hpa, cfmws->window_size, in cxl_add_cfmws_decoders() 123 cfmws->window_size - 1); in cxl_add_cfmws_decoders() 127 cfmws->base_hpa + cfmws->window_size - 1); in cxl_add_cfmws_decoders()
|
/drivers/ssb/ |
D | driver_mipscore.c | 225 pflash->window_size = SSB_FLASH1_SZ; in ssb_mips_flash_detect() 240 pflash->window_size = SSB_FLASH2_SZ; in ssb_mips_flash_detect() 256 bcm47xx_nvram_init_from_mem(pflash->window, pflash->window_size); in ssb_mips_flash_detect() 261 ssb_pflash_resource.end = pflash->window + pflash->window_size; in ssb_mips_flash_detect()
|
/drivers/net/wireless/ath/ |
D | dfs_pri_detector.c | 190 if (pde->last_ts <= pde->window_size) in pulse_queue_check_window() 193 min_valid_ts = pde->last_ts - pde->window_size; in pulse_queue_check_window() 430 de->window_size = rs->pri_max * rs->ppb * rs->num_pri; in pri_detector_init()
|
D | dfs_pri_detector.h | 73 u32 window_size; member
|
/drivers/net/ethernet/8390/ |
D | pcnet_cs.c | 1407 int i, window_size, offset, ret; in setup_shmem_window() local 1409 window_size = (stop_pg - start_pg) << 8; in setup_shmem_window() 1410 if (window_size > 32 * 1024) in setup_shmem_window() 1411 window_size = 32 * 1024; in setup_shmem_window() 1414 window_size = roundup_pow_of_two(window_size); in setup_shmem_window() 1419 link->resource[3]->start = 0; link->resource[3]->end = window_size; in setup_shmem_window() 1425 offset -= offset % window_size; in setup_shmem_window()
|
/drivers/vfio/ |
D | vfio_iommu_spapr_tce.c | 610 __u64 window_size, in tce_iommu_create_table() argument 616 table_size = table_group->ops->get_table_size(page_shift, window_size, in tce_iommu_create_table() 626 page_shift, window_size, levels, ptbl); in tce_iommu_create_table() 644 __u32 page_shift, __u64 window_size, __u32 levels, in tce_iommu_create_window() argument 673 page_shift, window_size, levels, &tbl); in tce_iommu_create_window() 1088 create.window_size, create.levels, in tce_iommu_ioctl()
|
/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | phy.h | 200 __le32 window_size; member
|
/drivers/net/wireless/ath/ath11k/ |
D | rx_desc.h | 1071 __le16 window_size; member 1094 __le16 window_size; member 1145 __le16 window_size; member
|
/drivers/gpu/drm/radeon/ |
D | si_dpm.h | 78 u8 window_size; member
|
/drivers/infiniband/core/ |
D | mad_rmpp.c | 394 static inline int window_size(struct ib_mad_agent_private *agent) in window_size() function 510 rmpp_recv->newwin += window_size(agent); in continue_rmpp() 559 rmpp_recv->newwin += window_size(agent); in start_rmpp()
|
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | mlx5_ifc_dr_ste_v1.h | 351 u8 window_size[0x10]; member
|
D | mlx5_ifc_dr.h | 364 u8 window_size[0x10]; member
|
/drivers/net/wireless/ti/wlcore/ |
D | conf.h | 1103 u8 window_size; member
|
D | acx.c | 1714 acx->window_size = conf->window_size; in wl12xx_acx_config_hangover()
|
D | acx.h | 914 u8 window_size; member
|
/drivers/comedi/drivers/ |
D | ni_pcimio.c | 1218 static const unsigned int window_size = 10; in m_series_init_eeprom_buffer() local 1231 writel(((0x80 | window_size) | daq_phys_addr), in m_series_init_eeprom_buffer()
|
/drivers/gpu/drm/amd/pm/powerplay/ |
D | si_dpm.h | 894 u8 window_size; member
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tt.c | 507 .window_size = 0, in iwl_mvm_ctdp_command()
|
/drivers/md/ |
D | raid10.c | 3233 sector_t window_size; in raid10_set_cluster_sync_high() local 3253 window_size = (chunks + extra_chunk) * conf->mddev->chunk_sectors; in raid10_set_cluster_sync_high() 3258 window_size = (CLUSTER_RESYNC_WINDOW_SECTORS > window_size) ? in raid10_set_cluster_sync_high() 3259 CLUSTER_RESYNC_WINDOW_SECTORS : window_size; in raid10_set_cluster_sync_high() 3261 conf->cluster_sync_high = conf->cluster_sync_low + window_size; in raid10_set_cluster_sync_high()
|
/drivers/acpi/nfit/ |
D | core.c | 790 window_size)) in sizeof_dcr() 794 return offsetof(struct acpi_nfit_control_region, window_size); in sizeof_dcr() 2658 mmio->size = nfit_mem->dcr->window_size; in acpi_nfit_blk_region_enable()
|