Home
last modified time | relevance | path

Searched refs:cso (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/sound/pci/ali5451/
Dali5451.c1364 unsigned int cso; in snd_ali_playback_pointer() local
1372 cso = inw(ALI_REG(codec, ALI_CSO_ALPHA_FMS + 2)); in snd_ali_playback_pointer()
1374 dev_dbg(codec->card->dev, "playback pointer returned cso=%xh.\n", cso); in snd_ali_playback_pointer()
1376 cso %= runtime->buffer_size; in snd_ali_playback_pointer()
1377 return cso; in snd_ali_playback_pointer()
1386 unsigned int cso; in snd_ali_pointer() local
1394 cso = inw(ALI_REG(codec, ALI_CSO_ALPHA_FMS + 2)); in snd_ali_pointer()
1397 cso %= runtime->buffer_size; in snd_ali_pointer()
1398 return cso; in snd_ali_pointer()
/Linux-v5.10/drivers/net/ethernet/qualcomm/emac/
Demac-mac.c1308 unsigned int css, cso; in emac_tso_csum() local
1310 cso = skb_transport_offset(skb); in emac_tso_csum()
1311 if (unlikely(cso & 0x1)) { in emac_tso_csum()
1316 css = cso + skb->csum_offset; in emac_tso_csum()
1318 TPD_PAYLOAD_OFFSET_SET(tpd, cso >> 1); in emac_tso_csum()
/Linux-v5.10/sound/pci/
Dsis7019.c641 u32 cso; in sis_pcm_pointer() local
643 cso = readl(voice->ctrl_base + SIS_PLAY_DMA_FORMAT_CSO); in sis_pcm_pointer()
644 cso &= 0xffff; in sis_pcm_pointer()
645 return cso; in sis_pcm_pointer()
/Linux-v5.10/drivers/net/ethernet/atheros/alx/
Dmain.c1384 u8 cso, css; in alx_tx_csum() local
1389 cso = skb_checksum_start_offset(skb); in alx_tx_csum()
1390 if (cso & 1) in alx_tx_csum()
1393 css = cso + skb->csum_offset; in alx_tx_csum()
1394 first->word1 |= cpu_to_le32((cso >> 1) << TPD_CXSUMSTART_SHIFT); in alx_tx_csum()
/Linux-v5.10/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c1677 u8 css, cso; in atl1e_tso_csum() local
1679 cso = skb_checksum_start_offset(skb); in atl1e_tso_csum()
1680 if (unlikely(cso & 0x1)) { in atl1e_tso_csum()
1685 css = cso + skb->csum_offset; in atl1e_tso_csum()
1686 tpd->word3 |= (cso & TPD_PLOADOFFSET_MASK) << in atl1e_tso_csum()
/Linux-v5.10/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c2044 u8 css, cso; in atl1c_tso_csum() local
2045 cso = skb_checksum_start_offset(skb); in atl1c_tso_csum()
2047 if (unlikely(cso & 0x1)) { in atl1c_tso_csum()
2053 css = cso + skb->csum_offset; in atl1c_tso_csum()
2055 (*tpd)->word1 |= ((cso >> 1) & TPD_PLOADOFFSET_MASK) << in atl1c_tso_csum()
/Linux-v5.10/sound/pci/trident/
Dtrident_main.c1600 unsigned int cso; in snd_trident_playback_pointer() local
1610 cso = inw(TRID_REG(trident, CH_DX_CSO_ALPHA_FMS + 2)); in snd_trident_playback_pointer()
1612 cso = (unsigned int) inl(TRID_REG(trident, CH_NX_DELTA_CSO)) & 0x00ffffff; in snd_trident_playback_pointer()
1617 if (cso >= runtime->buffer_size) in snd_trident_playback_pointer()
1618 cso = 0; in snd_trident_playback_pointer()
1620 return cso; in snd_trident_playback_pointer()
/Linux-v5.10/drivers/net/ethernet/intel/e1000e/
Dhw.h294 u8 cso; /* Checksum offset */ member
/Linux-v5.10/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c1249 u8 css, cso; in ixgb_tx_csum() local
1254 cso = css + skb->csum_offset; in ixgb_tx_csum()
1262 context_desc->tucso = cso; in ixgb_tx_csum()
/Linux-v5.10/drivers/net/ethernet/atheros/atlx/
Datl1.c2161 u8 css, cso; in atl1_tx_csum() local
2165 cso = css + (u8) skb->csum_offset; in atl1_tx_csum()
2175 ptpd->word3 |= (cso & TPD_CCSUMOFFSET_MASK) << in atl1_tx_csum()
/Linux-v5.10/drivers/net/ethernet/intel/e1000/
De1000_hw.h621 u8 cso; /* Checksum offset */ member