Home
last modified time | relevance | path

Searched refs:ax (Results 1 – 11 of 11) sorted by relevance

/drivers/net/hamradio/
Dmkiss.c245 static void ax_bump(struct mkiss *ax) in ax_bump() argument
250 spin_lock_bh(&ax->buflock); in ax_bump()
251 if (ax->rbuff[0] > 0x0f) { in ax_bump()
252 if (ax->rbuff[0] & 0x80) { in ax_bump()
253 if (check_crc_16(ax->rbuff, ax->rcount) < 0) { in ax_bump()
254 ax->dev->stats.rx_errors++; in ax_bump()
255 spin_unlock_bh(&ax->buflock); in ax_bump()
259 if (ax->crcmode != CRC_MODE_SMACK && ax->crcauto) { in ax_bump()
262 ax->dev->name); in ax_bump()
263 ax->crcmode = CRC_MODE_SMACK; in ax_bump()
[all …]
/drivers/isdn/hisax/
Dbkm_a8.c80 return (readreg(cs->hw.ax.base, cs->hw.ax.data_adr, offset | 0x80)); in ReadISAC()
86 writereg(cs->hw.ax.base, cs->hw.ax.data_adr, offset | 0x80, value); in WriteISAC()
92 readfifo(cs->hw.ax.base, cs->hw.ax.data_adr, 0x80, data, size); in ReadISACfifo()
98 writefifo(cs->hw.ax.base, cs->hw.ax.data_adr, 0x80, data, size); in WriteISACfifo()
105 return (readreg(cs->hw.ax.base, cs->hw.ax.data_adr, offset + (hscx ? 0x40 : 0))); in ReadHSCX()
111 writereg(cs->hw.ax.base, cs->hw.ax.data_adr, offset + (hscx ? 0x40 : 0), value); in WriteHSCX()
119 writereg(cs->hw.ax.base, cs->hw.ax.data_adr, IPAC_MASK, in set_ipac_active()
127 #define READHSCX(cs, nr, reg) readreg(cs->hw.ax.base, \
128 cs->hw.ax.data_adr, reg + (nr ? 0x40 : 0))
129 #define WRITEHSCX(cs, nr, reg, data) writereg(cs->hw.ax.base, \
[all …]
Dbkm_a4t.c76 return (readreg(cs->hw.ax.isac_ale, cs->hw.ax.isac_adr, offset)); in ReadISAC()
82 writereg(cs->hw.ax.isac_ale, cs->hw.ax.isac_adr, offset, value); in WriteISAC()
88 readfifo(cs->hw.ax.isac_ale, cs->hw.ax.isac_adr, 0, data, size); in ReadISACfifo()
94 writefifo(cs->hw.ax.isac_ale, cs->hw.ax.isac_adr, 0, data, size); in WriteISACfifo()
100 …return (readreg(cs->hw.ax.jade_ale, cs->hw.ax.jade_adr, offset + (jade == -1 ? 0 : (jade ? 0xC0 : … in ReadJADE()
106 …writereg(cs->hw.ax.jade_ale, cs->hw.ax.jade_adr, offset + (jade == -1 ? 0 : (jade ? 0xC0 : 0x80)),… in WriteJADE()
113 #define READJADE(cs, nr, reg) readreg(cs->hw.ax.jade_ale, \
114 cs->hw.ax.jade_adr, reg + (nr == -1 ? 0 : (nr ? 0xC0 : 0x80)))
115 #define WRITEJADE(cs, nr, reg, data) writereg(cs->hw.ax.jade_ale, \
116 cs->hw.ax.jade_adr, reg + (nr == -1 ? 0 : (nr ? 0xC0 : 0x80)), data)
[all …]
Dhisax.h916 struct bkm_hw ax; member
/drivers/net/ethernet/8390/
Dax88796.c321 struct ax_device *ax = to_ax_dev(dev); in ax_handle_link_change() local
325 if (phy_dev->link && ((ax->speed != phy_dev->speed) || in ax_handle_link_change()
326 (ax->duplex != phy_dev->duplex))) { in ax_handle_link_change()
328 ax->speed = phy_dev->speed; in ax_handle_link_change()
329 ax->duplex = phy_dev->duplex; in ax_handle_link_change()
333 if (phy_dev->link != ax->link) { in ax_handle_link_change()
335 ax->speed = 0; in ax_handle_link_change()
336 ax->duplex = -1; in ax_handle_link_change()
338 ax->link = phy_dev->link; in ax_handle_link_change()
349 struct ax_device *ax = to_ax_dev(dev); in ax_mii_probe() local
[all …]
/drivers/usb/wusbcore/
Dcrypto.c140 struct aes_ccm_a ax; member
229 WARN_ON(sizeof(scratch->ax) != sizeof(struct aes_ccm_block)); in wusb_ccm_mac()
285 scratch->ax.flags = 0x01; /* as per WUSB 1.0 spec */ in wusb_ccm_mac()
286 scratch->ax.ccm_nonce = *n; in wusb_ccm_mac()
287 scratch->ax.counter = 0; in wusb_ccm_mac()
288 crypto_cipher_encrypt_one(tfm_aes, (void *)&scratch->ax, in wusb_ccm_mac()
289 (void *)&scratch->ax); in wusb_ccm_mac()
290 bytewise_xor(mic, &scratch->ax, iv, 8); in wusb_ccm_mac()
/drivers/char/
Dtoshiba.c261 unsigned short ax,bx; in tosh_ioctl() local
272 ax = regs.eax & 0xff00; in tosh_ioctl()
275 if (((ax==0xff00) || (ax==0xfe00)) && (bx>0x0069)) in tosh_ioctl()
281 if (((ax==0xf300) || (ax==0xf400)) && (bx==0x0004)) { in tosh_ioctl()
/drivers/media/common/b2c2/
Dflexcop-fe-tuner.c87 u16 ax; in flexcop_set_tone() local
93 ax = 0x01ff; in flexcop_set_tone()
96 ax = 0; in flexcop_set_tone()
104 v.lnb_switch_freq_200.LNB_CTLHighCount_sig = ax; in flexcop_set_tone()
105 v.lnb_switch_freq_200.LNB_CTLLowCount_sig = ax == 0 ? 0x1ff : ax; in flexcop_set_tone()
/drivers/lguest/x86/
Dswitcher_32.S300 xorw %ax, %ax
Dcore.c200 case offsetof(struct pt_regs, ax): in lguest_arch_regptr()
/drivers/hv/
Dvmbus_drv.c67 wrmsrl(HV_X64_MSR_CRASH_P1, regs->ax); in hyperv_report_panic()