Lines Matching refs:function
27 When U-Boot initializes, it will call the common function eth_initialize().
31 function which in turn takes care of initializing that particular instance.
47 register function. The pseudo code would look something like:
103 prototype for your new register function to include/netdev.h.
105 The return value for this function should be as follows:
111 causes confusion with the driver-specific init function.
115 init function. Remember that we are only registering the device here, we are
130 The init function checks the hardware (probing/identifying) and gets it ready
137 The send function does what you think -- transmit the specified packet whose
140 function can be called multiple times in a row.
142 The recv function should process packets as long as the hardware has them
144 For each packet you receive, you should call the net_process_received_packet() function on it
148 free to call the net_process_received_packet() function with any buffer you wish. So the pseudo
168 The halt function should turn off / disable the hardware and place it back in
170 init function), so make sure it can handle this sort of thing.
172 The write_hwaddr function should program the MAC address stored in dev->enetaddr
194 After you have called eth_register() in your driver's register function, add
213 The read function should read the register 'reg' from the phy at address 'addr'
214 and return the result to its caller. The implementation for the write function