Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/media/platform/omap3isp/
Dispresizer.c787 const unsigned int sph = DEFAULT_PHASE; in resizer_calc_ratios() local
830 min_width = ((input->width - 7) * 256 - 32 - 64 * sph) / 1024 + 1; in resizer_calc_ratios()
864 max_width = min(((input->width - 7) * 256 + 255 - 16 - 32 * sph) / 64 in resizer_calc_ratios()
879 ratio->horz = ((input->width - 7) * 256 + 255 - 16 - 32 * sph) in resizer_calc_ratios()
882 ratio->horz = ((input->width - 7) * 256 + 255 - 32 - 64 * sph) in resizer_calc_ratios()
889 + 32 * sph + 16; in resizer_calc_ratios()
893 + 64 * sph + 32; in resizer_calc_ratios()
1189 const unsigned int sph = DEFAULT_PHASE; in resizer_try_crop() local
1195 ((32 * sph + (source->width - 1) * 64 + 16) >> 8) + 7; in resizer_try_crop()
1199 ((64 * sph + (source->width - 1) * 1024 + 32) >> 8) + 7; in resizer_try_crop()
Disppreview.c1073 unsigned int sph = prev->crop.left; in preview_config_input_size() local
1081 sph -= 2; in preview_config_input_size()
1091 sph -= 2; in preview_config_input_size()
1097 sph -= 2; in preview_config_input_size()
1101 sph -= 2; in preview_config_input_size()
1103 isp_reg_writel(isp, (sph << ISPPRV_HORZ_INFO_SPH_SHIFT) | eph, in preview_config_input_size()
Dispccdc.c1131 unsigned int sph; in ccdc_configure() local
1238 sph = crop->left * 2; in ccdc_configure()
1241 sph = crop->left; in ccdc_configure()
1245 isp_reg_writel(isp, (sph << ISPCCDC_HORZ_INFO_SPH_SHIFT) | in ccdc_configure()
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
Dxgbe.h634 unsigned int sph; /* Split Header Feature */ member
Dxgbe-drv.c517 hw_feat->sph = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, SPHEN); in xgbe_get_all_hw_features()
/linux-4.1.27/net/xfrm/
Dxfrm_user.c978 struct xfrmu_spdhinfo sph; in build_spdinfo() local
998 sph.spdhcnt = si.spdhcnt; in build_spdinfo()
999 sph.spdhmcnt = si.spdhmcnt; in build_spdinfo()
1012 err = nla_put(skb, XFRMA_SPD_HINFO, sizeof(sph), &sph); in build_spdinfo()