Home
last modified time | relevance | path

Searched refs:in_range (Results 1 – 7 of 7) sorted by relevance

/drivers/platform/chrome/
Dcros_ec_lpc.c94 int in_range = cros_ec_lpc_mec_in_range(offset, length); in cros_ec_lpc_mec_read_bytes() local
96 if (in_range < 0) in cros_ec_lpc_mec_read_bytes()
99 return in_range ? in cros_ec_lpc_mec_read_bytes()
113 int in_range = cros_ec_lpc_mec_in_range(offset, length); in cros_ec_lpc_mec_write_bytes() local
115 if (in_range < 0) in cros_ec_lpc_mec_write_bytes()
118 return in_range ? in cros_ec_lpc_mec_write_bytes()
/drivers/s390/cio/
Dblacklist.c281 int in_range; member
331 if (!iter->in_range) { in cio_ignore_proc_seq_show()
339 iter->in_range = 1; in cio_ignore_proc_seq_show()
346 iter->in_range = 0; in cio_ignore_proc_seq_show()
/drivers/gpu/drm/arm/display/komeda/
Dkomeda_pipeline_state.c308 if (!in_range(&layer->hsize_in, src_w)) { in komeda_layer_check_cfg()
313 if (!in_range(&layer->vsize_in, src_h)) { in komeda_layer_check_cfg()
455 if (!in_range(&scaler->hsize, hsize_in) || in komeda_scaler_check_cfg()
456 !in_range(&scaler->hsize, hsize_out)) { in komeda_scaler_check_cfg()
461 if (!in_range(&scaler->vsize, vsize_in) || in komeda_scaler_check_cfg()
462 !in_range(&scaler->vsize, vsize_out)) { in komeda_scaler_check_cfg()
577 if (!in_range(&splitter->hsize, dflow->in_w)) { in komeda_splitter_validate()
583 if (!in_range(&splitter->vsize, dflow->in_h)) { in komeda_splitter_validate()
627 if (!in_range(&merger->hsize_merged, output->out_w)) { in komeda_merger_validate()
633 if (!in_range(&merger->vsize_merged, output->out_h)) { in komeda_merger_validate()
[all …]
/drivers/pinctrl/renesas/
Dcore.c335 int in_range; in sh_pfc_config_mux() local
349 in_range = sh_pfc_enum_in_range(enum_id, &pfc->info->function); in sh_pfc_config_mux()
350 if (!in_range) { in sh_pfc_config_mux()
355 in_range = 1; in sh_pfc_config_mux()
360 in_range = sh_pfc_enum_in_range(enum_id, range); in sh_pfc_config_mux()
367 if (in_range && enum_id == range->force) in sh_pfc_config_mux()
373 if (!in_range) in sh_pfc_config_mux()
/drivers/gpu/drm/arm/display/include/
Dmalidp_utils.h38 static inline bool in_range(struct malidp_range *rg, u32 v) in in_range() function
/drivers/gpu/drm/msm/adreno/
Da6xx_gmu.c661 static int in_range(u32 addr, u32 start, u32 size) in in_range() function
668 if (!in_range(blk->addr, bo->iova, bo->size)) in fw_block_mem()
709 if (in_range(blk->addr, itcm_base, SZ_16K)) { in a6xx_gmu_fw_load()
714 } else if (in_range(blk->addr, dtcm_base, SZ_16K)) { in a6xx_gmu_fw_load()
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c2134 static int in_range(int val, int lo, int hi) in in_range() function
2165 if (!in_range(t.intr_lat, 0, M_NEWTIMER) || in cxgb_extension_ioctl()
2166 !in_range(t.cong_thres, 0, 255) || in cxgb_extension_ioctl()
2167 !in_range(t.txq_size[0], MIN_TXQ_ENTRIES, in cxgb_extension_ioctl()
2169 !in_range(t.txq_size[1], MIN_TXQ_ENTRIES, in cxgb_extension_ioctl()
2171 !in_range(t.txq_size[2], MIN_CTRL_TXQ_ENTRIES, in cxgb_extension_ioctl()
2173 !in_range(t.fl_size[0], MIN_FL_ENTRIES, in cxgb_extension_ioctl()
2175 !in_range(t.fl_size[1], MIN_FL_ENTRIES, in cxgb_extension_ioctl()
2177 !in_range(t.rspq_size, MIN_RSPQ_ENTRIES, in cxgb_extension_ioctl()