Lines Matching refs:this
56 static efi_status_t EFIAPI efi_net_start(struct efi_simple_network *this) in efi_net_start() argument
60 EFI_ENTRY("%p", this); in efi_net_start()
63 if (!this) { in efi_net_start()
68 if (this->mode->state != EFI_NETWORK_STOPPED) in efi_net_start()
71 this->mode->state = EFI_NETWORK_STARTED; in efi_net_start()
86 static efi_status_t EFIAPI efi_net_stop(struct efi_simple_network *this) in efi_net_stop() argument
90 EFI_ENTRY("%p", this); in efi_net_stop()
93 if (!this) { in efi_net_stop()
98 if (this->mode->state == EFI_NETWORK_STOPPED) in efi_net_stop()
101 this->mode->state = EFI_NETWORK_STOPPED; in efi_net_stop()
118 static efi_status_t EFIAPI efi_net_initialize(struct efi_simple_network *this, in efi_net_initialize() argument
124 EFI_ENTRY("%p, %lx, %lx", this, extra_rx, extra_tx); in efi_net_initialize()
127 if (!this) { in efi_net_initialize()
142 this->mode->state = EFI_NETWORK_STOPPED; in efi_net_initialize()
146 this->mode->state = EFI_NETWORK_INITIALIZED; in efi_net_initialize()
163 static efi_status_t EFIAPI efi_net_reset(struct efi_simple_network *this, in efi_net_reset() argument
166 EFI_ENTRY("%p, %x", this, extended_verification); in efi_net_reset()
168 return EFI_EXIT(EFI_CALL(efi_net_initialize(this, 0, 0))); in efi_net_reset()
181 static efi_status_t EFIAPI efi_net_shutdown(struct efi_simple_network *this) in efi_net_shutdown() argument
185 EFI_ENTRY("%p", this); in efi_net_shutdown()
188 if (!this) { in efi_net_shutdown()
194 this->mode->state = EFI_NETWORK_STOPPED; in efi_net_shutdown()
216 (struct efi_simple_network *this, u32 enable, u32 disable, in efi_net_receive_filters() argument
220 EFI_ENTRY("%p, %x, %x, %x, %lx, %p", this, enable, disable, in efi_net_receive_filters()
239 (struct efi_simple_network *this, int reset, in efi_net_station_address() argument
242 EFI_ENTRY("%p, %x, %p", this, reset, new_mac); in efi_net_station_address()
260 static efi_status_t EFIAPI efi_net_statistics(struct efi_simple_network *this, in efi_net_statistics() argument
264 EFI_ENTRY("%p, %x, %p, %p", this, reset, stat_size, stat_table); in efi_net_statistics()
282 static efi_status_t EFIAPI efi_net_mcastiptomac(struct efi_simple_network *this, in efi_net_mcastiptomac() argument
287 EFI_ENTRY("%p, %x, %p, %p", this, ipv6, ip, mac); in efi_net_mcastiptomac()
305 static efi_status_t EFIAPI efi_net_nvdata(struct efi_simple_network *this, in efi_net_nvdata() argument
309 EFI_ENTRY("%p, %x, %lx, %lx, %p", this, read_write, offset, buffer_size, in efi_net_nvdata()
325 static efi_status_t EFIAPI efi_net_get_status(struct efi_simple_network *this, in efi_net_get_status() argument
330 EFI_ENTRY("%p, %p, %p", this, int_status, txbuf); in efi_net_get_status()
335 if (!this) { in efi_net_get_status()
340 switch (this->mode->state) { in efi_net_get_status()
381 (struct efi_simple_network *this, size_t header_size, in efi_net_transmit() argument
388 EFI_ENTRY("%p, %lu, %lu, %p, %p, %p, %p", this, in efi_net_transmit()
395 if (!this) { in efi_net_transmit()
415 switch (this->mode->state) { in efi_net_transmit()
452 (struct efi_simple_network *this, size_t *header_size, in efi_net_receive() argument
462 EFI_ENTRY("%p, %p, %p, %p, %p, %p, %p", this, header_size, in efi_net_receive()
469 if (!this) { in efi_net_receive()
474 switch (this->mode->state) { in efi_net_receive()
564 struct efi_simple_network *this = (struct efi_simple_network *)context; in efi_network_timer_notify() local
572 if (!this || this->mode->state != EFI_NETWORK_INITIALIZED) in efi_network_timer_notify()