Home
last modified time | relevance | path

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

/openbmc/linux/sound/firewire/motu/
H A Damdtp-motu.c313 u32 sph = be32_to_cpu(*buf); in cache_event_offsets() local
316 tick = ((sph & CIP_SPH_CYCLE_MASK) >> CIP_SPH_CYCLE_SHIFT) * TICKS_PER_CYCLE + in cache_event_offsets()
317 (sph & CIP_SPH_OFFSET_MASK); in cache_event_offsets()
384 u32 sph = ((tick / TICKS_PER_CYCLE) << CIP_SPH_CYCLE_SHIFT) | (tick % TICKS_PER_CYCLE); in write_sph() local
385 *buffer = cpu_to_be32(sph); in write_sph()
474 s->sph = 1; in amdtp_motu_init()
/openbmc/linux/drivers/media/platform/ti/omap3isp/
H A 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()
H A 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()
H A 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()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_xdp.c132 priv->sph = priv->sph_cap && !stmmac_xdp_is_enabled(priv); in stmmac_xdp_set_prog()
H A Dstmmac.h220 int sph; member
H A Dstmmac_main.c1449 if (priv->sph && !buf->sec_page) { in stmmac_init_rx_buffers()
3416 sph_en = (priv->hw->rx_csum > 0) && priv->sph; in stmmac_hw_setup()
4694 if (priv->sph && !buf->sec_page) { in stmmac_rx_refill()
4705 if (priv->sph) in stmmac_rx_refill()
4740 if (priv->sph && len) in stmmac_rx_buf1_len()
4745 if (priv->sph && hlen) { in stmmac_rx_buf1_len()
4768 if (!priv->sph) in stmmac_rx_buf2_len()
5808 bool sph_en = (priv->hw->rx_csum > 0) && priv->sph; in stmmac_set_features()
6813 sph_en = (priv->hw->rx_csum > 0) && priv->sph; in stmmac_xdp_open()
7475 priv->sph = priv->sph_cap; in stmmac_dvr_probe()
H A Dstmmac_selftests.c1724 if (!priv->sph) in stmmac_test_sph()
/openbmc/linux/sound/firewire/
H A Damdtp-stream.h184 unsigned int sph; member
H A Damdtp-stream.c681 ((s->sph << CIP_SPH_SHIFT) & CIP_SPH_MASK) | in generate_cip_header()
719 unsigned int sph; in check_cip_header() local
742 sph = (cip_header[0] & CIP_SPH_MASK) >> CIP_SPH_SHIFT; in check_cip_header()
744 if (sph != s->sph || fmt != s->fmt) { in check_cip_header()
/openbmc/linux/drivers/net/ethernet/synopsys/
H A 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()
H A Ddwc-xlgmac.h521 unsigned int sph; /* Split Header Feature */ member
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe.h1018 unsigned int sph; /* Split Header Feature */ member
H A Dxgbe-drv.c783 hw_feat->sph = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, SPHEN); in xgbe_get_all_hw_features()
893 hw_feat->sph ? "yes" : "no"); in xgbe_get_all_hw_features()
/openbmc/linux/net/xfrm/
H A Dxfrm_user.c1366 struct xfrmu_spdhinfo sph; in build_spdinfo() local
1386 sph.spdhcnt = si.spdhcnt; in build_spdinfo()
1387 sph.spdhmcnt = si.spdhmcnt; in build_spdinfo()
1400 err = nla_put(skb, XFRMA_SPD_HINFO, sizeof(sph), &sph); in build_spdinfo()
/openbmc/qemu/hw/net/
H A Digb_core.c1252 bool sph; member
1564 hdr_info |= pdma_st->ps_desc_data.sph ? E1000_ADVRXD_HDR_SPH : 0; in igb_write_adv_ps_rx_descr()
1700 pdma_st->ps_desc_data.sph = true; in igb_do_ps()