void (*cb)(void *cb_data), void *cb_data,
int dev_idx, int nic_type);
int (*rcv_func)(void *priv_dev,
- int (*cb)(void *cb_data, void *data, int len, int context),
+ int (*cb)(void *cb_data, void *data, int len,
+ int context),
void *cb_data, int context);
struct gdm_endian *(*get_endian)(void *priv_dev);
};
void gdm_lte_event_exit(void);
void start_rx_proc(struct phy_dev *phy_dev);
-int register_lte_device(struct phy_dev *phy_dev, struct device *dev, u8 *mac_address);
+int register_lte_device(struct phy_dev *phy_dev, struct device *dev,
+ u8 *mac_address);
void unregister_lte_device(struct phy_dev *phy_dev);
#endif /* _GDM_LTE_H_ */
void *mux_dev;
u32 offset;
u32 len;
- int (*callback)(void *data, int len, int tty_index, int minor, int complete);
+ int (*callback)(void *data, int len, int tty_index, int minor,
+ int complete);
};
struct rx_cxt {
struct delayed_work work_rx;
struct usb_interface *intf;
int usb_state;
- int (*rx_cb)(void *data, int len, int tty_index, int minor, int complete);
+ int (*rx_cb)(void *data, int len, int tty_index, int minor,
+ int complete);
spinlock_t write_lock;
u8 minor[2];
};
void *priv_dev;
int (*send_func)(void *priv_dev, void *data, int len, int tty_index,
void (*cb)(void *cb_data), void *cb_data);
- int (*recv_func)(void *priv_dev, int (*cb)(void *data, int len, int tty_index, int minor, int complete));
- int (*send_control)(void *priv_dev, int request, int value, void *data, int len);
+ int (*recv_func)(void *priv_dev, int (*cb)(void *data, int len,
+ int tty_index, int minor, int complete));
+ int (*send_control)(void *priv_dev, int request, int value, void *data,
+ int len);
u8 minor[2];
};