Lines Matching refs:r8152
579 struct r8152 { struct
585 void (*init)(struct r8152 *); argument
586 int (*enable)(struct r8152 *);
587 void (*disable)(struct r8152 *);
588 void (*up)(struct r8152 *);
589 void (*down)(struct r8152 *);
590 void (*unload)(struct r8152 *);
603 int generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, argument
605 int generic_ocp_read(struct r8152 *tp, u16 index, u16 size,
608 int pla_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data);
609 int pla_ocp_write(struct r8152 *tp, u16 index, u16 byteen,
612 int usb_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data);
613 int usb_ocp_write(struct r8152 *tp, u16 index, u16 byteen,
616 u32 ocp_read_dword(struct r8152 *tp, u16 type, u16 index);
617 void ocp_write_dword(struct r8152 *tp, u16 type, u16 index, u32 data);
619 u16 ocp_read_word(struct r8152 *tp, u16 type, u16 index);
620 void ocp_write_word(struct r8152 *tp, u16 type, u16 index, u32 data);
622 u8 ocp_read_byte(struct r8152 *tp, u16 type, u16 index);
623 void ocp_write_byte(struct r8152 *tp, u16 type, u16 index, u32 data);
625 u16 ocp_reg_read(struct r8152 *tp, u16 addr);
626 void ocp_reg_write(struct r8152 *tp, u16 addr, u16 data);
628 void sram_write(struct r8152 *tp, u16 addr, u16 data);
630 int r8152_wait_for_bit(struct r8152 *tp, bool ocp_reg, u16 type, u16 index,
633 void r8152b_firmware(struct r8152 *tp);
634 void r8153_firmware(struct r8152 *tp);