Lines Matching refs:r8152
578 struct r8152 { struct
584 void (*init)(struct r8152 *); argument
585 int (*enable)(struct r8152 *);
586 void (*disable)(struct r8152 *);
587 void (*up)(struct r8152 *);
588 void (*down)(struct r8152 *);
589 void (*unload)(struct r8152 *);
602 int generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, argument
604 int generic_ocp_read(struct r8152 *tp, u16 index, u16 size,
607 int pla_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data);
608 int pla_ocp_write(struct r8152 *tp, u16 index, u16 byteen,
611 int usb_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data);
612 int usb_ocp_write(struct r8152 *tp, u16 index, u16 byteen,
615 u32 ocp_read_dword(struct r8152 *tp, u16 type, u16 index);
616 void ocp_write_dword(struct r8152 *tp, u16 type, u16 index, u32 data);
618 u16 ocp_read_word(struct r8152 *tp, u16 type, u16 index);
619 void ocp_write_word(struct r8152 *tp, u16 type, u16 index, u32 data);
621 u8 ocp_read_byte(struct r8152 *tp, u16 type, u16 index);
622 void ocp_write_byte(struct r8152 *tp, u16 type, u16 index, u32 data);
624 u16 ocp_reg_read(struct r8152 *tp, u16 addr);
625 void ocp_reg_write(struct r8152 *tp, u16 addr, u16 data);
627 void sram_write(struct r8152 *tp, u16 addr, u16 data);
629 int r8152_wait_for_bit(struct r8152 *tp, bool ocp_reg, u16 type, u16 index,
632 void r8152b_firmware(struct r8152 *tp);
633 void r8153_firmware(struct r8152 *tp);