/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dpi.c | 252 bool ok; in dpi_dss_clk_calc() local 261 ok = dss_div_calc(pck, ctx->pck_min, dpi_calc_dss_cb, ctx); in dpi_dss_clk_calc() 262 if (ok) in dpi_dss_clk_calc() 263 return ok; in dpi_dss_clk_calc() 277 bool ok; in dpi_set_dsi_clk() local 279 ok = dpi_dsi_clk_calc(dpi, pck_req, &ctx); in dpi_set_dsi_clk() 280 if (!ok) in dpi_set_dsi_clk() 304 bool ok; in dpi_set_dispc_clk() local 306 ok = dpi_dss_clk_calc(pck_req, &ctx); in dpi_set_dispc_clk() 307 if (!ok) in dpi_set_dispc_clk() [all …]
|
D | sdi.c | 84 bool ok; in sdi_calc_clock_div() local 93 ok = dss_div_calc(pclk, ctx.pck_min, dpi_calc_dss_cb, &ctx); in sdi_calc_clock_div() 94 if (ok) { in sdi_calc_clock_div()
|
/drivers/gpu/drm/omapdrm/dss/ |
D | dpi.c | 267 bool ok; in dpi_dss_clk_calc() local 277 ok = dss_div_calc(dpi->dss, pck, ctx->pck_min, in dpi_dss_clk_calc() 279 if (ok) in dpi_dss_clk_calc() 280 return ok; in dpi_dss_clk_calc() 292 bool ok; in dpi_set_pll_clk() local 294 ok = dpi_pll_clk_calc(dpi, pck_req, &ctx); in dpi_set_pll_clk() 295 if (!ok) in dpi_set_pll_clk() 314 bool ok; in dpi_set_dispc_clk() local 316 ok = dpi_dss_clk_calc(dpi, pck_req, &ctx); in dpi_set_dispc_clk() 317 if (!ok) in dpi_set_dispc_clk()
|
D | sdi.c | 88 bool ok; in sdi_calc_clock_div() local 100 ok = dss_div_calc(sdi->dss, pclk, ctx.pck_min, in sdi_calc_clock_div() 102 if (ok) { in sdi_calc_clock_div()
|
/drivers/gpu/drm/i915/selftests/ |
D | i915_vma.c | 41 bool ok = true; in assert_vma() local 45 ok = false; in assert_vma() 51 ok = false; in assert_vma() 57 ok = false; in assert_vma() 60 return ok; in assert_vma() 69 bool ok = true; in checked_vma_instance() local 79 ok = false; in checked_vma_instance() 85 ok = false; in checked_vma_instance() 99 if (!ok) { in checked_vma_instance() 748 bool ok = true; in assert_pin() local [all …]
|
/drivers/gpu/drm/i915/gt/ |
D | selftest_workarounds.c | 1171 bool ok = true; in verify_wa_lists() local 1173 ok &= wa_list_verify(gt, &lists->gt_wa_list, str); in verify_wa_lists() 1182 ok &= engine_wa_list_verify(ce, in verify_wa_lists() 1186 ok &= engine_wa_list_verify(ce, in verify_wa_lists() 1193 return ok; in verify_wa_lists() 1202 bool ok; in live_gpu_reset_workarounds() local 1218 ok = verify_wa_lists(gt, lists, "before reset"); in live_gpu_reset_workarounds() 1219 if (!ok) in live_gpu_reset_workarounds() 1224 ok = verify_wa_lists(gt, lists, "after reset"); in live_gpu_reset_workarounds() 1232 return ok ? 0 : -ESRCH; in live_gpu_reset_workarounds() [all …]
|
/drivers/parport/ |
D | parport_gsc.c | 199 int ok = 0; in parport_PS2_supported() local 207 if (parport_gsc_read_data(pb) != 0x55) ok++; in parport_PS2_supported() 210 if (parport_gsc_read_data(pb) != 0xaa) ok++; in parport_PS2_supported() 215 if (ok) { in parport_PS2_supported() 222 return ok; in parport_PS2_supported()
|
/drivers/atm/ |
D | fore200e.c | 242 int ok; in fore200e_poll() local 246 if ((ok = (*addr == val)) || (*addr & STATUS_ERROR)) in fore200e_poll() 252 if (!ok) { in fore200e_poll() 258 return ok; in fore200e_poll() 266 int ok; in fore200e_io_poll() local 269 if ((ok = (fore200e->bus->read(addr) == val))) in fore200e_io_poll() 275 if (!ok) { in fore200e_io_poll() 281 return ok; in fore200e_io_poll() 333 int ok; in fore200e_reset() local 342 ok = fore200e_io_poll(fore200e, &fore200e->cp_monitor->bstat, BSTAT_SELFTEST_OK, 1000); in fore200e_reset() [all …]
|
/drivers/crypto/ccree/ |
D | cc_fips.h | 20 void cc_set_ree_fips_status(struct cc_drvdata *drvdata, bool ok); 32 bool ok) {} in cc_set_ree_fips_status() argument
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_selftests.c | 243 int ok; member 313 tpriv->ok = true; in stmmac_test_loopback_validate() 331 tpriv->ok = false; in __stmmac_test_loopback() 360 ret = tpriv->ok ? 0 : -ETIMEDOUT; in __stmmac_test_loopback() 728 tpriv->ok = true; in stmmac_test_flowctrl_validate() 751 tpriv->ok = false; in stmmac_test_flowctrl() 787 if (tpriv->ok) in stmmac_test_flowctrl() 810 ret = tpriv->ok ? 0 : -ETIMEDOUT; in stmmac_test_flowctrl() 862 tpriv->ok = false; in stmmac_test_vlan_validate() 886 tpriv->ok = true; in stmmac_test_vlan_validate() [all …]
|
/drivers/pcmcia/ |
D | rsrc_nonstatic.c | 457 u_long ok; in inv_probe() local 460 ok = inv_probe(m->next, s); in inv_probe() 461 if (ok) { in inv_probe() 464 return ok; in inv_probe() 484 unsigned long b, i, ok = 0; in validate_mem() local 504 ok += do_mem_probe(s, mm.base, mm.num, readable, in validate_mem() 512 if (ok >= mem_limit) in validate_mem() 515 ok += do_mem_probe(s, b, 0x10000, in validate_mem() 521 if (ok > 0) in validate_mem() 540 unsigned long ok = 0; in validate_mem() local [all …]
|
/drivers/scsi/aacraid/ |
D | sa.c | 157 int ok; in sa_sync_cmd() local 179 ok = 0; in sa_sync_cmd() 193 ok = 1; in sa_sync_cmd() 199 if (ok != 1) in sa_sync_cmd()
|
D | rx.c | 167 int ok; in rx_sync_cmd() local 197 ok = 0; in rx_sync_cmd() 214 ok = 1; in rx_sync_cmd() 222 if (unlikely(ok != 1)) { in rx_sync_cmd()
|
/drivers/xen/ |
D | xen-acpi-processor.c | 61 unsigned int i, ok; in push_cxx_to_hypervisor() local 69 for (ok = 0, i = 1; i <= _pr->power.count; i++) { in push_cxx_to_hypervisor() 74 dst_cx = &(dst_cx_states[ok++]); in push_cxx_to_hypervisor() 98 if (!ok) { in push_cxx_to_hypervisor() 103 op.u.set_pminfo.power.count = ok; in push_cxx_to_hypervisor()
|
/drivers/gpu/drm/i915/display/ |
D | intel_dpio_phy.c | 521 bool ok; in bxt_ddi_phy_verify_state() local 532 ok = true; in bxt_ddi_phy_verify_state() 535 ok &= _CHK(BXT_PORT_CL1CM_DW9(phy), in bxt_ddi_phy_verify_state() 538 ok &= _CHK(BXT_PORT_CL1CM_DW10(phy), in bxt_ddi_phy_verify_state() 544 ok &= _CHK(BXT_PORT_CL1CM_DW28(phy), mask, mask, in bxt_ddi_phy_verify_state() 548 ok &= _CHK(BXT_PORT_CL2CM_DW6(phy), in bxt_ddi_phy_verify_state() 560 ok &= _CHK(BXT_PORT_REF_DW6(phy), mask, grc_code, in bxt_ddi_phy_verify_state() 564 ok &= _CHK(BXT_PORT_REF_DW8(phy), mask, mask, in bxt_ddi_phy_verify_state() 568 return ok; in bxt_ddi_phy_verify_state()
|
/drivers/mtd/ |
D | ssfdc.c | 202 int ok = 0; in get_logical_address() local 224 ok = 1; in get_logical_address() 230 if (!ok) in get_logical_address()
|
/drivers/net/wireless/ath/wil6210/ |
D | netdev.c | 13 struct net_device *ndev, bool up, bool ok) in wil_has_other_active_ifaces() argument 25 (ok && netif_carrier_ok(ndev_i))) in wil_has_other_active_ifaces() 33 bool wil_has_active_ifaces(struct wil6210_priv *wil, bool up, bool ok) in wil_has_active_ifaces() argument 36 return wil_has_other_active_ifaces(wil, NULL, up, ok); in wil_has_active_ifaces()
|
/drivers/clk/tegra/ |
D | clk-dfll.c | 1906 bool ok = true; in dfll_fetch_common_params() local 1908 ok &= read_dt_param(td, "nvidia,droop-ctrl", &td->droop_ctrl); in dfll_fetch_common_params() 1909 ok &= read_dt_param(td, "nvidia,sample-rate", &td->sample_rate); in dfll_fetch_common_params() 1910 ok &= read_dt_param(td, "nvidia,force-mode", &td->force_mode); in dfll_fetch_common_params() 1911 ok &= read_dt_param(td, "nvidia,cf", &td->cf); in dfll_fetch_common_params() 1912 ok &= read_dt_param(td, "nvidia,ci", &td->ci); in dfll_fetch_common_params() 1913 ok &= read_dt_param(td, "nvidia,cg", &td->cg); in dfll_fetch_common_params() 1920 ok = false; in dfll_fetch_common_params() 1923 return ok ? 0 : -EINVAL; in dfll_fetch_common_params()
|
/drivers/video/ |
D | sticore.c | 873 goto ok; in sti_read_rom() 891 ok: in sti_read_rom() 910 int ok; in sti_try_rom_generic() local 966 ok = 0; in sti_try_rom_generic() 971 ok = sti_read_rom(0, sti, address); in sti_try_rom_generic() 977 ok = sti_read_rom(1, sti, address); in sti_try_rom_generic() 980 if (!ok) in sti_try_rom_generic()
|
/drivers/of/unittest-data/ |
D | overlay_bad_unresolved.dtso | 6 status = "ok";
|
/drivers/mtd/tests/ |
D | pagetest.c | 269 int err = 0, i, ebnum, ok = 1; in erasetest() local 309 ok = 0; in erasetest() 313 if (ok && !err) in erasetest()
|
/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | init.c | 138 int i = 200, ok = 0; in mt76x0_mac_stop() local 159 if (ok++ > 5) in mt76x0_mac_stop()
|
/drivers/gpu/drm/tidss/ |
D | tidss_crtc.c | 95 enum drm_mode_status ok; in tidss_crtc_atomic_check() local 104 ok = dispc_vp_mode_valid(dispc, hw_videoport, mode); in tidss_crtc_atomic_check() 105 if (ok != MODE_OK) { in tidss_crtc_atomic_check()
|
/drivers/platform/chrome/ |
D | cros_ec_lightbar.c | 224 int ret, i = 0, j = 0, ok = 0; in led_rgb_store() local 264 ok = 1; in led_rgb_store() 275 return (ok && i == 0) ? count : -EINVAL; in led_rgb_store()
|
/drivers/platform/x86/ |
D | asus-wmi.c | 4052 bool ok = true; in asus_sysfs_is_visible() local 4066 ok = asus->charge_mode_available; in asus_sysfs_is_visible() 4068 ok = asus->egpu_enable_available; in asus_sysfs_is_visible() 4070 ok = asus->egpu_connect_available; in asus_sysfs_is_visible() 4072 ok = asus->dgpu_disable_available; in asus_sysfs_is_visible() 4074 ok = asus->gpu_mux_mode_available; in asus_sysfs_is_visible() 4076 ok = asus->fan_boost_mode_available; in asus_sysfs_is_visible() 4078 ok = asus->throttle_thermal_policy_available; in asus_sysfs_is_visible() 4080 ok = asus->ppt_pl2_sppt_available; in asus_sysfs_is_visible() 4082 ok = asus->ppt_pl1_spl_available; in asus_sysfs_is_visible() [all …]
|