/drivers/net/hamradio/ |
D | mkiss.c | 246 static void ax_bump(struct mkiss *ax) in ax_bump() argument 251 spin_lock_bh(&ax->buflock); in ax_bump() 252 if (ax->rbuff[0] > 0x0f) { in ax_bump() 253 if (ax->rbuff[0] & 0x80) { in ax_bump() 254 if (check_crc_16(ax->rbuff, ax->rcount) < 0) { in ax_bump() 255 ax->dev->stats.rx_errors++; in ax_bump() 256 spin_unlock_bh(&ax->buflock); in ax_bump() 260 if (ax->crcmode != CRC_MODE_SMACK && ax->crcauto) { in ax_bump() 263 ax->dev->name); in ax_bump() 264 ax->crcmode = CRC_MODE_SMACK; in ax_bump() [all …]
|
/drivers/net/ethernet/8390/ |
D | ax88796.c | 322 struct ax_device *ax = to_ax_dev(dev); in ax_handle_link_change() local 323 struct phy_device *phy_dev = ax->phy_dev; in ax_handle_link_change() 326 if (phy_dev->link && ((ax->speed != phy_dev->speed) || in ax_handle_link_change() 327 (ax->duplex != phy_dev->duplex))) { in ax_handle_link_change() 329 ax->speed = phy_dev->speed; in ax_handle_link_change() 330 ax->duplex = phy_dev->duplex; in ax_handle_link_change() 334 if (phy_dev->link != ax->link) { in ax_handle_link_change() 336 ax->speed = 0; in ax_handle_link_change() 337 ax->duplex = -1; in ax_handle_link_change() 339 ax->link = phy_dev->link; in ax_handle_link_change() [all …]
|
/drivers/isdn/hisax/ |
D | bkm_a8.c | 80 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 …]
|
D | bkm_a4t.c | 76 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 …]
|
D | hisax.h | 916 struct bkm_hw ax; member
|
/drivers/usb/wusbcore/ |
D | crypto.c | 208 struct aes_ccm_a ax; in wusb_ccm_mac() local 222 WARN_ON(sizeof(ax) != sizeof(struct aes_ccm_block)); in wusb_ccm_mac() 281 ax.flags = 0x01; /* as per WUSB 1.0 spec */ in wusb_ccm_mac() 282 ax.ccm_nonce = *n; in wusb_ccm_mac() 283 ax.counter = 0; in wusb_ccm_mac() 284 crypto_cipher_encrypt_one(tfm_aes, (void *)&ax, (void *)&ax); in wusb_ccm_mac() 285 bytewise_xor(mic, &ax, iv, 8); in wusb_ccm_mac()
|
/drivers/char/ |
D | toshiba.c | 261 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/dvb/b2c2/ |
D | flexcop-fe-tuner.c | 75 u16 ax; in flexcop_set_tone() local 81 ax = 0x01ff; in flexcop_set_tone() 84 ax = 0; in flexcop_set_tone() 92 v.lnb_switch_freq_200.LNB_CTLHighCount_sig = ax; in flexcop_set_tone() 93 v.lnb_switch_freq_200.LNB_CTLLowCount_sig = ax == 0 ? 0x1ff : ax; in flexcop_set_tone()
|
/drivers/lguest/x86/ |
D | switcher_32.S | 300 xorw %ax, %ax
|