mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
rename phy_write() to phy_write_mask().
It seems that bit_mask[phy] lookup is expensive and it used in many places. But most of the time we only addressing a single phy.
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ void print_short(uint16_t a);
|
||||
void print_byte(uint8_t a);
|
||||
void print_sfr_data(void);
|
||||
void print_phy_data(void);
|
||||
void phy_write(uint16_t phy_mask, uint8_t dev_id, uint16_t reg, uint16_t v);
|
||||
void phy_write_mask(uint16_t phy_mask, uint8_t dev_id, uint16_t reg, uint16_t v);
|
||||
void phy_read(uint8_t phy_id, uint8_t dev_id, uint16_t reg);
|
||||
void reg_read(uint16_t reg_addr);
|
||||
void reg_read_m(uint16_t reg_addr);
|
||||
|
||||
Reference in New Issue
Block a user