/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 | 40 bool ok = true; in assert_vma() local 44 ok = false; in assert_vma() 50 ok = false; in assert_vma() 56 ok = false; in assert_vma() 59 return ok; in assert_vma() 68 bool ok = true; in checked_vma_instance() local 78 ok = false; in checked_vma_instance() 84 ok = false; in checked_vma_instance() 98 if (!ok) { in checked_vma_instance() 743 bool ok = true; in assert_pin() local [all …]
|
/drivers/gpu/drm/i915/gt/ |
D | selftest_workarounds.c | 1186 bool ok = true; in verify_wa_lists() local 1188 ok &= wa_list_verify(gt, &lists->gt_wa_list, str); in verify_wa_lists() 1197 ok &= engine_wa_list_verify(ce, in verify_wa_lists() 1201 ok &= engine_wa_list_verify(ce, in verify_wa_lists() 1208 return ok; in verify_wa_lists() 1217 bool ok; in live_gpu_reset_workarounds() local 1233 ok = verify_wa_lists(gt, lists, "before reset"); in live_gpu_reset_workarounds() 1234 if (!ok) in live_gpu_reset_workarounds() 1239 ok = verify_wa_lists(gt, lists, "after reset"); in live_gpu_reset_workarounds() 1247 return ok ? 0 : -ESRCH; in live_gpu_reset_workarounds() [all …]
|
/drivers/parport/ |
D | parport_gsc.c | 200 int ok = 0; in parport_PS2_supported() local 208 if (parport_gsc_read_data(pb) != 0x55) ok++; in parport_PS2_supported() 211 if (parport_gsc_read_data(pb) != 0xaa) ok++; in parport_PS2_supported() 216 if (ok) { in parport_PS2_supported() 223 return ok; in parport_PS2_supported()
|
/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/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/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 | 528 bool ok; in bxt_ddi_phy_verify_state() local 539 ok = true; in bxt_ddi_phy_verify_state() 542 ok &= _CHK(BXT_PORT_CL1CM_DW9(phy), in bxt_ddi_phy_verify_state() 545 ok &= _CHK(BXT_PORT_CL1CM_DW10(phy), in bxt_ddi_phy_verify_state() 551 ok &= _CHK(BXT_PORT_CL1CM_DW28(phy), mask, mask, in bxt_ddi_phy_verify_state() 555 ok &= _CHK(BXT_PORT_CL2CM_DW6(phy), in bxt_ddi_phy_verify_state() 567 ok &= _CHK(BXT_PORT_REF_DW6(phy), mask, grc_code, in bxt_ddi_phy_verify_state() 571 ok &= _CHK(BXT_PORT_REF_DW8(phy), mask, mask, in bxt_ddi_phy_verify_state() 575 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/video/console/ |
D | sticore.c | 807 goto ok; in sti_read_rom() 825 ok: in sti_read_rom() 844 int ok; in sti_try_rom_generic() local 898 ok = 0; in sti_try_rom_generic() 903 ok = sti_read_rom(0, sti, address); in sti_try_rom_generic() 909 ok = sti_read_rom(1, sti, address); in sti_try_rom_generic() 912 if (!ok) in sti_try_rom_generic()
|
/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/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/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/gpu/drm/tidss/ |
D | tidss_crtc.c | 98 enum drm_mode_status ok; in tidss_crtc_atomic_check() local 107 ok = dispc_vp_mode_valid(dispc, hw_videoport, mode); in tidss_crtc_atomic_check() 108 if (ok != MODE_OK) { in tidss_crtc_atomic_check()
|
/drivers/platform/chrome/ |
D | cros_ec_lightbar.c | 223 int ret, i = 0, j = 0, ok = 0; in led_rgb_store() local 263 ok = 1; in led_rgb_store() 274 return (ok && i == 0) ? count : -EINVAL; in led_rgb_store()
|
/drivers/input/joystick/ |
D | sidewinder.c | 108 int ok; member 440 sw->ok++; in sw_read() 443 && sw->ok > SW_OK) { in sw_read() 453 sw->ok = 0; in sw_read()
|
/drivers/gpu/drm/selftests/ |
D | test-drm_mm.c | 83 bool ok = true; in assert_one_hole() local 91 if (ok) in assert_one_hole() 95 ok = false; in assert_one_hole() 101 ok = false; in assert_one_hole() 104 return ok; in assert_one_hole() 172 bool ok = true; in assert_node() local 176 ok = false; in assert_node() 182 ok = false; in assert_node() 188 ok = false; in assert_node() 194 ok = false; in assert_node() [all …]
|