/linux-master/drivers/vdpa/ |
H A D | vdpa.c | 589 * "holes" are reserved for other type of features than per-device, this 1458 [VDPA_ATTR_MGMTDEV_BUS_NAME] = { .type = NLA_NUL_STRING }, 1459 [VDPA_ATTR_MGMTDEV_DEV_NAME] = { .type = NLA_STRING }, 1460 [VDPA_ATTR_DEV_NAME] = { .type = NLA_STRING }, 1462 [VDPA_ATTR_DEV_NET_CFG_MAX_VQP] = { .type = NLA_U16 }, 1465 [VDPA_ATTR_DEV_QUEUE_INDEX] = { .type = NLA_U32 }, 1466 [VDPA_ATTR_DEV_FEATURES] = { .type = NLA_U64 },
|
/linux-master/drivers/soc/mediatek/ |
H A D | mtk-svs.c | 194 * @SVSB_TYPE_NONE: One-line type Bank - Global role 195 * @SVSB_TYPE_LOW: Two-line type Bank - Low bank role 196 * @SVSB_TYPE_HIGH: Two-line type Bank - High bank role 435 * @type: SVS Bank Type (1 or 2-line) and Role (high/low) 460 u8 type; member in struct:svs_bank_pdata 623 if (bdata->type == SVSB_TYPE_HIGH) { 626 } else if (bdata->type == SVSB_TYPE_LOW) { 650 if (svsb->phase == SVSB_PHASE_MON && (bdata->type == SVSB_TYPE_HIGH || 651 bdata->type == SVSB_TYPE_LOW)) { 954 if (bdata->type [all...] |
/linux-master/drivers/nfc/ |
H A D | trf7970a.c | 1339 static int trf7970a_in_configure_hw(struct nfc_digital_dev *ddev, int type, argument 1345 dev_dbg(trf->dev, "Configure hw - type: %d, param: %d\n", type, param); 1358 switch (type) { 1366 dev_dbg(trf->dev, "Unknown type: %d\n", type); 1682 static int trf7970a_tg_configure_hw(struct nfc_digital_dev *ddev, int type, argument 1688 dev_dbg(trf->dev, "Configure hw - type: %d, param: %d\n", type, param); 1701 switch (type) { [all...] |
/linux-master/drivers/net/wireless/virtual/ |
H A D | mac80211_hwsim.c | 66 MODULE_PARM_DESC(support_p2p_device, "Support P2P-Device interface type"); 73 * enum hwsim_regtest - the type of regulatory tests we offer 146 MODULE_PARM_DESC(regtest, "The type of regulatory test we want to run"); 233 vif, vp->magic, vif->addr, vif->type, vif->p2p); 569 [QCA_WLAN_VENDOR_ATTR_MAX] = { .type = NLA_U32 }, 794 [HWSIM_RATE_INFO_ATTR_FLAGS] = { .type = NLA_U8 }, 795 [HWSIM_RATE_INFO_ATTR_MCS] = { .type = NLA_U8 }, 796 [HWSIM_RATE_INFO_ATTR_LEGACY] = { .type = NLA_U16 }, 797 [HWSIM_RATE_INFO_ATTR_NSS] = { .type = NLA_U8 }, 798 [HWSIM_RATE_INFO_ATTR_BW] = { .type 3095 mac80211_hwsim_roc(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_channel *chan, int duration, enum ieee80211_roc_type type) argument [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | scan.c | 80 /* For CDB this is low band scan type, for non-CDB - type. */ 81 enum iwl_mvm_scan_type type; member in struct:iwl_mvm_scan_params 201 if (vif->type != NL80211_IFTYPE_P2P_DEVICE && 211 if (vif->type == NL80211_IFTYPE_AP && vif->p2p && 240 (!vif || vif->type != NL80211_IFTYPE_P2P_DEVICE)) 247 if (vif && vif->type == NL80211_IFTYPE_STATION && 820 cmd->max_out_time = cpu_to_le32(scan_timing[params->type].max_out_time); 821 cmd->suspend_time = cpu_to_le32(scan_timing[params->type].suspend_time); 858 vif->type ! 868 iwl_mvm_is_scan_fragmented(enum iwl_mvm_scan_type type) argument 1071 enum iwl_mvm_scan_type type = iwl_mvm_get_scan_type(mvm, NULL); local 1123 enum iwl_mvm_scan_type type = local 1152 enum iwl_mvm_scan_type type; local 2041 iwl_mvm_scan_umac_flags_v2(struct iwl_mvm *mvm, struct iwl_mvm_scan_params *params, struct ieee80211_vif *vif, int type) argument 2099 iwl_mvm_scan_umac_flags2(struct iwl_mvm *mvm, struct iwl_mvm_scan_params *params, struct ieee80211_vif *vif, int type) argument 2235 iwl_mvm_scan_umac(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_scan_params *params, int type, int uid) argument 2444 iwl_mvm_scan_umac_v12(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_scan_params *params, int type, int uid) argument 2476 iwl_mvm_scan_umac_v14_and_above(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_scan_params *params, int type, int uid, u32 version) argument 2547 iwl_mvm_scan_umac_v14(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_scan_params *params, int type, int uid) argument 2554 iwl_mvm_scan_umac_v15(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_scan_params *params, int type, int uid) argument 2561 iwl_mvm_scan_umac_v16(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_scan_params *params, int type, int uid) argument 2568 iwl_mvm_scan_umac_v17(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_scan_params *params, int type, int uid) argument 2580 iwl_mvm_check_running_scans(struct iwl_mvm *mvm, int type) argument 2780 iwl_mvm_build_scan_cmd(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_host_cmd *hcmd, struct iwl_mvm_scan_params *params, int type) argument 3020 iwl_mvm_sched_scan_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies, int type) argument 3228 iwl_mvm_umac_scan_abort(struct iwl_mvm *mvm, int type) argument 3256 iwl_mvm_scan_stop_wait(struct iwl_mvm *mvm, int type) argument 3412 iwl_mvm_scan_stop(struct iwl_mvm *mvm, int type, bool notify) argument [all...] |
H A D | link.c | 102 if (vif->type == NL80211_IFTYPE_ADHOC && link_conf->bssid) 147 if (!active && vif->type == NL80211_IFTYPE_STATION) 167 if (vif->type == NL80211_IFTYPE_ADHOC && link_conf->bssid) 191 (vif->type == NL80211_IFTYPE_STATION && !vif->cfg.assoc)) {
|
H A D | ftm-initiator.c | 165 .type = NL80211_PMSR_TYPE_FTM, 1318 result.type = NL80211_PMSR_TYPE_FTM;
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | mac.c | 1058 param.type = WMI_VDEV_TYPE_MONITOR; 1229 if (arvif->vif->type != NL80211_IFTYPE_STATION) 1652 if (vif->type != NL80211_IFTYPE_STATION) 1724 if (vif->type == NL80211_IFTYPE_STATION) 2902 if (arvif->vif->type != NL80211_IFTYPE_MESH_POINT) { 2949 if (vif->type != NL80211_IFTYPE_STATION) 2956 cap_band = &ar->mac.iftype[NL80211_BAND_2GHZ][vif->type].he_cap; 2958 cap_band = &ar->mac.iftype[NL80211_BAND_5GHZ][vif->type].he_cap; 2969 if (vif->type != NL80211_IFTYPE_MESH_POINT) { 3510 vif->type 8813 enum wmi_bss_chan_info_req_type type = WMI_BSS_SURVEY_REQ_TYPE_READ; local 9197 ath11k_mac_op_remain_on_channel(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_channel *chan, int duration, enum ieee80211_roc_type type) argument [all...] |
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_core.c | 152 u32 portid, u32 seq, int type, unsigned int flags, 164 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*ndm), flags); 181 if (type == RTM_GETNEIGH) { 259 struct vxlan_rdst *rd, int type) 269 err = vxlan_fdb_info(skb, vxlan, fdb, 0, 0, type, 0, rd); 324 struct vxlan_rdst *rd, int type, bool swdev_notify, 330 switch (type) { 344 __vxlan_fdb_notify(vxlan, fdb, rd, type); 2185 int type = udp_sum ? SKB_GSO_UDP_TUNNEL_CSUM : SKB_GSO_UDP_TUNNEL; 2196 type | 150 vxlan_fdb_info(struct sk_buff *skb, struct vxlan_dev *vxlan, const struct vxlan_fdb *fdb, u32 portid, u32 seq, int type, unsigned int flags, const struct vxlan_rdst *rdst) argument 258 __vxlan_fdb_notify(struct vxlan_dev *vxlan, struct vxlan_fdb *fdb, struct vxlan_rdst *rd, int type) argument 323 vxlan_fdb_notify(struct vxlan_dev *vxlan, struct vxlan_fdb *fdb, struct vxlan_rdst *rd, int type, bool swdev_notify, struct netlink_ext_ack *extack) argument 2166 int type = udp_sum ? SKB_GSO_UDP_TUNNEL_CSUM : SKB_GSO_UDP_TUNNEL; local 3267 unsigned short type; local [all...] |
/linux-master/drivers/net/usb/ |
H A D | qmi_wwan.c | 130 dev->type = ARPHRD_NONE; 313 net->type = ARPHRD_NONE;
|
/linux-master/drivers/net/ |
H A D | macsec.c | 1007 is_macsec_md_dst = md_dst && md_dst->type == METADATA_MACSEC; 1654 [MACSEC_ATTR_IFINDEX] = { .type = NLA_U32 }, 1655 [MACSEC_ATTR_RXSC_CONFIG] = { .type = NLA_NESTED }, 1656 [MACSEC_ATTR_SA_CONFIG] = { .type = NLA_NESTED }, 1657 [MACSEC_ATTR_OFFLOAD] = { .type = NLA_NESTED }, 1661 [MACSEC_RXSC_ATTR_SCI] = { .type = NLA_U64 }, 1662 [MACSEC_RXSC_ATTR_ACTIVE] = { .type = NLA_U8 }, 1666 [MACSEC_SA_ATTR_AN] = { .type = NLA_U8 }, 1667 [MACSEC_SA_ATTR_ACTIVE] = { .type = NLA_U8 }, 1669 [MACSEC_SA_ATTR_KEYID] = { .type [all...] |
H A D | gtp.c | 275 hdr->type = msg_type; 353 int flags, u32 type, struct echo_info echo) 358 type); 427 if (gtp0->type == GTP_ECHO_REQ && gtp->sk_created) 430 if (gtp0->type == GTP_ECHO_RSP && gtp->sk_created) 433 if (gtp0->type != GTP_TPDU) 452 hdr->type = msg_type; 589 if (gtp1->type == GTP_ECHO_REQ && gtp->sk_created) 592 if (gtp1->type == GTP_ECHO_RSP && gtp->sk_created) 595 if (gtp1->type ! 352 gtp_genl_fill_echo(struct sk_buff *skb, u32 snd_portid, u32 snd_seq, int flags, u32 type, struct echo_info echo) argument 978 gtp_create_sock(int type, struct gtp_dev *gtp) argument 1194 gtp_encap_enable_socket(int fd, int type, struct gtp_dev *gtp) argument 1572 gtp_genl_fill_info(struct sk_buff *skb, u32 snd_portid, u32 snd_seq, int flags, u32 type, struct pdp_ctx *pctx) argument [all...] |
/linux-master/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_phy.c | 261 config->type = PHYLINK_NETDEV; 417 static int txgbe_gpio_set_type(struct irq_data *d, unsigned int type) argument 427 if (type & IRQ_TYPE_LEVEL_MASK) { 435 if (type == IRQ_TYPE_EDGE_RISING || type == IRQ_TYPE_LEVEL_HIGH) 444 if (type == IRQ_TYPE_EDGE_BOTH)
|
/linux-master/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_lib.c | 902 /* set type for advanced descriptor with frame checksum insertion */ 1761 if (wx->mac.type == wx_mac_sp) 2014 if (wx->mac.type == wx_mac_em) 2116 if (wx->mac.type == wx_mac_sp)
|
/linux-master/drivers/net/ethernet/ti/ |
H A D | am65-cpts.c | 283 int i, type, ret = 0; local 303 type = am65_cpts_event_get_type(event); 304 switch (type) { 328 pevent.type = PTP_CLOCK_PPSUSR; 331 pevent.type = PTP_CLOCK_EXTTS; 334 pevent.type == PTP_CLOCK_EXTTS ? 347 type, 352 dev_err(cpts->dev, "cpts: unknown event type\n"); 734 switch (rq->type) {
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_tcam.h | 164 enum mlxsw_sp_acl_atcam_region_type type; member in struct:mlxsw_sp_acl_atcam_region
|
H A D | pci.c | 40 MLXSW_PCI_DOORBELL_SDQ_OFFSET, /* for type MLXSW_PCI_QUEUE_TYPE_SDQ */ 41 MLXSW_PCI_DOORBELL_RDQ_OFFSET, /* for type MLXSW_PCI_QUEUE_TYPE_RDQ */ 42 MLXSW_PCI_DOORBELL_CQ_OFFSET, /* for type MLXSW_PCI_QUEUE_TYPE_CQ */ 43 MLXSW_PCI_DOORBELL_EQ_OFFSET, /* for type MLXSW_PCI_QUEUE_TYPE_EQ */ 49 MLXSW_PCI_DOORBELL_ARM_CQ_OFFSET, /* for type MLXSW_PCI_QUEUE_TYPE_CQ */ 50 MLXSW_PCI_DOORBELL_ARM_EQ_OFFSET, /* for type MLXSW_PCI_QUEUE_TYPE_EQ */ 80 enum mlxsw_pci_queue_type type; member in struct:mlxsw_pci_queue 248 mlxsw_pci_doorbell_type_offset[q->type], 258 mlxsw_pci_doorbell_arm_type_offset[q->type], 882 enum mlxsw_pci_queue_type type; member in struct:mlxsw_pci_queue_ops [all...] |
H A D | core_env.c | 21 enum mlxsw_reg_pmtm_module_type type; member in struct:mlxsw_env_module_info 78 switch (module_info->type) { 308 "EEPROM is not equipped on port module type"); 326 modinfo->type = ETH_MODULE_SFF_8436; 334 modinfo->type = ETH_MODULE_SFF_8636; 337 modinfo->type = ETH_MODULE_SFF_8436; 353 modinfo->type = ETH_MODULE_SFF_8472; 361 /* Use SFF_8636 as base type. ethtool should recognize specific 362 * type through the identifier value. 364 modinfo->type [all...] |
H A D | core.c | 315 MLXSW_ITEM32(emad, op_tlv, type, 0x00, 27, 5); 359 * EMAD method type. 381 MLXSW_ITEM32(emad, string_tlv, type, 0x00, 27, 5); 400 MLXSW_ITEM32(emad, latency_tlv, type, 0x00, 27, 5); 416 MLXSW_ITEM32(emad, reg_tlv, type, 0x00, 27, 5); 427 MLXSW_ITEM32(emad, end_tlv, type, 0x00, 27, 5); 441 mlxsw_core_reg_access_type_str(enum mlxsw_core_reg_access_type type) argument 443 switch (type) { 475 enum mlxsw_core_reg_access_type type, 484 if (type 473 mlxsw_emad_pack_op_tlv(char *op_tlv, const struct mlxsw_reg_info *reg, enum mlxsw_core_reg_access_type type, u64 tid) argument 516 mlxsw_emad_construct(const struct mlxsw_core *mlxsw_core, struct sk_buff *skb, const struct mlxsw_reg_info *reg, char *payload, enum mlxsw_core_reg_access_type type, u64 tid) argument 689 enum mlxsw_core_reg_access_type type; member in struct:mlxsw_reg_trans 964 mlxsw_emad_reg_access(struct mlxsw_core *mlxsw_core, const struct mlxsw_reg_info *reg, char *payload, enum mlxsw_core_reg_access_type type, struct mlxsw_reg_trans *trans, struct list_head *bulk_list, mlxsw_reg_trans_cb_t *cb, unsigned long cb_priv, u64 tid) argument 2676 mlxsw_core_reg_access_emad(struct mlxsw_core *mlxsw_core, const struct mlxsw_reg_info *reg, char *payload, enum mlxsw_core_reg_access_type type, struct list_head *bulk_list, mlxsw_reg_trans_cb_t *cb, unsigned long cb_priv) argument 2830 mlxsw_core_reg_access_cmd(struct mlxsw_core *mlxsw_core, const struct mlxsw_reg_info *reg, char *payload, enum mlxsw_core_reg_access_type type) argument 2902 mlxsw_core_reg_access(struct mlxsw_core *mlxsw_core, const struct mlxsw_reg_info *reg, char *payload, enum mlxsw_core_reg_access_type type) argument [all...] |
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc.c | 148 u16 pcifunc, int nixlf, int type) 161 if (type == NIXLF_BCAST_ENTRY) 163 else if (type == NIXLF_ALLMULTI_ENTRY) 165 else if (type == NIXLF_PROMISC_ENTRY) 1090 int nixlf, int type, bool enable) 1103 nixlf, type); 1114 type != NIXLF_BCAST_ENTRY && !pfvf->use_mce_list) 1117 nix_get_mce_list(rvu, pcifunc, type, &mce_list, &mce_idx); 147 npc_get_nixlf_mcam_index(struct npc_mcam *mcam, u16 pcifunc, int nixlf, int type) argument 1089 npc_enadis_default_mce_entry(struct rvu *rvu, u16 pcifunc, int nixlf, int type, bool enable) argument
|
/linux-master/drivers/net/ethernet/intel/igc/ |
H A D | igc_main.c | 203 switch (tx_buffer->type) { 216 netdev_warn_once(tx_ring->netdev, "Unknown Tx buffer type\n"); 906 * @type: MAC address filter type (source or destination) 913 enum igc_mac_filter_type type, 926 if (type == IGC_MAC_FILTER_TYPE_SRC) { 1261 /* set type for advanced descriptor with frame checksum insertion */ 1630 first->type = IGC_TX_BUFFER_TYPE_SKB; 2376 head->type = IGC_TX_BUFFER_TYPE_XDP; 2916 bi->type 912 igc_set_mac_filter_hw(struct igc_adapter *adapter, int index, enum igc_mac_filter_type type, const u8 *addr, int queue) argument 3117 igc_find_mac_filter(struct igc_adapter *adapter, enum igc_mac_filter_type type, const u8 *addr) argument 3173 igc_add_mac_filter(struct igc_adapter *adapter, enum igc_mac_filter_type type, const u8 *addr, int queue) argument 3203 igc_del_mac_filter(struct igc_adapter *adapter, enum igc_mac_filter_type type, const u8 *addr) argument 6431 igc_setup_tc(struct net_device *dev, enum tc_setup_type type, void *type_data) argument [all...] |
H A D | igc.h | 378 /* igc_rss_type - Rx descriptor RSS type field */ 523 enum igc_tx_buffer_type type; member in struct:igc_tx_buffer
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_vf_lib.c | 1124 if (vsi->type != ICE_VSI_VF || ice_vsi_has_non_zero_vlans(vsi)) { 1242 params.type = ICE_VSI_CTRL;
|
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_main.c | 3709 /* specify flow type as TCP IPv6 */ 3989 /* start out with flow type and eth type IPv4 to begin with */ 4061 * @type: type of offload 4067 static int iavf_setup_tc_block_cb(enum tc_setup_type type, void *type_data, argument 4075 switch (type) { 4088 * @type: type of offload 4096 static int iavf_setup_tc(struct net_device *netdev, enum tc_setup_type type, argument [all...] |
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 238 if (pile == pf->qp_pile && pf->vsi[id]->type == I40E_VSI_FDIR) { 582 if (vsi->type == I40E_VSI_SRIOV) 1582 if (vsi->type != I40E_VSI_MAIN) 1826 if (vsi->type == I40E_VSI_MAIN) { 1871 bool pf_lut = vsi->type == I40E_VSI_MAIN; 1939 if (vsi->type != I40E_VSI_MAIN) 2039 if (vsi->type == I40E_VSI_MAIN) { 2058 if (vsi->type == I40E_VSI_MAIN || 2059 (vsi->type == I40E_VSI_SRIOV && vsi->num_queue_pairs != 0)) 2093 switch (vsi->type) { 6426 i40e_setup_hw_channel(struct i40e_pf *pf, struct i40e_vsi *vsi, struct i40e_channel *ch, u16 uplink_seid, u8 type) argument 8946 i40e_setup_tc_block_cb(enum tc_setup_type type, void *type_data, void *cb_priv) argument 8965 __i40e_setup_tc(struct net_device *netdev, enum tc_setup_type type, void *type_data) argument 9414 u8 type; local 11440 i40e_vsi_mem_alloc(struct i40e_pf *pf, enum i40e_vsi_type type) argument 12977 u8 type, filter_index; local 14357 i40e_vsi_setup(struct i40e_pf *pf, u8 type, u16 uplink_seid, u32 param1) argument [all...] |