Home
last modified time | relevance | path

Searched refs:tsd (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-tegra20-sflash.c139 static inline u32 tegra_sflash_readl(struct tegra_sflash_data *tsd, in tegra_sflash_readl() argument
142 return readl(tsd->base + reg); in tegra_sflash_readl()
145 static inline void tegra_sflash_writel(struct tegra_sflash_data *tsd, in tegra_sflash_writel() argument
148 writel(val, tsd->base + reg); in tegra_sflash_writel()
151 static void tegra_sflash_clear_status(struct tegra_sflash_data *tsd) in tegra_sflash_clear_status() argument
154 tegra_sflash_writel(tsd, SPI_RDY | SPI_FIFO_ERROR, SPI_STATUS); in tegra_sflash_clear_status()
158 struct spi_device *spi, struct tegra_sflash_data *tsd, in tegra_sflash_calculate_curr_xfer_param()
161 unsigned remain_len = t->len - tsd->cur_pos; in tegra_sflash_calculate_curr_xfer_param()
164 tsd->bytes_per_word = DIV_ROUND_UP(t->bits_per_word, 8); in tegra_sflash_calculate_curr_xfer_param()
165 max_word = remain_len / tsd in tegra_sflash_calculate_curr_xfer_param()
157 tegra_sflash_calculate_curr_xfer_param( struct spi_device *spi, struct tegra_sflash_data *tsd, struct spi_transfer *t) tegra_sflash_calculate_curr_xfer_param() argument
172 tegra_sflash_fill_tx_fifo_from_client_txbuf( struct tegra_sflash_data *tsd, struct spi_transfer *t) tegra_sflash_fill_tx_fifo_from_client_txbuf() argument
202 tegra_sflash_read_rx_fifo_to_client_rxbuf( struct tegra_sflash_data *tsd, struct spi_transfer *t) tegra_sflash_read_rx_fifo_to_client_rxbuf() argument
223 tegra_sflash_start_cpu_based_transfer( struct tegra_sflash_data *tsd, struct spi_transfer *t) tegra_sflash_start_cpu_based_transfer() argument
254 struct tegra_sflash_data *tsd = spi_master_get_devdata(spi->master); tegra_sflash_start_transfer_one() local
311 struct tegra_sflash_data *tsd = spi_master_get_devdata(master); tegra_sflash_transfer_one_message() local
359 handle_cpu_based_xfer(struct tegra_sflash_data *tsd) handle_cpu_based_xfer() argument
399 struct tegra_sflash_data *tsd = context_data; tegra_sflash_isr() local
421 struct tegra_sflash_data *tsd; tegra_sflash_probe() local
532 struct tegra_sflash_data *tsd = spi_master_get_devdata(master); tegra_sflash_remove() local
554 struct tegra_sflash_data *tsd = spi_master_get_devdata(master); tegra_sflash_resume() local
573 struct tegra_sflash_data *tsd = spi_master_get_devdata(master); tegra_sflash_runtime_suspend() local
585 struct tegra_sflash_data *tsd = spi_master_get_devdata(master); tegra_sflash_runtime_resume() local
[all...]
/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-tegra20-sflash.c139 static inline u32 tegra_sflash_readl(struct tegra_sflash_data *tsd, in tegra_sflash_readl() argument
142 return readl(tsd->base + reg); in tegra_sflash_readl()
145 static inline void tegra_sflash_writel(struct tegra_sflash_data *tsd, in tegra_sflash_writel() argument
148 writel(val, tsd->base + reg); in tegra_sflash_writel()
151 static void tegra_sflash_clear_status(struct tegra_sflash_data *tsd) in tegra_sflash_clear_status() argument
154 tegra_sflash_writel(tsd, SPI_RDY | SPI_FIFO_ERROR, SPI_STATUS); in tegra_sflash_clear_status()
158 struct spi_device *spi, struct tegra_sflash_data *tsd, in tegra_sflash_calculate_curr_xfer_param()
161 unsigned remain_len = t->len - tsd->cur_pos; in tegra_sflash_calculate_curr_xfer_param()
164 tsd->bytes_per_word = DIV_ROUND_UP(t->bits_per_word, 8); in tegra_sflash_calculate_curr_xfer_param()
165 max_word = remain_len / tsd in tegra_sflash_calculate_curr_xfer_param()
157 tegra_sflash_calculate_curr_xfer_param( struct spi_device *spi, struct tegra_sflash_data *tsd, struct spi_transfer *t) tegra_sflash_calculate_curr_xfer_param() argument
172 tegra_sflash_fill_tx_fifo_from_client_txbuf( struct tegra_sflash_data *tsd, struct spi_transfer *t) tegra_sflash_fill_tx_fifo_from_client_txbuf() argument
202 tegra_sflash_read_rx_fifo_to_client_rxbuf( struct tegra_sflash_data *tsd, struct spi_transfer *t) tegra_sflash_read_rx_fifo_to_client_rxbuf() argument
223 tegra_sflash_start_cpu_based_transfer( struct tegra_sflash_data *tsd, struct spi_transfer *t) tegra_sflash_start_cpu_based_transfer() argument
254 struct tegra_sflash_data *tsd = spi_master_get_devdata(spi->master); tegra_sflash_start_transfer_one() local
311 struct tegra_sflash_data *tsd = spi_master_get_devdata(master); tegra_sflash_transfer_one_message() local
358 handle_cpu_based_xfer(struct tegra_sflash_data *tsd) handle_cpu_based_xfer() argument
398 struct tegra_sflash_data *tsd = context_data; tegra_sflash_isr() local
420 struct tegra_sflash_data *tsd; tegra_sflash_probe() local
530 struct tegra_sflash_data *tsd = spi_master_get_devdata(master); tegra_sflash_remove() local
550 struct tegra_sflash_data *tsd = spi_master_get_devdata(master); tegra_sflash_resume() local
568 struct tegra_sflash_data *tsd = spi_master_get_devdata(master); tegra_sflash_runtime_suspend() local
580 struct tegra_sflash_data *tsd = spi_master_get_devdata(master); tegra_sflash_runtime_resume() local
[all...]
/kernel/linux/linux-5.10/drivers/acpi/
H A Dprocessor_throttling.c81 * If tsd package for one cpu is invalid, the coordination in acpi_processor_update_tsd_coord()
577 union acpi_object *tsd = NULL; in acpi_processor_get_tsd() local
592 tsd = buffer.pointer; in acpi_processor_get_tsd()
593 if (!tsd || (tsd->type != ACPI_TYPE_PACKAGE)) { in acpi_processor_get_tsd()
599 if (tsd->package.count != 1) { in acpi_processor_get_tsd()
610 status = acpi_extract_package(&(tsd->package.elements[0]), in acpi_processor_get_tsd()
/kernel/linux/linux-6.6/drivers/acpi/
H A Dprocessor_throttling.c77 * If tsd package for one cpu is invalid, the coordination in acpi_processor_update_tsd_coord()
565 union acpi_object *tsd = NULL; in acpi_processor_get_tsd() local
580 tsd = buffer.pointer; in acpi_processor_get_tsd()
581 if (!tsd || (tsd->type != ACPI_TYPE_PACKAGE)) { in acpi_processor_get_tsd()
587 if (tsd->package.count != 1) { in acpi_processor_get_tsd()
598 status = acpi_extract_package(&(tsd->package.elements[0]), in acpi_processor_get_tsd()
/kernel/linux/linux-5.10/drivers/atm/
H A Dfore200e.h134 typedef struct tsd { struct
147 struct tsd tsd[ TSD_NBR ]; /* transmit segment descriptors */ member
H A Dfore200e.c795 dma_unmap_single(fore200e->dev, entry->tpd->tsd[ 0 ].buffer, entry->tpd->tsd[ 0 ].length, in fore200e_tx_irq()
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->tsd[ 0 ].length = tx_len; in fore200e_send()
1622 tpd->tsd[0].length, skb_len); in fore200e_send()
/kernel/linux/linux-6.6/drivers/atm/
H A Dfore200e.h134 typedef struct tsd { struct
147 struct tsd tsd[ TSD_NBR ]; /* transmit segment descriptors */ member
H A Dfore200e.c793 dma_unmap_single(fore200e->dev, entry->tpd->tsd[ 0 ].buffer, entry->tpd->tsd[ 0 ].length, in fore200e_tx_irq()
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->tsd[ 0 ].length = tx_len; in fore200e_send()
1620 tpd->tsd[0].length, skb_len); in fore200e_send()
/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-hw.c1013 u32 tsa, tsd; in xlgmac_get_rx_tstamp() local
1019 tsd = XLGMAC_GET_REG_BITS_LE(dma_desc->desc3, in xlgmac_get_rx_tstamp()
1022 if (tsa && !tsd) { in xlgmac_get_rx_tstamp()
/kernel/linux/linux-6.6/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-hw.c1013 u32 tsa, tsd; in xlgmac_get_rx_tstamp() local
1019 tsd = XLGMAC_GET_REG_BITS_LE(dma_desc->desc3, in xlgmac_get_rx_tstamp()
1022 if (tsa && !tsd) { in xlgmac_get_rx_tstamp()

Completed in 22 milliseconds