Home
last modified time | relevance | path

Searched refs:ixgbe_softc (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/dev/ixgbe/
H A Dixgbe_osdep.c39 return ((struct ixgbe_softc *)hw->back)->dev; in ixgbe_dev_from_hw()
45 return pci_read_config(((struct ixgbe_softc *)hw->back)->dev, reg, 2); in ixgbe_read_pci_cfg()
51 pci_write_config(((struct ixgbe_softc *)hw->back)->dev, reg, value, 2); in ixgbe_write_pci_cfg()
57 return bus_space_read_4(((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_read_reg()
58 ((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_handle, reg); in ixgbe_read_reg()
64 bus_space_write_4(((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_write_reg()
65 ((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_handle, in ixgbe_write_reg()
72 return bus_space_read_4(((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_read_reg_array()
73 ((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_handle, in ixgbe_read_reg_array()
80 bus_space_write_4(((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_write_reg_array()
[all …]
H A Dif_bypass.c45 ixgbe_bypass_mutex_enter(struct ixgbe_softc *sc) in ixgbe_bypass_mutex_enter()
58 ixgbe_bypass_mutex_clear(struct ixgbe_softc *sc) in ixgbe_bypass_mutex_clear()
73 ixgbe_bypass_wd_mutex_enter(struct ixgbe_softc *sc) in ixgbe_bypass_wd_mutex_enter()
84 ixgbe_bypass_wd_mutex_clear(struct ixgbe_softc *sc) in ixgbe_bypass_wd_mutex_clear()
117 struct ixgbe_softc *sc = (struct ixgbe_softc *) arg1; in ixgbe_bp_version()
157 struct ixgbe_softc *sc = (struct ixgbe_softc *) arg1; in ixgbe_bp_set_state()
218 struct ixgbe_softc *sc = (struct ixgbe_softc *) arg1; in ixgbe_bp_timeout()
261 struct ixgbe_softc *sc = (struct ixgbe_softc *) arg1; in ixgbe_bp_main_on()
303 struct ixgbe_softc *sc = (struct ixgbe_softc *) arg1; in ixgbe_bp_main_off()
345 struct ixgbe_softc *sc = (struct ixgbe_softc *) arg1; in ixgbe_bp_aux_on()
[all …]
H A Dif_sriov.c80 ixgbe_align_all_queue_indices(struct ixgbe_softc *sc) in ixgbe_align_all_queue_indices()
107 ixgbe_send_vf_success(struct ixgbe_softc *sc, struct ixgbe_vf *vf, u32 msg) in ixgbe_send_vf_success()
114 ixgbe_send_vf_failure(struct ixgbe_softc *sc, struct ixgbe_vf *vf, u32 msg) in ixgbe_send_vf_failure()
121 ixgbe_process_vf_ack(struct ixgbe_softc *sc, struct ixgbe_vf *vf) in ixgbe_process_vf_ack()
154 ixgbe_update_max_frame(struct ixgbe_softc * sc, int max_frame) in ixgbe_update_max_frame()
206 ixgbe_ping_all_vfs(struct ixgbe_softc *sc) in ixgbe_ping_all_vfs()
219 ixgbe_vf_set_default_vlan(struct ixgbe_softc *sc, struct ixgbe_vf *vf, in ixgbe_vf_set_default_vlan()
258 ixgbe_clear_vfmbmem(struct ixgbe_softc *sc, struct ixgbe_vf *vf) in ixgbe_clear_vfmbmem()
270 ixgbe_vf_frame_size_compatible(struct ixgbe_softc *sc, struct ixgbe_vf *vf) in ixgbe_vf_frame_size_compatible()
316 ixgbe_process_vf_reset(struct ixgbe_softc *sc, struct ixgbe_vf *vf) in ixgbe_process_vf_reset()
[all …]
H A Dif_ixv.c90 static void ixv_init_device_features(struct ixgbe_softc *);
103 static int ixv_negotiate_api(struct ixgbe_softc *);
107 static void ixv_initialize_rss_mapping(struct ixgbe_softc *);
110 static void ixv_configure_ivars(struct ixgbe_softc *);
121 static void ixv_save_stats(struct ixgbe_softc *);
122 static void ixv_init_stats(struct ixgbe_softc *);
123 static void ixv_update_stats(struct ixgbe_softc *);
124 static void ixv_add_stats_sysctls(struct ixgbe_softc *);
127 static void ixv_set_ivar(struct ixgbe_softc *, u8, u8, s8);
149 "ixv", ixv_methods, sizeof(struct ixgbe_softc),
[all …]
H A Dif_ix.c189 static void ixgbe_enable_queue(struct ixgbe_softc *, u32);
190 static void ixgbe_disable_queue(struct ixgbe_softc *, u32);
195 static void ixgbe_config_dmac(struct ixgbe_softc *);
196 static void ixgbe_configure_ivars(struct ixgbe_softc *);
197 static void ixgbe_set_ivar(struct ixgbe_softc *, u8, u8, s8);
205 static void ixgbe_initialize_rss_mapping(struct ixgbe_softc *);
210 static void ixgbe_init_device_features(struct ixgbe_softc *);
211 static void ixgbe_check_fan_failure(struct ixgbe_softc *, u32, bool);
215 static void ixgbe_update_stats_counters(struct ixgbe_softc *);
217 static void ixgbe_get_slot_info(struct ixgbe_softc *);
[all …]
H A Dixgbe.h262 struct ixgbe_softc *sc;
289 struct ixgbe_softc *sc;
318 struct ixgbe_softc *sc;
330 struct ixgbe_softc *sc;
351 struct ixgbe_softc { struct
540 int ixgbe_allocate_queues(struct ixgbe_softc *);
541 int ixgbe_setup_transmit_structures(struct ixgbe_softc *);
542 void ixgbe_free_transmit_structures(struct ixgbe_softc *);
543 int ixgbe_setup_receive_structures(struct ixgbe_softc *);
544 void ixgbe_free_receive_structures(struct ixgbe_softc *);
H A Dixgbe_sriov.h72 void ixgbe_initialize_iov(struct ixgbe_softc *);
73 void ixgbe_recalculate_max_frame(struct ixgbe_softc *);
74 void ixgbe_ping_all_vfs(struct ixgbe_softc *);
77 void ixgbe_align_all_queue_indices(struct ixgbe_softc *);
H A Dix_txrx.c175 struct ixgbe_softc *sc = arg; in ixgbe_isc_txd_encap()
256 struct ixgbe_softc *sc = arg; in ixgbe_isc_txd_flush()
269 struct ixgbe_softc *sc = arg; in ixgbe_isc_txd_credits_update()
326 struct ixgbe_softc *sc = arg; in ixgbe_isc_rxd_refill()
352 struct ixgbe_softc *sc = arg; in ixgbe_isc_rxd_flush()
365 struct ixgbe_softc *sc = arg; in ixgbe_isc_rxd_available()
399 struct ixgbe_softc *sc = arg; in ixgbe_isc_rxd_pkt_get()
H A Dif_fdir.c39 ixgbe_init_fdir(struct ixgbe_softc *sc) in ixgbe_init_fdir()
55 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixgbe_reinit_fdir()
82 struct ixgbe_softc *sc = txr->sc; in ixgbe_atr()
H A Dixgbe_fdir.h46 void ixgbe_init_fdir(struct ixgbe_softc *);
H A Dixgbe_bypass.h48 void ixgbe_bypass_init(struct ixgbe_softc *);