/kernel/linux/linux-6.6/drivers/pwm/ |
H A D | pwm-renesas-tpu.c | 92 static void tpu_pwm_write(struct tpu_pwm_device *tpd, int reg_nr, u16 value) in tpu_pwm_write() argument 94 void __iomem *base = tpd->tpu->base + TPU_CHANNEL_OFFSET in tpu_pwm_write() 95 + tpd->channel * TPU_CHANNEL_SIZE; in tpu_pwm_write() 100 static void tpu_pwm_set_pin(struct tpu_pwm_device *tpd, in tpu_pwm_set_pin() argument 105 dev_dbg(&tpd->tpu->pdev->dev, "%u: configuring pin as %s\n", in tpu_pwm_set_pin() 106 tpd->channel, states[state]); in tpu_pwm_set_pin() 110 tpu_pwm_write(tpd, TPU_TIORn, in tpu_pwm_set_pin() 111 tpd->polarity == PWM_POLARITY_INVERSED ? in tpu_pwm_set_pin() 115 tpu_pwm_write(tpd, TPU_TIORn, in tpu_pwm_set_pin() 116 tpd in tpu_pwm_set_pin() 127 tpu_pwm_start_stop(struct tpu_pwm_device *tpd, int start) tpu_pwm_start_stop() argument 144 tpu_pwm_timer_start(struct tpu_pwm_device *tpd) tpu_pwm_timer_start() argument 191 tpu_pwm_timer_stop(struct tpu_pwm_device *tpd) tpu_pwm_timer_stop() argument 213 struct tpu_pwm_device *tpd; tpu_pwm_request() local 238 struct tpu_pwm_device *tpd = pwm_get_chip_data(pwm); tpu_pwm_free() local 247 struct tpu_pwm_device *tpd = pwm_get_chip_data(pwm); tpu_pwm_config() local 356 struct tpu_pwm_device *tpd = pwm_get_chip_data(pwm); tpu_pwm_set_polarity() local 365 struct tpu_pwm_device *tpd = pwm_get_chip_data(pwm); tpu_pwm_enable() local 387 struct tpu_pwm_device *tpd = pwm_get_chip_data(pwm); tpu_pwm_disable() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/ |
H A D | ti-tpd12s015.c | 43 struct tpd12s015_device *tpd = to_tpd12s015(bridge); in tpd12s015_attach() local 49 ret = drm_bridge_attach(bridge->encoder, tpd->next_bridge, in tpd12s015_attach() 54 gpiod_set_value_cansleep(tpd->ls_oe_gpio, 1); in tpd12s015_attach() 64 struct tpd12s015_device *tpd = to_tpd12s015(bridge); in tpd12s015_detach() local 66 gpiod_set_value_cansleep(tpd->ls_oe_gpio, 0); in tpd12s015_detach() 71 struct tpd12s015_device *tpd = to_tpd12s015(bridge); in tpd12s015_detect() local 73 if (gpiod_get_value_cansleep(tpd->hpd_gpio)) in tpd12s015_detect() 81 struct tpd12s015_device *tpd = to_tpd12s015(bridge); in tpd12s015_hpd_enable() local 83 gpiod_set_value_cansleep(tpd->ct_cp_hpd_gpio, 1); in tpd12s015_hpd_enable() 88 struct tpd12s015_device *tpd in tpd12s015_hpd_disable() local 103 struct tpd12s015_device *tpd = data; tpd12s015_hpd_isr() local 113 struct tpd12s015_device *tpd; tpd12s015_probe() local 184 struct tpd12s015_device *tpd = platform_get_drvdata(pdev); tpd12s015_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/ |
H A D | ti-tpd12s015.c | 43 struct tpd12s015_device *tpd = to_tpd12s015(bridge); in tpd12s015_attach() local 49 ret = drm_bridge_attach(bridge->encoder, tpd->next_bridge, in tpd12s015_attach() 54 gpiod_set_value_cansleep(tpd->ls_oe_gpio, 1); in tpd12s015_attach() 64 struct tpd12s015_device *tpd = to_tpd12s015(bridge); in tpd12s015_detach() local 66 gpiod_set_value_cansleep(tpd->ls_oe_gpio, 0); in tpd12s015_detach() 71 struct tpd12s015_device *tpd = to_tpd12s015(bridge); in tpd12s015_detect() local 73 if (gpiod_get_value_cansleep(tpd->hpd_gpio)) in tpd12s015_detect() 81 struct tpd12s015_device *tpd = to_tpd12s015(bridge); in tpd12s015_hpd_enable() local 83 gpiod_set_value_cansleep(tpd->ct_cp_hpd_gpio, 1); in tpd12s015_hpd_enable() 88 struct tpd12s015_device *tpd in tpd12s015_hpd_disable() local 103 struct tpd12s015_device *tpd = data; tpd12s015_hpd_isr() local 113 struct tpd12s015_device *tpd; tpd12s015_probe() local 184 struct tpd12s015_device *tpd = platform_get_drvdata(pdev); tpd12s015_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-mac.h | 79 #define TPD_BUF_LEN_SET(tpd, val) BITS_SET((tpd)->word[0], 0, 15, val) 81 #define TPD_CSX_SET(tpd, val) BITS_SET((tpd)->word[1], 8, 8, val) 83 #define TPD_LSO(tpd) BITS_GET((tpd)->word[1], 12, 12) 84 #define TPD_LSO_SET(tpd, val) BITS_SET((tpd)->word[1], 12, 12, val) 89 #define TPD_LSOV_SET(tpd, val) BITS_SET((tpd) 208 struct emac_tpd_ring tpd; global() member [all...] |
H A D | emac-mac.c | 236 #define EMAC_TPD(TXQ, SIZE, IDX) ((TXQ)->tpd.v_addr + (SIZE * (IDX))) 239 #define GET_TPD_BUFFER(RTQ, IDX) (&((RTQ)->tpd.tpbuff[(IDX)])) 305 writel(upper_32_bits(adpt->tx_q.tpd.dma_addr), in emac_mac_dma_rings_config() 308 writel(lower_32_bits(adpt->tx_q.tpd.dma_addr), in emac_mac_dma_rings_config() 311 writel(adpt->tx_q.tpd.count & TPD_RING_SIZE_BMSK, in emac_mac_dma_rings_config() 592 if (!tx_q->tpd.tpbuff) in emac_tx_q_descs_free() 595 for (i = 0; i < tx_q->tpd.count; i++) { in emac_tx_q_descs_free() 610 size = sizeof(struct emac_buffer) * tx_q->tpd.count; in emac_tx_q_descs_free() 611 memset(tx_q->tpd.tpbuff, 0, size); in emac_tx_q_descs_free() 614 memset(tx_q->tpd in emac_tx_q_descs_free() 1025 emac_tx_tpd_create(struct emac_adapter *adpt, struct emac_tx_queue *tx_q, struct emac_tpd *tpd) emac_tx_tpd_create() argument 1245 emac_tso_csum(struct emac_adapter *adpt, struct emac_tx_queue *tx_q, struct sk_buff *skb, struct emac_tpd *tpd) emac_tso_csum() argument 1327 emac_tx_fill_tpd(struct emac_adapter *adpt, struct emac_tx_queue *tx_q, struct sk_buff *skb, struct emac_tpd *tpd) emac_tx_fill_tpd() argument 1438 struct emac_tpd tpd; emac_mac_tx_buf_send() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-mac.h | 79 #define TPD_BUF_LEN_SET(tpd, val) BITS_SET((tpd)->word[0], 0, 15, val) 81 #define TPD_CSX_SET(tpd, val) BITS_SET((tpd)->word[1], 8, 8, val) 83 #define TPD_LSO(tpd) BITS_GET((tpd)->word[1], 12, 12) 84 #define TPD_LSO_SET(tpd, val) BITS_SET((tpd)->word[1], 12, 12, val) 89 #define TPD_LSOV_SET(tpd, val) BITS_SET((tpd) 208 struct emac_tpd_ring tpd; global() member [all...] |
H A D | emac-mac.c | 236 #define EMAC_TPD(TXQ, SIZE, IDX) ((TXQ)->tpd.v_addr + (SIZE * (IDX))) 239 #define GET_TPD_BUFFER(RTQ, IDX) (&((RTQ)->tpd.tpbuff[(IDX)])) 305 writel(upper_32_bits(adpt->tx_q.tpd.dma_addr), in emac_mac_dma_rings_config() 308 writel(lower_32_bits(adpt->tx_q.tpd.dma_addr), in emac_mac_dma_rings_config() 311 writel(adpt->tx_q.tpd.count & TPD_RING_SIZE_BMSK, in emac_mac_dma_rings_config() 592 if (!tx_q->tpd.tpbuff) in emac_tx_q_descs_free() 595 for (i = 0; i < tx_q->tpd.count; i++) { in emac_tx_q_descs_free() 610 size = sizeof(struct emac_buffer) * tx_q->tpd.count; in emac_tx_q_descs_free() 611 memset(tx_q->tpd.tpbuff, 0, size); in emac_tx_q_descs_free() 614 memset(tx_q->tpd in emac_tx_q_descs_free() 1025 emac_tx_tpd_create(struct emac_adapter *adpt, struct emac_tx_queue *tx_q, struct emac_tpd *tpd) emac_tx_tpd_create() argument 1245 emac_tso_csum(struct emac_adapter *adpt, struct emac_tx_queue *tx_q, struct sk_buff *skb, struct emac_tpd *tpd) emac_tso_csum() argument 1330 emac_tx_fill_tpd(struct emac_adapter *adpt, struct emac_tx_queue *tx_q, struct sk_buff *skb, struct emac_tpd *tpd) emac_tx_fill_tpd() argument 1441 struct emac_tpd tpd; emac_mac_tx_buf_send() local [all...] |
/kernel/linux/linux-6.6/drivers/platform/surface/ |
H A D | surface_platform_profile.c | 111 struct ssam_tmp_profile_device *tpd; in ssam_platform_profile_get() local 115 tpd = container_of(pprof, struct ssam_tmp_profile_device, handler); in ssam_platform_profile_get() 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 135 tpd = container_of(pprof, struct ssam_tmp_profile_device, handler); in ssam_platform_profile_set() 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 in surface_platform_profile_probe() [all...] |
/kernel/linux/linux-5.10/drivers/atm/ |
H A D | he.c | 1426 he_dev->tpd_pool = dma_pool_create("tpd", &he_dev->pci_dev->dev, in he_start() 1429 hprintk("unable to create tpd dma_pool\n"); in he_start() 1611 struct he_tpd *tpd; in __alloc_tpd() local 1614 tpd = dma_pool_alloc(he_dev->tpd_pool, GFP_ATOMIC, &mapping); in __alloc_tpd() 1615 if (tpd == NULL) in __alloc_tpd() 1618 tpd->status = TPD_ADDR(mapping); in __alloc_tpd() 1619 tpd->reserved = 0; in __alloc_tpd() 1620 tpd->iovec[0].addr = 0; tpd->iovec[0].len = 0; in __alloc_tpd() 1621 tpd in __alloc_tpd() 1807 struct he_tpd *tpd; he_service_tbrq() local 2053 __enqueue_tpd(struct he_dev *he_dev, struct he_tpd *tpd, unsigned cid) __enqueue_tpd() argument 2336 struct he_tpd *tpd; he_close() local 2494 struct he_tpd *tpd; he_send() local [all...] |
H A D | fore200e.c | 399 fore200e_dma_chunk_free(fore200e, &fore200e->host_txq.tpd); in fore200e_shutdown() 795 dma_unmap_single(fore200e->dev, entry->tpd->tsd[ 0 ].buffer, entry->tpd->tsd[ 0 ].length, in fore200e_tx_irq() 1474 struct tpd* tpd; in fore200e_send() local 1602 tpd = entry->tpd; in fore200e_send() 1603 tpd->tsd[ 0 ].buffer = dma_map_single(fore200e->dev, data, tx_len, in fore200e_send() 1605 if (dma_mapping_error(fore200e->dev, tpd->tsd[0].buffer)) { in fore200e_send() 1611 tpd in fore200e_send() [all...] |
H A D | fore200e.h | 142 typedef struct tpd { struct 144 struct tpd_spec spec; /* tpd specification */ 145 struct tpd_rate rate; /* tpd rate control */ 201 /* tpd DMA address */ 205 u32 size : 4, /* tpd size expressed in 32 byte blocks */ 207 u32 haddr : 27 /* tpd DMA addr aligned on 32 byte boundary */ 216 struct tpd_haddr tpd_haddr; /* host DMA address of tpd */ 524 struct tpd* tpd; /* addr of transmit PDU descriptor */ member 525 u32 tpd_dma; /* DMA address of tpd */ 614 struct chunk tpd; /* array of tpds */ global() member [all...] |
/kernel/linux/linux-6.6/drivers/atm/ |
H A D | he.c | 1423 he_dev->tpd_pool = dma_pool_create("tpd", &he_dev->pci_dev->dev, in he_start() 1426 hprintk("unable to create tpd dma_pool\n"); in he_start() 1608 struct he_tpd *tpd; in __alloc_tpd() local 1611 tpd = dma_pool_alloc(he_dev->tpd_pool, GFP_ATOMIC, &mapping); in __alloc_tpd() 1612 if (tpd == NULL) in __alloc_tpd() 1615 tpd->status = TPD_ADDR(mapping); in __alloc_tpd() 1616 tpd->reserved = 0; in __alloc_tpd() 1617 tpd->iovec[0].addr = 0; tpd->iovec[0].len = 0; in __alloc_tpd() 1618 tpd in __alloc_tpd() 1804 struct he_tpd *tpd; he_service_tbrq() local 2050 __enqueue_tpd(struct he_dev *he_dev, struct he_tpd *tpd, unsigned cid) __enqueue_tpd() argument 2333 struct he_tpd *tpd; he_close() local 2491 struct he_tpd *tpd; he_send() local [all...] |
H A D | fore200e.c | 396 fore200e_dma_chunk_free(fore200e, &fore200e->host_txq.tpd); in fore200e_shutdown() 793 dma_unmap_single(fore200e->dev, entry->tpd->tsd[ 0 ].buffer, entry->tpd->tsd[ 0 ].length, in fore200e_tx_irq() 1472 struct tpd* tpd; in fore200e_send() local 1600 tpd = entry->tpd; in fore200e_send() 1601 tpd->tsd[ 0 ].buffer = dma_map_single(fore200e->dev, data, tx_len, in fore200e_send() 1603 if (dma_mapping_error(fore200e->dev, tpd->tsd[0].buffer)) { in fore200e_send() 1609 tpd in fore200e_send() [all...] |
H A D | fore200e.h | 142 typedef struct tpd { struct 144 struct tpd_spec spec; /* tpd specification */ 145 struct tpd_rate rate; /* tpd rate control */ 201 /* tpd DMA address */ 205 u32 size : 4, /* tpd size expressed in 32 byte blocks */ 207 u32 haddr : 27 /* tpd DMA addr aligned on 32 byte boundary */ 216 struct tpd_haddr tpd_haddr; /* host DMA address of tpd */ 524 struct tpd* tpd; /* addr of transmit PDU descriptor */ member 525 u32 tpd_dma; /* DMA address of tpd */ 614 struct chunk tpd; /* array of tpds */ global() member [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 976 /* 2 tpd queue, one high priority queue, in atl1c_setup_ring_resources() 1921 * get next usable tpd 1923 * there is enough tpd to use 1941 atl1c_get_tx_buffer(struct atl1c_adapter *adapter, struct atl1c_tpd_desc *tpd) in atl1c_get_tx_buffer() argument 1945 return &tpd_ring->buffer_info[tpd - in atl1c_get_tx_buffer() 1969 struct atl1c_tpd_desc **tpd, in atl1c_tso_csum() 2009 (*tpd)->word1 |= 1 << TPD_IPV4_PACKET_SHIFT; in atl1c_tso_csum() 2015 *(struct atl1c_tpd_ext_desc **)(tpd); in atl1c_tso_csum() 2018 *tpd = atl1c_get_tpd(adapter, type); in atl1c_tso_csum() 2034 (*tpd) in atl1c_tso_csum() 1967 atl1c_tso_csum(struct atl1c_adapter *adapter, struct sk_buff *skb, struct atl1c_tpd_desc **tpd, enum atl1c_trans_queue type) atl1c_tso_csum() argument 2074 struct atl1c_tpd_desc *tpd; atl1c_tx_rollback() local 2090 atl1c_tx_map(struct atl1c_adapter *adapter, struct sk_buff *skb, struct atl1c_tpd_desc *tpd, enum atl1c_trans_queue type) atl1c_tx_map() argument 2187 atl1c_tx_queue(struct atl1c_adapter *adapter, struct sk_buff *skb, struct atl1c_tpd_desc *tpd, enum atl1c_trans_queue type) atl1c_tx_queue() argument 2202 struct atl1c_tpd_desc *tpd; atl1c_xmit_frame() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 1574 * get next usable tpd 1576 * there is enough tpd to use 1592 atl1e_get_tx_buffer(struct atl1e_adapter *adapter, struct atl1e_tpd_desc *tpd) in atl1e_get_tx_buffer() argument 1596 return &tx_ring->tx_buffer[tpd - tx_ring->desc]; in atl1e_get_tx_buffer() 1629 struct sk_buff *skb, struct atl1e_tpd_desc *tpd) in atl1e_tso_csum() 1667 tpd->word3 |= (ip_hdr(skb)->ihl & in atl1e_tso_csum() 1670 tpd->word3 |= ((tcp_hdrlen(skb) >> 2) & in atl1e_tso_csum() 1673 tpd->word3 |= ((skb_shinfo(skb)->gso_size) & in atl1e_tso_csum() 1675 tpd->word3 |= 1 << TPD_SEGMENT_EN_SHIFT; in atl1e_tso_csum() 1692 tpd in atl1e_tso_csum() 1628 atl1e_tso_csum(struct atl1e_adapter *adapter, struct sk_buff *skb, struct atl1e_tpd_desc *tpd) atl1e_tso_csum() argument 1703 atl1e_tx_map(struct atl1e_adapter *adapter, struct sk_buff *skb, struct atl1e_tpd_desc *tpd) atl1e_tx_map() argument 1849 atl1e_tx_queue(struct atl1e_adapter *adapter, u16 count, struct atl1e_tpd_desc *tpd) atl1e_tx_queue() argument 1866 struct atl1e_tpd_desc *tpd; atl1e_xmit_frame() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 1574 * get next usable tpd 1576 * there is enough tpd to use 1592 atl1e_get_tx_buffer(struct atl1e_adapter *adapter, struct atl1e_tpd_desc *tpd) in atl1e_get_tx_buffer() argument 1596 return &tx_ring->tx_buffer[tpd - tx_ring->desc]; in atl1e_get_tx_buffer() 1628 struct sk_buff *skb, struct atl1e_tpd_desc *tpd) in atl1e_tso_csum() 1666 tpd->word3 |= (ip_hdr(skb)->ihl & in atl1e_tso_csum() 1669 tpd->word3 |= ((tcp_hdrlen(skb) >> 2) & in atl1e_tso_csum() 1672 tpd->word3 |= ((skb_shinfo(skb)->gso_size) & in atl1e_tso_csum() 1674 tpd->word3 |= 1 << TPD_SEGMENT_EN_SHIFT; in atl1e_tso_csum() 1691 tpd in atl1e_tso_csum() 1627 atl1e_tso_csum(struct atl1e_adapter *adapter, struct sk_buff *skb, struct atl1e_tpd_desc *tpd) atl1e_tso_csum() argument 1702 atl1e_tx_map(struct atl1e_adapter *adapter, struct sk_buff *skb, struct atl1e_tpd_desc *tpd) atl1e_tx_map() argument 1849 atl1e_tx_queue(struct atl1e_adapter *adapter, u16 count, struct atl1e_tpd_desc *tpd) atl1e_tx_queue() argument 1866 struct atl1e_tpd_desc *tpd; atl1e_xmit_frame() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 996 /* Even though only one tpd queue is actually used, the "high" in atl1c_setup_ring_resources() 997 * priority tpd queue also gets initialized in atl1c_setup_ring_resources() 1993 * get next usable tpd 1995 * there is enough tpd to use 2013 atl1c_get_tx_buffer(struct atl1c_adapter *adapter, struct atl1c_tpd_desc *tpd) in atl1c_get_tx_buffer() argument 2017 return &tpd_ring->buffer_info[tpd - in atl1c_get_tx_buffer() 2041 struct atl1c_tpd_desc **tpd, in atl1c_tso_csum() 2081 (*tpd)->word1 |= 1 << TPD_IPV4_PACKET_SHIFT; in atl1c_tso_csum() 2087 *(struct atl1c_tpd_ext_desc **)(tpd); in atl1c_tso_csum() 2090 *tpd in atl1c_tso_csum() 2039 atl1c_tso_csum(struct atl1c_adapter *adapter, struct sk_buff *skb, struct atl1c_tpd_desc **tpd, u32 queue) atl1c_tso_csum() argument 2146 struct atl1c_tpd_desc *tpd; atl1c_tx_rollback() local 2162 atl1c_tx_map(struct atl1c_adapter *adapter, struct sk_buff *skb, struct atl1c_tpd_desc *tpd, u32 queue) atl1c_tx_map() argument 2274 struct atl1c_tpd_desc *tpd; atl1c_xmit_frame() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/alx/ |
H A D | main.c | 500 memset(txq->tpd, 0, txq->count * sizeof(struct alx_txd)); in alx_free_txring_buf() 624 txq->tpd = alx->descmem.virt + offset; in alx_alloc_tx_ring() 1439 struct alx_txd *tpd, *first_tpd; in alx_map_tx_skb() local 1443 first_tpd = &txq->tpd[txq->write_idx]; in alx_map_tx_skb() 1444 tpd = first_tpd; in alx_map_tx_skb() 1446 if (tpd->word1 & (1 << TPD_LSO_V2_SHIFT)) { in alx_map_tx_skb() 1450 tpd = &txq->tpd[txq->write_idx]; in alx_map_tx_skb() 1451 tpd->len = first_tpd->len; in alx_map_tx_skb() 1452 tpd in alx_map_tx_skb() [all...] |
H A D | alx.h | 76 struct alx_txd *tpd; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/atheros/alx/ |
H A D | main.c | 499 memset(txq->tpd, 0, txq->count * sizeof(struct alx_txd)); in alx_free_txring_buf() 623 txq->tpd = alx->descmem.virt + offset; in alx_alloc_tx_ring() 1462 struct alx_txd *tpd, *first_tpd; in alx_map_tx_skb() local 1466 first_tpd = &txq->tpd[txq->write_idx]; in alx_map_tx_skb() 1467 tpd = first_tpd; in alx_map_tx_skb() 1469 if (tpd->word1 & (1 << TPD_LSO_V2_SHIFT)) { 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() 1475 tpd in alx_map_tx_skb() [all...] |
H A D | alx.h | 76 struct alx_txd *tpd; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | dvo_ch7xxx.c | 280 u8 tvco, tpcp, tpd, tlpf, idf; in ch7xxx_mode_set() local 285 tpd = 0x16; in ch7xxx_mode_set() 290 tpd = 0x26; in ch7xxx_mode_set() 297 ch7xxx_writeb(dvo, CH7xxx_TPD, tpd); in ch7xxx_mode_set()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | dvo_ch7xxx.c | 291 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atlx/ |
H A D | atl1.c | 1568 /* min tpd fetch gap & tx jumbo packet size threshold for taskoffload */ in atl1_configure() 2283 /* last tpd's buffer-info */ in atl1_tx_map() 2292 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 in atl1_tx_queue() [all...] |