Home
last modified time | relevance | path

Searched refs:bap (Results 1 – 7 of 7) sorted by relevance

/drivers/net/wireless/orinoco/
Dhermes.c348 static int hermes_bap_seek(hermes_t *hw, int bap, u16 id, u16 offset) in hermes_bap_seek() argument
350 int sreg = bap ? HERMES_SELECT1 : HERMES_SELECT0; in hermes_bap_seek()
351 int oreg = bap ? HERMES_OFFSET1 : HERMES_OFFSET0; in hermes_bap_seek()
385 "reg=0x%x id=0x%x offset=0x%x\n", hw->iobase, bap, in hermes_bap_seek()
405 int hermes_bap_pread(hermes_t *hw, int bap, void *buf, int len, in hermes_bap_pread() argument
408 int dreg = bap ? HERMES_DATA1 : HERMES_DATA0; in hermes_bap_pread()
414 err = hermes_bap_seek(hw, bap, id, offset); in hermes_bap_pread()
431 int hermes_bap_pwrite(hermes_t *hw, int bap, const void *buf, int len, in hermes_bap_pwrite() argument
434 int dreg = bap ? HERMES_DATA1 : HERMES_DATA0; in hermes_bap_pwrite()
440 err = hermes_bap_seek(hw, bap, id, offset); in hermes_bap_pwrite()
[all …]
Dhermes.h403 int hermes_bap_pread(hermes_t *hw, int bap, void *buf, int len,
405 int hermes_bap_pwrite(hermes_t *hw, int bap, const void *buf, int len,
407 int hermes_read_ltv(hermes_t *hw, int bap, u16 rid, unsigned buflen,
409 int hermes_write_ltv(hermes_t *hw, int bap, u16 rid,
473 #define HERMES_READ_RECORD(hw, bap, rid, buf) \ argument
474 (hermes_read_ltv((hw),(bap),(rid), sizeof(*buf), NULL, (buf)))
475 #define HERMES_WRITE_RECORD(hw, bap, rid, buf) \ argument
476 (hermes_write_ltv((hw),(bap),(rid),HERMES_BYTES_TO_RECLEN(sizeof(*buf)),(buf)))
478 static inline int hermes_read_wordrec(hermes_t *hw, int bap, u16 rid, u16 *word) in hermes_read_wordrec() argument
483 err = HERMES_READ_RECORD(hw, bap, rid, &rec); in hermes_read_wordrec()
[all …]
/drivers/net/wireless/hostap/
Dhostap_pci.c182 static int hfa384x_from_bap(struct net_device *dev, u16 bap, void *buf, in hfa384x_from_bap() argument
188 d_off = (bap == 1) ? HFA384X_DATA1_OFF : HFA384X_DATA0_OFF; in hfa384x_from_bap()
201 static int hfa384x_to_bap(struct net_device *dev, u16 bap, void *buf, int len) in hfa384x_to_bap() argument
206 d_off = (bap == 1) ? HFA384X_DATA1_OFF : HFA384X_DATA0_OFF; in hfa384x_to_bap()
Dhostap_plx.c223 static int hfa384x_from_bap(struct net_device *dev, u16 bap, void *buf, in hfa384x_from_bap() argument
229 d_off = (bap == 1) ? HFA384X_DATA1_OFF : HFA384X_DATA0_OFF; in hfa384x_from_bap()
243 static int hfa384x_to_bap(struct net_device *dev, u16 bap, void *buf, int len) in hfa384x_to_bap() argument
248 d_off = (bap == 1) ? HFA384X_DATA1_OFF : HFA384X_DATA0_OFF; in hfa384x_to_bap()
Dhostap_cs.c158 static int hfa384x_from_bap(struct net_device *dev, u16 bap, void *buf, in hfa384x_from_bap() argument
164 d_off = (bap == 1) ? HFA384X_DATA1_OFF : HFA384X_DATA0_OFF; in hfa384x_from_bap()
178 static int hfa384x_to_bap(struct net_device *dev, u16 bap, void *buf, int len) in hfa384x_to_bap() argument
183 d_off = (bap == 1) ? HFA384X_DATA1_OFF : HFA384X_DATA0_OFF; in hfa384x_to_bap()
Dhostap_hw.c756 static int hfa384x_setup_bap(struct net_device *dev, u16 bap, u16 id, in hfa384x_setup_bap() argument
762 if (offset % 2 || bap > 1) in hfa384x_setup_bap()
765 if (bap == BAP1) { in hfa384x_setup_bap()
796 dev->name, bap, id, offset, HFA384X_INW(o_off)); in hfa384x_setup_bap()
/drivers/staging/wlan-ng/
Dhfa384x.h2762 u16 bap,
2770 u16 bap,