Home
last modified time | relevance | path

Searched refs:hcf_16 (Results 1 – 20 of 20) sorted by relevance

/drivers/staging/wlags49_h2/
Dmdd.h120 hcf_16 len; \
121 hcf_16 typ; \
127 hcf_16 len; \
128 hcf_16 typ; \
135 hcf_16 len; \
136 hcf_16 typ; \
144 hcf_16 len; \
145 hcf_16 typ; \
154 hcf_16 len; \
155 hcf_16 typ; \
[all …]
Dhcf.h90 #define LOF(x) (sizeof(x)/sizeof(hcf_16)-1)
106 #define CNV_END_SHORT(w) (hcf_16)( ((hcf_16)(w) & 0x00FF) << 8 | ((hcf_16)(w) & 0xFF00) >> 8 )
123 #define CNV_SHORTP_TO_LITTLE(pw) ((hcf_16)(*(hcf_8 *)pw)) | ((hcf_16)(*((hcf_8 *)pw+1)) << 8)
128 #define CNV_SHORTP_TO_LITTLE(pw) (*(hcf_16 *)pw)
176 hcf_16 buf_dim[2];
264 hcf_16 IFB_IORange; // I/O Range used by Hermes chip
265 hcf_16 IFB_DLMode; // Download Mode state
266 hcf_16 IFB_Cmd; // cmd in progress flag, to be ack-ed before next cmd can be issued
267 hcf_16 IFB_RxFID; // FID of "current" RxFS (non-DMA mode)
269 hcf_16 IFB_TxFID; // fid storage during "delayed" send
[all …]
Dwl_internal.h504 hcf_16 len;
505 hcf_16 typ;
506 hcf_16 linkStatus; /* 1..5 */
513 hcf_16 len;
514 hcf_16 typ;
515 hcf_16 assocStatus; /* 1..3 */
524 hcf_16 len;
525 hcf_16 typ;
526 hcf_16 securityStatus; /* 1..3 */
528 hcf_16 reason;
[all …]
Dhcf.c105 HCF_STATIC int cmd_exe( IFBP ifbp, hcf_16 cmd_code, hcf_16 par_0 );
118 HCF_STATIC hcf_16 get_fid( IFBP ifbp );
129 HCF_STATIC int setup_bap( IFBP ifbp, hcf_16 fid, int offset, int type );
142 static hcf_16 in_port_word( hcf_io port ) { in in_port_word()
143 hcf_16 i = (hcf_16)_inpw( port ); in in_port_word()
150 #define OUT_PORT_WORD(port, value) out_port_word( (hcf_io)(port), (hcf_16)(value) )
152 static void out_port_word( hcf_io port, hcf_16 value ) { in out_port_word()
161 hcf_16 FAR * p; in IN_PORT_STRING_32()
164 (hcf_16)n, (hcf_16)n, (hcf_16)(prt)&0xFF, dst); in IN_PORT_STRING_32()
167 p = (hcf_16 FAR *)dst; in IN_PORT_STRING_32()
[all …]
Dwl_if.h71 #define MAX_LTV_BUF_SIZE (512 - (sizeof(hcf_16) * 2))
74 (sizeof(hcf_16) * 2))
179 hcf_16 len;
180 hcf_16 typ;
183 hcf_16 u16[MAX_LTV_BUF_SIZE / sizeof(hcf_16)];
Dsta_h2.c4384 sizeof(CFG_IDENTITY_STRCT) / sizeof(hcf_16) - 1,
4442 { 3 + ((20 * sizeof(CFG_RANGE_SPEC_STRCT)) / sizeof(hcf_16)),
4450 { 3 + ((20 * sizeof(CFG_RANGE_SPEC_STRCT)) / sizeof(hcf_16)),
4460 { 3 + ((20 * sizeof(CFG_RANGE_SPEC_STRCT)) / sizeof(hcf_16)),
Dap_h2.c3241 sizeof(CFG_IDENTITY_STRCT) / sizeof(hcf_16) - 1,
3299 { 3 + ((20 * sizeof(CFG_RANGE_SPEC_STRCT)) / sizeof(hcf_16)),
3307 { 3 + ((20 * sizeof(CFG_RANGE_SPEC_STRCT)) / sizeof(hcf_16)),
3317 { 3 + ((20 * sizeof(CFG_RANGE_SPEC_STRCT)) / sizeof(hcf_16)),
Dap_h25.c3999 sizeof(CFG_IDENTITY_STRCT) / sizeof(hcf_16) - 1,
4057 { 3 + ((20 * sizeof(CFG_RANGE_SPEC_STRCT)) / sizeof(hcf_16)),
4065 { 3 + ((20 * sizeof(CFG_RANGE_SPEC_STRCT)) / sizeof(hcf_16)),
4074 { 3 + ((20 * sizeof(CFG_RANGE_SPEC_STRCT)) / sizeof(hcf_16)),
Dsta_h25.c5160 sizeof( CFG_IDENTITY_STRCT ) / sizeof(hcf_16) - 1,
5218 { 3 + ((20 * sizeof(CFG_RANGE_SPEC_STRCT)) / sizeof(hcf_16)),
5226 { 3 + ((20 * sizeof(CFG_RANGE_SPEC_STRCT)) / sizeof(hcf_16)),
5235 { 3 + ((20 * sizeof(CFG_RANGE_SPEC_STRCT)) / sizeof(hcf_16)),
Ddhf.h107 hcf_16 len;
222 EXTERN_C hcf_16 *find_record_in_pda(hcf_16 *pdap, hcf_16 code);
Dmmd.c185 hcf_16 i; in mmd_check_comp()
241 MMDASSERT( DO_ASSERT, MERGE_2( ((hcf_16*)supp)[i], ((hcf_16*)supp)[i+1] ) ); in mmd_check_comp()
244 MMDASSERT( DO_ASSERT, MERGE_2( ((hcf_16*)actp)[i], ((hcf_16*)actp)[i+1] ) ); in mmd_check_comp()
Dhcfcfg.h245 typedef unsigned short hcf_16; typedef
439 #define IN_PORT_WORD(port) ((hcf_16)inw( (hcf_io)(port) ))
441 #define OUT_PORT_WORD(port, value) (outw((hcf_16) (value), (hcf_io)(port) ))
554 typedef hcf_16 FAR *wci_recordp; // segmented 16-bits or flat 32-bits pointer to 16 bits unit
566 typedef hcf_16 hcf_io;
Dwl_enc.h99 hcf_16 wTxKeyID;
100 hcf_16 wEnabled;
Dwl_priv.c575 hcf_16 hcfPort = HCF_PORT_0; in wvlan_uil_put_info()
586 if (urq->len < (sizeof(hcf_16) * 2)) { in wvlan_uil_put_info()
605 copy_from_user(&(lp->ltvRecord), urq->data, sizeof(hcf_16) * 2); in wvlan_uil_put_info()
609 if (((lp->ltvRecord.len + 1) * sizeof(hcf_16)) > urq->len) { in wvlan_uil_put_info()
1011 (pLtv->len * sizeof(hcf_16))); in wvlan_uil_put_info()
1203 if (urq->len < (sizeof(hcf_16) * 2)) { in wvlan_uil_get_info()
1213 result = verify_area(VERIFY_READ, urq->data, sizeof(hcf_16) * 2); in wvlan_uil_get_info()
1222 result = copy_from_user(&(lp->ltvRecord), urq->data, sizeof(hcf_16) * 2); in wvlan_uil_get_info()
1226 if (((lp->ltvRecord.len + 1) * sizeof(hcf_16)) > urq->len) { in wvlan_uil_get_info()
1292 memcpy(pLtv, &(lp->ltvRecord), sizeof(hcf_16) * 2); in wvlan_uil_get_info()
[all …]
Dwl_util.c498 numAPs = (hcf_16)(( (size_t)( pLtv->len - 1 ) * 2 ) / in wl_endian_translate_event()
613 void msf_assert( unsigned int line_number, hcf_16 trace, hcf_32 qual ) in msf_assert()
701 hcf_8 * wl_parse_wpa_ie( PROBE_RESP *probe_rsp, hcf_16 *length ) in wl_parse_wpa_ie()
999 hcf_16 link_stat; in wl_process_link_status()
1060 hcf_16 wpa_ie_len = 0; in wl_process_probe_response()
1445 lp->ltvRecord.len = 1 + HCF_TOT_TAL_CNT * sizeof(hcf_16); in wl_get_tallies()
Dwl_wext.c528 hcf_16 channel = CNV_LITTLE_TO_INT( lp->ltvRecord.u.u16[0] ); in wireless_get_frequency()
598 lp->ltvRecord.len = 1 + (sizeof(*pTxRate) / sizeof(hcf_16)); in wireless_get_range()
1220 lp->ltvRecord.len = 1 + ( sizeof( *pName ) / sizeof( hcf_16 )); in wireless_get_essid()
1264 lp->ltvRecord.len = 1 + ( sizeof(*pName ) / sizeof( hcf_16 )); in wireless_get_essid()
1576 lp->ltvRecord.len = 1 + ( sizeof( *pName ) / sizeof( hcf_16 )); in wireless_get_nickname()
1635 hcf_16 portType; in wireless_set_porttype()
1636 hcf_16 createIBSS; in wireless_set_porttype()
1751 hcf_16 *pPortType; in wireless_get_porttype()
1768 lp->ltvRecord.len = 1 + ( sizeof( *pPortType ) / sizeof( hcf_16 )); in wireless_get_porttype()
1774 pPortType = (hcf_16 *)&( lp->ltvRecord.u.u32 ); in wireless_get_porttype()
[all …]
Dwl_main.c838 lp->driverIdentity.len = ( sizeof( lp->driverIdentity ) / sizeof( hcf_16 )) - 1; in wl_insert()
1258 lp->DefaultKeys.len = sizeof( lp->DefaultKeys ) / sizeof( hcf_16 ) - 1; in wl_set_wep_keys()
1496 lp->ltvRecord.u.u16[2] = ( MB_SIZE / sizeof( hcf_16 )); in wl_put_ltv()
1598 lp->ltvRecord.len = 2 + ( len / sizeof( hcf_16 )); in wl_put_ltv()
1683 lp->ltvRecord.len = 2 + (len / sizeof(hcf_16)); in wl_put_ltv()
1958 lp->ltvRecord.len = 1 + ( ETH_ALEN / sizeof( hcf_16 )); in wl_put_ltv()
1981 lp->ltvRecord.len = 2 + (len / sizeof(hcf_16)); in wl_put_ltv()
2915 num_aps = (hcf_16)(( (size_t)(ltv->len - 1 ) * 2 ) / in wl_endian_translate_mailbox()
3019 hcf_16 ltv_val = 0xFFFF; in wl_process_mailbox()
3037 num_aps = (hcf_16)(( (size_t)(ltv->len - 1 ) * 2 ) / in wl_process_mailbox()
[all …]
Dhcfdef.h569 #define LOF(x) (sizeof(x)/sizeof(hcf_16)-1)
572 #define MERGE_2( hw, lw ) ( ( ((hcf_32)(hw)) << 16 ) | ((hcf_16)(lw)) )
619 #define IPW(x) ((hcf_16)IN_PORT_WORD( ifbp->IFB_IOBase + (x) ) )
Dwl_netdev.c893 hcf_16 pktlen; in wl_rx()
894 hcf_16 hfs_stat; in wl_rx()
911 hfs_stat = (hcf_16)(( lp->lookAheadBuf[HFS_STAT] ) | in wl_rx()
1877 hcf_16 pktlen; in wl_rx_dma()
1878 hcf_16 hfs_stat; in wl_rx_dma()
1936 hfs_stat = (hcf_16)( desc->buf_addr[HFS_STAT/2] ); in wl_rx_dma()
Dwl_util.h81 hcf_8 *wl_parse_wpa_ie(PROBE_RESP *probe_rsp, hcf_16 *length);