Home
last modified time | relevance | path

Searched refs:si_idx (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
H A Denetc_pf.c54 static void enetc_enable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_enable_si_vlan_promisc() argument
56 pf->vlan_promisc_simap |= BIT(si_idx); in enetc_enable_si_vlan_promisc()
60 static void enetc_disable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_disable_si_vlan_promisc() argument
62 pf->vlan_promisc_simap &= ~BIT(si_idx); in enetc_disable_si_vlan_promisc()
118 static void enetc_clear_mac_ht_flt(struct enetc_si *si, int si_idx, int type) in enetc_clear_mac_ht_flt() argument
123 enetc_port_wr(&si->hw, ENETC_PSIUMHFR0(si_idx, err), 0); in enetc_clear_mac_ht_flt()
124 enetc_port_wr(&si->hw, ENETC_PSIUMHFR1(si_idx), 0); in enetc_clear_mac_ht_flt()
126 enetc_port_wr(&si->hw, ENETC_PSIMMHFR0(si_idx, err), 0); in enetc_clear_mac_ht_flt()
127 enetc_port_wr(&si->hw, ENETC_PSIMMHFR1(si_idx), 0); in enetc_clear_mac_ht_flt()
131 static void enetc_set_mac_ht_flt(struct enetc_si *si, int si_idx, in argument
250 enetc_set_vlan_ht_filter(struct enetc_hw *hw, int si_idx, u32 *hash) enetc_set_vlan_ht_filter() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/
H A Denetc_pf.c58 static void enetc_enable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_enable_si_vlan_promisc() argument
60 pf->vlan_promisc_simap |= BIT(si_idx); in enetc_enable_si_vlan_promisc()
64 static void enetc_disable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_disable_si_vlan_promisc() argument
66 pf->vlan_promisc_simap &= ~BIT(si_idx); in enetc_disable_si_vlan_promisc()
122 static void enetc_clear_mac_ht_flt(struct enetc_si *si, int si_idx, int type) in enetc_clear_mac_ht_flt() argument
127 enetc_port_wr(&si->hw, ENETC_PSIUMHFR0(si_idx, err), 0); in enetc_clear_mac_ht_flt()
128 enetc_port_wr(&si->hw, ENETC_PSIUMHFR1(si_idx), 0); in enetc_clear_mac_ht_flt()
130 enetc_port_wr(&si->hw, ENETC_PSIMMHFR0(si_idx, err), 0); in enetc_clear_mac_ht_flt()
131 enetc_port_wr(&si->hw, ENETC_PSIMMHFR1(si_idx), 0); in enetc_clear_mac_ht_flt()
135 static void enetc_set_mac_ht_flt(struct enetc_si *si, int si_idx, in argument
258 enetc_set_vlan_ht_filter(struct enetc_hw *hw, int si_idx, unsigned long hash) enetc_set_vlan_ht_filter() argument
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_debug.c307 int si_idx; /* sdeb_store_info (per host) xarray index */ member
2928 return xa_load(per_store_ap, devip->sdbg_host->si_idx); in devip2sip()
5837 idx = sdhp->si_idx; in scsi_debug_show_info()
5838 seq_printf(m, " %d: host_no=%d, si_idx=%d\n", j, in scsi_debug_show_info()
6039 if (sdhp->si_idx != idx) { in fake_rw_store()
6040 xa_set_mark(per_store_ap, sdhp->si_idx, in fake_rw_store()
6042 sdhp->si_idx = idx; in fake_rw_store()
7068 sdbg_host->si_idx = idx; in sdebug_add_host_helper()
7136 idx = sdbg_host->si_idx; in sdebug_do_remove_host()
7144 if (idx == sdbg_host2->si_idx) { in sdebug_do_remove_host()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_debug.c317 int si_idx; /* sdeb_store_info (per host) xarray index */ member
3001 return xa_load(per_store_ap, devip->sdbg_host->si_idx); in devip2sip()
5974 idx = sdhp->si_idx; in scsi_debug_show_info()
5975 seq_printf(m, " %d: host_no=%d, si_idx=%d\n", j, in scsi_debug_show_info()
6179 if (sdhp->si_idx != idx) { in fake_rw_store()
6180 xa_set_mark(per_store_ap, sdhp->si_idx, in fake_rw_store()
6182 sdhp->si_idx = idx; in fake_rw_store()
7204 sdbg_host->si_idx = idx; in sdebug_add_host_helper()
7272 idx = sdbg_host->si_idx; in sdebug_do_remove_host()
7280 if (idx == sdbg_host2->si_idx) { in sdebug_do_remove_host()
[all...]

Completed in 23 milliseconds