| /OK3568_Linux_fs/kernel/drivers/clocksource/ |
| H A D | timer-microchip-pit64b.c | 190 static void __init mchp_pit64b_pres_compute(u32 *pres, u32 clk_rate, in mchp_pit64b_pres_compute() argument 195 for (*pres = 0; *pres < MCHP_PIT64B_PRES_MAX; (*pres)++) { in mchp_pit64b_pres_compute() 196 tmp = clk_rate / (*pres + 1); in mchp_pit64b_pres_compute() 202 if (*pres == MCHP_PIT64B_PRES_MAX) in mchp_pit64b_pres_compute() 203 *pres = MCHP_PIT64B_PRES_MAX - 1; in mchp_pit64b_pres_compute() 245 u32 pres, best_pres = 0; in mchp_pit64b_init_mode() local 261 mchp_pit64b_pres_compute(&pres, gclk_round, max_rate); in mchp_pit64b_init_mode() 262 best_diff = abs(gclk_round / (pres + 1) - max_rate); in mchp_pit64b_init_mode() 263 best_pres = pres; in mchp_pit64b_init_mode() 273 mchp_pit64b_pres_compute(&pres, pclk_rate, max_rate); in mchp_pit64b_init_mode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/can/softing/ |
| H A D | softing_cs.c | 187 struct resource *pres; in softingcs_probe_config() local 191 pres = pcmcia->resource[PCMCIA_IOMEM_0]; in softingcs_probe_config() 192 if (resource_size(pres) < 0x1000) in softingcs_probe_config() 195 pres->flags |= WIN_MEMORY_TYPE_CM | WIN_ENABLE; in softingcs_probe_config() 197 pres->flags |= WIN_USE_WAIT | WIN_DATA_WIDTH_8; in softingcs_probe_config() 200 pres->flags |= WIN_DATA_WIDTH_16; in softingcs_probe_config() 202 return pcmcia_request_window(pcmcia, pres, memspeed); in softingcs_probe_config() 230 struct resource *pres; in softingcs_probe() local 252 pres = pcmcia->resource[PCMCIA_IOMEM_0]; in softingcs_probe() 253 if (!pres) { in softingcs_probe() [all …]
|
| H A D | softing_main.c | 758 struct resource *pres; in softing_pdev_probe() local 781 pres = platform_get_resource(pdev, IORESOURCE_MEM, 0); in softing_pdev_probe() 782 if (!pres) in softing_pdev_probe() 784 card->dpram_phys = pres->start; in softing_pdev_probe() 785 card->dpram_size = resource_size(pres); in softing_pdev_probe() 792 pres = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in softing_pdev_probe() 793 if (pres) in softing_pdev_probe() 794 card->irq.nr = pres->start; in softing_pdev_probe()
|
| /OK3568_Linux_fs/kernel/drivers/pwm/ |
| H A D | pwm-atmel.c | 128 unsigned long *cprd, u32 *pres) in atmel_pwm_calculate_cprd_and_pres() argument 149 *pres = shift; in atmel_pwm_calculate_cprd_and_pres() 150 cycles >>= *pres; in atmel_pwm_calculate_cprd_and_pres() 152 *pres = 0; in atmel_pwm_calculate_cprd_and_pres() 241 u32 pres, val; in atmel_pwm_apply() local 258 &pres); in atmel_pwm_apply() 279 val = (val & ~PWM_CMR_CPRE_MSK) | (pres & PWM_CMR_CPRE_MSK); in atmel_pwm_apply() 309 u32 cdty, cprd, pres; in atmel_pwm_get_state() local 312 pres = cmr & PWM_CMR_CPRE_MSK; in atmel_pwm_get_state() 317 tmp <<= pres; in atmel_pwm_get_state() [all …]
|
| H A D | pwm-atmel-hlcdc.c | 55 int pres; in atmel_hlcdc_pwm_apply() local 78 for (pres = 0; pres <= ATMEL_HLCDC_PWMPS_MAX; pres++) { in atmel_hlcdc_pwm_apply() 80 if (!pres && chip->errata && in atmel_hlcdc_pwm_apply() 84 if ((clk_period_ns << pres) >= state->period) in atmel_hlcdc_pwm_apply() 88 if (pres > ATMEL_HLCDC_PWMPS_MAX) in atmel_hlcdc_pwm_apply() 91 pwmcfg = ATMEL_HLCDC_PWMPS(pres); in atmel_hlcdc_pwm_apply()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/ipu-v3/ |
| H A D | ipu-prg.c | 76 struct ipu_pre *pres[3]; member 195 ret = ipu_pre_get(prg->pres[0]); in ipu_prg_get_pre() 203 ret = ipu_pre_get(prg->pres[i]); in ipu_prg_get_pre() 238 ipu_pre_put(prg->pres[chan->used_pre]); in ipu_prg_put_pre() 290 ipu_pre_update(prg->pres[chan->used_pre], *eba); in ipu_prg_channel_configure() 298 ipu_pre_configure(prg->pres[chan->used_pre], in ipu_prg_channel_configure() 313 val = ipu_pre_get_baddr(prg->pres[chan->used_pre]); in ipu_prg_channel_configure() 354 return ipu_pre_update_pending(prg->pres[chan->used_pre]); in ipu_prg_channel_configure_pending() 390 prg->pres[i] = ipu_pre_lookup_by_phandle(dev, "fsl,pres", i); in ipu_prg_probe() 391 if (!prg->pres[i]) in ipu_prg_probe()
|
| /OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-bad/ |
| H A D | 0039-kmssink-Support-scaling-in-modesetting.patch | 19 -find_plane_for_crtc (int fd, drmModeRes * res, drmModePlaneRes * pres, 20 +find_plane_for_crtc (GstKMSSink * self, drmModeRes * res, drmModePlaneRes * pres, 29 @@ -565,7 +566,8 @@ find_plane_for_crtc (int fd, drmModeRes * res, drmModePlaneRes * pres, 91 - plane = find_plane_for_crtc (self->fd, res, pres, crtc->crtc_id); 92 + plane = find_plane_for_crtc (self, res, pres, crtc->crtc_id);
|
| H A D | 0038-kmssink-Improve-monitor-and-plane-selection.patch | 49 find_plane_for_crtc (int fd, drmModeRes * res, drmModePlaneRes * pres, 61 @@ -536,11 +561,26 @@ find_plane_for_crtc (int fd, drmModeRes * res, drmModePlaneRes * pres, 63 for (i = 0; i < pres->count_planes; i++) { 64 plane = drmModeGetPlane (fd, pres->planes[i]);
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20/ |
| H A D | 0038-kmssink-Support-scaling-in-modesetting.patch | 19 -find_plane_for_crtc (int fd, drmModeRes * res, drmModePlaneRes * pres, 20 +find_plane_for_crtc (GstKMSSink * self, drmModeRes * res, drmModePlaneRes * pres, 29 @@ -260,7 +261,8 @@ find_plane_for_crtc (int fd, drmModeRes * res, drmModePlaneRes * pres, 91 - plane = find_plane_for_crtc (self->fd, res, pres, crtc->crtc_id); 92 + plane = find_plane_for_crtc (self, res, pres, crtc->crtc_id);
|
| H A D | 0037-kmssink-Improve-monitor-and-plane-selection.patch | 49 find_plane_for_crtc (int fd, drmModeRes * res, drmModePlaneRes * pres, 61 @@ -231,11 +256,26 @@ find_plane_for_crtc (int fd, drmModeRes * res, drmModePlaneRes * pres, 63 for (i = 0; i < pres->count_planes; i++) { 64 plane = drmModeGetPlane (fd, pres->planes[i]);
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22/ |
| H A D | 0039-kmssink-Support-scaling-in-modesetting.patch | 19 -find_plane_for_crtc (int fd, drmModeRes * res, drmModePlaneRes * pres, 20 +find_plane_for_crtc (GstKMSSink * self, drmModeRes * res, drmModePlaneRes * pres, 29 @@ -565,7 +566,8 @@ find_plane_for_crtc (int fd, drmModeRes * res, drmModePlaneRes * pres, 91 - plane = find_plane_for_crtc (self->fd, res, pres, crtc->crtc_id); 92 + plane = find_plane_for_crtc (self, res, pres, crtc->crtc_id);
|
| H A D | 0038-kmssink-Improve-monitor-and-plane-selection.patch | 49 find_plane_for_crtc (int fd, drmModeRes * res, drmModePlaneRes * pres, 61 @@ -536,11 +561,26 @@ find_plane_for_crtc (int fd, drmModeRes * res, drmModePlaneRes * pres, 63 for (i = 0; i < pres->count_planes; i++) { 64 plane = drmModeGetPlane (fd, pres->planes[i]);
|
| /OK3568_Linux_fs/u-boot/drivers/i2c/ |
| H A D | s3c24x0_i2c.c | 60 ulong freq, pres = 16, div; in i2c_ch_init() local 67 if ((freq / pres / (16 + 1)) > speed) in i2c_ch_init() 69 pres = 512; in i2c_ch_init() 72 while ((freq / pres / (div + 1)) > speed) in i2c_ch_init() 76 writel((div & 0x0F) | 0xA0 | ((pres == 512) ? 0x40 : 0), &i2c->iiccon); in i2c_ch_init()
|
| /OK3568_Linux_fs/buildroot/dl/unixbench/git/UnixBench/ |
| H A D | Run | 997 my $pres = $bresult->{'passes'}; 1001 my $npasses = scalar(@$pres); 1004 foreach my $presult (sort { $a->{'COUNT0'} <=> $b->{'COUNT0'} } @$pres) { 1262 my $pres = [ ]; 1265 push(@$pres, $presult); 1268 $pres; 1361 my $pres = [ ]; 1374 push(@$pres, $presult); 1376 $bresult->{'passes'} = $pres;
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/ |
| H A D | sock_server.c | 159 int pres = 0; in sock_server() local 182 pres = poll(srvst.fds, srvst.nfds, -1); in sock_server() 184 if (pres < 0) in sock_server() 187 for (n = 0; pres && n < srvst.nfds; n++) { in sock_server() 189 pres--; in sock_server()
|
| /OK3568_Linux_fs/external/drm-cursor/ |
| H A D | drm_cursor.c | 166 drmModePlaneResPtr pres; member 571 ctx->pres = drmModeGetPlaneResources(ctx->fd); in drm_get_ctx() 572 if (!ctx->pres) in drm_get_ctx() 639 for (i = 0; i < ctx->pres->count_planes; i++) { in drm_get_ctx() 640 drm_plane *plane = drm_get_plane(ctx, ctx->pres->planes[i]); in drm_get_ctx() 678 drmModeFreePlaneResources(ctx->pres); in drm_get_ctx() 1105 for (i = 0; !crtc->plane && i < ctx->pres->count_planes; i++) in drm_crtc_prepare() 1106 drm_crtc_bind_plane_cursor(ctx, crtc, ctx->pres->planes[i]); in drm_crtc_prepare() 1110 for (i = ctx->pres->count_planes; !crtc->plane && i; i--) in drm_crtc_prepare() 1111 drm_crtc_bind_plane_force(ctx, crtc, ctx->pres->planes[i - 1]); in drm_crtc_prepare()
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | armada-xp-netgear-rn2120.dts | 283 sata1_pres_pin: sata1-pres-pin { 288 sata2_pres_pin: sata2-pres-pin { 293 sata3_pres_pin: sata3-pres-pin { 298 sata4_pres_pin: sata4-pres-pin {
|
| H A D | imx6qp.dtsi | 70 fsl,pres = <&pre1>, <&pre2>, <&pre3>; 79 fsl,pres = <&pre4>, <&pre2>, <&pre3>;
|
| H A D | armada-xp-synology-ds414.dts | 228 sata1_pres_pin: sata1-pres-pin { 233 sata2_pres_pin: sata2-pres-pin { 238 sata3_pres_pin: sata3-pres-pin { 243 sata4_pres_pin: sata4-pres-pin {
|
| /OK3568_Linux_fs/kernel/drivers/clk/at91/ |
| H A D | clk-master.c | 78 u8 pres; in clk_master_recalc_rate() local 90 pres = (mckr >> layout->pres_shift) & MASTER_PRES_MASK; in clk_master_recalc_rate() 93 if (characteristics->have_div3_pres && pres == MASTER_PRES_MAX) in clk_master_recalc_rate() 96 rate >>= pres; in clk_master_recalc_rate()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/multiprecision/cpp_int/ |
| H A D | divide.hpp | 401 typename CppInt1::limb_pointer pres = typename CppInt1::limb_pointer(); in divide_unsigned_helper() local 405 pres = result->limbs(); in divide_unsigned_helper() 407 pres[r_order] = 0; // just in case we don't set the most significant limb below. in divide_unsigned_helper() 424 pres[r_order] = static_cast<limb_type>(a / y); in divide_unsigned_helper() 430 pres[r_order] = static_cast<limb_type>(0u); in divide_unsigned_helper() 436 pres[r_order] = pr[r_order] / y; in divide_unsigned_helper() 443 pres[r_order] = static_cast<limb_type>(0u); in divide_unsigned_helper()
|
| /OK3568_Linux_fs/kernel/arch/microblaze/pci/ |
| H A D | pci-common.c | 820 struct resource *res, *pres; in pcibios_reserve_legacy_regions() local 848 pres = &hose->mem_resources[i]; in pcibios_reserve_legacy_regions() 849 if (!(pres->flags & IORESOURCE_MEM)) in pcibios_reserve_legacy_regions() 851 pr_debug("hose mem res: %pR\n", pres); in pcibios_reserve_legacy_regions() 852 if ((pres->start - offset) <= 0xa0000 && in pcibios_reserve_legacy_regions() 853 (pres->end - offset) >= 0xbffff) in pcibios_reserve_legacy_regions() 865 if (request_resource(pres, res)) { in pcibios_reserve_legacy_regions()
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | armada-xp-synology-ds414.dts | 293 sata1_pres_pin: sata1-pres-pin { 298 sata2_pres_pin: sata2-pres-pin { 303 sata3_pres_pin: sata3-pres-pin { 308 sata4_pres_pin: sata4-pres-pin {
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/genet/ |
| H A D | bcmmii.c | 422 struct resource *pres, res; in bcmgenet_mii_register() local 425 pres = platform_get_resource(pdev, IORESOURCE_MEM, 0); in bcmgenet_mii_register() 426 if (!pres) { in bcmgenet_mii_register() 440 res.start = pres->start + GENET_UMAC_OFF + UMAC_MDIO_CMD; in bcmgenet_mii_register()
|
| /OK3568_Linux_fs/kernel/drivers/input/mouse/ |
| H A D | elantech.c | 414 unsigned int width = 0, pres = 0; in elantech_report_absolute_v2() local 440 pres = (packet[1] & 0xf0) | ((packet[4] & 0xf0) >> 4); in elantech_report_absolute_v2() 465 pres = 127; in elantech_report_absolute_v2() 482 input_report_abs(dev, ABS_PRESSURE, pres); in elantech_report_absolute_v2() 565 unsigned int width = 0, pres = 0; in elantech_report_absolute_v3() local 612 pres = (packet[1] & 0xf0) | ((packet[4] & 0xf0) >> 4); in elantech_report_absolute_v3() 631 input_report_abs(dev, ABS_PRESSURE, pres); in elantech_report_absolute_v3() 678 int pres, traces; in process_packet_head_v4() local 685 pres = (packet[1] & 0xf0) | ((packet[4] & 0xf0) >> 4); in process_packet_head_v4() 693 input_report_abs(dev, ABS_MT_PRESSURE, pres); in process_packet_head_v4()
|