Home
last modified time | relevance | path

Searched refs:stype (Results 1 – 25 of 25) sorted by relevance

/drivers/net/ethernet/mellanox/mlx4/
Dsense.c65 enum mlx4_port_type *stype, in mlx4_do_sense_ports() argument
73 stype[i - 1] = 0; in mlx4_do_sense_ports()
76 err = mlx4_SENSE_PORT(dev, i, &stype[i - 1]); in mlx4_do_sense_ports()
78 stype[i - 1] = defaults[i - 1]; in mlx4_do_sense_ports()
80 stype[i - 1] = defaults[i - 1]; in mlx4_do_sense_ports()
87 stype[i] = stype[i] ? stype[i] : defaults[i]; in mlx4_do_sense_ports()
98 enum mlx4_port_type stype[MLX4_MAX_PORTS]; in mlx4_sense_port() local
101 mlx4_do_sense_ports(dev, stype, &dev->caps.port_type[1]); in mlx4_sense_port()
103 if (mlx4_check_port_params(dev, stype)) in mlx4_sense_port()
106 if (mlx4_change_port_types(dev, stype)) in mlx4_sense_port()
Dmlx4.h1237 enum mlx4_port_type *stype,
/drivers/net/wireless/intersil/hostap/
Dhostap_80211_rx.c393 int stype) in hostap_rx_sta_beacon() argument
473 u16 stype) in hostap_rx_frame_mgmt() argument
479 if (stype == IEEE80211_STYPE_BEACON && in hostap_rx_frame_mgmt()
504 skb->dev->name, type >> 2, stype >> 4); in hostap_rx_frame_mgmt()
511 (stype == IEEE80211_STYPE_BEACON || in hostap_rx_frame_mgmt()
512 stype == IEEE80211_STYPE_PROBE_RESP)) { in hostap_rx_frame_mgmt()
513 hostap_rx_sta_beacon(local, skb, stype); in hostap_rx_frame_mgmt()
516 (stype == IEEE80211_STYPE_ASSOC_RESP || in hostap_rx_frame_mgmt()
517 stype == IEEE80211_STYPE_REASSOC_RESP)) { in hostap_rx_frame_mgmt()
525 skb->dev->name, type >> 2, stype >> 4); in hostap_rx_frame_mgmt()
[all …]
Dhostap_ap.c2143 u16 fc, type, stype; in handle_ap_item() local
2151 stype = fc & IEEE80211_FCTL_STYPE; in handle_ap_item()
2159 if (stype == IEEE80211_STYPE_NULLFUNC) { in handle_ap_item()
2178 stype == IEEE80211_STYPE_NULLFUNC) in handle_ap_item()
2185 if (type == IEEE80211_FTYPE_MGMT && stype == IEEE80211_STYPE_BEACON) { in handle_ap_item()
2191 if (type == IEEE80211_FTYPE_CTL && stype == IEEE80211_STYPE_PSPOLL) { in handle_ap_item()
2198 "subtype=0x%02x\n", type, stype); in handle_ap_item()
2220 switch (stype) { in handle_ap_item()
2247 stype >> 4); in handle_ap_item()
2876 int pwrmgt, int type, int stype) in hostap_update_sta_ps2() argument
[all …]
Dhostap.h52 int prism2_sta_send_mgmt(local_info_t *local, u8 *dst, u16 stype,
Dhostap_main.c1029 int prism2_sta_send_mgmt(local_info_t *local, u8 *dst, u16 stype, in prism2_sta_send_mgmt() argument
1042 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | stype); in prism2_sta_send_mgmt()
/drivers/tty/
Dvcc.c88 for (i = 0; i < pkt.tag.stype; i++) \
334 pkt.tag.type, pkt.tag.stype, in vcc_ldc_read()
340 vcc_rx(tty, pkt.data, pkt.tag.stype); in vcc_ldc_read()
343 pkt.tag.type, pkt.tag.stype, in vcc_ldc_read()
402 pkt->tag.stype = tosend; in vcc_tx_timer()
499 pkt.tag.stype = 0; in vcc_send_ctl()
847 pkt->tag.stype = tosend; in vcc_write()
850 pkt->tag.stype, pkt->tag.stype_env, pkt->tag.sid); in vcc_write()
/drivers/net/wireless/intel/ipw2x00/
Dlibipw_rx.c168 u16 stype) in libipw_rx_frame_mgmt() argument
180 if (stype == WLAN_FC_STYPE_BEACON && in libipw_rx_frame_mgmt()
202 skb->dev->name, type, stype); in libipw_rx_frame_mgmt()
334 u16 fc, type, stype, sc; in libipw_rx() local
360 stype = WLAN_FC_GET_STYPE(fc); in libipw_rx()
465 if (type == WLAN_FC_TYPE_MGMT && stype == WLAN_FC_STYPE_AUTH && in libipw_rx()
475 if (libipw_rx_frame_mgmt(ieee, skb, rx_stats, type, stype)) in libipw_rx()
553 stype &= ~IEEE80211_STYPE_QOS_DATA; in libipw_rx()
555 if (stype != IEEE80211_STYPE_DATA && in libipw_rx()
556 stype != IEEE80211_STYPE_DATA_CFACK && in libipw_rx()
[all …]
Dlibipw.h875 u16 stype = WLAN_FC_GET_STYPE(fc); in libipw_get_hdrlen() local
881 if (stype & IEEE80211_STYPE_QOS_DATA) in libipw_get_hdrlen()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfweh.h326 struct sk_buff *skb, u16 stype, in brcmf_fweh_process_skb() argument
342 if (unlikely(stype)) { in brcmf_fweh_process_skb()
344 if (subtype != stype) in brcmf_fweh_process_skb()
Dchip.c823 u8 stype, sztype, wraptype; in brcmf_chip_dmp_get_regaddr() local
877 stype = (val & DMP_SLAVE_TYPE) >> DMP_SLAVE_TYPE_S; in brcmf_chip_dmp_get_regaddr()
880 if (*regbase == 0 && stype == DMP_SLAVE_TYPE_SLAVE) in brcmf_chip_dmp_get_regaddr()
882 if (*wrapbase == 0 && stype == wraptype) in brcmf_chip_dmp_get_regaddr()
/drivers/net/ethernet/sun/
Dsunvnet_common.c58 pkt->type, pkt->stype, pkt->stype_env, pkt->sid); in vnet_handle_unknown()
82 pkt.tag.stype = VIO_SUBTYPE_INFO; in sunvnet_send_attr_common()
203 pkt->tag.stype = VIO_SUBTYPE_NACK; in handle_attr_info()
219 pkt->tag.stype = VIO_SUBTYPE_ACK; in handle_attr_info()
244 switch (pkt->tag.stype) { in sunvnet_handle_attr_common()
475 .stype = VIO_SUBTYPE_ACK, in vnet_send_ack()
745 if (pkt->tag.stype != VIO_SUBTYPE_ACK) in handle_mcast()
749 pkt->tag.stype, in handle_mcast()
848 pkt->tag.stype = VIO_SUBTYPE_INFO; in vnet_event_napi()
865 msgbuf.tag.stype, in vnet_event_napi()
[all …]
/drivers/block/
Dsunvdc.c214 pkt->type, pkt->stype, pkt->stype_env, pkt->sid); in vdc_handle_unknown()
230 pkt.tag.stype = VIO_SUBTYPE_INFO; in vdc_send_attr()
251 pkt->tag.stype, pkt->operations, in vdc_handle_attr()
256 if (pkt->tag.stype == VIO_SUBTYPE_ACK) { in vdc_handle_attr()
395 msgbuf.tag.stype, in vdc_event()
403 if (msgbuf.tag.stype == VIO_SUBTYPE_ACK) in vdc_event()
405 else if (msgbuf.tag.stype == VIO_SUBTYPE_NACK) in vdc_event()
429 .stype = VIO_SUBTYPE_INFO, in __vdc_tx_trigger()
/drivers/staging/rtl8192e/
Drtllib_rx.c208 u16 stype) in rtllib_rx_frame_mgmt() argument
222 rtllib_rx_frame_softmac(ieee, skb, rx_stats, type, stype); in rtllib_rx_frame_mgmt()
919 u8 frag, type, stype; in rtllib_rx_check_duplicate() local
923 stype = WLAN_FC_GET_STYPE(fc); in rtllib_rx_check_duplicate()
932 (stype == RTLLIB_STYPE_BEACON))) { in rtllib_rx_check_duplicate()
989 u8 type, stype; in rtllib_rx_data_filter() local
992 stype = WLAN_FC_GET_STYPE(fc); in rtllib_rx_data_filter()
1015 if (stype != RTLLIB_STYPE_DATA && in rtllib_rx_data_filter()
1016 stype != RTLLIB_STYPE_DATA_CFACK && in rtllib_rx_data_filter()
1017 stype != RTLLIB_STYPE_DATA_CFPOLL && in rtllib_rx_data_filter()
[all …]
Drtllib_softmac.c283 u16 fc, type, stype; in softmac_ps_mgmt_xmit() local
288 stype = WLAN_FC_GET_STYPE(fc); in softmac_ps_mgmt_xmit()
291 if (stype != RTLLIB_STYPE_PSPOLL) in softmac_ps_mgmt_xmit()
2392 u16 stype) in rtllib_rx_frame_softmac() argument
Drtllib.h1975 u16 stype);
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c210 u16 stype) in ieee80211_rx_frame_mgmt() argument
227 ieee80211_rx_frame_softmac(ieee, skb, rx_stats, type, stype); in ieee80211_rx_frame_mgmt()
243 if (stype == WLAN_FC_STYPE_BEACON && in ieee80211_rx_frame_mgmt()
265 type, stype); in ieee80211_rx_frame_mgmt()
887 u16 fc, type, stype, sc; in ieee80211_rx() local
922 stype = WLAN_FC_GET_STYPE(fc); in ieee80211_rx()
1037 if (ieee80211_rx_frame_mgmt(ieee, skb, rx_stats, type, stype)) in ieee80211_rx()
1105 if (stype != IEEE80211_STYPE_DATA && in ieee80211_rx()
1106 stype != IEEE80211_STYPE_DATA_CFACK && in ieee80211_rx()
1107 stype != IEEE80211_STYPE_DATA_CFPOLL && in ieee80211_rx()
[all …]
Dieee80211.h2222 u16 type, u16 stype);
Dieee80211_softmac.c1886 u16 stype) in ieee80211_rx_frame_softmac() argument
/drivers/net/wireless/marvell/mwifiex/
Dutil.c342 u16 stype; in mwifiex_parse_mgmt_packet() local
346 stype = (le16_to_cpu(ieee_hdr->frame_control) & IEEE80211_FCTL_STYPE); in mwifiex_parse_mgmt_packet()
348 switch (stype) { in mwifiex_parse_mgmt_packet()
379 "unknown mgmt frame subtype %#x\n", stype); in mwifiex_parse_mgmt_packet()
/drivers/scsi/elx/libefc_sli/
Dsli4.h429 #define SLI4_DISEED_SGE_OP_RX_VALUE(stype) \ argument
430 (SLI4_DISEED_SGE_OP_##stype << SLI4_DISEED_SGE_OP_RX_SHIFT)
431 #define SLI4_DISEED_SGE_OP_TX_VALUE(stype) \ argument
432 (SLI4_DISEED_SGE_OP_##stype << SLI4_DISEED_SGE_OP_TX_SHIFT)
575 #define SLI4_RQST_CMDSZ(stype) sizeof(struct sli4_rqst_##stype) argument
577 #define SLI4_RQST_PYLD_LEN(stype) \ argument
578 cpu_to_le32(sizeof(struct sli4_rqst_##stype) - \
581 #define SLI4_RQST_PYLD_LEN_VAR(stype, varpyld) \ argument
582 cpu_to_le32((sizeof(struct sli4_rqst_##stype) + \
585 #define SLI4_CFG_PYLD_LENGTH(stype) \ argument
[all …]
/drivers/net/wireless/ath/ath9k/
Dbtcoex.c291 enum ath_stomp_type stype = in ath9k_hw_btcoex_set_weight() local
295 weight = mci_wlan_weights[stype]; in ath9k_hw_btcoex_set_weight()
/drivers/media/i2c/m5mols/
Dm5mols_core.c513 enum m5mols_restype stype = __find_restype(mf->code); in __find_resolution() local
519 if (stype == fsize->type) { in __find_resolution()
534 *type = stype; in __find_resolution()
/drivers/message/fusion/
Dmptlan.c117 u16 stype; member
/drivers/net/wireless/ath/wil6210/
Dwmi.h2430 __le16 stype; member