Commit 62edbbcf authored by Amarjargal Gundjalam's avatar Amarjargal Gundjalam Committed by Greg Kroah-Hartman

staging/crystalhd: Fixes line over 80 characters warning in crystalhd_hw.*

Fixes the following checkpatch warning
WARNING: line over 80 characters
Signed-off-by: default avatarAmarjargal Gundjalam <amarjargal16@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d7c9455a
This diff is collapsed.
...@@ -136,9 +136,11 @@ union intr_mask_reg { ...@@ -136,9 +136,11 @@ union intr_mask_reg {
union link_misc_perst_deco_ctrl { union link_misc_perst_deco_ctrl {
struct { struct {
uint32_t bcm7412_rst:1; /* 1 -> BCM7412 is held in reset. Reset value 1.*/ uint32_t bcm7412_rst:1; /* 1 -> BCM7412 is held
in reset. Reset value 1.*/
uint32_t reserved0:3; /* Reserved.No Effect*/ uint32_t reserved0:3; /* Reserved.No Effect*/
uint32_t stop_bcm_7412_clk:1; /* 1 ->Stops branch of 27MHz clk used to clk BCM7412*/ uint32_t stop_bcm_7412_clk:1; /* 1 ->Stops branch of
27MHz clk used to clk BCM7412*/
uint32_t reserved1:27; /* Reseved. No Effect*/ uint32_t reserved1:27; /* Reseved. No Effect*/
}; };
...@@ -148,13 +150,18 @@ union link_misc_perst_deco_ctrl { ...@@ -148,13 +150,18 @@ union link_misc_perst_deco_ctrl {
union link_misc_perst_clk_ctrl { union link_misc_perst_clk_ctrl {
struct { struct {
uint32_t sel_alt_clk:1; /* When set, selects a 6.75MHz clock as the source of core_clk */ uint32_t sel_alt_clk:1; /* When set, selects a
uint32_t stop_core_clk:1; /* When set, stops the branch of core_clk that is not needed for low power operation */ 6.75MHz clock as the source of core_clk */
uint32_t pll_pwr_dn:1; /* When set, powers down the main PLL. The alternate clock bit should be set uint32_t stop_core_clk:1; /* When set, stops the branch
to select an alternate clock before setting this bit.*/ of core_clk that is not needed for low power operation */
uint32_t pll_pwr_dn:1; /* When set, powers down the
main PLL. The alternate clock bit should be set to
select an alternate clock before setting this bit.*/
uint32_t reserved0:5; /* Reserved */ uint32_t reserved0:5; /* Reserved */
uint32_t pll_mult:8; /* This setting controls the multiplier for the PLL. */ uint32_t pll_mult:8; /* This setting controls
uint32_t pll_div:4; /* This setting controls the divider for the PLL. */ the multiplier for the PLL. */
uint32_t pll_div:4; /* This setting controls
the divider for the PLL. */
uint32_t reserved1:12; /* Reserved */ uint32_t reserved1:12; /* Reserved */
}; };
...@@ -164,9 +171,11 @@ union link_misc_perst_clk_ctrl { ...@@ -164,9 +171,11 @@ union link_misc_perst_clk_ctrl {
union link_misc_perst_decoder_ctrl { union link_misc_perst_decoder_ctrl {
struct { struct {
uint32_t bcm_7412_rst:1; /* 1 -> BCM7412 is held in reset. Reset value 1.*/ uint32_t bcm_7412_rst:1; /* 1 -> BCM7412 is held
in reset. Reset value 1.*/
uint32_t res0:3; /* Reserved.No Effect*/ uint32_t res0:3; /* Reserved.No Effect*/
uint32_t stop_7412_clk:1; /* 1 ->Stops branch of 27MHz clk used to clk BCM7412*/ uint32_t stop_7412_clk:1; /* 1 ->Stops branch of 27MHz
clk used to clk BCM7412*/
uint32_t res1:27; /* Reseved. No Effect */ uint32_t res1:27; /* Reseved. No Effect */
}; };
...@@ -225,8 +234,10 @@ struct dma_descriptor { /* 8 32-bit values */ ...@@ -225,8 +234,10 @@ struct dma_descriptor { /* 8 32-bit values */
* The virtual address will determine what should be freed. * The virtual address will determine what should be freed.
*/ */
struct dma_desc_mem { struct dma_desc_mem {
struct dma_descriptor *pdma_desc_start; /* 32-bytes for dma descriptor. should be first element */ struct dma_descriptor *pdma_desc_start; /* 32-bytes for dma
dma_addr_t phy_addr; /* physical address of each DMA desc */ descriptor. should be first element */
dma_addr_t phy_addr; /* physical address
of each DMA desc */
uint32_t sz; uint32_t sz;
struct _dma_desc_mem_ *Next; /* points to Next Descriptor in chain */ struct _dma_desc_mem_ *Next; /* points to Next Descriptor in chain */
...@@ -358,15 +369,19 @@ struct crystalhd_hw { ...@@ -358,15 +369,19 @@ struct crystalhd_hw {
/**** API Exposed to the other layers ****/ /**** API Exposed to the other layers ****/
enum BC_STATUS crystalhd_download_fw(struct crystalhd_adp *adp, enum BC_STATUS crystalhd_download_fw(struct crystalhd_adp *adp,
void *buffer, uint32_t sz); void *buffer, uint32_t sz);
enum BC_STATUS crystalhd_do_fw_cmd(struct crystalhd_hw *hw, struct BC_FW_CMD *fw_cmd); enum BC_STATUS crystalhd_do_fw_cmd(struct crystalhd_hw *hw,
bool crystalhd_hw_interrupt(struct crystalhd_adp *adp, struct crystalhd_hw *hw); struct BC_FW_CMD *fw_cmd);
enum BC_STATUS crystalhd_hw_open(struct crystalhd_hw *, struct crystalhd_adp *); bool crystalhd_hw_interrupt(struct crystalhd_adp *adp,
struct crystalhd_hw *hw);
enum BC_STATUS crystalhd_hw_open(struct crystalhd_hw *,
struct crystalhd_adp *);
enum BC_STATUS crystalhd_hw_close(struct crystalhd_hw *); enum BC_STATUS crystalhd_hw_close(struct crystalhd_hw *);
enum BC_STATUS crystalhd_hw_setup_dma_rings(struct crystalhd_hw *); enum BC_STATUS crystalhd_hw_setup_dma_rings(struct crystalhd_hw *);
enum BC_STATUS crystalhd_hw_free_dma_rings(struct crystalhd_hw *); enum BC_STATUS crystalhd_hw_free_dma_rings(struct crystalhd_hw *);
enum BC_STATUS crystalhd_hw_post_tx(struct crystalhd_hw *hw, struct crystalhd_dio_req *ioreq, enum BC_STATUS crystalhd_hw_post_tx(struct crystalhd_hw *hw,
struct crystalhd_dio_req *ioreq,
hw_comp_callback call_back, hw_comp_callback call_back,
wait_queue_head_t *cb_event, wait_queue_head_t *cb_event,
uint32_t *list_id, uint8_t data_flags); uint32_t *list_id, uint8_t data_flags);
...@@ -374,7 +389,8 @@ enum BC_STATUS crystalhd_hw_post_tx(struct crystalhd_hw *hw, struct crystalhd_di ...@@ -374,7 +389,8 @@ enum BC_STATUS crystalhd_hw_post_tx(struct crystalhd_hw *hw, struct crystalhd_di
enum BC_STATUS crystalhd_hw_pause(struct crystalhd_hw *hw); enum BC_STATUS crystalhd_hw_pause(struct crystalhd_hw *hw);
enum BC_STATUS crystalhd_hw_unpause(struct crystalhd_hw *hw); enum BC_STATUS crystalhd_hw_unpause(struct crystalhd_hw *hw);
enum BC_STATUS crystalhd_hw_suspend(struct crystalhd_hw *hw); enum BC_STATUS crystalhd_hw_suspend(struct crystalhd_hw *hw);
enum BC_STATUS crystalhd_hw_cancel_tx(struct crystalhd_hw *hw, uint32_t list_id); enum BC_STATUS crystalhd_hw_cancel_tx(struct crystalhd_hw *hw,
uint32_t list_id);
enum BC_STATUS crystalhd_hw_add_cap_buffer(struct crystalhd_hw *hw, enum BC_STATUS crystalhd_hw_add_cap_buffer(struct crystalhd_hw *hw,
struct crystalhd_dio_req *ioreq, bool en_post); struct crystalhd_dio_req *ioreq, bool en_post);
enum BC_STATUS crystalhd_hw_get_cap_buffer(struct crystalhd_hw *hw, enum BC_STATUS crystalhd_hw_get_cap_buffer(struct crystalhd_hw *hw,
...@@ -382,7 +398,8 @@ enum BC_STATUS crystalhd_hw_get_cap_buffer(struct crystalhd_hw *hw, ...@@ -382,7 +398,8 @@ enum BC_STATUS crystalhd_hw_get_cap_buffer(struct crystalhd_hw *hw,
struct crystalhd_dio_req **ioreq); struct crystalhd_dio_req **ioreq);
enum BC_STATUS crystalhd_hw_stop_capture(struct crystalhd_hw *hw); enum BC_STATUS crystalhd_hw_stop_capture(struct crystalhd_hw *hw);
enum BC_STATUS crystalhd_hw_start_capture(struct crystalhd_hw *hw); enum BC_STATUS crystalhd_hw_start_capture(struct crystalhd_hw *hw);
void crystalhd_hw_stats(struct crystalhd_hw *hw, struct crystalhd_hw_stats *stats); void crystalhd_hw_stats(struct crystalhd_hw *hw,
struct crystalhd_hw_stats *stats);
/* API to program the core clock on the decoder */ /* API to program the core clock on the decoder */
enum BC_STATUS crystalhd_hw_set_core_clock(struct crystalhd_hw *); enum BC_STATUS crystalhd_hw_set_core_clock(struct crystalhd_hw *);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment