Home
last modified time | relevance | path

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

123456

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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 Ddbdma2.c149 int stype, int msbits) in au1x_pcm_dbdma_realloc() argument
161 if (stype == SNDRV_PCM_STREAM_CAPTURE) in au1x_pcm_dbdma_realloc()
198 int stype, ret; in au1xpsc_pcm_hw_params() local
200 stype = substream->stream; in au1xpsc_pcm_hw_params()
210 params_periods(params), params_period_bytes(params), stype); in au1xpsc_pcm_hw_params()
212 ret = au1x_pcm_dbdma_realloc(pcd, stype, params->msbits); in au1xpsc_pcm_hw_params()
282 int stype = substream->stream, *dmaids; in au1xpsc_pcm_open() local
288 pcd->ddma_id = dmaids[stype]; in au1xpsc_pcm_open()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tl/
H A Dmali_kbase_timeline.c62 enum tl_stream_type stype; in kbasep_timeline_autoflush_timer_callback() local
69 for (stype = (enum tl_stream_type)0; stype < TL_STREAM_TYPE_COUNT; in kbasep_timeline_autoflush_timer_callback()
70 stype++) { in kbasep_timeline_autoflush_timer_callback()
71 struct kbase_tlstream *stream = &timeline->streams[stype]; in kbasep_timeline_autoflush_timer_callback()
291 enum tl_stream_type stype; in kbase_timeline_streams_flush() local
307 for (stype = 0; stype < TL_STREAM_TYPE_COUNT; stype++) { in kbase_timeline_streams_flush()
308 nbytes = kbase_tlstream_flush_stream(&timeline->streams[stype]); in kbase_timeline_streams_flush()
399 enum tl_stream_type stype; in kbase_timeline_stats() local
405 for (stype = (enum tl_stream_type)0; stype < TL_STREAM_TYPE_COUNT; in kbase_timeline_stats()
406 stype++) in kbase_timeline_stats()
[all …]
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dlocal_storage.c422 enum bpf_cgroup_storage_type stype = cgroup_storage_type(map); in cgroup_storage_seq_show_elem() local
434 stype = cgroup_storage_type(map); in cgroup_storage_seq_show_elem()
435 if (stype == BPF_CGROUP_STORAGE_SHARED) { in cgroup_storage_seq_show_elem()
470 enum bpf_cgroup_storage_type stype = cgroup_storage_type(_map); in bpf_cgroup_storage_assign() local
472 if (aux->cgroup_storage[stype] && in bpf_cgroup_storage_assign()
473 aux->cgroup_storage[stype] != _map) in bpf_cgroup_storage_assign()
476 aux->cgroup_storage[stype] = _map; in bpf_cgroup_storage_assign()
498 enum bpf_cgroup_storage_type stype) in bpf_cgroup_storage_alloc() argument
506 map = prog->aux->cgroup_storage[stype]; in bpf_cgroup_storage_alloc()
522 if (stype == BPF_CGROUP_STORAGE_SHARED) { in bpf_cgroup_storage_alloc()
[all …]
H A Dcgroup.c33 enum bpf_cgroup_storage_type stype; in bpf_cgroup_storages_free() local
35 for_each_cgroup_storage_type(stype) in bpf_cgroup_storages_free()
36 bpf_cgroup_storage_free(storages[stype]); in bpf_cgroup_storages_free()
45 enum bpf_cgroup_storage_type stype; in bpf_cgroup_storages_alloc() local
52 for_each_cgroup_storage_type(stype) { in bpf_cgroup_storages_alloc()
53 map = prog->aux->cgroup_storage[stype]; in bpf_cgroup_storages_alloc()
57 storages[stype] = cgroup_storage_lookup((void *)map, &key, false); in bpf_cgroup_storages_alloc()
58 if (storages[stype]) in bpf_cgroup_storages_alloc()
61 storages[stype] = bpf_cgroup_storage_alloc(prog, stype); in bpf_cgroup_storages_alloc()
62 if (IS_ERR(storages[stype])) { in bpf_cgroup_storages_alloc()
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dbpf-cgroup.h43 #define for_each_cgroup_storage_type(stype) \ argument
44 for (stype = 0; stype < MAX_BPF_CGROUP_STORAGE_TYPE; stype++)
173 enum bpf_cgroup_storage_type stype; in bpf_cgroup_storage_set() local
182 for_each_cgroup_storage_type(stype) in bpf_cgroup_storage_set()
183 this_cpu_write(bpf_cgroup_storage_info[i].storage[stype], in bpf_cgroup_storage_set()
184 storage[stype]); in bpf_cgroup_storage_set()
212 enum bpf_cgroup_storage_type stype);
459 struct bpf_prog *prog, enum bpf_cgroup_storage_type stype) { return NULL; } in bpf_cgroup_storage_alloc() argument
499 #define for_each_cgroup_storage_type(stype) for (; false; ) argument
/OK3568_Linux_fs/kernel/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()
495 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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/hostap/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_tlstream.c1011 static void kbasep_tlstream_flush_stream(enum tl_stream_type stype) in kbasep_tlstream_flush_stream() argument
1013 struct tl_stream *stream = tl_stream[stype]; in kbasep_tlstream_flush_stream()
1047 enum tl_stream_type stype; in kbasep_tlstream_autoflush_timer_callback() local
1052 for (stype = 0; stype < TL_STREAM_TYPE_COUNT; stype++) { in kbasep_tlstream_autoflush_timer_callback()
1053 struct tl_stream *stream = tl_stream[stype]; in kbasep_tlstream_autoflush_timer_callback()
1115 enum tl_stream_type *stype, in kbasep_tlstream_packet_pending() argument
1120 KBASE_DEBUG_ASSERT(stype); in kbasep_tlstream_packet_pending()
1124 *stype = 0; in kbasep_tlstream_packet_pending()
1125 (*stype < TL_STREAM_TYPE_COUNT) && !pending; in kbasep_tlstream_packet_pending()
1126 (*stype)++) { in kbasep_tlstream_packet_pending()
[all …]
/OK3568_Linux_fs/u-boot/scripts/kconfig/
H A Dzconf.y192 menu_set_type($1->stype);
195 $1->stype);
207 if ($1->stype != S_UNKNOWN)
208 menu_set_type($1->stype);
211 $1->stype);
296 if ($1->stype == S_BOOLEAN || $1->stype == S_TRISTATE) {
297 menu_set_type($1->stype);
300 $1->stype);
313 if ($1->stype == S_UNKNOWN) {
/OK3568_Linux_fs/buildroot/support/kconfig/
H A Dzconf.y209 menu_set_type($1->stype);
212 $1->stype);
224 if ($1->stype != S_UNKNOWN)
225 menu_set_type($1->stype);
228 $1->stype);
316 if ($1->stype == S_BOOLEAN || $1->stype == S_TRISTATE) {
317 menu_set_type($1->stype);
320 $1->stype);
333 if ($1->stype == S_UNKNOWN) {
/OK3568_Linux_fs/external/xserver/xkb/
H A DxkbUtils.c936 XkbKeyTypePtr stype = NULL, dtype = NULL; in _XkbCopyClientMap() local
1016 stype = src->map->types; in _XkbCopyClientMap()
1018 for (i = 0; i < src->map->num_types; i++, dtype++, stype++) { in _XkbCopyClientMap()
1019 if (stype->num_levels && stype->level_names) { in _XkbCopyClientMap()
1020 if (stype->num_levels != dtype->num_levels && in _XkbCopyClientMap()
1024 stype->num_levels, sizeof(Atom)); in _XkbCopyClientMap()
1031 tmp = malloc(stype->num_levels * sizeof(Atom)); in _XkbCopyClientMap()
1036 dtype->num_levels = stype->num_levels; in _XkbCopyClientMap()
1037 memcpy(dtype->level_names, stype->level_names, in _XkbCopyClientMap()
1038 stype->num_levels * sizeof(Atom)); in _XkbCopyClientMap()
[all …]
/OK3568_Linux_fs/kernel/net/bpf/
H A Dtest_run.c91 enum bpf_cgroup_storage_type stype; in bpf_test_run() local
94 for_each_cgroup_storage_type(stype) { in bpf_test_run()
95 storage[stype] = bpf_cgroup_storage_alloc(prog, stype); in bpf_test_run()
96 if (IS_ERR(storage[stype])) { in bpf_test_run()
97 storage[stype] = NULL; in bpf_test_run()
98 for_each_cgroup_storage_type(stype) in bpf_test_run()
99 bpf_cgroup_storage_free(storage[stype]); in bpf_test_run()
123 for_each_cgroup_storage_type(stype) in bpf_test_run()
124 bpf_cgroup_storage_free(storage[stype]); in bpf_test_run()
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/ipw2x00/
H A 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 …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/crypto/
H A Dgcmp.c19 u16 fc, stype, seq; in gcmp_aad_nonce() local
24 stype = WLAN_FC_GET_STYPE(fc); in gcmp_aad_nonce()
31 if (stype & WLAN_FC_STYPE_QOS_DATA) { in gcmp_aad_nonce()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/crypto/
H A Dgcmp.c19 u16 fc, stype, seq; in gcmp_aad_nonce() local
24 stype = WLAN_FC_GET_STYPE(fc); in gcmp_aad_nonce()
31 if (stype & WLAN_FC_STYPE_QOS_DATA) { in gcmp_aad_nonce()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/crypto/
H A Dgcmp.c19 u16 fc, stype, seq; in gcmp_aad_nonce() local
24 stype = WLAN_FC_GET_STYPE(fc); in gcmp_aad_nonce()
31 if (stype & WLAN_FC_STYPE_QOS_DATA) { in gcmp_aad_nonce()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/crypto/
H A Dgcmp.c19 u16 fc, stype, seq; in gcmp_aad_nonce() local
24 stype = WLAN_FC_GET_STYPE(fc); in gcmp_aad_nonce()
31 if (stype & WLAN_FC_STYPE_QOS_DATA) { in gcmp_aad_nonce()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/crypto/
H A Dgcmp.c20 u16 fc, stype, seq; in gcmp_aad_nonce() local
25 stype = WLAN_FC_GET_STYPE(fc); in gcmp_aad_nonce()
32 if (stype & WLAN_FC_STYPE_QOS_DATA) { in gcmp_aad_nonce()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/crypto/
H A Dgcmp.c20 u16 fc, stype, seq; in gcmp_aad_nonce() local
25 stype = WLAN_FC_GET_STYPE(fc); in gcmp_aad_nonce()
32 if (stype & WLAN_FC_STYPE_QOS_DATA) { in gcmp_aad_nonce()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/crypto/
H A Dgcmp.c19 u16 fc, stype, seq; in gcmp_aad_nonce() local
24 stype = WLAN_FC_GET_STYPE(fc); in gcmp_aad_nonce()
31 if (stype & WLAN_FC_STYPE_QOS_DATA) { in gcmp_aad_nonce()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/crypto/
H A Dgcmp.c19 u16 fc, stype, seq; in gcmp_aad_nonce() local
24 stype = WLAN_FC_GET_STYPE(fc); in gcmp_aad_nonce()
31 if (stype & WLAN_FC_STYPE_QOS_DATA) { in gcmp_aad_nonce()

123456