Home
last modified time | relevance | path

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

12

/linux-2.6.39/drivers/net/mlx4/
Dsense.c64 enum mlx4_port_type *stype, in mlx4_do_sense_ports() argument
72 stype[i - 1] = 0; in mlx4_do_sense_ports()
75 err = mlx4_SENSE_PORT(dev, i, &stype[i - 1]); in mlx4_do_sense_ports()
77 stype[i - 1] = defaults[i - 1]; in mlx4_do_sense_ports()
79 stype[i - 1] = defaults[i - 1]; in mlx4_do_sense_ports()
87 if (stype[0] == MLX4_PORT_TYPE_ETH) { in mlx4_do_sense_ports()
89 stype[i] = stype[i] ? stype[i] : MLX4_PORT_TYPE_ETH; in mlx4_do_sense_ports()
91 if (stype[dev->caps.num_ports - 1] == MLX4_PORT_TYPE_IB) { in mlx4_do_sense_ports()
93 stype[i] = stype[i] ? stype[i] : MLX4_PORT_TYPE_IB; in mlx4_do_sense_ports()
100 stype[i] = stype[i] ? stype[i] : defaults[i]; in mlx4_do_sense_ports()
[all …]
/linux-2.6.39/sound/soc/au1x/
Dpsc-i2s.c44 #define I2SSTAT_BUSY(stype) \ argument
45 ((stype) == PCM_TX ? PSC_I2SSTAT_TB : PSC_I2SSTAT_RB)
46 #define I2SPCR_START(stype) \ argument
47 ((stype) == PCM_TX ? PSC_I2SPCR_TS : PSC_I2SPCR_RS)
48 #define I2SPCR_STOP(stype) \ argument
49 ((stype) == PCM_TX ? PSC_I2SPCR_TP : PSC_I2SPCR_RP)
50 #define I2SPCR_CLRFIFO(stype) \ argument
51 ((stype) == PCM_TX ? 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 au_writel(I2SPCR_CLRFIFO(stype), I2S_PCR(pscdata)); in au1xpsc_i2s_start()
[all …]
Dpsc-ac97.c43 #define AC97PCR_START(stype) \ argument
44 ((stype) == PCM_TX ? PSC_AC97PCR_TS : PSC_AC97PCR_RS)
45 #define AC97PCR_STOP(stype) \ argument
46 ((stype) == PCM_TX ? PSC_AC97PCR_TP : PSC_AC97PCR_RP)
47 #define AC97PCR_CLRFIFO(stype) \ argument
48 ((stype) == PCM_TX ? PSC_AC97PCR_TC : PSC_AC97PCR_RC)
50 #define AC97STAT_BUSY(stype) \ argument
51 ((stype) == PCM_TX ? PSC_AC97STAT_TB : PSC_AC97STAT_RB)
218 int chans, t, stype = SUBSTREAM_TYPE(substream); in au1xpsc_ac97_hw_params() local
238 if (stype == PCM_TX) { in au1xpsc_ac97_hw_params()
[all …]
Ddbdma2.c160 int stype, int msbits) in au1x_pcm_dbdma_realloc() argument
172 if (stype == PCM_RX) in au1x_pcm_dbdma_realloc()
209 int stype, ret; in au1xpsc_pcm_hw_params() local
215 stype = SUBSTREAM_TYPE(substream); in au1xpsc_pcm_hw_params()
225 params_periods(params), params_period_bytes(params), stype); in au1xpsc_pcm_hw_params()
227 ret = au1x_pcm_dbdma_realloc(pcd, stype, params->msbits); in au1xpsc_pcm_hw_params()
/linux-2.6.39/arch/sparc/kernel/
Dviohs.c39 static void init_tag(struct vio_msg_tag *tag, u8 type, u8 stype, u16 stype_env) in init_tag() argument
42 tag->stype = stype; in init_tag()
164 pkt->type, pkt->stype, pkt->stype_env, pkt->sid); in process_unknown()
264 pkt->tag.stype = VIO_SUBTYPE_NACK; in process_ver_info()
270 pkt->tag.stype = VIO_SUBTYPE_NACK; in process_ver_info()
284 pkt->tag.stype = VIO_SUBTYPE_ACK; in process_ver_info()
308 pkt->tag.stype = VIO_SUBTYPE_NACK; in process_ver_ack()
354 switch (pkt->tag.stype) { in process_ver()
453 pkt->tag.stype = VIO_SUBTYPE_ACK; in process_dreg_info()
469 pkt->tag.stype = VIO_SUBTYPE_NACK; in process_dreg_info()
[all …]
Dldc.c44 u8 stype; member
352 u8 stype, u8 ctrl, in handshake_compose_ctrl() argument
361 p->stype = stype; in handshake_compose_ctrl()
499 p->stype = LDC_NACK; in send_data_nack()
655 switch (p->stype) { in process_version()
674 p->stype, p->seqid, p->env); in process_rts()
676 if (p->stype != LDC_INFO || in process_rts()
694 p->stype, p->seqid, p->env); in process_rtr()
696 if (p->stype != LDC_INFO || in process_rtr()
717 p->stype, p->seqid, p->env, p->u.r.ackid); in process_rdx()
[all …]
/linux-2.6.39/drivers/net/wireless/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.c2140 u16 fc, type, stype; in handle_ap_item() local
2148 stype = fc & IEEE80211_FCTL_STYPE; in handle_ap_item()
2156 if (stype == IEEE80211_STYPE_NULLFUNC) { in handle_ap_item()
2175 stype == IEEE80211_STYPE_NULLFUNC) in handle_ap_item()
2182 if (type == IEEE80211_FTYPE_MGMT && stype == IEEE80211_STYPE_BEACON) { in handle_ap_item()
2188 if (type == IEEE80211_FTYPE_CTL && stype == IEEE80211_STYPE_PSPOLL) { in handle_ap_item()
2195 "subtype=0x%02x\n", type, stype); in handle_ap_item()
2217 switch (stype) { in handle_ap_item()
2244 stype >> 4); in handle_ap_item()
2873 int pwrmgt, int type, int stype) in hostap_update_sta_ps2() argument
[all …]
Dhostap.h49 int prism2_sta_send_mgmt(local_info_t *local, u8 *dst, u16 stype,
/linux-2.6.39/scripts/kconfig/
Dzconf.y191 menu_set_type($1->stype);
194 $1->stype);
206 if ($1->stype != S_UNKNOWN)
207 menu_set_type($1->stype);
210 $1->stype);
289 if ($1->stype == S_BOOLEAN || $1->stype == S_TRISTATE) {
290 menu_set_type($1->stype);
293 $1->stype);
306 if ($1->stype == S_UNKNOWN) {
Dlkc.h68 enum symbol_type stype; member
/linux-2.6.39/scripts/
Dkallsyms.c105 char *sym, stype; in read_symbol() local
108 rc = fscanf(in, "%llx %c %499s\n", &s->addr, &stype, str); in read_symbol()
125 else if (toupper(stype) == 'A') in read_symbol()
135 else if (toupper(stype) == 'U' || in read_symbol()
142 else if (stype == 'N') in read_symbol()
155 s->sym[0] = stype; in read_symbol()
/linux-2.6.39/drivers/net/
Dsunvnet.c50 pkt->type, pkt->stype, pkt->stype_env, pkt->sid); in vnet_handle_unknown()
67 pkt.tag.stype = VIO_SUBTYPE_INFO; in vnet_send_attr()
104 pkt->tag.stype = VIO_SUBTYPE_NACK; in handle_attr_info()
112 pkt->tag.stype = VIO_SUBTYPE_ACK; in handle_attr_info()
139 switch (pkt->tag.stype) { in vnet_handle_attr()
253 .stype = VIO_SUBTYPE_ACK, in vnet_send_ack()
467 if (pkt->tag.stype != VIO_SUBTYPE_ACK) in handle_mcast()
471 pkt->tag.stype, in handle_mcast()
545 msgbuf.tag.stype, in vnet_event()
553 if (msgbuf.tag.stype == VIO_SUBTYPE_INFO) { in vnet_event()
[all …]
/linux-2.6.39/include/linux/
Damigaffs.h69 __be32 stype; member
98 __be32 stype; member
/linux-2.6.39/drivers/block/
Dsunvdc.c132 pkt->type, pkt->stype, pkt->stype_env, pkt->sid); in vdc_handle_unknown()
148 pkt.tag.stype = VIO_SUBTYPE_INFO; in vdc_send_attr()
169 pkt->tag.stype, pkt->operations, in vdc_handle_attr()
174 if (pkt->tag.stype == VIO_SUBTYPE_ACK) { in vdc_handle_attr()
303 msgbuf.tag.stype, in vdc_event()
311 if (msgbuf.tag.stype == VIO_SUBTYPE_ACK) in vdc_event()
313 else if (msgbuf.tag.stype == VIO_SUBTYPE_NACK) in vdc_event()
336 .stype = VIO_SUBTYPE_INFO, in __vdc_tx_trigger()
/linux-2.6.39/drivers/staging/rtl8187se/ieee80211/
Dieee80211_rx.c215 u16 stype) in ieee80211_rx_frame_mgmt() argument
235 ieee80211_rx_frame_softmac(ieee, skb, rx_stats, type, stype); in ieee80211_rx_frame_mgmt()
480 u16 fc, type, stype, sc; in ieee80211_rtl_rx() local
503 stype = WLAN_FC_GET_STYPE(fc); in ieee80211_rtl_rx()
569 if (ieee80211_rx_frame_mgmt(ieee, skb, rx_stats, type, stype)) in ieee80211_rtl_rx()
607 if (stype != IEEE80211_STYPE_DATA && in ieee80211_rtl_rx()
608 stype != IEEE80211_STYPE_DATA_CFACK && in ieee80211_rtl_rx()
609 stype != IEEE80211_STYPE_DATA_CFPOLL && in ieee80211_rtl_rx()
610 stype != IEEE80211_STYPE_DATA_CFACKPOLL&& in ieee80211_rtl_rx()
611 stype != IEEE80211_STYPE_QOS_DATA//add by David,2006.8.4 in ieee80211_rtl_rx()
[all …]
/linux-2.6.39/drivers/net/wireless/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-2.6.39/net/mac80211/
Dmesh.c551 u16 stype, in ieee80211_mesh_rx_bcn_presp() argument
565 if (stype == IEEE80211_STYPE_PROBE_RESP && in ieee80211_mesh_rx_bcn_presp()
616 u16 stype; in ieee80211_mesh_rx_queued_mgmt() local
622 stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE; in ieee80211_mesh_rx_queued_mgmt()
624 switch (stype) { in ieee80211_mesh_rx_queued_mgmt()
627 ieee80211_mesh_rx_bcn_presp(sdata, stype, mgmt, skb->len, in ieee80211_mesh_rx_queued_mgmt()
/linux-2.6.39/fs/affs/
Dinode.c95 switch (be32_to_cpu(tail->stype)) { in affs_iget()
101 if (be32_to_cpu(tail->stype) == ST_USERDIR || in affs_iget()
189 if (tail->stype == cpu_to_be32(ST_ROOT)) { in affs_write_inode()
379 AFFS_TAIL(sb, bh)->stype = cpu_to_be32(type); in affs_add_entry()
Damigaffs.c212 switch (be32_to_cpu(AFFS_TAIL(sb, bh)->stype)) { in affs_remove_link()
293 switch (be32_to_cpu(AFFS_TAIL(sb, bh)->stype)) { in affs_remove_header()
/linux-2.6.39/drivers/staging/rtl8192e/ieee80211/
Dieee80211_rx.c217 u16 stype) in ieee80211_rx_frame_mgmt() argument
233 ieee80211_rx_frame_softmac(ieee, skb, rx_stats, type, stype); in ieee80211_rx_frame_mgmt()
247 if (stype == WLAN_FC_STYPE_BEACON && in ieee80211_rx_frame_mgmt()
269 skb->dev->name, type, stype); in ieee80211_rx_frame_mgmt()
896 u16 fc, type, stype, sc; in ieee80211_rtl_rx() local
935 stype = WLAN_FC_GET_STYPE(fc); in ieee80211_rtl_rx()
1058 if (ieee80211_rx_frame_mgmt(ieee, skb, rx_stats, type, stype)) in ieee80211_rtl_rx()
1132 if (stype != IEEE80211_STYPE_DATA && in ieee80211_rtl_rx()
1133 stype != IEEE80211_STYPE_DATA_CFACK && in ieee80211_rtl_rx()
1134 stype != IEEE80211_STYPE_DATA_CFPOLL && in ieee80211_rtl_rx()
[all …]
/linux-2.6.39/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c216 u16 stype) in ieee80211_rx_frame_mgmt() argument
233 ieee80211_rx_frame_softmac(ieee, skb, rx_stats, type, stype); in ieee80211_rx_frame_mgmt()
250 if (stype == WLAN_FC_STYPE_BEACON && in ieee80211_rx_frame_mgmt()
272 skb->dev->name, type, stype); in ieee80211_rx_frame_mgmt()
903 u16 fc, type, stype, sc; in ieee80211_rx() local
943 stype = WLAN_FC_GET_STYPE(fc); in ieee80211_rx()
1069 if (ieee80211_rx_frame_mgmt(ieee, skb, rx_stats, type, stype)) in ieee80211_rx()
1144 if (stype != IEEE80211_STYPE_DATA && in ieee80211_rx()
1145 stype != IEEE80211_STYPE_DATA_CFACK && in ieee80211_rx()
1146 stype != IEEE80211_STYPE_DATA_CFPOLL && in ieee80211_rx()
[all …]
/linux-2.6.39/drivers/staging/tidspbridge/pmgr/
Ddbll.c1185 unsigned stype = DLOAD_SECTION_TYPE(info->type); in dbll_rmm_alloc() local
1203 (stype == DLOAD_TEXT) ? DBLL_CODE : (stype == in dbll_rmm_alloc()
1302 unsigned stype = DLOAD_SECTION_TYPE(info->type); in rmm_dealloc() local
1307 (stype == DLOAD_TEXT) ? DBLL_CODE : (stype == in rmm_dealloc()
/linux-2.6.39/net/wireless/
Dmlme.c896 u16 stype; in cfg80211_mlme_mgmt_tx() local
912 stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE; in cfg80211_mlme_mgmt_tx()
913 if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].tx & BIT(stype >> 4))) in cfg80211_mlme_mgmt_tx()
991 u16 stype; in cfg80211_rx_mgmt() local
993 stype = (le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE) >> 4; in cfg80211_rx_mgmt()
995 if (!(stypes->rx & BIT(stype))) in cfg80211_rx_mgmt()
/linux-2.6.39/security/selinux/ss/
Dpolicydb.h82 u32 stype; /* current process */ member

12