fpga: fix spelling mistakes
Run the fpga subsystem through aspell. Signed-off-by: Tom Rix <trix@redhat.com> Reviewed-by: Fernando Pacheco <fpacheco@redhat.com> Signed-off-by: Moritz Fischer <mdf@kernel.org>
This commit is contained in:
parent
758f74674b
commit
580e313731
@ -10,7 +10,7 @@ Authors:
|
|||||||
- Xu Yilun <yilun.xu@intel.com>
|
- Xu Yilun <yilun.xu@intel.com>
|
||||||
|
|
||||||
The Device Feature List (DFL) FPGA framework (and drivers according to
|
The Device Feature List (DFL) FPGA framework (and drivers according to
|
||||||
this framework) hides the very details of low layer hardwares and provides
|
this framework) hides the very details of low layer hardware and provides
|
||||||
unified interfaces to userspace. Applications could use these interfaces to
|
unified interfaces to userspace. Applications could use these interfaces to
|
||||||
configure, enumerate, open and access FPGA accelerators on platforms which
|
configure, enumerate, open and access FPGA accelerators on platforms which
|
||||||
implement the DFL in the device memory. Besides this, the DFL framework
|
implement the DFL in the device memory. Besides this, the DFL framework
|
||||||
@ -205,7 +205,7 @@ given Device Feature Lists and create platform devices for feature devices
|
|||||||
also abstracts operations for the private features and exposes common ops to
|
also abstracts operations for the private features and exposes common ops to
|
||||||
feature device drivers.
|
feature device drivers.
|
||||||
|
|
||||||
The FPGA DFL Device could be different hardwares, e.g. PCIe device, platform
|
The FPGA DFL Device could be different hardware, e.g. PCIe device, platform
|
||||||
device and etc. Its driver module is always loaded first once the device is
|
device and etc. Its driver module is always loaded first once the device is
|
||||||
created by the system. This driver plays an infrastructural role in the
|
created by the system. This driver plays an infrastructural role in the
|
||||||
driver architecture. It locates the DFLs in the device memory, handles them
|
driver architecture. It locates the DFLs in the device memory, handles them
|
||||||
|
@ -346,7 +346,7 @@ static int altera_cvp_write_init(struct fpga_manager *mgr,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (val & VSE_CVP_STATUS_CFG_RDY) {
|
if (val & VSE_CVP_STATUS_CFG_RDY) {
|
||||||
dev_warn(&mgr->dev, "CvP already started, teardown first\n");
|
dev_warn(&mgr->dev, "CvP already started, tear down first\n");
|
||||||
ret = altera_cvp_teardown(mgr, info);
|
ret = altera_cvp_teardown(mgr, info);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -148,7 +148,7 @@ static int fme_pr(struct platform_device *pdev, unsigned long arg)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* it allows userspace to reset the PR region's logic by disabling and
|
* it allows userspace to reset the PR region's logic by disabling and
|
||||||
* reenabling the bridge to clear things out between accleration runs.
|
* reenabling the bridge to clear things out between acceleration runs.
|
||||||
* so no need to hold the bridges after partial reconfiguration.
|
* so no need to hold the bridges after partial reconfiguration.
|
||||||
*/
|
*/
|
||||||
if (region->get_bridges)
|
if (region->get_bridges)
|
||||||
|
@ -461,7 +461,7 @@ static int n3000_nios_poll_stat_timeout(void __iomem *base, u64 *v)
|
|||||||
* We don't use the time based timeout here for performance.
|
* We don't use the time based timeout here for performance.
|
||||||
*
|
*
|
||||||
* The regbus read/write is on the critical path of Intel PAC N3000
|
* The regbus read/write is on the critical path of Intel PAC N3000
|
||||||
* image programing. The time based timeout checking will add too much
|
* image programming. The time based timeout checking will add too much
|
||||||
* overhead on it. Usually the state changes in 1 or 2 loops on the
|
* overhead on it. Usually the state changes in 1 or 2 loops on the
|
||||||
* test server, and we set 10000 times loop here for safety.
|
* test server, and we set 10000 times loop here for safety.
|
||||||
*/
|
*/
|
||||||
|
@ -232,7 +232,7 @@ struct dfl_feature_irq_ctx {
|
|||||||
* @id: sub feature id.
|
* @id: sub feature id.
|
||||||
* @resource_index: each sub feature has one mmio resource for its registers.
|
* @resource_index: each sub feature has one mmio resource for its registers.
|
||||||
* this index is used to find its mmio resource from the
|
* this index is used to find its mmio resource from the
|
||||||
* feature dev (platform device)'s reources.
|
* feature dev (platform device)'s resources.
|
||||||
* @ioaddr: mapped mmio resource address.
|
* @ioaddr: mapped mmio resource address.
|
||||||
* @irq_ctx: interrupt context list.
|
* @irq_ctx: interrupt context list.
|
||||||
* @nr_irqs: number of interrupt contexts.
|
* @nr_irqs: number of interrupt contexts.
|
||||||
|
@ -230,7 +230,7 @@ EXPORT_SYMBOL_GPL(fpga_bridges_put);
|
|||||||
*
|
*
|
||||||
* Get an exclusive reference to the bridge and and it to the list.
|
* Get an exclusive reference to the bridge and and it to the list.
|
||||||
*
|
*
|
||||||
* Return 0 for success, error code from of_fpga_bridge_get() othewise.
|
* Return 0 for success, error code from of_fpga_bridge_get() otherwise.
|
||||||
*/
|
*/
|
||||||
int of_fpga_bridge_get_to_list(struct device_node *np,
|
int of_fpga_bridge_get_to_list(struct device_node *np,
|
||||||
struct fpga_image_info *info,
|
struct fpga_image_info *info,
|
||||||
@ -260,7 +260,7 @@ EXPORT_SYMBOL_GPL(of_fpga_bridge_get_to_list);
|
|||||||
*
|
*
|
||||||
* Get an exclusive reference to the bridge and and it to the list.
|
* Get an exclusive reference to the bridge and and it to the list.
|
||||||
*
|
*
|
||||||
* Return 0 for success, error code from fpga_bridge_get() othewise.
|
* Return 0 for success, error code from fpga_bridge_get() otherwise.
|
||||||
*/
|
*/
|
||||||
int fpga_bridge_get_to_list(struct device *dev,
|
int fpga_bridge_get_to_list(struct device *dev,
|
||||||
struct fpga_image_info *info,
|
struct fpga_image_info *info,
|
||||||
|
@ -192,7 +192,7 @@ static void zynq_step_dma(struct zynq_fpga_priv *priv)
|
|||||||
|
|
||||||
/* Once the first transfer is queued we can turn on the ISR, future
|
/* Once the first transfer is queued we can turn on the ISR, future
|
||||||
* calls to zynq_step_dma will happen from the ISR context. The
|
* calls to zynq_step_dma will happen from the ISR context. The
|
||||||
* dma_lock spinlock guarentees this handover is done coherently, the
|
* dma_lock spinlock guarantees this handover is done coherently, the
|
||||||
* ISR enable is put at the end to avoid another CPU spinning in the
|
* ISR enable is put at the end to avoid another CPU spinning in the
|
||||||
* ISR on this lock.
|
* ISR on this lock.
|
||||||
*/
|
*/
|
||||||
@ -267,7 +267,7 @@ static int zynq_fpga_ops_write_init(struct fpga_manager *mgr,
|
|||||||
ctrl = zynq_fpga_read(priv, CTRL_OFFSET);
|
ctrl = zynq_fpga_read(priv, CTRL_OFFSET);
|
||||||
if (!(ctrl & CTRL_SEC_EN_MASK)) {
|
if (!(ctrl & CTRL_SEC_EN_MASK)) {
|
||||||
dev_err(&mgr->dev,
|
dev_err(&mgr->dev,
|
||||||
"System not secure, can't use crypted bitstreams\n");
|
"System not secure, can't use encrypted bitstreams\n");
|
||||||
err = -EINVAL;
|
err = -EINVAL;
|
||||||
goto out_err;
|
goto out_err;
|
||||||
}
|
}
|
||||||
@ -344,7 +344,7 @@ static int zynq_fpga_ops_write_init(struct fpga_manager *mgr,
|
|||||||
|
|
||||||
/* set configuration register with following options:
|
/* set configuration register with following options:
|
||||||
* - enable PCAP interface
|
* - enable PCAP interface
|
||||||
* - set throughput for maximum speed (if bistream not crypted)
|
* - set throughput for maximum speed (if bistream not encrypted)
|
||||||
* - set CPU in user mode
|
* - set CPU in user mode
|
||||||
*/
|
*/
|
||||||
ctrl = zynq_fpga_read(priv, CTRL_OFFSET);
|
ctrl = zynq_fpga_read(priv, CTRL_OFFSET);
|
||||||
|
@ -110,7 +110,7 @@ struct fpga_image_info {
|
|||||||
* @initial_header_size: Maximum number of bytes that should be passed into write_init
|
* @initial_header_size: Maximum number of bytes that should be passed into write_init
|
||||||
* @state: returns an enum value of the FPGA's state
|
* @state: returns an enum value of the FPGA's state
|
||||||
* @status: returns status of the FPGA, including reconfiguration error code
|
* @status: returns status of the FPGA, including reconfiguration error code
|
||||||
* @write_init: prepare the FPGA to receive confuration data
|
* @write_init: prepare the FPGA to receive configuration data
|
||||||
* @write: write count bytes of configuration data to the FPGA
|
* @write: write count bytes of configuration data to the FPGA
|
||||||
* @write_sg: write the scatter list of configuration data to the FPGA
|
* @write_sg: write the scatter list of configuration data to the FPGA
|
||||||
* @write_complete: set FPGA to operating state after writing is done
|
* @write_complete: set FPGA to operating state after writing is done
|
||||||
|
Loading…
Reference in New Issue
Block a user