Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/pwm/
A Dpwm-renesas-tpu.c179 tpu_pwm_write(tpd, TPU_TGRAn, tpd->duty); in tpu_pwm_timer_start()
180 tpu_pwm_write(tpd, TPU_TGRBn, tpd->period); in tpu_pwm_timer_start()
183 tpd->channel, tpd->duty, tpd->period); in tpu_pwm_timer_start()
218 tpd = kzalloc(sizeof(*tpd), GFP_KERNEL); in tpu_pwm_request()
227 tpd->duty = 0; in tpu_pwm_request()
241 kfree(tpd); in tpu_pwm_free()
314 if (tpd->prescaler == prescaler && tpd->period == period) in tpu_pwm_config()
331 tpu_pwm_write(tpd, TPU_TGRAn, tpd->duty); in tpu_pwm_config()
333 tpd->duty); in tpu_pwm_config()
376 if (tpd->duty == 0 || tpd->duty == tpd->period) { in tpu_pwm_enable()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/bridge/
A Dti-tpd12s015.c113 struct tpd12s015_device *tpd; in tpd12s015_probe() local
118 tpd = devm_kzalloc(&pdev->dev, sizeof(*tpd), GFP_KERNEL); in tpd12s015_probe()
119 if (!tpd) in tpd12s015_probe()
137 if (!tpd->next_bridge) in tpd12s015_probe()
146 tpd->ct_cp_hpd_gpio = gpio; in tpd12s015_probe()
153 tpd->ls_oe_gpio = gpio; in tpd12s015_probe()
159 tpd->hpd_gpio = gpio; in tpd12s015_probe()
162 tpd->hpd_irq = gpiod_to_irq(tpd->hpd_gpio); in tpd12s015_probe()
163 if (tpd->hpd_irq >= 0) { in tpd12s015_probe()
169 "tpd12s015 hpd", tpd); in tpd12s015_probe()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/qualcomm/emac/
A Demac-mac.h79 #define TPD_BUF_LEN_SET(tpd, val) BITS_SET((tpd)->word[0], 0, 15, val) argument
81 #define TPD_CSX_SET(tpd, val) BITS_SET((tpd)->word[1], 8, 8, val) argument
83 #define TPD_LSO(tpd) BITS_GET((tpd)->word[1], 12, 12) argument
84 #define TPD_LSO_SET(tpd, val) BITS_SET((tpd)->word[1], 12, 12, val) argument
89 #define TPD_LSOV_SET(tpd, val) BITS_SET((tpd)->word[1], 13, 13, val) argument
93 #define TPD_IPV4_SET(tpd, val) BITS_SET((tpd)->word[1], 16, 16, val) argument
97 #define TPD_TYP_SET(tpd, val) BITS_SET((tpd)->word[1], 17, 17, val) argument
103 #define TPD_CVLAN_TAG_SET(tpd, val) BITS_SET((tpd)->word[3], 0, 15, val) argument
106 #define TPD_INSTC_SET(tpd, val) BITS_SET((tpd)->word[3], 17, 17, val) argument
125 #define TPD_MSS_SET(tpd, val) BITS_SET((tpd)->word[1], 18, 30, val) argument
[all …]
A Demac-mac.c614 memset(tx_q->tpd.v_addr, 0, tx_q->tpd.size); in emac_tx_q_descs_free()
670 tx_q->tpd.size = 0; in emac_tx_q_bufs_free()
686 tx_q->tpd.size = tx_q->tpd.count * (adpt->tpd_size * 4); in emac_tx_q_desc_alloc()
1030 tx_q->tpd.last_produce_idx = tx_q->tpd.produce_idx; in emac_tx_tpd_create()
1033 if (++tx_q->tpd.produce_idx == tx_q->tpd.count) in emac_tx_tpd_create()
1203 if (++tx_q->tpd.consume_idx == tx_q->tpd.count) in emac_mac_tx_process()
1288 memset(tpd, 0, sizeof(*tpd)); in emac_tso_csum()
1300 TPD_LSO_SET(tpd, 1); in emac_tso_csum()
1341 if (TPD_LSO(tpd)) { in emac_tx_fill_tpd()
1438 struct emac_tpd tpd; in emac_mac_tx_buf_send() local
[all …]
/linux-6.3-rc2/drivers/platform/surface/
A Dsurface_platform_profile.c111 struct ssam_tmp_profile_device *tpd; in ssam_platform_profile_get() local
117 status = ssam_tmp_profile_get(tpd->sdev, &tp); in ssam_platform_profile_get()
121 status = convert_ssam_to_profile(tpd->sdev, tp); in ssam_platform_profile_get()
132 struct ssam_tmp_profile_device *tpd; in ssam_platform_profile_set() local
137 tp = convert_profile_to_ssam(tpd->sdev, profile); in ssam_platform_profile_set()
141 return ssam_tmp_profile_set(tpd->sdev, tp); in ssam_platform_profile_set()
146 struct ssam_tmp_profile_device *tpd; in surface_platform_profile_probe() local
148 tpd = devm_kzalloc(&sdev->dev, sizeof(*tpd), GFP_KERNEL); in surface_platform_profile_probe()
149 if (!tpd) in surface_platform_profile_probe()
152 tpd->sdev = sdev; in surface_platform_profile_probe()
[all …]
/linux-6.3-rc2/drivers/atm/
A Dhe.c1617 tpd->iovec[0].addr = 0; tpd->iovec[0].len = 0; in __alloc_tpd()
1618 tpd->iovec[1].addr = 0; tpd->iovec[1].len = 0; in __alloc_tpd()
1619 tpd->iovec[2].addr = 0; tpd->iovec[2].len = 0; in __alloc_tpd()
1621 return tpd; in __alloc_tpd()
1818 tpd = NULL; in he_service_tbrq()
1835 he_mkcid(he_dev, tpd->vcc->vpi, tpd->vcc->vci)); in he_service_tbrq()
1854 if (tpd->vcc && tpd->vcc->pop) in he_service_tbrq()
1855 tpd->vcc->pop(tpd->vcc, tpd->skb); in he_service_tbrq()
1861 if (tpd) in he_service_tbrq()
2092 tpd->vcc->pop(tpd->vcc, tpd->skb); in __enqueue_tpd()
[all …]
A Dfore200e.c1472 struct tpd* tpd; in fore200e_send() local
1600 tpd = entry->tpd; in fore200e_send()
1641 tpd->atm_header.clp = 0; in fore200e_send()
1642 tpd->atm_header.plt = 0; in fore200e_send()
1645 tpd->atm_header.gfc = 0; in fore200e_send()
1649 tpd->spec.nseg = 1; in fore200e_send()
1651 tpd->spec.intr = 1; in fore200e_send()
2187 &txq->tpd, in fore200e_init_tx_queue()
2204 txq->host_entry[ i ].tpd = in fore200e_init_tx_queue()
2205 FORE200E_INDEX(txq->tpd.align_addr, struct tpd, i); in fore200e_init_tx_queue()
[all …]
A Dfore200e.h142 typedef struct tpd { struct
524 struct tpd* tpd; /* addr of transmit PDU descriptor */ member
614 … struct chunk tpd; /* array of tpds */ member
A Dhe.h182 volatile u32 tpd; member
/linux-6.3-rc2/drivers/net/ethernet/atheros/atl1e/
A Datl1e_main.c1660 tpd->word3 |= (ip_hdr(skb)->ihl & in atl1e_tso_csum()
1717 use_tpd = tpd; in atl1e_tx_map()
1739 use_tpd = tpd; in atl1e_tx_map()
1760 tpd = atl1e_get_tpd(adapter); in atl1e_tx_map()
1812 tpd = atl1e_get_tpd(adapter); in atl1e_tx_map()
1833 tpd->word3 |= 1 << TPD_HDRFLAG_SHIFT; in atl1e_tx_map()
1844 struct atl1e_tpd_desc *tpd) in atl1e_tx_queue() argument
1860 struct atl1e_tpd_desc *tpd; in atl1e_xmit_frame() local
1879 tpd = atl1e_get_tpd(adapter); in atl1e_xmit_frame()
1903 if (atl1e_tx_map(adapter, skb, tpd)) { in atl1e_xmit_frame()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/atheros/atl1c/
A Datl1c_main.c2062 return &tpd_ring->buffer_info[tpd - in atl1c_get_tx_buffer()
2086 struct atl1c_tpd_desc **tpd, in atl1c_tso_csum() argument
2132 *tpd = atl1c_get_tpd(adapter, queue); in atl1c_tso_csum()
2188 struct atl1c_tpd_desc *tpd; in atl1c_tx_rollback() local
2194 tpd = ATL1C_TPD_DESC(tpd_ring, index); in atl1c_tx_rollback()
2224 use_tpd = tpd; in atl1c_tx_map()
2245 use_tpd = tpd; in atl1c_tx_map()
2316 struct atl1c_tpd_desc *tpd; in atl1c_xmit_frame() local
2333 tpd = atl1c_get_tpd(adapter, queue); in atl1c_xmit_frame()
2348 tpd->word1 |= 1 << TPD_INS_VTAG_SHIFT; in atl1c_xmit_frame()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Ddvo_ch7xxx.c291 u8 tvco, tpcp, tpd, tlpf, idf; in ch7xxx_mode_set() local
296 tpd = 0x16; in ch7xxx_mode_set()
301 tpd = 0x26; in ch7xxx_mode_set()
308 ch7xxx_writeb(dvo, CH7xxx_TPD, tpd); in ch7xxx_mode_set()
/linux-6.3-rc2/drivers/net/ethernet/atheros/alx/
A Dmain.c1463 struct alx_txd *tpd, *first_tpd; in alx_map_tx_skb() local
1468 tpd = first_tpd; in alx_map_tx_skb()
1474 tpd = &txq->tpd[txq->write_idx]; in alx_map_tx_skb()
1475 tpd->len = first_tpd->len; in alx_map_tx_skb()
1477 tpd->word1 = first_tpd->word1; in alx_map_tx_skb()
1489 tpd->adrl.addr = cpu_to_le64(dma); in alx_map_tx_skb()
1490 tpd->len = cpu_to_le16(maplen); in alx_map_tx_skb()
1497 tpd = &txq->tpd[txq->write_idx]; in alx_map_tx_skb()
1499 tpd->word1 = first_tpd->word1; in alx_map_tx_skb()
1510 tpd->len = cpu_to_le16(maplen); in alx_map_tx_skb()
[all …]
A Dalx.h76 struct alx_txd *tpd; member
/linux-6.3-rc2/Documentation/trace/coresight/
A Dcoresight-tpda.rst30 /sys/bus/coresight/devices # ls -l | grep tpd
/linux-6.3-rc2/drivers/net/ethernet/atheros/atlx/
A Datl1.c2292 struct tx_packet_desc *tpd; in atl1_tx_queue() local
2299 tpd = ATL1_TPD_DESC(&adapter->tpd_ring, next_to_use); in atl1_tx_queue()
2300 if (tpd != ptpd) in atl1_tx_queue()
2301 memcpy(tpd, ptpd, sizeof(struct tx_packet_desc)); in atl1_tx_queue()
2302 tpd->buffer_addr = cpu_to_le64(buffer_info->dma); in atl1_tx_queue()
2303 tpd->word2 &= ~(TPD_BUFLEN_MASK << TPD_BUFLEN_SHIFT); in atl1_tx_queue()
2304 tpd->word2 |= (cpu_to_le16(buffer_info->length) & in atl1_tx_queue()
2311 val = (tpd->word3 >> TPD_SEGMENT_EN_SHIFT) & in atl1_tx_queue()
2315 tpd->word3 |= 1 << TPD_HDRFLAG_SHIFT; in atl1_tx_queue()
2317 tpd->word3 &= ~(1 << TPD_HDRFLAG_SHIFT); in atl1_tx_queue()
[all …]

Completed in 79 milliseconds