Home
last modified time | relevance | path

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

123

/Linux-v4.19/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()
/Linux-v4.19/sound/soc/au1x/
Dpsc-i2s.c44 #define I2SSTAT_BUSY(stype) \ argument
45 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SSTAT_TB : PSC_I2SSTAT_RB)
46 #define I2SPCR_START(stype) \ argument
47 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TS : PSC_I2SPCR_RS)
48 #define I2SPCR_STOP(stype) \ argument
49 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TP : PSC_I2SPCR_RP)
50 #define I2SPCR_CLRFIFO(stype) \ argument
51 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TC : PSC_I2SPCR_RC)
182 static int au1xpsc_i2s_start(struct au1xpsc_audio_data *pscdata, int stype) in au1xpsc_i2s_start() argument
197 __raw_writel(I2SPCR_CLRFIFO(stype), I2S_PCR(pscdata)); in au1xpsc_i2s_start()
[all …]
Dpsc-ac97.c43 #define AC97PCR_START(stype) \ argument
44 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TS : PSC_AC97PCR_RS)
45 #define AC97PCR_STOP(stype) \ argument
46 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TP : PSC_AC97PCR_RP)
47 #define AC97PCR_CLRFIFO(stype) \ argument
48 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TC : PSC_AC97PCR_RC)
50 #define AC97STAT_BUSY(stype) \ argument
51 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97STAT_TB : PSC_AC97STAT_RB)
217 int chans, t, stype = substream->stream; in au1xpsc_ac97_hw_params() local
237 if (stype == SNDRV_PCM_STREAM_PLAYBACK) { in au1xpsc_ac97_hw_params()
[all …]
Ddbdma2.c153 int stype, int msbits) in au1x_pcm_dbdma_realloc() argument
165 if (stype == SNDRV_PCM_STREAM_CAPTURE) in au1x_pcm_dbdma_realloc()
202 int stype, ret; in au1xpsc_pcm_hw_params() local
208 stype = substream->stream; in au1xpsc_pcm_hw_params()
218 params_periods(params), params_period_bytes(params), stype); in au1xpsc_pcm_hw_params()
220 ret = au1x_pcm_dbdma_realloc(pcd, stype, params->msbits); in au1xpsc_pcm_hw_params()
291 int stype = substream->stream, *dmaids; in au1xpsc_pcm_open() local
297 pcd->ddma_id = dmaids[stype]; in au1xpsc_pcm_open()
Di2sc.c139 int stype = SUBSTREAM_TYPE(substream); in au1xi2s_trigger() local
147 ctx->cfg |= (stype == PCM_TX) ? CFG_TN : CFG_RN; in au1xi2s_trigger()
152 ctx->cfg &= ~((stype == PCM_TX) ? CFG_TN : CFG_RN); in au1xi2s_trigger()
Ddma.c218 int stype = substream->stream; in alchemy_pcm_close() local
220 ctx->stream[stype].substream = NULL; in alchemy_pcm_close()
221 free_au1000_dma(ctx->stream[stype].dma); in alchemy_pcm_close()
/Linux-v4.19/arch/sparc/kernel/
Dviohs.c41 static void init_tag(struct vio_msg_tag *tag, u8 type, u8 stype, u16 stype_env) in init_tag() argument
44 tag->stype = stype; in init_tag()
166 pkt->type, pkt->stype, pkt->stype_env, pkt->sid); in process_unknown()
275 pkt->tag.stype = VIO_SUBTYPE_NACK; in process_ver_info()
281 pkt->tag.stype = VIO_SUBTYPE_NACK; in process_ver_info()
295 pkt->tag.stype = VIO_SUBTYPE_ACK; in process_ver_info()
320 pkt->tag.stype = VIO_SUBTYPE_NACK; in process_ver_ack()
366 switch (pkt->tag.stype) { in process_ver()
476 pkt->tag.stype = VIO_SUBTYPE_ACK; in process_dreg_info()
495 pkt->tag.stype = VIO_SUBTYPE_NACK; in process_dreg_info()
[all …]
Dldc.c49 u8 stype; member
350 u8 stype, u8 ctrl, in handshake_compose_ctrl() argument
359 p->stype = stype; in handshake_compose_ctrl()
497 p->stype = LDC_NACK; in send_data_nack()
654 switch (p->stype) { in process_version()
673 p->stype, p->seqid, p->env); in process_rts()
675 if (p->stype != LDC_INFO || in process_rts()
693 p->stype, p->seqid, p->env); in process_rtr()
695 if (p->stype != LDC_INFO || in process_rtr()
716 p->stype, p->seqid, p->env, p->u.r.ackid); in process_rdx()
[all …]
/Linux-v4.19/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.h50 int prism2_sta_send_mgmt(local_info_t *local, u8 *dst, u16 stype,
/Linux-v4.19/scripts/kconfig/
Dzconf.y201 menu_set_type($1->stype);
204 $1->stype);
216 if ($1->stype != S_UNKNOWN)
217 menu_set_type($1->stype);
220 $1->stype);
308 if ($1->stype == S_BOOLEAN || $1->stype == S_TRISTATE) {
309 menu_set_type($1->stype);
312 $1->stype);
325 if ($1->stype == S_UNKNOWN) {
/Linux-v4.19/scripts/
Dkallsyms.c114 char sym[500], stype; in read_symbol() local
117 rc = fscanf(in, "%llx %c %499s\n", &s->addr, &stype, sym); in read_symbol()
136 else if (toupper(stype) == 'A') in read_symbol()
146 else if (toupper(stype) == 'U' || in read_symbol()
153 else if (stype == 'N' || stype == 'n') in read_symbol()
166 s->sym[0] = stype; in read_symbol()
/Linux-v4.19/fs/affs/
Damigaffs.h70 __be32 stype; member
99 __be32 stype; member
Dinode.c92 switch (be32_to_cpu(tail->stype)) { in affs_iget()
98 if (be32_to_cpu(tail->stype) == ST_USERDIR || in affs_iget()
189 if (tail->stype == cpu_to_be32(ST_ROOT)) { in affs_write_inode()
387 AFFS_TAIL(sb, bh)->stype = cpu_to_be32(type); in affs_add_entry()
/Linux-v4.19/drivers/net/wireless/intel/ipw2x00/
Dlibipw_rx.c172 u16 stype) in libipw_rx_frame_mgmt() argument
184 if (stype == WLAN_FC_STYPE_BEACON && in libipw_rx_frame_mgmt()
206 skb->dev->name, type, stype); in libipw_rx_frame_mgmt()
338 u16 fc, type, stype, sc; in libipw_rx() local
364 stype = WLAN_FC_GET_STYPE(fc); in libipw_rx()
469 if (type == WLAN_FC_TYPE_MGMT && stype == WLAN_FC_STYPE_AUTH && in libipw_rx()
479 if (libipw_rx_frame_mgmt(ieee, skb, rx_stats, type, stype)) in libipw_rx()
557 stype &= ~IEEE80211_STYPE_QOS_DATA; in libipw_rx()
559 if (stype != IEEE80211_STYPE_DATA && in libipw_rx()
560 stype != IEEE80211_STYPE_DATA_CFACK && in libipw_rx()
[all …]
/Linux-v4.19/drivers/tty/
Dvcc.c96 for (i = 0; i < pkt.tag.stype; i++) \
342 pkt.tag.type, pkt.tag.stype, in vcc_ldc_read()
348 vcc_rx(tty, pkt.data, pkt.tag.stype); in vcc_ldc_read()
351 pkt.tag.type, pkt.tag.stype, in vcc_ldc_read()
410 pkt->tag.stype = tosend; in vcc_tx_timer()
507 pkt.tag.stype = 0; in vcc_send_ctl()
872 pkt->tag.stype = tosend; in vcc_write()
875 pkt->tag.stype, pkt->tag.stype_env, pkt->tag.sid); in vcc_write()
/Linux-v4.19/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 …]
/Linux-v4.19/net/mac80211/
Dmesh_sync.c83 u16 stype, in mesh_sync_offset_rx_bcn_presp() argument
96 if (stype != IEEE80211_STYPE_BEACON) in mesh_sync_offset_rx_bcn_presp()
Dmesh.c1144 u16 stype, in ieee80211_mesh_rx_bcn_presp() argument
1158 if (stype == IEEE80211_STYPE_PROBE_RESP && in ieee80211_mesh_rx_bcn_presp()
1196 stype, mgmt, &elems, rx_status); in ieee80211_mesh_rx_bcn_presp()
1357 u16 stype; in ieee80211_mesh_rx_queued_mgmt() local
1367 stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE; in ieee80211_mesh_rx_queued_mgmt()
1369 switch (stype) { in ieee80211_mesh_rx_queued_mgmt()
1372 ieee80211_mesh_rx_bcn_presp(sdata, stype, mgmt, skb->len, in ieee80211_mesh_rx_queued_mgmt()
/Linux-v4.19/drivers/block/
Dsunvdc.c210 pkt->type, pkt->stype, pkt->stype_env, pkt->sid); in vdc_handle_unknown()
226 pkt.tag.stype = VIO_SUBTYPE_INFO; in vdc_send_attr()
247 pkt->tag.stype, pkt->operations, in vdc_handle_attr()
252 if (pkt->tag.stype == VIO_SUBTYPE_ACK) { in vdc_handle_attr()
391 msgbuf.tag.stype, in vdc_event()
399 if (msgbuf.tag.stype == VIO_SUBTYPE_ACK) in vdc_event()
401 else if (msgbuf.tag.stype == VIO_SUBTYPE_NACK) in vdc_event()
425 .stype = VIO_SUBTYPE_INFO, in __vdc_tx_trigger()
/Linux-v4.19/drivers/staging/rtl8192e/
Drtllib_rx.c216 u16 stype) in rtllib_rx_frame_mgmt() argument
230 rtllib_rx_frame_softmac(ieee, skb, rx_stats, type, stype); in rtllib_rx_frame_mgmt()
927 u8 frag, type, stype; in rtllib_rx_check_duplicate() local
931 stype = WLAN_FC_GET_STYPE(fc); in rtllib_rx_check_duplicate()
940 (stype == RTLLIB_STYPE_BEACON))) { in rtllib_rx_check_duplicate()
997 u8 type, stype; in rtllib_rx_data_filter() local
1000 stype = WLAN_FC_GET_STYPE(fc); in rtllib_rx_data_filter()
1023 if (stype != RTLLIB_STYPE_DATA && in rtllib_rx_data_filter()
1024 stype != RTLLIB_STYPE_DATA_CFACK && in rtllib_rx_data_filter()
1025 stype != RTLLIB_STYPE_DATA_CFPOLL && in rtllib_rx_data_filter()
[all …]
/Linux-v4.19/net/wireless/
Dmlme.c584 u16 stype; in cfg80211_mlme_mgmt_tx() local
600 stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE; in cfg80211_mlme_mgmt_tx()
601 if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].tx & BIT(stype >> 4))) in cfg80211_mlme_mgmt_tx()
709 u16 stype; in cfg80211_rx_mgmt() local
712 stype = (le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE) >> 4; in cfg80211_rx_mgmt()
714 if (!(stypes->rx & BIT(stype))) { in cfg80211_rx_mgmt()
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c214 u16 stype) in ieee80211_rx_frame_mgmt() argument
231 ieee80211_rx_frame_softmac(ieee, skb, rx_stats, type, stype); in ieee80211_rx_frame_mgmt()
248 if (stype == WLAN_FC_STYPE_BEACON && in ieee80211_rx_frame_mgmt()
270 skb->dev->name, type, stype); in ieee80211_rx_frame_mgmt()
894 u16 fc, type, stype, sc; in ieee80211_rx() local
931 stype = WLAN_FC_GET_STYPE(fc); in ieee80211_rx()
1053 if (ieee80211_rx_frame_mgmt(ieee, skb, rx_stats, type, stype)) in ieee80211_rx()
1121 if (stype != IEEE80211_STYPE_DATA && in ieee80211_rx()
1122 stype != IEEE80211_STYPE_DATA_CFACK && in ieee80211_rx()
1123 stype != IEEE80211_STYPE_DATA_CFPOLL && in ieee80211_rx()
[all …]
/Linux-v4.19/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()

123