• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/

Lines Matching refs:rid

497  * so all rid access should use the read/writeXXXRid routines.
786 u8 rates[8]; /* Same as rates for config rid */
882 #define AIROGCAP 0 // Capability rid
931 unsigned short ridnum; // rid number
979 unsigned int rid: 16;
1114 static int bap_setup(struct airo_info*, u16 rid, u16 offset, int whichbap);
1121 static int PC4500_accessrid(struct airo_info*, u16 rid, u16 accmd);
1122 static int PC4500_readrid(struct airo_info*, u16 rid, void *pBuf, int len, int lock);
1123 static int PC4500_writerid(struct airo_info*, u16 rid, const void
1125 static int do_writerid( struct airo_info*, u16 rid, const void *rid_data,
1866 static int readStatsRid(struct airo_info*ai, StatsRid *sr, int rid, int lock)
1868 return PC4500_readrid(ai, rid, sr, sizeof(*sr), lock);
2627 ai->config_desc.rid_desc.rid = 0;
3600 "rid=%x, offset=%d", rsp.rsp0, rsp.rsp1, rsp.rsp2);
3992 static int bap_setup(struct airo_info *ai, u16 rid, u16 offset, int whichbap )
3997 OUT4500(ai, SELECT0+whichbap, rid);
4008 /* invalid rid or offset */
4021 OUT4500(ai, SELECT0+whichbap, rid);
4105 static int PC4500_accessrid(struct airo_info *ai, u16 rid, u16 accmd)
4113 cmd.parm0 = rid;
4124 static int PC4500_readrid(struct airo_info *ai, u16 rid, void *pBuf, int len, int lock)
4141 ai->config_desc.rid_desc.rid = 0;
4145 cmd.parm0 = rid;
4158 if ((status = PC4500_accessrid(ai, rid, CMD_ACCESS))!=SUCCESS) {
4162 if (bap_setup(ai, rid, 0, BAP1) != SUCCESS) {
4166 // read the rid length field
4168 // length for remaining part of rid
4174 (int)rid, (int)len );
4178 // read remainder of the rid
4189 static int PC4500_writerid(struct airo_info *ai, u16 rid,
4205 if (test_bit(FLAG_ENABLED, &ai->flags) && (RID_WEP_TEMP != rid))
4207 "%s: MAC should be disabled (rid=%04x)",
4208 __func__, rid);
4214 ai->config_desc.rid_desc.rid = 0;
4217 cmd.parm0 = rid;
4231 airo_print_err(ai->dev->name, "%s: Write rid Error %d",
4241 // --- first access so that we can write the rid data
4242 if ( (status = PC4500_accessrid(ai, rid, CMD_ACCESS)) != 0) {
4246 // --- now write the rid data
4247 if (bap_setup(ai, rid, 0, BAP1) != SUCCESS) {
4252 // ---now commit the rid data
4253 rc = PC4500_accessrid(ai, rid, 0x100|CMD_ACCESS);
4762 u16 rid )
4781 readStatsRid(apriv, &stats, rid, 1);
4796 airo_print_warn(apriv->dev->name, "Got a short rid");
5199 static int do_writerid( struct airo_info *ai, u16 rid, const void *rid_data,
5204 rc = PC4500_writerid(ai, rid, rid_data, len, 1);
7881 /* get the count of bytes in the rid docs say 1st 2 bytes is it.
7903 static int (* writer)(struct airo_info *, u16 rid, const void *, int, int);
7932 /* this is not really a rid but a command given to the card
7949 * only reads rid. But as it changes the cards state, I put it in the