Searched refs:ww (Results 1 - 25 of 25) sorted by relevance

/linux-4.1.27/drivers/staging/vt6655/
H A Dmac.c291 unsigned short ww; MACbSoftwareReset() local
296 for (ww = 0; ww < W_MAX_TIMEOUT; ww++) { MACbSoftwareReset()
301 if (ww == W_MAX_TIMEOUT) MACbSoftwareReset()
353 unsigned short ww; MACbSafeRxOff() local
362 for (ww = 0; ww < W_MAX_TIMEOUT; ww++) { MACbSafeRxOff()
367 if (ww == W_MAX_TIMEOUT) { MACbSafeRxOff()
372 for (ww = 0; ww < W_MAX_TIMEOUT; ww++) { MACbSafeRxOff()
377 if (ww == W_MAX_TIMEOUT) { MACbSafeRxOff()
386 for (ww = 0; ww < W_MAX_TIMEOUT; ww++) { MACbSafeRxOff()
391 if (ww == W_MAX_TIMEOUT) { MACbSafeRxOff()
414 unsigned short ww; MACbSafeTxOff() local
424 for (ww = 0; ww < W_MAX_TIMEOUT; ww++) { MACbSafeTxOff()
429 if (ww == W_MAX_TIMEOUT) { MACbSafeTxOff()
434 for (ww = 0; ww < W_MAX_TIMEOUT; ww++) { MACbSafeTxOff()
439 if (ww == W_MAX_TIMEOUT) { MACbSafeTxOff()
449 for (ww = 0; ww < W_MAX_TIMEOUT; ww++) { MACbSafeTxOff()
454 if (ww == W_MAX_TIMEOUT) { MACbSafeTxOff()
570 unsigned short ww; MACvSetCurrRx0DescAddr() local
578 for (ww = 0; ww < W_MAX_TIMEOUT; ww++) { MACvSetCurrRx0DescAddr()
584 if (ww == W_MAX_TIMEOUT) MACvSetCurrRx0DescAddr()
608 unsigned short ww; MACvSetCurrRx1DescAddr() local
616 for (ww = 0; ww < W_MAX_TIMEOUT; ww++) { MACvSetCurrRx1DescAddr()
621 if (ww == W_MAX_TIMEOUT) MACvSetCurrRx1DescAddr()
646 unsigned short ww; MACvSetCurrTx0DescAddrEx() local
654 for (ww = 0; ww < W_MAX_TIMEOUT; ww++) { MACvSetCurrTx0DescAddrEx()
659 if (ww == W_MAX_TIMEOUT) MACvSetCurrTx0DescAddrEx()
684 unsigned short ww; MACvSetCurrAC0DescAddrEx() local
692 for (ww = 0; ww < W_MAX_TIMEOUT; ww++) { MACvSetCurrAC0DescAddrEx()
697 if (ww == W_MAX_TIMEOUT) { MACvSetCurrAC0DescAddrEx()
782 unsigned int ww; MACbPSWakeup() local
791 for (ww = 0; ww < W_MAX_TIMEOUT; ww++) { MACbPSWakeup()
796 if (ww == W_MAX_TIMEOUT) { MACbPSWakeup()
H A Dcard.c922 unsigned short ww; CARDbGetCurrentTSF() local
926 for (ww = 0; ww < W_MAX_TIMEOUT; ww++) { CARDbGetCurrentTSF()
931 if (ww == W_MAX_TIMEOUT) CARDbGetCurrentTSF()
H A Dbaseband.c1929 unsigned short ww; BBbReadEmbedded() local
1938 for (ww = 0; ww < W_MAX_TIMEOUT; ww++) { BBbReadEmbedded()
1947 if (ww == W_MAX_TIMEOUT) { BBbReadEmbedded()
1973 unsigned short ww; BBbWriteEmbedded() local
1984 for (ww = 0; ww < W_MAX_TIMEOUT; ww++) { BBbWriteEmbedded()
1990 if (ww == W_MAX_TIMEOUT) { BBbWriteEmbedded()
H A Drf.c509 unsigned short ww; IFRFbWriteEmbedded() local
515 for (ww = 0; ww < W_MAX_TIMEOUT; ww++) { IFRFbWriteEmbedded()
521 if (ww == W_MAX_TIMEOUT) IFRFbWriteEmbedded()
/linux-4.1.27/drivers/scsi/aic94xx/
H A Daic94xx_reg.c126 #define ASD_READ_SW(ww, type, ord) \
127 static type asd_read_##ww##_##ord(struct asd_ha_struct *asd_ha, \
131 u32 map_offs = (reg - io_handle->ww##_base) + asd_mem_offs_##ww();\
135 #define ASD_WRITE_SW(ww, type, ord) \
136 static void asd_write_##ww##_##ord(struct asd_ha_struct *asd_ha, \
140 u32 map_offs = (reg - io_handle->ww##_base) + asd_mem_offs_##ww();\
/linux-4.1.27/kernel/locking/
H A Dmutex.c109 static __always_inline void ww_mutex_lock_acquired(struct ww_mutex *ww, ww_mutex_lock_acquired() argument
119 DEBUG_LOCKS_WARN_ON(ww->ctx); ww_mutex_lock_acquired()
131 DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock != ww); ww_mutex_lock_acquired()
144 DEBUG_LOCKS_WARN_ON(ww_ctx->ww_class != ww->ww_class); ww_mutex_lock_acquired()
326 struct ww_mutex *ww; mutex_optimistic_spin() local
328 ww = container_of(lock, struct ww_mutex, base); mutex_optimistic_spin()
330 * If ww->ctx is set the contents are undefined, only mutex_optimistic_spin()
337 if (READ_ONCE(ww->ctx)) mutex_optimistic_spin()
354 struct ww_mutex *ww; mutex_optimistic_spin() local
355 ww = container_of(lock, struct ww_mutex, base); mutex_optimistic_spin()
357 ww_mutex_set_context_fastpath(ww, ww_ctx); mutex_optimistic_spin()
483 struct ww_mutex *ww = container_of(lock, struct ww_mutex, base); __ww_mutex_lock_check_stamp() local
484 struct ww_acquire_ctx *hold_ctx = READ_ONCE(ww->ctx); __ww_mutex_lock_check_stamp()
493 ctx->contending_lock = ww; __ww_mutex_lock_check_stamp()
515 struct ww_mutex *ww = container_of(lock, struct ww_mutex, base); __mutex_lock_common() local
516 if (unlikely(ww_ctx == READ_ONCE(ww->ctx))) __mutex_lock_common()
598 struct ww_mutex *ww = container_of(lock, struct ww_mutex, base); __mutex_lock_common() local
599 ww_mutex_set_context_slowpath(ww, ww_ctx); __mutex_lock_common()
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-sis96x.c253 u16 ww = 0; sis96x_probe() local
261 pci_read_config_word(dev, PCI_CLASS_DEVICE, &ww); sis96x_probe()
262 if (PCI_CLASS_SERIAL_SMBUS != ww) { sis96x_probe()
263 dev_err(&dev->dev, "Unsupported device class 0x%04x!\n", ww); sis96x_probe()
/linux-4.1.27/drivers/video/fbdev/
H A Dcg3.c264 int ww, hh; cg3_rdi_maybe_fixup_var() local
268 ww = simple_strtoul(params, &p, 10); cg3_rdi_maybe_fixup_var()
269 if (ww && *p == 'x') { cg3_rdi_maybe_fixup_var()
272 if (var->xres != ww || cg3_rdi_maybe_fixup_var()
274 var->xres = var->xres_virtual = ww; cg3_rdi_maybe_fixup_var()
/linux-4.1.27/arch/x86/crypto/
H A Dcamellia_glue.c1000 u64 kl, kr, ww; camellia_setup128() local
1063 CAMELLIA_F(kl, CAMELLIA_SIGMA1L, CAMELLIA_SIGMA1R, ww); camellia_setup128()
1064 kr ^= ww; camellia_setup128()
1069 kr ^= ww; camellia_setup128()
1070 CAMELLIA_F(kr, CAMELLIA_SIGMA4L, CAMELLIA_SIGMA4R, ww); camellia_setup128()
1071 kl ^= ww; camellia_setup128()
1108 u64 ww; /* temporary variables */ camellia_setup256() local
1172 CAMELLIA_F(kl, CAMELLIA_SIGMA1L, CAMELLIA_SIGMA1R, ww); camellia_setup256()
1173 kr ^= ww; camellia_setup256()
1177 kr ^= ww ^ krr; camellia_setup256()
1178 CAMELLIA_F(kr, CAMELLIA_SIGMA4L, CAMELLIA_SIGMA4R, ww); camellia_setup256()
1179 kl ^= ww; camellia_setup256()
1184 CAMELLIA_F(krl, CAMELLIA_SIGMA5L, CAMELLIA_SIGMA5R, ww); camellia_setup256()
1185 krr ^= ww; camellia_setup256()
1186 CAMELLIA_F(krr, CAMELLIA_SIGMA6L, CAMELLIA_SIGMA6R, ww); camellia_setup256()
1187 krl ^= ww; camellia_setup256()
/linux-4.1.27/drivers/isdn/mISDN/
H A Ddsp_cmx.c1863 u_int w, ww; dsp_cmx_transmit() local
1872 ww = dsp->tx_R; dsp_cmx_transmit()
1875 space = (ww - w - 1) & CMX_BUFF_MASK; dsp_cmx_transmit()
1879 ww = (ww - 1) & CMX_BUFF_MASK; /* end one byte prior tx_R */ dsp_cmx_transmit()
1882 "%d, w=0x%04x, ww=0x%04x\n", __func__, space, dsp_cmx_transmit()
1883 skb->len, w, ww); dsp_cmx_transmit()
1886 ww = (w + skb->len) & CMX_BUFF_MASK; dsp_cmx_transmit()
1887 dsp->tx_W = ww; dsp_cmx_transmit()
1893 (u_long)dsp, (ww - w) & CMX_BUFF_MASK, w, ww, dsp->name); dsp_cmx_transmit()
1898 sprintf(debugbuf, "TX getting (%04x-%04x)%p: ", w, ww, p); dsp_cmx_transmit()
1900 while (w != ww) { dsp_cmx_transmit()
/linux-4.1.27/drivers/net/ethernet/via/
H A Dvia-velocity.c635 u16 ww; safe_disable_mii_autopoll() local
639 for (ww = 0; ww < W_MAX_TIMEOUT; ww++) { safe_disable_mii_autopoll()
687 u16 ww; velocity_mii_read() local
698 for (ww = 0; ww < W_MAX_TIMEOUT; ww++) { velocity_mii_read()
706 if (ww == W_MAX_TIMEOUT) velocity_mii_read()
765 u16 ww; velocity_mii_write() local
781 for (ww = 0; ww < W_MAX_TIMEOUT; ww++) { velocity_mii_write()
788 if (ww == W_MAX_TIMEOUT) velocity_mii_write()
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_modeset_lock.c38 * For basic principles of ww_mutex, see: Documentation/locking/ww-mutex-design.txt
413 * If ctx is not NULL, then its ww acquire context is used and the
/linux-4.1.27/lib/
H A Dlocking-selftest.c1725 print_testname("ww api failures"); ww_tests()
1731 print_testname("ww contexts mixing"); ww_tests()
1736 print_testname("finishing ww context"); ww_tests()
/linux-4.1.27/drivers/mmc/host/
H A Dsdricoh_cs.c130 dev_vdbg(host->dev, "ww %x 0x%x\n", reg, value); sdricoh_writew()
/linux-4.1.27/drivers/isdn/gigaset/
H A Dusb-gigaset.c88 * 41 13 -- -- -- -- 10 00 ww 00 00 00 xx 00 00 00 yy 00 00 00 zz 00 00 00
93 * (ww,xx) pairs seen: (00,00), (00,40), (01,40), (09,80), (19,80)
/linux-4.1.27/sound/core/seq/
H A Dseq_queue.c20 * Nov. 13, 1999 Takashi Iwai <iwai@ww.uni-erlangen.de>
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_attr.c2178 * lpfc_soft_wwpn_show - Return the cfg soft ww port name of the adapter
2198 * lpfc_soft_wwpn_store - Set the ww port name of the adapter
2278 * lpfc_soft_wwnn_show - Return the cfg soft ww node name for the adapter
2296 * lpfc_soft_wwnn_store - sets the ww node name of the adapter
2298 * @buf: contains the ww node name in hexadecimal.
/linux-4.1.27/drivers/block/
H A Dpktcdvd.c1499 pkt_dbg(2, pd, "i:%d ow:%d rw:%d ww:%d rec:%d fin:%d\n", kcdrwd()
2590 seq_printf(m, "\tstate:\t\t\ti:%d ow:%d rw:%d ww:%d rec:%d fin:%d\n", pkt_seq_show()
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
H A Dphy.c1335 /* ctl group not found - either invalid band (NO_CTL) or ww roaming */ carl9170_calc_ctl()
/linux-4.1.27/drivers/media/usb/gspca/
H A Dzc3xx.c6874 * ff d8 ff fe 00 0e 00 00 ss ss 00 01 ww ww hh hh pp pp sd_pkt_scan()
6876 * - 'ww ww' and 'hh hh' are the window dimensions (BE) sd_pkt_scan()
H A Dnw80x.c1926 * frame header = '00 00 hh ww ss xx ff ff' sd_pkt_scan()
1929 * - 'ww': width / 4 sd_pkt_scan()
/linux-4.1.27/include/drm/
H A Ddrm_crtc.h1023 * @connection_mutex: ww mutex protecting connector state and routing
/linux-4.1.27/drivers/isdn/hardware/eicon/
H A Dmessage.c3174 "ww", GET_WORD(parms[2].info), Info); data_b3_req()
4789 "ww", data->Handle, 0); data_rc()
4817 "ww", ncci_ptr->DataAck[ncci_ptr->data_ack_out].Handle, 0); data_ack()
/linux-4.1.27/arch/m68k/ifpsp060/src/
H A Dpfpsp.S6369 # ww |
6394 # ww |
H A Dfpsp.S22247 # ww |
22272 # ww |

Completed in 1164 milliseconds