diff options
Diffstat (limited to 'drivers/net/can/softing/softing.h')
| -rw-r--r-- | drivers/net/can/softing/softing.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/net/can/softing/softing.h b/drivers/net/can/softing/softing.h index afd7d85b6915..35f062282dbd 100644 --- a/drivers/net/can/softing/softing.h +++ b/drivers/net/can/softing/softing.h | |||
| @@ -71,34 +71,34 @@ struct softing { | |||
| 71 | } id; | 71 | } id; |
| 72 | }; | 72 | }; |
| 73 | 73 | ||
| 74 | extern int softing_default_output(struct net_device *netdev); | 74 | int softing_default_output(struct net_device *netdev); |
| 75 | 75 | ||
| 76 | extern ktime_t softing_raw2ktime(struct softing *card, u32 raw); | 76 | ktime_t softing_raw2ktime(struct softing *card, u32 raw); |
| 77 | 77 | ||
| 78 | extern int softing_chip_poweron(struct softing *card); | 78 | int softing_chip_poweron(struct softing *card); |
| 79 | 79 | ||
| 80 | extern int softing_bootloader_command(struct softing *card, int16_t cmd, | 80 | int softing_bootloader_command(struct softing *card, int16_t cmd, |
| 81 | const char *msg); | 81 | const char *msg); |
| 82 | 82 | ||
| 83 | /* Load firmware after reset */ | 83 | /* Load firmware after reset */ |
| 84 | extern int softing_load_fw(const char *file, struct softing *card, | 84 | int softing_load_fw(const char *file, struct softing *card, |
| 85 | __iomem uint8_t *virt, unsigned int size, int offset); | 85 | __iomem uint8_t *virt, unsigned int size, int offset); |
| 86 | 86 | ||
| 87 | /* Load final application firmware after bootloader */ | 87 | /* Load final application firmware after bootloader */ |
| 88 | extern int softing_load_app_fw(const char *file, struct softing *card); | 88 | int softing_load_app_fw(const char *file, struct softing *card); |
| 89 | 89 | ||
| 90 | /* | 90 | /* |
| 91 | * enable or disable irq | 91 | * enable or disable irq |
| 92 | * only called with fw.lock locked | 92 | * only called with fw.lock locked |
| 93 | */ | 93 | */ |
| 94 | extern int softing_enable_irq(struct softing *card, int enable); | 94 | int softing_enable_irq(struct softing *card, int enable); |
| 95 | 95 | ||
| 96 | /* start/stop 1 bus on card */ | 96 | /* start/stop 1 bus on card */ |
| 97 | extern int softing_startstop(struct net_device *netdev, int up); | 97 | int softing_startstop(struct net_device *netdev, int up); |
| 98 | 98 | ||
| 99 | /* netif_rx() */ | 99 | /* netif_rx() */ |
| 100 | extern int softing_netdev_rx(struct net_device *netdev, | 100 | int softing_netdev_rx(struct net_device *netdev, const struct can_frame *msg, |
| 101 | const struct can_frame *msg, ktime_t ktime); | 101 | ktime_t ktime); |
| 102 | 102 | ||
| 103 | /* SOFTING DPRAM mappings */ | 103 | /* SOFTING DPRAM mappings */ |
| 104 | #define DPRAM_RX 0x0000 | 104 | #define DPRAM_RX 0x0000 |
