Home
last modified time | relevance | path

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

/drivers/media/usb/dvb-usb/
Ddibusb-common.c141 int ret, wo, len; in dibusb_i2c_msg() local
144 wo = (rbuf == NULL || rlen == 0); in dibusb_i2c_msg()
146 len = 2 + wlen + (wo ? 0 : 2); in dibusb_i2c_msg()
158 sndbuf[0] = wo ? DIBUSB_REQ_I2C_WRITE : DIBUSB_REQ_I2C_READ; in dibusb_i2c_msg()
159 sndbuf[1] = (addr << 1) | (wo ? 0 : 1); in dibusb_i2c_msg()
163 if (!wo) { in dibusb_i2c_msg()
Ddigitv.c29 int ret, wo; in digitv_ctrl_msg() local
31 wo = (rbuf == NULL || rlen == 0); /* write-only */ in digitv_ctrl_msg()
41 st->sndbuf[2] = wo ? wlen : rlen; in digitv_ctrl_msg()
43 if (wo) { in digitv_ctrl_msg()
/drivers/media/usb/dvb-usb-v2/
Dau6610.c70 u8 wo = (rbuf == NULL || rlen == 0); /* write-only */ in au6610_i2c_msg() local
72 if (wo) { in au6610_i2c_msg()
Dmxl111sf.c56 int wo = (rbuf == NULL || rlen == 0); /* write-only */ in mxl111sf_ctrl_msg() local
73 ret = (wo) ? dvb_usbv2_generic_write(d, state->sndbuf, 1+wlen) : in mxl111sf_ctrl_msg()
/drivers/block/drbd/
Ddrbd_receiver.c1428 max_allowed_wo(struct drbd_backing_dev *bdev, enum write_ordering_e wo) in max_allowed_wo() argument
1434 if (wo == WO_BDEV_FLUSH && !dc->disk_flushes) in max_allowed_wo()
1435 wo = WO_DRAIN_IO; in max_allowed_wo()
1436 if (wo == WO_DRAIN_IO && !dc->disk_drain) in max_allowed_wo()
1437 wo = WO_NONE; in max_allowed_wo()
1439 return wo; in max_allowed_wo()
1447 enum write_ordering_e wo) in drbd_bump_write_ordering() argument
1459 if (wo != WO_BDEV_FLUSH) in drbd_bump_write_ordering()
1460 wo = min(pwo, wo); in drbd_bump_write_ordering()
1464 wo = max_allowed_wo(device->ldev, wo); in drbd_bump_write_ordering()
[all …]
Ddrbd_int.h1588 enum write_ordering_e wo);
/drivers/gpu/drm/i915/gt/
Dselftest_workarounds.c1015 static const struct regmask wo[] = { in writeonly_reg() local
1019 return find_reg(i915, reg, wo, ARRAY_SIZE(wo)); in writeonly_reg()