Home
last modified time | relevance | path

Searched refs:sph (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.10/drivers/media/platform/omap3isp/
Dispresizer.c784 const unsigned int sph = DEFAULT_PHASE; in resizer_calc_ratios() local
827 min_width = ((input->width - 7) * 256 - 32 - 64 * sph) / 1024 + 1; in resizer_calc_ratios()
861 max_width = min(((input->width - 7) * 256 + 255 - 16 - 32 * sph) / 64 in resizer_calc_ratios()
876 ratio->horz = ((input->width - 7) * 256 + 255 - 16 - 32 * sph) in resizer_calc_ratios()
879 ratio->horz = ((input->width - 7) * 256 + 255 - 32 - 64 * sph) in resizer_calc_ratios()
886 + 32 * sph + 16; in resizer_calc_ratios()
890 + 64 * sph + 32; in resizer_calc_ratios()
1186 const unsigned int sph = DEFAULT_PHASE; in resizer_try_crop() local
1192 ((32 * sph + (source->width - 1) * 64 + 16) >> 8) + 7; in resizer_try_crop()
1196 ((64 * sph + (source->width - 1) * 1024 + 32) >> 8) + 7; in resizer_try_crop()
Disppreview.c1066 unsigned int sph = prev->crop.left; in preview_config_input_size() local
1074 sph -= 2; in preview_config_input_size()
1084 sph -= 2; in preview_config_input_size()
1090 sph -= 2; in preview_config_input_size()
1094 sph -= 2; in preview_config_input_size()
1096 isp_reg_writel(isp, (sph << ISPPRV_HORZ_INFO_SPH_SHIFT) | eph, in preview_config_input_size()
Dispccdc.c1129 unsigned int sph; in ccdc_configure() local
1232 sph = crop->left * 2; in ccdc_configure()
1235 sph = crop->left; in ccdc_configure()
1239 isp_reg_writel(isp, (sph << ISPCCDC_HORZ_INFO_SPH_SHIFT) | in ccdc_configure()
/Linux-v5.10/sound/firewire/motu/
Damdtp-motu.c386 u32 sph; in write_sph() local
390 sph = ((next_cycles << 12) | p->next_ticks) & 0x01ffffff; in write_sph()
391 *buffer = cpu_to_be32(sph); in write_sph()
476 s->sph = 1; in amdtp_motu_init()
/Linux-v5.10/sound/firewire/
Damdtp-stream.c499 ((s->sph << CIP_SPH_SHIFT) & CIP_SPH_MASK) | in generate_cip_header()
538 unsigned int sph; in check_cip_header() local
561 sph = (cip_header[0] & CIP_SPH_MASK) >> CIP_SPH_SHIFT; in check_cip_header()
563 if (sph != s->sph || fmt != s->fmt) { in check_cip_header()
Damdtp-stream.h157 unsigned int sph; member
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h157 int sph; member
Dstmmac_main.c1276 if (priv->sph) { in stmmac_init_rx_buffers()
2723 if (priv->sph && priv->hw->rx_csum) { in stmmac_hw_setup()
3601 if (priv->sph && !buf->sec_page) { in stmmac_rx_refill()
3653 if (priv->sph && len) in stmmac_rx_buf1_len()
3658 if (priv->sph && hlen) { in stmmac_rx_buf1_len()
3681 if (!priv->sph) in stmmac_rx_buf2_len()
4070 sph_en = (priv->hw->rx_csum > 0) && priv->sph; in stmmac_set_features()
4944 priv->sph = true; in stmmac_dvr_probe()
Dstmmac_selftests.c1721 if (!priv->sph) in stmmac_test_sph()
/Linux-v5.10/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-common.c432 hw_feat->sph = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features()
658 pdata->hw_feat.sph ? "YES" : "NO"); in xlgmac_print_all_hw_features()
Ddwc-xlgmac.h520 unsigned int sph; /* Split Header Feature */ member
/Linux-v5.10/net/xfrm/
Dxfrm_user.c1133 struct xfrmu_spdhinfo sph; in build_spdinfo() local
1153 sph.spdhcnt = si.spdhcnt; in build_spdinfo()
1154 sph.spdhmcnt = si.spdhmcnt; in build_spdinfo()
1167 err = nla_put(skb, XFRMA_SPD_HINFO, sizeof(sph), &sph); in build_spdinfo()
/Linux-v5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe.h985 unsigned int sph; /* Split Header Feature */ member
Dxgbe-drv.c767 hw_feat->sph = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, SPHEN); in xgbe_get_all_hw_features()
877 hw_feat->sph ? "yes" : "no"); in xgbe_get_all_hw_features()