Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pwm/
H 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 …]
/openbmc/linux/drivers/gpu/drm/bridge/
H 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 …]
/openbmc/linux/drivers/net/ethernet/qualcomm/emac/
H 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 …]
H 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()
1291 memset(tpd, 0, sizeof(*tpd)); in emac_tso_csum()
1303 TPD_LSO_SET(tpd, 1); in emac_tso_csum()
1344 if (TPD_LSO(tpd)) { in emac_tx_fill_tpd()
1441 struct emac_tpd tpd; in emac_mac_tx_buf_send() local
[all …]
/openbmc/linux/drivers/platform/surface/
H 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 …]
/openbmc/linux/drivers/atm/
H 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 …]
H 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 …]
H 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
H A Dhe.h182 volatile u32 tpd; member
/openbmc/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c1666 tpd->word3 |= (ip_hdr(skb)->ihl & in atl1e_tso_csum()
1723 use_tpd = tpd; in atl1e_tx_map()
1745 use_tpd = tpd; in atl1e_tx_map()
1766 tpd = atl1e_get_tpd(adapter); in atl1e_tx_map()
1818 tpd = atl1e_get_tpd(adapter); in atl1e_tx_map()
1839 tpd->word3 |= 1 << TPD_HDRFLAG_SHIFT; in atl1e_tx_map()
1850 struct atl1e_tpd_desc *tpd) in atl1e_tx_queue() argument
1866 struct atl1e_tpd_desc *tpd; in atl1e_xmit_frame() local
1885 tpd = atl1e_get_tpd(adapter); in atl1e_xmit_frame()
1909 if (atl1e_tx_map(adapter, skb, tpd)) { in atl1e_xmit_frame()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/display/
H 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()
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c2017 return &tpd_ring->buffer_info[tpd - in atl1c_get_tx_buffer()
2041 struct atl1c_tpd_desc **tpd, in atl1c_tso_csum() argument
2090 *tpd = atl1c_get_tpd(adapter, queue); in atl1c_tso_csum()
2146 struct atl1c_tpd_desc *tpd; in atl1c_tx_rollback() local
2152 tpd = ATL1C_TPD_DESC(tpd_ring, index); in atl1c_tx_rollback()
2182 use_tpd = tpd; in atl1c_tx_map()
2203 use_tpd = tpd; in atl1c_tx_map()
2274 struct atl1c_tpd_desc *tpd; in atl1c_xmit_frame() local
2291 tpd = atl1c_get_tpd(adapter, queue); in atl1c_xmit_frame()
2306 tpd->word1 |= 1 << TPD_INS_VTAG_SHIFT; in atl1c_xmit_frame()
[all …]
/openbmc/linux/drivers/net/ethernet/atheros/alx/
H A Dmain.c1462 struct alx_txd *tpd, *first_tpd; in alx_map_tx_skb() local
1467 tpd = first_tpd; in alx_map_tx_skb()
1473 tpd = &txq->tpd[txq->write_idx]; in alx_map_tx_skb()
1474 tpd->len = first_tpd->len; in alx_map_tx_skb()
1476 tpd->word1 = first_tpd->word1; in alx_map_tx_skb()
1488 tpd->adrl.addr = cpu_to_le64(dma); in alx_map_tx_skb()
1489 tpd->len = cpu_to_le16(maplen); in alx_map_tx_skb()
1496 tpd = &txq->tpd[txq->write_idx]; in alx_map_tx_skb()
1498 tpd->word1 = first_tpd->word1; in alx_map_tx_skb()
1509 tpd->len = cpu_to_le16(maplen); in alx_map_tx_skb()
[all …]
H A Dalx.h76 struct alx_txd *tpd; member
/openbmc/linux/Documentation/trace/coresight/
H A Dcoresight-tpda.rst30 /sys/bus/coresight/devices # ls -l | grep tpd
/openbmc/linux/drivers/net/ethernet/atheros/atlx/
H A Datl1.c2295 struct tx_packet_desc *tpd; in atl1_tx_queue() local
2302 tpd = ATL1_TPD_DESC(&adapter->tpd_ring, next_to_use); in atl1_tx_queue()
2303 if (tpd != ptpd) in atl1_tx_queue()
2304 memcpy(tpd, ptpd, sizeof(struct tx_packet_desc)); in atl1_tx_queue()
2305 tpd->buffer_addr = cpu_to_le64(buffer_info->dma); in atl1_tx_queue()
2306 tpd->word2 &= ~(TPD_BUFLEN_MASK << TPD_BUFLEN_SHIFT); in atl1_tx_queue()
2307 tpd->word2 |= (cpu_to_le16(buffer_info->length) & in atl1_tx_queue()
2314 val = (tpd->word3 >> TPD_SEGMENT_EN_SHIFT) & in atl1_tx_queue()
2318 tpd->word3 |= 1 << TPD_HDRFLAG_SHIFT; in atl1_tx_queue()
2320 tpd->word3 &= ~(1 << TPD_HDRFLAG_SHIFT); in atl1_tx_queue()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/nspr/
H A Dnspr_4.35.bb144 tpd \