Home
last modified time | relevance | path

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

12

/linux/net/mac80211/tests/
H A Dmfp.c18 u8 stype; member
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 = IEEE80211_STYPE_ACTION,
[all …]
/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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/sound/soc/au1x/
H A Dpsc-i2s.c41 #define I2SSTAT_BUSY(stype) \ argument
42 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SSTAT_TB : PSC_I2SSTAT_RB)
43 #define I2SPCR_START(stype) \ argument
44 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TS : PSC_I2SPCR_RS)
45 #define I2SPCR_STOP(stype) \ argument
46 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TP : PSC_I2SPCR_RP)
47 #define I2SPCR_CLRFIFO(stype) \ argument
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) in au1xpsc_i2s_start() argument
194 __raw_writel(I2SPCR_CLRFIFO(stype), I2S_PCR(pscdata)); in au1xpsc_i2s_start()
[all …]
H A Dpsc-ac97.c39 #define AC97PCR_START(stype) \ argument
40 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TS : PSC_AC97PCR_RS)
41 #define AC97PCR_STOP(stype) \ argument
42 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TP : PSC_AC97PCR_RP)
43 #define AC97PCR_CLRFIFO(stype) \ argument
44 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TC : PSC_AC97PCR_RC)
46 #define AC97STAT_BUSY(stype) \ argument
47 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97STAT_TB : PSC_AC97STAT_RB)
213 int chans, t, stype = substream->stream; in au1xpsc_ac97_hw_params() local
233 if (stype == SNDRV_PCM_STREAM_PLAYBACK) { in au1xpsc_ac97_hw_params()
[all …]
H A Di2sc.c140 int stype = SUBSTREAM_TYPE(substream); in au1xi2s_trigger() local
148 ctx->cfg |= (stype == PCM_TX) ? CFG_TN : CFG_RN; in au1xi2s_trigger()
153 ctx->cfg &= ~((stype == PCM_TX) ? CFG_TN : CFG_RN); in au1xi2s_trigger()
/linux/kernel/bpf/
H A Dlocal_storage.c417 enum bpf_cgroup_storage_type stype; in cgroup_storage_seq_show_elem() local
429 stype = cgroup_storage_type(map); in cgroup_storage_seq_show_elem()
430 if (stype == BPF_CGROUP_STORAGE_SHARED) { in cgroup_storage_seq_show_elem()
472 enum bpf_cgroup_storage_type stype = cgroup_storage_type(_map); in bpf_cgroup_storage_assign() local
474 if (aux->cgroup_storage[stype] && in bpf_cgroup_storage_assign()
475 aux->cgroup_storage[stype] != _map) in bpf_cgroup_storage_assign()
478 aux->cgroup_storage[stype] = _map; in bpf_cgroup_storage_assign()
500 enum bpf_cgroup_storage_type stype) in bpf_cgroup_storage_alloc() argument
508 map = prog->aux->cgroup_storage[stype]; in bpf_cgroup_storage_alloc()
519 if (stype == BPF_CGROUP_STORAGE_SHARED) { in bpf_cgroup_storage_alloc()
[all …]
/linux/arch/sparc/kernel/
H A 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()
493 pkt->tag.stype = VIO_SUBTYPE_NACK; in process_dreg_info()
[all …]
H A 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/drivers/gpu/drm/nouveau/
H A Dnouveau_sched.c144 u32 stype = sync->flags & DRM_NOUVEAU_SYNC_TYPE_MASK; in sync_find_fence() local
148 if (stype != DRM_NOUVEAU_SYNC_SYNCOBJ && in sync_find_fence()
149 stype != DRM_NOUVEAU_SYNC_TIMELINE_SYNCOBJ) in sync_find_fence()
152 if (stype == DRM_NOUVEAU_SYNC_TIMELINE_SYNCOBJ) in sync_find_fence()
215 u32 stype = sync->flags & DRM_NOUVEAU_SYNC_TYPE_MASK; in nouveau_job_fence_attach_prepare() local
217 if (stype != DRM_NOUVEAU_SYNC_SYNCOBJ && in nouveau_job_fence_attach_prepare()
218 stype != DRM_NOUVEAU_SYNC_TIMELINE_SYNCOBJ) { in nouveau_job_fence_attach_prepare()
232 if (stype == DRM_NOUVEAU_SYNC_TIMELINE_SYNCOBJ) { in nouveau_job_fence_attach_prepare()
258 u32 stype = sync->flags & DRM_NOUVEAU_SYNC_TYPE_MASK; in nouveau_job_fence_attach() local
260 if (stype == DRM_NOUVEAU_SYNC_TIMELINE_SYNCOBJ) { in nouveau_job_fence_attach()
/linux/drivers/tty/
H A Dvcc.c89 for (i = 0; i < pkt.tag.stype; i++) \
335 pkt.tag.type, pkt.tag.stype, in vcc_ldc_read()
341 vcc_rx(tty, pkt.data, pkt.tag.stype); in vcc_ldc_read()
344 pkt.tag.type, pkt.tag.stype, in vcc_ldc_read()
403 pkt->tag.stype = tosend; in vcc_tx_timer()
500 pkt.tag.stype = 0; in vcc_send_ctl()
848 pkt->tag.stype = tosend; in vcc_write()
851 pkt->tag.stype, pkt->tag.stype_env, pkt->tag.sid); in vcc_write()
/linux/fs/affs/
H A Damigaffs.h74 __be32 stype; member
103 __be32 stype; member
H A Dinode.c92 switch (be32_to_cpu(tail->stype)) { in affs_iget()
98 if (be32_to_cpu(tail->stype) == ST_USERDIR || in affs_iget()
185 if (tail->stype == cpu_to_be32(ST_ROOT)) { in affs_write_inode()
385 AFFS_TAIL(sb, bh)->stype = cpu_to_be32(type); in affs_add_entry()
H A Damigaffs.c209 switch (be32_to_cpu(AFFS_TAIL(sb, bh)->stype)) { in affs_remove_link()
290 switch (be32_to_cpu(AFFS_TAIL(sb, bh)->stype)) { in affs_remove_header()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfweh.h362 struct sk_buff *skb, u16 stype, in brcmf_fweh_process_skb() argument
378 if (unlikely(stype)) { in brcmf_fweh_process_skb()
380 if (subtype != stype) in brcmf_fweh_process_skb()
H A Dchip.c837 u8 stype, sztype, wraptype; in brcmf_chip_dmp_get_regaddr() local
891 stype = (val & DMP_SLAVE_TYPE) >> DMP_SLAVE_TYPE_S; in brcmf_chip_dmp_get_regaddr()
894 if (*regbase == 0 && stype == DMP_SLAVE_TYPE_SLAVE) in brcmf_chip_dmp_get_regaddr()
896 if (*wrapbase == 0 && stype == wraptype) in brcmf_chip_dmp_get_regaddr()
/linux/drivers/net/ethernet/sun/
H A Dsunvnet_common.c59 pkt->type, pkt->stype, pkt->stype_env, pkt->sid); in vnet_handle_unknown()
83 pkt.tag.stype = VIO_SUBTYPE_INFO; in sunvnet_send_attr_common()
204 pkt->tag.stype = VIO_SUBTYPE_NACK; in handle_attr_info()
220 pkt->tag.stype = VIO_SUBTYPE_ACK; in handle_attr_info()
245 switch (pkt->tag.stype) { in sunvnet_handle_attr_common()
476 .stype = VIO_SUBTYPE_ACK, in vnet_send_ack()
746 if (pkt->tag.stype != VIO_SUBTYPE_ACK) in handle_mcast()
750 pkt->tag.stype, in handle_mcast()
849 pkt->tag.stype = VIO_SUBTYPE_INFO; in vnet_event_napi()
866 msgbuf.tag.stype, in vnet_event_napi()
[all …]
/linux/drivers/block/
H A Dsunvdc.c216 pkt->type, pkt->stype, pkt->stype_env, pkt->sid); in vdc_handle_unknown()
232 pkt.tag.stype = VIO_SUBTYPE_INFO; in vdc_send_attr()
253 pkt->tag.stype, pkt->operations, in vdc_handle_attr()
258 if (pkt->tag.stype == VIO_SUBTYPE_ACK) { in vdc_handle_attr()
397 msgbuf.tag.stype, in vdc_event()
405 if (msgbuf.tag.stype == VIO_SUBTYPE_ACK) in vdc_event()
407 else if (msgbuf.tag.stype == VIO_SUBTYPE_NACK) in vdc_event()
431 .stype = VIO_SUBTYPE_INFO, in __vdc_tx_trigger()
/linux/net/bpf/
H A Dtest_run.c408 enum bpf_cgroup_storage_type stype; in bpf_test_run() local
411 for_each_cgroup_storage_type(stype) { in bpf_test_run()
412 item.cgroup_storage[stype] = bpf_cgroup_storage_alloc(prog, stype); in bpf_test_run()
413 if (IS_ERR(item.cgroup_storage[stype])) { in bpf_test_run()
414 item.cgroup_storage[stype] = NULL; in bpf_test_run()
415 for_each_cgroup_storage_type(stype) in bpf_test_run()
416 bpf_cgroup_storage_free(item.cgroup_storage[stype]); in bpf_test_run()
442 for_each_cgroup_storage_type(stype) in bpf_test_run()
443 bpf_cgroup_storage_free(item.cgroup_storage[stype]); in bpf_test_run()
/linux/drivers/scsi/elx/libefc_sli/
H A 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 …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dutil.c330 u16 stype; in mwifiex_parse_mgmt_packet() local
334 stype = (le16_to_cpu(ieee_hdr->frame_control) & IEEE80211_FCTL_STYPE); in mwifiex_parse_mgmt_packet()
336 switch (stype) { in mwifiex_parse_mgmt_packet()
367 "unknown mgmt frame subtype %#x\n", stype); in mwifiex_parse_mgmt_packet()
/linux/include/linux/
H A Dhwmon.h439 #define HWMON_CHANNEL_INFO(stype, ...) \ argument
441 .type = hwmon_##stype, \
/linux/net/mac80211/
H A Dmesh.c1457 u16 stype, in ieee80211_mesh_rx_bcn_presp() argument
1471 if (stype == IEEE80211_STYPE_PROBE_RESP && in ieee80211_mesh_rx_bcn_presp()
1516 ifmsh->sync_ops->rx_bcn_presp(sdata, stype, mgmt, len, in ieee80211_mesh_rx_bcn_presp()
1686 u16 stype; in ieee80211_mesh_rx_queued_mgmt() local
1696 stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE; in ieee80211_mesh_rx_queued_mgmt()
1698 switch (stype) { in ieee80211_mesh_rx_queued_mgmt()
1701 ieee80211_mesh_rx_bcn_presp(sdata, stype, mgmt, skb->len, in ieee80211_mesh_rx_queued_mgmt()
/linux/net/ipv4/
H A Dip_tunnel_core.c358 int stype = ipv6_addr_type(&ip6h->saddr); in iptunnel_pmtud_check_icmpv6() local
366 if (stype == IPV6_ADDR_ANY || stype == IPV6_ADDR_MULTICAST || in iptunnel_pmtud_check_icmpv6()
367 stype == IPV6_ADDR_LOOPBACK) in iptunnel_pmtud_check_icmpv6()
/linux/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw.h933 u16 stype = WLAN_FC_GET_STYPE(fc); in libipw_get_hdrlen() local
939 if (stype & IEEE80211_STYPE_QOS_DATA) in libipw_get_hdrlen()
/linux/scripts/kconfig/
H A Dgconf.c1003 int stype; in fill_row() local
1076 stype = sym_get_type(sym); in fill_row()
1077 switch (stype) { in fill_row()

12