/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | sense.c | 65 enum mlx4_port_type *stype, 73 stype[i - 1] = 0; 76 err = mlx4_SENSE_PORT(dev, i, &stype[i - 1]); 78 stype[i - 1] = defaults[i - 1]; 80 stype[i - 1] = defaults[i - 1]; 87 stype[i] = stype[i] ? stype[i] : defaults[i]; 98 enum mlx4_port_type stype[MLX4_MAX_PORTS]; local 101 mlx4_do_sense_ports(dev, stype, 64 mlx4_do_sense_ports(struct mlx4_dev *dev, enum mlx4_port_type *stype, enum mlx4_port_type *defaults) argument [all...] |
/linux-master/net/mac80211/tests/ |
H A D | mfp.c | 18 u8 stype; member in struct:mfp_test_case 25 .stype = IEEE80211_STYPE_ACTION, 33 .stype = IEEE80211_STYPE_ACTION, 41 .stype = IEEE80211_STYPE_ACTION, 50 .stype = IEEE80211_STYPE_ACTION, 59 .stype = IEEE80211_STYPE_ACTION, 69 .stype = IEEE80211_STYPE_ACTION, 80 .stype = IEEE80211_STYPE_ACTION, 88 .stype = IEEE80211_STYPE_ACTION, 96 .stype [all...] |
/linux-master/sound/soc/au1x/ |
H A D | psc-i2s.c | 41 #define I2SSTAT_BUSY(stype) \ 42 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SSTAT_TB : PSC_I2SSTAT_RB) 43 #define I2SPCR_START(stype) \ 44 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TS : PSC_I2SPCR_RS) 45 #define I2SPCR_STOP(stype) \ 46 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TP : PSC_I2SPCR_RP) 47 #define I2SPCR_CLRFIFO(stype) \ 48 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TC : PSC_I2SPCR_RC) 179 static int au1xpsc_i2s_start(struct au1xpsc_audio_data *pscdata, int stype) argument 194 __raw_writel(I2SPCR_CLRFIFO(stype), I2S_PC 213 au1xpsc_i2s_stop(struct au1xpsc_audio_data *pscdata, int stype) argument 240 int ret, stype = substream->stream; local [all...] |
H A D | psc-ac97.c | 39 #define AC97PCR_START(stype) \ 40 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TS : PSC_AC97PCR_RS) 41 #define AC97PCR_STOP(stype) \ 42 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TP : PSC_AC97PCR_RP) 43 #define AC97PCR_CLRFIFO(stype) \ 44 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TC : PSC_AC97PCR_RC) 46 #define AC97STAT_BUSY(stype) \ 47 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97STAT_TB : PSC_AC97STAT_RB) 213 int chans, t, stype = substream->stream; local 233 if (stype 292 int ret, stype = substream->stream; local [all...] |
H A D | dbdma2.c | 149 int stype, int msbits) 161 if (stype == SNDRV_PCM_STREAM_CAPTURE) 198 int stype, ret; local 200 stype = substream->stream; 210 params_periods(params), params_period_bytes(params), stype); 212 ret = au1x_pcm_dbdma_realloc(pcd, stype, params->msbits); 282 int stype = substream->stream, *dmaids; local 288 pcd->ddma_id = dmaids[stype]; 148 au1x_pcm_dbdma_realloc(struct au1xpsc_audio_dmadata *pcd, int stype, int msbits) argument
|
H A D | i2sc.c | 140 int stype = SUBSTREAM_TYPE(substream); local 148 ctx->cfg |= (stype == PCM_TX) ? CFG_TN : CFG_RN; 153 ctx->cfg &= ~((stype == PCM_TX) ? CFG_TN : CFG_RN);
|
H A D | dma.c | 221 int stype = substream->stream; local 223 ctx->stream[stype].substream = NULL; 224 free_au1000_dma(ctx->stream[stype].dma);
|
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_sched.c | 144 u32 stype = sync->flags & DRM_NOUVEAU_SYNC_TYPE_MASK; local 148 if (stype != DRM_NOUVEAU_SYNC_SYNCOBJ && 149 stype != DRM_NOUVEAU_SYNC_TIMELINE_SYNCOBJ) 152 if (stype == DRM_NOUVEAU_SYNC_TIMELINE_SYNCOBJ) 215 u32 stype = sync->flags & DRM_NOUVEAU_SYNC_TYPE_MASK; local 217 if (stype != DRM_NOUVEAU_SYNC_SYNCOBJ && 218 stype != DRM_NOUVEAU_SYNC_TIMELINE_SYNCOBJ) { 232 if (stype == DRM_NOUVEAU_SYNC_TIMELINE_SYNCOBJ) { 258 u32 stype = sync->flags & DRM_NOUVEAU_SYNC_TYPE_MASK; local 260 if (stype [all...] |
/linux-master/kernel/bpf/ |
H A D | local_storage.c | 417 enum bpf_cgroup_storage_type stype; local 429 stype = cgroup_storage_type(map); 430 if (stype == BPF_CGROUP_STORAGE_SHARED) { 472 enum bpf_cgroup_storage_type stype = cgroup_storage_type(_map); local 474 if (aux->cgroup_storage[stype] && 475 aux->cgroup_storage[stype] != _map) 478 aux->cgroup_storage[stype] = _map; 500 enum bpf_cgroup_storage_type stype) 508 map = prog->aux->cgroup_storage[stype]; 519 if (stype 499 bpf_cgroup_storage_alloc(struct bpf_prog *prog, enum bpf_cgroup_storage_type stype) argument 560 enum bpf_cgroup_storage_type stype; local [all...] |
H A D | cgroup.c | 200 enum bpf_cgroup_storage_type stype; local 202 for_each_cgroup_storage_type(stype) 203 bpf_cgroup_storage_free(storages[stype]); 212 enum bpf_cgroup_storage_type stype; local 219 for_each_cgroup_storage_type(stype) { 220 map = prog->aux->cgroup_storage[stype]; 224 storages[stype] = cgroup_storage_lookup((void *)map, &key, false); 225 if (storages[stype]) 228 storages[stype] = bpf_cgroup_storage_alloc(prog, stype); 243 enum bpf_cgroup_storage_type stype; local 253 enum bpf_cgroup_storage_type stype; local 1558 enum bpf_cgroup_storage_type stype = cgroup_storage_type(map); local [all...] |
/linux-master/fs/affs/ |
H A D | amigaffs.h | 73 __be32 stype; member in struct:affs_root_tail 102 __be32 stype; member in struct:affs_tail
|
H A D | inode.c | 92 switch (be32_to_cpu(tail->stype)) { 98 if (be32_to_cpu(tail->stype) == ST_USERDIR || 185 if (tail->stype == cpu_to_be32(ST_ROOT)) { 385 AFFS_TAIL(sb, bh)->stype = cpu_to_be32(type);
|
/linux-master/arch/sparc/kernel/ |
H A D | viohs.c | 41 static void init_tag(struct vio_msg_tag *tag, u8 type, u8 stype, u16 stype_env) argument 44 tag->stype = stype; 166 pkt->type, pkt->stype, pkt->stype_env, pkt->sid); 275 pkt->tag.stype = VIO_SUBTYPE_NACK; 281 pkt->tag.stype = VIO_SUBTYPE_NACK; 295 pkt->tag.stype = VIO_SUBTYPE_ACK; 320 pkt->tag.stype = VIO_SUBTYPE_NACK; 366 switch (pkt->tag.stype) { 476 pkt->tag.stype [all...] |
H A D | ldc.c | 49 u8 stype; member in struct:ldc_packet 350 u8 stype, u8 ctrl, 359 p->stype = stype; 497 p->stype = LDC_NACK; 654 switch (p->stype) { 672 ldcdbg(HS, "GOT RTS stype[%x] seqid[%x] env[%x]\n", 673 p->stype, p->seqid, p->env); 675 if (p->stype != LDC_INFO || 692 ldcdbg(HS, "GOT RTR stype[ 349 handshake_compose_ctrl(struct ldc_channel *lp, u8 stype, u8 ctrl, void *data, int dlen, unsigned long *new_tail) argument [all...] |
/linux-master/net/mac80211/ |
H A D | mesh_sync.c | 83 mesh_sync_offset_rx_bcn_presp(struct ieee80211_sub_if_data *sdata, u16 stype, argument 96 if (stype != IEEE80211_STYPE_BEACON)
|
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | fweh.h | 362 struct sk_buff *skb, u16 stype, 378 if (unlikely(stype)) { 380 if (subtype != stype) 361 brcmf_fweh_process_skb(struct brcmf_pub *drvr, struct sk_buff *skb, u16 stype, gfp_t gfp) argument
|
/linux-master/include/linux/ |
H A D | bpf-cgroup.h | 80 #define for_each_cgroup_storage_type(stype) \ 81 for (stype = 0; stype < MAX_BPF_CGROUP_STORAGE_TYPE; stype++) 171 enum bpf_cgroup_storage_type stype); 484 struct bpf_prog *prog, enum bpf_cgroup_storage_type stype) { return NULL; } 529 #define for_each_cgroup_storage_type(stype) for (; false; ) 483 bpf_cgroup_storage_alloc( struct bpf_prog *prog, enum bpf_cgroup_storage_type stype) argument
|
/linux-master/drivers/net/ethernet/sun/ |
H A D | sunvnet_common.c | 59 pkt->type, pkt->stype, pkt->stype_env, pkt->sid); 83 pkt.tag.stype = VIO_SUBTYPE_INFO; 204 pkt->tag.stype = VIO_SUBTYPE_NACK; 220 pkt->tag.stype = VIO_SUBTYPE_ACK; 245 switch (pkt->tag.stype) { 476 .stype = VIO_SUBTYPE_ACK, 746 if (pkt->tag.stype != VIO_SUBTYPE_ACK) 750 pkt->tag.stype, 849 pkt->tag.stype = VIO_SUBTYPE_INFO; 866 msgbuf.tag.stype, [all...] |
/linux-master/drivers/tty/ |
H A D | vcc.c | 89 for (i = 0; i < pkt.tag.stype; i++) \ 335 pkt.tag.type, pkt.tag.stype, 341 vcc_rx(tty, pkt.data, pkt.tag.stype); 344 pkt.tag.type, pkt.tag.stype, 403 pkt->tag.stype = tosend; 500 pkt.tag.stype = 0; 848 pkt->tag.stype = tosend; 851 pkt->tag.stype, pkt->tag.stype_env, pkt->tag.sid);
|
/linux-master/drivers/net/wireless/intel/ipw2x00/ |
H A D | libipw_rx.c | 168 u16 stype) 180 if (stype == WLAN_FC_STYPE_BEACON && 201 "(type=0x%02x, stype=0x%02x) dropped\n", 202 skb->dev->name, type, stype); 334 u16 fc, type, stype, sc; local 360 stype = WLAN_FC_GET_STYPE(fc); 465 if (type == WLAN_FC_TYPE_MGMT && stype == WLAN_FC_STYPE_AUTH && 475 if (libipw_rx_frame_mgmt(ieee, skb, rx_stats, type, stype)) 553 stype &= ~IEEE80211_STYPE_QOS_DATA; 555 if (stype ! 166 libipw_rx_frame_mgmt(struct libipw_device *ieee, struct sk_buff *skb, struct libipw_rx_stats *rx_stats, u16 type, u16 stype) argument [all...] |
/linux-master/drivers/net/wireless/marvell/mwifiex/ |
H A D | util.c | 330 u16 stype; local 334 stype = (le16_to_cpu(ieee_hdr->frame_control) & IEEE80211_FCTL_STYPE); 336 switch (stype) { 367 "unknown mgmt frame subtype %#x\n", stype);
|
/linux-master/drivers/block/ |
H A D | sunvdc.c | 216 pkt->type, pkt->stype, pkt->stype_env, pkt->sid); 232 pkt.tag.stype = VIO_SUBTYPE_INFO; 251 viodbg(HS, "GOT ATTR stype[0x%x] ops[%llx] disk_size[%llu] disk_type[%x] " 253 pkt->tag.stype, pkt->operations, 258 if (pkt->tag.stype == VIO_SUBTYPE_ACK) { 397 msgbuf.tag.stype, 405 if (msgbuf.tag.stype == VIO_SUBTYPE_ACK) 407 else if (msgbuf.tag.stype == VIO_SUBTYPE_NACK) 431 .stype = VIO_SUBTYPE_INFO,
|
/linux-master/net/bpf/ |
H A D | test_run.c | 401 enum bpf_cgroup_storage_type stype; local 404 for_each_cgroup_storage_type(stype) { 405 item.cgroup_storage[stype] = bpf_cgroup_storage_alloc(prog, stype); 406 if (IS_ERR(item.cgroup_storage[stype])) { 407 item.cgroup_storage[stype] = NULL; 408 for_each_cgroup_storage_type(stype) 409 bpf_cgroup_storage_free(item.cgroup_storage[stype]); 431 for_each_cgroup_storage_type(stype) 432 bpf_cgroup_storage_free(item.cgroup_storage[stype]); [all...] |
/linux-master/drivers/staging/rtl8192e/ |
H A D | rtllib_rx.c | 206 u16 stype) 220 rtllib_rx_frame_softmac(ieee, skb, rx_stats, type, stype); 945 u8 stype = WLAN_FC_GET_STYPE(fc); local 957 if (stype != IEEE80211_STYPE_DATA && 958 stype != IEEE80211_STYPE_DATA_CFACK && 959 stype != IEEE80211_STYPE_DATA_CFPOLL && 960 stype != IEEE80211_STYPE_DATA_CFACKPOLL && 961 stype != IEEE80211_STYPE_QOS_DATA) { 962 if (stype != IEEE80211_STYPE_NULLFUNC) 965 type, stype); 204 rtllib_rx_frame_mgmt(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats, u16 type, u16 stype) argument 1235 u8 type, stype, multicast = 0, unicast = 0, nr_subframes = 0, TID = 0; local [all...] |
/linux-master/net/wireless/ |
H A D | mlme.c | 837 u16 stype; local 855 stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE; 856 if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].tx & BIT(stype >> 4))) 954 u16 stype; local 957 stype = (le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE) >> 4; 959 if (!(stypes->rx & BIT(stype))) {
|