Home
last modified time | relevance | path

Searched refs:linearize (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/media/platform/davinci/
Disif.c42 .linearize = {
380 static void isif_config_linearization(struct isif_linearize *linearize) in isif_config_linearization() argument
384 if (!linearize->en) { in isif_config_linearization()
390 val = (linearize->corr_shft << ISIF_LIN_CORRSFT_SHIFT) | 1; in isif_config_linearization()
394 val = ((!!linearize->scale_fact.integer) << in isif_config_linearization()
396 linearize->scale_fact.decimal; in isif_config_linearization()
401 regw_lin_tbl(linearize->table[i], ((i >> 1) << 2), 1); in isif_config_linearization()
403 regw_lin_tbl(linearize->table[i], ((i >> 1) << 2), 0); in isif_config_linearization()
675 isif_config_linearization(&module_params->linearize); in isif_config_raw()
/Linux-v4.19/drivers/staging/media/davinci_vpfe/
Ddm365_isif.c989 struct vpfe_isif_linearize *linearize) in isif_config_linearization() argument
994 if (!linearize->en) { in isif_config_linearization()
999 val = (linearize->corr_shft & ISIF_LIN_CORRSFT_MASK) << in isif_config_linearization()
1005 val = (linearize->scale_fact.integer & 1) << in isif_config_linearization()
1007 val |= linearize->scale_fact.decimal & ISIF_LIN_SCALE_FACT_DECIMAL_MASK; in isif_config_linearization()
1011 val = linearize->table[i] & ISIF_LIN_ENTRY_MASK; in isif_config_linearization()
1202 isif_config_linearization(isif, &module_params->linearize); in isif_config_raw()
1765 isif->isif_cfg.bayer.config_params.linearize.corr_shft = in isif_restore_defaults()
1767 isif->isif_cfg.bayer.config_params.linearize.scale_fact.integer = 1; in isif_restore_defaults()
Ddavinci_vpfe_user.h523 struct vpfe_isif_linearize linearize; member
/Linux-v4.19/include/media/davinci/
Disif.h415 struct isif_linearize linearize; member
/Linux-v4.19/drivers/net/ethernet/amazon/ena/
Dena_netdev.h183 u64 linearize; member
Dena_ethtool.c77 ENA_STAT_TX_ENTRY(linearize),
Dena_netdev.c1976 tx_ring->tx_stats.linearize++; in ena_check_and_linearize_skb()
/Linux-v4.19/arch/x86/kvm/
Demulate.c752 static int linearize(struct x86_emulate_ctxt *ctxt, in linearize() function
836 rc = linearize(ctxt, addr, size, false, &linear); in segmented_read_std()
850 rc = linearize(ctxt, addr, size, true, &linear); in segmented_write_std()
1429 rc = linearize(ctxt, addr, size, false, &linear); in segmented_read()
1443 rc = linearize(ctxt, addr, size, true, &linear); in segmented_write()
1458 rc = linearize(ctxt, addr, size, true, &linear); in segmented_cmpxchg()
3746 rc = linearize(ctxt, ctxt->src.addr.mem, 1, false, &linear); in em_invlpg()