/kernel/linux/linux-6.6/sound/firewire/motu/ |
H A D | amdtp-motu.c | 313 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()
|
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/ |
H A D | ispresizer.c | 691 * iw = (32 * sph + (ow - 1) * hrsz + 16) >> 8 + 7 694 * iw = (64 * sph + (ow - 1) * hrsz + 32) >> 8 + 7 706 * iw >= (32 * sph + (ow - 1) * hrsz + 16) >> 8 - 7 710 * iw - 7 >= (32 * sph + (ow - 1) * hrsz + 16) >> 8 711 * (iw - 7) << 8 >= 32 * sph + (ow - 1) * hrsz + 16 - b 712 * ((iw - 7) << 8) + b >= 32 * sph + (ow - 1) * hrsz + 16 723 * hrsz = ((iw - 7) * 256 + 255 - 16 - 32 * sph) / (ow - 1) 726 * hrsz = ((iw - 7) * 256 + 255 - 32 - 64 * sph) / (ow - 1) 750 * min ow = ((iw - 7) * 256 - 32 - 64 * sph) / 1024 + 1 756 * max ow = ((iw - 7) * 256 + 255 - 16 - 32 * sph) / 6 784 const unsigned int sph = DEFAULT_PHASE; resizer_calc_ratios() local 1186 const unsigned int sph = DEFAULT_PHASE; resizer_try_crop() local [all...] |
H A D | isppreview.c | 1066 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 D | ispccdc.c | 1129 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()
|
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/ |
H A D | ispresizer.c | 694 * iw = (32 * sph + (ow - 1) * hrsz + 16) >> 8 + 7 697 * iw = (64 * sph + (ow - 1) * hrsz + 32) >> 8 + 7 709 * iw >= (32 * sph + (ow - 1) * hrsz + 16) >> 8 - 7 713 * iw - 7 >= (32 * sph + (ow - 1) * hrsz + 16) >> 8 714 * (iw - 7) << 8 >= 32 * sph + (ow - 1) * hrsz + 16 - b 715 * ((iw - 7) << 8) + b >= 32 * sph + (ow - 1) * hrsz + 16 726 * hrsz = ((iw - 7) * 256 + 255 - 16 - 32 * sph) / (ow - 1) 729 * hrsz = ((iw - 7) * 256 + 255 - 32 - 64 * sph) / (ow - 1) 753 * min ow = ((iw - 7) * 256 - 32 - 64 * sph) / 1024 + 1 759 * max ow = ((iw - 7) * 256 + 255 - 16 - 32 * sph) / 6 787 const unsigned int sph = DEFAULT_PHASE; resizer_calc_ratios() local 1189 const unsigned int sph = DEFAULT_PHASE; resizer_try_crop() local [all...] |
H A D | isppreview.c | 1066 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 D | ispccdc.c | 1131 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()
|
/kernel/linux/linux-5.10/sound/firewire/motu/ |
H A D | amdtp-motu.c | 386 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_xdp.c | 132 priv->sph = priv->sph_cap && !stmmac_xdp_is_enabled(priv); in stmmac_xdp_set_prog()
|
H A D | stmmac.h | 220 int sph; member
|
H A D | stmmac_main.c | 1464 if (priv->sph && !buf->sec_page) { in stmmac_init_rx_buffers() 3431 sph_en = (priv->hw->rx_csum > 0) && priv->sph; in stmmac_hw_setup() 4696 if (priv->sph && !buf->sec_page) { in stmmac_rx_refill() 4707 if (priv->sph) in stmmac_rx_refill() 4742 if (priv->sph && len) in stmmac_rx_buf1_len() 4747 if (priv->sph && hlen) { in stmmac_rx_buf1_len() 4770 if (!priv->sph) in stmmac_rx_buf2_len() 5810 bool sph_en = (priv->hw->rx_csum > 0) && priv->sph; in stmmac_set_features() 6815 sph_en = (priv->hw->rx_csum > 0) && priv->sph; in stmmac_xdp_open() 7469 priv->sph in stmmac_dvr_probe() [all...] |
/kernel/linux/linux-5.10/sound/firewire/ |
H A D | amdtp-stream.c | 499 ((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()
|
H A D | amdtp-stream.h | 157 unsigned int sph; member
|
/kernel/linux/linux-6.6/sound/firewire/ |
H A D | amdtp-stream.h | 180 unsigned int sph; member
|
H A D | amdtp-stream.c | 672 ((s->sph << CIP_SPH_SHIFT) & CIP_SPH_MASK) | in generate_cip_header() 710 unsigned int sph; in check_cip_header() local 733 sph = (cip_header[0] & CIP_SPH_MASK) >> CIP_SPH_SHIFT; in check_cip_header() 735 if (sph != s->sph || fmt != s->fmt) { in check_cip_header()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac.h | 157 int sph; member
|
H A D | stmmac_main.c | 1354 if (priv->sph) { in stmmac_init_rx_buffers() 2813 if (priv->sph && priv->hw->rx_csum) { in stmmac_hw_setup() 3712 if (priv->sph && !buf->sec_page) { in stmmac_rx_refill() 3732 if (priv->sph) in stmmac_rx_refill() 3767 if (priv->sph && len) in stmmac_rx_buf1_len() 3772 if (priv->sph && hlen) { in stmmac_rx_buf1_len() 3795 if (!priv->sph) in stmmac_rx_buf2_len() 4190 sph_en = (priv->hw->rx_csum > 0) && priv->sph; in stmmac_set_features() 5081 priv->sph = true; in stmmac_dvr_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac-common.c | 432 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 D | dwc-xlgmac.h | 520 unsigned int sph; /* Split Header Feature */ member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac-common.c | 432 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 D | dwc-xlgmac.h | 521 unsigned int sph; /* Split Header Feature */ member
|
/kernel/linux/linux-5.10/net/xfrm/ |
H A D | xfrm_user.c | 1155 struct xfrmu_spdhinfo sph; in build_spdinfo() local 1175 sph.spdhcnt = si.spdhcnt; in build_spdinfo() 1176 sph.spdhmcnt = si.spdhmcnt; in build_spdinfo() 1189 err = nla_put(skb, XFRMA_SPD_HINFO, sizeof(sph), &sph); in build_spdinfo()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe.h | 986 unsigned int sph; /* Split Header Feature */ member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe.h | 1018 unsigned int sph; /* Split Header Feature */ member
|
/kernel/linux/linux-6.6/net/xfrm/ |
H A D | xfrm_user.c | 1360 struct xfrmu_spdhinfo sph; in build_spdinfo() local 1380 sph.spdhcnt = si.spdhcnt; in build_spdinfo() 1381 sph.spdhmcnt = si.spdhmcnt; in build_spdinfo() 1394 err = nla_put(skb, XFRMA_SPD_HINFO, sizeof(sph), &sph); in build_spdinfo()
|