Searched refs:sim_data (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/
H A Darb.c203 struct nv_sim_state sim_data; nv04_update_arb() local
208 sim_data.pclk_khz = VClk; nv04_update_arb()
209 sim_data.mclk_khz = MClk; nv04_update_arb()
210 sim_data.nvclk_khz = NVClk; nv04_update_arb()
211 sim_data.bpp = bpp; nv04_update_arb()
212 sim_data.two_heads = nv_two_heads(dev); nv04_update_arb()
219 sim_data.memory_type = (type >> 12) & 1; nv04_update_arb()
220 sim_data.memory_width = 64; nv04_update_arb()
221 sim_data.mem_latency = 3; nv04_update_arb()
222 sim_data.mem_page_miss = 10; nv04_update_arb()
224 sim_data.memory_type = nvif_rd32(device, NV04_PFB_CFG0) & 0x1; nv04_update_arb()
225 sim_data.memory_width = (nvif_rd32(device, NV_PEXTDEV_BOOT_0) & 0x10) ? 128 : 64; nv04_update_arb()
226 sim_data.mem_latency = cfg1 & 0xf; nv04_update_arb()
227 sim_data.mem_page_miss = ((cfg1 >> 4) & 0xf) + ((cfg1 >> 31) & 0x1); nv04_update_arb()
231 nv04_calc_arb(&fifo_data, &sim_data); nv04_update_arb()
233 nv10_calc_arb(&fifo_data, &sim_data); nv04_update_arb()
/linux-4.1.27/drivers/video/fbdev/nvidia/
H A Dnv_hw.c386 nv4_sim_state sim_data; nv4UpdateArbitrationSettings() local
392 sim_data.pix_bpp = (char)pixelDepth; nv4UpdateArbitrationSettings()
393 sim_data.enable_video = 0; nv4UpdateArbitrationSettings()
394 sim_data.enable_mp = 0; nv4UpdateArbitrationSettings()
395 sim_data.memory_width = (NV_RD32(par->PEXTDEV, 0x0000) & 0x10) ? nv4UpdateArbitrationSettings()
397 sim_data.mem_latency = (char)cfg1 & 0x0F; nv4UpdateArbitrationSettings()
398 sim_data.mem_aligned = 1; nv4UpdateArbitrationSettings()
399 sim_data.mem_page_miss = nv4UpdateArbitrationSettings()
401 sim_data.gr_during_vid = 0; nv4UpdateArbitrationSettings()
402 sim_data.pclk_khz = VClk; nv4UpdateArbitrationSettings()
403 sim_data.mclk_khz = MClk; nv4UpdateArbitrationSettings()
404 sim_data.nvclk_khz = NVClk; nv4UpdateArbitrationSettings()
405 nv4CalcArbitration(&fifo_data, &sim_data); nv4UpdateArbitrationSettings()
625 nv10_sim_state sim_data; nv10UpdateArbitrationSettings() local
631 sim_data.pix_bpp = (char)pixelDepth; nv10UpdateArbitrationSettings()
632 sim_data.enable_video = 1; nv10UpdateArbitrationSettings()
633 sim_data.enable_mp = 0; nv10UpdateArbitrationSettings()
634 sim_data.memory_type = (NV_RD32(par->PFB, 0x0200) & 0x01) ? 1 : 0; nv10UpdateArbitrationSettings()
635 sim_data.memory_width = (NV_RD32(par->PEXTDEV, 0x0000) & 0x10) ? nv10UpdateArbitrationSettings()
637 sim_data.mem_latency = (char)cfg1 & 0x0F; nv10UpdateArbitrationSettings()
638 sim_data.mem_aligned = 1; nv10UpdateArbitrationSettings()
639 sim_data.mem_page_miss = nv10UpdateArbitrationSettings()
641 sim_data.gr_during_vid = 0; nv10UpdateArbitrationSettings()
642 sim_data.pclk_khz = VClk; nv10UpdateArbitrationSettings()
643 sim_data.mclk_khz = MClk; nv10UpdateArbitrationSettings()
644 sim_data.nvclk_khz = NVClk; nv10UpdateArbitrationSettings()
645 nv10CalcArbitration(&fifo_data, &sim_data); nv10UpdateArbitrationSettings()
683 nv10_sim_state sim_data; nForceUpdateArbitrationSettings() local
707 sim_data.pix_bpp = (char)pixelDepth; nForceUpdateArbitrationSettings()
708 sim_data.enable_video = 0; nForceUpdateArbitrationSettings()
709 sim_data.enable_mp = 0; nForceUpdateArbitrationSettings()
711 pci_read_config_dword(dev, 0x7C, &sim_data.memory_type); nForceUpdateArbitrationSettings()
713 sim_data.memory_type = (sim_data.memory_type >> 12) & 1; nForceUpdateArbitrationSettings()
714 sim_data.memory_width = 64; nForceUpdateArbitrationSettings()
739 sim_data.mem_latency = 3; nForceUpdateArbitrationSettings()
740 sim_data.mem_aligned = 1; nForceUpdateArbitrationSettings()
741 sim_data.mem_page_miss = 10; nForceUpdateArbitrationSettings()
742 sim_data.gr_during_vid = 0; nForceUpdateArbitrationSettings()
743 sim_data.pclk_khz = VClk; nForceUpdateArbitrationSettings()
744 sim_data.mclk_khz = MClk; nForceUpdateArbitrationSettings()
745 sim_data.nvclk_khz = NVClk; nForceUpdateArbitrationSettings()
746 nv10CalcArbitration(&fifo_data, &sim_data); nForceUpdateArbitrationSettings()
/linux-4.1.27/drivers/video/fbdev/riva/
H A Driva_hw.c618 nv3_sim_state sim_data; nv3UpdateArbitrationSettings() local
624 sim_data.pix_bpp = (char)pixelDepth; nv3UpdateArbitrationSettings()
625 sim_data.enable_video = 0; nv3UpdateArbitrationSettings()
626 sim_data.enable_mp = 0; nv3UpdateArbitrationSettings()
627 sim_data.video_scale = 1; nv3UpdateArbitrationSettings()
628 sim_data.memory_width = (NV_RD32(&chip->PEXTDEV[0x00000000/4], 0) & 0x10) ? nv3UpdateArbitrationSettings()
630 sim_data.memory_width = 128; nv3UpdateArbitrationSettings()
632 sim_data.mem_latency = 9; nv3UpdateArbitrationSettings()
633 sim_data.mem_aligned = 1; nv3UpdateArbitrationSettings()
634 sim_data.mem_page_miss = 11; nv3UpdateArbitrationSettings()
635 sim_data.gr_during_vid = 0; nv3UpdateArbitrationSettings()
636 sim_data.pclk_khz = VClk; nv3UpdateArbitrationSettings()
637 sim_data.mclk_khz = MClk; nv3UpdateArbitrationSettings()
638 nv3CalcArbitration(&fifo_data, &sim_data); nv3UpdateArbitrationSettings()
807 nv4_sim_state sim_data; nv4UpdateArbitrationSettings() local
817 sim_data.pix_bpp = (char)pixelDepth; nv4UpdateArbitrationSettings()
818 sim_data.enable_video = 0; nv4UpdateArbitrationSettings()
819 sim_data.enable_mp = 0; nv4UpdateArbitrationSettings()
820 sim_data.memory_width = (NV_RD32(&chip->PEXTDEV[0x00000000/4], 0) & 0x10) ? nv4UpdateArbitrationSettings()
822 sim_data.mem_latency = (char)cfg1 & 0x0F; nv4UpdateArbitrationSettings()
823 sim_data.mem_aligned = 1; nv4UpdateArbitrationSettings()
824 sim_data.mem_page_miss = (char)(((cfg1 >> 4) &0x0F) + ((cfg1 >> 31) & 0x01)); nv4UpdateArbitrationSettings()
825 sim_data.gr_during_vid = 0; nv4UpdateArbitrationSettings()
826 sim_data.pclk_khz = VClk; nv4UpdateArbitrationSettings()
827 sim_data.mclk_khz = MClk; nv4UpdateArbitrationSettings()
828 sim_data.nvclk_khz = NVClk; nv4UpdateArbitrationSettings()
829 nv4CalcArbitration(&fifo_data, &sim_data); nv4UpdateArbitrationSettings()
1070 nv10_sim_state sim_data; nv10UpdateArbitrationSettings() local
1080 sim_data.pix_bpp = (char)pixelDepth; nv10UpdateArbitrationSettings()
1081 sim_data.enable_video = 0; nv10UpdateArbitrationSettings()
1082 sim_data.enable_mp = 0; nv10UpdateArbitrationSettings()
1083 sim_data.memory_type = (NV_RD32(&chip->PFB[0x00000200/4], 0) & 0x01) ? nv10UpdateArbitrationSettings()
1085 sim_data.memory_width = (NV_RD32(&chip->PEXTDEV[0x00000000/4], 0) & 0x10) ? nv10UpdateArbitrationSettings()
1087 sim_data.mem_latency = (char)cfg1 & 0x0F; nv10UpdateArbitrationSettings()
1088 sim_data.mem_aligned = 1; nv10UpdateArbitrationSettings()
1089 sim_data.mem_page_miss = (char)(((cfg1 >> 4) &0x0F) + ((cfg1 >> 31) & 0x01)); nv10UpdateArbitrationSettings()
1090 sim_data.gr_during_vid = 0; nv10UpdateArbitrationSettings()
1091 sim_data.pclk_khz = VClk; nv10UpdateArbitrationSettings()
1092 sim_data.mclk_khz = MClk; nv10UpdateArbitrationSettings()
1093 sim_data.nvclk_khz = NVClk; nv10UpdateArbitrationSettings()
1094 nv10CalcArbitration(&fifo_data, &sim_data); nv10UpdateArbitrationSettings()
1115 nv10_sim_state sim_data; nForceUpdateArbitrationSettings() local
1131 sim_data.pix_bpp = (char)pixelDepth; nForceUpdateArbitrationSettings()
1132 sim_data.enable_video = 0; nForceUpdateArbitrationSettings()
1133 sim_data.enable_mp = 0; nForceUpdateArbitrationSettings()
1136 pci_read_config_dword(dev, 0x7C, &sim_data.memory_type); nForceUpdateArbitrationSettings()
1138 sim_data.memory_type = (sim_data.memory_type >> 12) & 1; nForceUpdateArbitrationSettings()
1140 sim_data.memory_width = 64; nForceUpdateArbitrationSettings()
1141 sim_data.mem_latency = 3; nForceUpdateArbitrationSettings()
1142 sim_data.mem_aligned = 1; nForceUpdateArbitrationSettings()
1143 sim_data.mem_page_miss = 10; nForceUpdateArbitrationSettings()
1144 sim_data.gr_during_vid = 0; nForceUpdateArbitrationSettings()
1145 sim_data.pclk_khz = VClk; nForceUpdateArbitrationSettings()
1146 sim_data.mclk_khz = MClk; nForceUpdateArbitrationSettings()
1147 sim_data.nvclk_khz = NVClk; nForceUpdateArbitrationSettings()
1148 nv10CalcArbitration(&fifo_data, &sim_data); nForceUpdateArbitrationSettings()
/linux-4.1.27/drivers/pinctrl/bcm/
H A Dpinctrl-bcm281xx.c572 BCM281XX_PIN_DESC(BCM281XX_PIN_SIM_DATA, "sim_data", std),
843 "sim_data",

Completed in 163 milliseconds