/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | sense.c | 65 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/ |
A D | psc-i2s.c | 41 #define I2SSTAT_BUSY(stype) \ argument 43 #define I2SPCR_START(stype) \ argument 45 #define I2SPCR_STOP(stype) \ argument 47 #define I2SPCR_CLRFIFO(stype) \ argument 194 __raw_writel(I2SPCR_CLRFIFO(stype), I2S_PCR(pscdata)); in au1xpsc_i2s_start() 196 __raw_writel(I2SPCR_START(stype), I2S_PCR(pscdata)); in au1xpsc_i2s_start() 205 __raw_writel(I2SPCR_STOP(stype), I2S_PCR(pscdata)); in au1xpsc_i2s_start() 217 __raw_writel(I2SPCR_STOP(stype), I2S_PCR(pscdata)); in au1xpsc_i2s_stop() 240 int ret, stype = substream->stream; in au1xpsc_i2s_trigger() local 245 ret = au1xpsc_i2s_start(pscdata, stype); in au1xpsc_i2s_trigger() [all …]
|
A D | psc-ac97.c | 39 #define AC97PCR_START(stype) \ argument 41 #define AC97PCR_STOP(stype) \ argument 43 #define AC97PCR_CLRFIFO(stype) \ argument 46 #define AC97STAT_BUSY(stype) \ argument 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() 292 int ret, stype = substream->stream; in au1xpsc_ac97_trigger() local 299 __raw_writel(AC97PCR_CLRFIFO(stype), AC97_PCR(pscdata)); in au1xpsc_ac97_trigger() 301 __raw_writel(AC97PCR_START(stype), AC97_PCR(pscdata)); in au1xpsc_ac97_trigger() 306 __raw_writel(AC97PCR_STOP(stype), AC97_PCR(pscdata)); in au1xpsc_ac97_trigger() [all …]
|
A D | dbdma2.c | 149 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()
|
A D | i2sc.c | 140 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()
|
A D | dma.c | 221 int stype = substream->stream; in alchemy_pcm_close() local 223 ctx->stream[stype].substream = NULL; in alchemy_pcm_close() 224 free_au1000_dma(ctx->stream[stype].dma); in alchemy_pcm_close()
|
/linux/kernel/bpf/ |
A D | local_storage.c | 418 enum bpf_cgroup_storage_type stype; in cgroup_storage_seq_show_elem() local 430 stype = cgroup_storage_type(map); in cgroup_storage_seq_show_elem() 431 if (stype == BPF_CGROUP_STORAGE_SHARED) { in cgroup_storage_seq_show_elem() 468 if (aux->cgroup_storage[stype] && in bpf_cgroup_storage_assign() 469 aux->cgroup_storage[stype] != _map) in bpf_cgroup_storage_assign() 472 aux->cgroup_storage[stype] = _map; in bpf_cgroup_storage_assign() 494 enum bpf_cgroup_storage_type stype) in bpf_cgroup_storage_alloc() argument 502 map = prog->aux->cgroup_storage[stype]; in bpf_cgroup_storage_alloc() 554 enum bpf_cgroup_storage_type stype; in bpf_cgroup_storage_free() local 561 stype = cgroup_storage_type(map); in bpf_cgroup_storage_free() [all …]
|
A D | cgroup.c | 33 enum bpf_cgroup_storage_type stype; in bpf_cgroup_storages_free() local 35 for_each_cgroup_storage_type(stype) in bpf_cgroup_storages_free() 45 enum bpf_cgroup_storage_type stype; in bpf_cgroup_storages_alloc() local 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() 67 new_storages[stype] = storages[stype]; in bpf_cgroup_storages_alloc() 76 enum bpf_cgroup_storage_type stype; in bpf_cgroup_storages_assign() local 78 for_each_cgroup_storage_type(stype) in bpf_cgroup_storages_assign() 79 dst[stype] = src[stype]; in bpf_cgroup_storages_assign() [all …]
|
/linux/arch/sparc/kernel/ |
A D | viohs.c | 44 tag->stype = stype; in init_tag() 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() 545 switch (pkt->tag.stype) { in process_dreg() 585 pkt->tag.stype = VIO_SUBTYPE_ACK; in process_rdx_info() [all …]
|
A D | ldc.c | 49 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() 1603 p->stype = LDC_INFO; in write_nonraw() 1620 p->stype, in write_nonraw() 1662 if (p->stype & LDC_ACK) { in data_ack_nack() 1667 if (p->stype & LDC_NACK) in data_ack_nack() 1728 p->stype = LDC_ACK; in send_data_ack() [all …]
|
/linux/drivers/net/wireless/intersil/hostap/ |
A D | hostap_80211_rx.c | 393 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() 511 (stype == IEEE80211_STYPE_BEACON || in hostap_rx_frame_mgmt() 513 hostap_rx_sta_beacon(local, skb, stype); in hostap_rx_frame_mgmt() 723 u16 fc, type, stype, sc; in hostap_80211_rx() local 754 stype = fc & IEEE80211_FCTL_STYPE; in hostap_80211_rx() 821 stype == IEEE80211_STYPE_AUTH && in hostap_80211_rx() 898 if (stype != IEEE80211_STYPE_DATA && in hostap_80211_rx() 899 stype != IEEE80211_STYPE_DATA_CFACK && in hostap_80211_rx() [all …]
|
A D | hostap_ap.c | 2143 u16 fc, type, stype; in handle_ap_item() local 2151 stype = fc & IEEE80211_FCTL_STYPE; in handle_ap_item() 2178 stype == IEEE80211_STYPE_NULLFUNC) 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 2889 stype != IEEE80211_STYPE_PSPOLL) in hostap_update_sta_ps2() 2930 u16 fc, type, stype; in hostap_handle_sta_rx() local 2940 stype = fc & IEEE80211_FCTL_STYPE; in hostap_handle_sta_rx() 2965 type >> 2, stype >> 4); in hostap_handle_sta_rx() [all …]
|
/linux/include/linux/ |
A D | bpf-cgroup.h | 94 #define for_each_cgroup_storage_type(stype) \ argument 95 for (stype = 0; stype < MAX_BPF_CGROUP_STORAGE_TYPE; stype++) 210 enum bpf_cgroup_storage_type stype); 486 struct bpf_prog *prog, enum bpf_cgroup_storage_type stype) { return NULL; } in bpf_cgroup_storage_alloc() argument 528 #define for_each_cgroup_storage_type(stype) for (; false; ) argument
|
/linux/drivers/tty/ |
A D | vcc.c | 88 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() 837 pkt->tag.stype = tosend; in vcc_write() 840 pkt->tag.stype, pkt->tag.stype_env, pkt->tag.sid); in vcc_write()
|
/linux/drivers/net/wireless/intel/ipw2x00/ |
A D | libipw_rx.c | 168 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() 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() 557 stype != IEEE80211_STYPE_DATA_CFPOLL && in libipw_rx() 559 if (stype != IEEE80211_STYPE_NULLFUNC) in libipw_rx() [all …]
|
/linux/net/bpf/ |
A D | test_run.c | 97 enum bpf_cgroup_storage_type stype; in bpf_test_run() local 100 for_each_cgroup_storage_type(stype) { in bpf_test_run() 101 item.cgroup_storage[stype] = bpf_cgroup_storage_alloc(prog, stype); in bpf_test_run() 102 if (IS_ERR(item.cgroup_storage[stype])) { in bpf_test_run() 103 item.cgroup_storage[stype] = NULL; in bpf_test_run() 104 for_each_cgroup_storage_type(stype) in bpf_test_run() 105 bpf_cgroup_storage_free(item.cgroup_storage[stype]); in bpf_test_run() 125 for_each_cgroup_storage_type(stype) in bpf_test_run() 126 bpf_cgroup_storage_free(item.cgroup_storage[stype]); in bpf_test_run()
|
/linux/fs/affs/ |
A D | amigaffs.h | 73 __be32 stype; member 102 __be32 stype; member
|
A D | inode.c | 92 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() 388 AFFS_TAIL(sb, bh)->stype = cpu_to_be32(type); in affs_add_entry()
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
A D | fweh.h | 326 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()
|
/linux/drivers/net/ethernet/sun/ |
A D | sunvnet_common.c | 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() 945 .stype = VIO_SUBTYPE_INFO, in __vnet_tx_trigger() [all …]
|
/linux/drivers/block/ |
A D | sunvdc.c | 214 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()
|
/linux/net/mac80211/ |
A D | mesh_sync.c | 81 mesh_sync_offset_rx_bcn_presp(struct ieee80211_sub_if_data *sdata, u16 stype, in mesh_sync_offset_rx_bcn_presp() argument 94 if (stype != IEEE80211_STYPE_BEACON) in mesh_sync_offset_rx_bcn_presp()
|
/linux/drivers/staging/rtl8192e/ |
A D | rtllib_rx.c | 208 u16 stype) in rtllib_rx_frame_mgmt() argument 919 u8 frag, type, stype; in rtllib_rx_check_duplicate() local 923 stype = WLAN_FC_GET_STYPE(fc); 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() 1019 stype != RTLLIB_STYPE_QOS_DATA) { in rtllib_rx_data_filter() 1020 if (stype != RTLLIB_STYPE_NULLFUNC) in rtllib_rx_data_filter() 1023 type, stype); in rtllib_rx_data_filter() [all …]
|
/linux/drivers/staging/rtl8192u/ieee80211/ |
A D | ieee80211_rx.c | 210 u16 stype) in ieee80211_rx_frame_mgmt() argument 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() 1103 if (stype != IEEE80211_STYPE_DATA && in ieee80211_rx() 1104 stype != IEEE80211_STYPE_DATA_CFACK && in ieee80211_rx() 1105 stype != IEEE80211_STYPE_DATA_CFPOLL && in ieee80211_rx() 1106 stype != IEEE80211_STYPE_DATA_CFACKPOLL && in ieee80211_rx() 1109 if (stype != IEEE80211_STYPE_NULLFUNC) in ieee80211_rx() [all …]
|
/linux/net/wireless/ |
A D | mlme.c | 651 u16 stype; in cfg80211_mlme_mgmt_tx() local 667 stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE; in cfg80211_mlme_mgmt_tx() 668 if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].tx & BIT(stype >> 4))) in cfg80211_mlme_mgmt_tx() 776 u16 stype; in cfg80211_rx_mgmt_khz() local 779 stype = (le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE) >> 4; in cfg80211_rx_mgmt_khz() 781 if (!(stypes->rx & BIT(stype))) { in cfg80211_rx_mgmt_khz()
|