Home
last modified time | relevance | path

Searched refs:dtr (Results 1 – 25 of 44) sorted by relevance

12

/drivers/net/irda/
Desi-sir.c99 int dtr, rts; in esi_change_speed() local
103 dtr = TRUE; in esi_change_speed()
107 dtr = rts = TRUE; in esi_change_speed()
114 dtr = FALSE; in esi_change_speed()
120 sirdev_set_dtr_rts(dev, dtr, rts); in esi_change_speed()
Dsir-dev.h94 int (*set_dtr_rts)(struct sir_dev *dev, int dtr, int rts);
119 int sirdev_set_dtr_rts(struct sir_dev *dev, int dtr, int rts);
146 static inline int sirdev_schedule_dtr_rts(struct sir_dev *dev, int dtr, int rts) in sirdev_schedule_dtr_rts() argument
150 dtrrts = ((dtr) ? 0x02 : 0x00) | ((rts) ? 0x01 : 0x00); in sirdev_schedule_dtr_rts()
Dirtty-sir.c145 static int irtty_set_dtr_rts(struct sir_dev *dev, int dtr, int rts) in irtty_set_dtr_rts() argument
158 if (dtr) in irtty_set_dtr_rts()
/drivers/rtc/
Drtc-isl1208.c176 int dtr = i2c_smbus_read_byte_data(client, ISL1208_REG_DTR); in isl1208_i2c_get_dtr() local
177 if (dtr < 0) in isl1208_i2c_get_dtr()
181 dtr = ((dtr & 0x3) * 20) * (dtr & (1 << 2) ? -1 : 1); in isl1208_i2c_get_dtr()
183 return dtr; in isl1208_i2c_get_dtr()
240 int sr, dtr, atr, usr; in isl1208_rtc_proc() local
259 dtr = isl1208_i2c_get_dtr(client); in isl1208_rtc_proc()
260 if (dtr >= 0 - 1) in isl1208_rtc_proc()
261 seq_printf(seq, "digital_trim\t: %d ppm\n", dtr); in isl1208_rtc_proc()
566 int dtr = isl1208_i2c_get_dtr(to_i2c_client(dev)); in isl1208_sysfs_show_dtrim() local
567 if (dtr < 0) in isl1208_sysfs_show_dtrim()
[all …]
Drtc-x1205.c298 unsigned char dtr; in x1205_get_dtrim() local
311 .buf = &dtr in x1205_get_dtrim()
321 dev_dbg(&client->dev, "%s: raw dtr=%x\n", __func__, dtr); in x1205_get_dtrim()
325 if (dtr & X1205_DTR_DTR0) in x1205_get_dtrim()
328 if (dtr & X1205_DTR_DTR1) in x1205_get_dtrim()
331 if (dtr & X1205_DTR_DTR2) in x1205_get_dtrim()
/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c323 static inline void vxge_re_pre_post(void *dtr, struct vxge_ring *ring, in vxge_re_pre_post() argument
329 vxge_hw_ring_rxd_1b_set(dtr, rx_priv->data_dma, rx_priv->data_size); in vxge_re_pre_post()
330 vxge_hw_ring_rxd_pre_post(ring->handle, dtr); in vxge_re_pre_post()
354 vxge_rx_1b_compl(struct __vxge_hw_ring *ringh, void *dtr, in vxge_rx_1b_compl() argument
375 prefetch((char *)dtr + L1_CACHE_BYTES); in vxge_rx_1b_compl()
376 rx_priv = vxge_hw_ring_rxd_private_get(dtr); in vxge_rx_1b_compl()
386 vxge_hw_ring_rxd_1b_get(ringh, dtr, &dma_sizes); in vxge_rx_1b_compl()
395 vxge_hw_ring_rxd_1b_info_get(ringh, dtr, &ext_info); in vxge_rx_1b_compl()
402 if (vxge_hw_ring_handle_tcode(ringh, dtr, t_code) != in vxge_rx_1b_compl()
415 vxge_re_pre_post(dtr, ring, rx_priv); in vxge_rx_1b_compl()
[all …]
/drivers/tty/hvc/
Dhvsi_lib.c286 int hvsilib_write_mctrl(struct hvsi_priv *pv, int dtr) in hvsilib_write_mctrl() argument
292 if (dtr) in hvsilib_write_mctrl()
301 dtr ? "Setting" : "Clearing"); in hvsilib_write_mctrl()
307 ctrl.word = cpu_to_be32(dtr ? HVSI_TSDTR : 0); in hvsilib_write_mctrl()
/drivers/usb/serial/
Dkobil_sct.c428 int dtr = 0; in kobil_tiocmset() local
442 dtr = 1; in kobil_tiocmset()
446 dtr = 0; in kobil_tiocmset()
449 if (dtr != 0) in kobil_tiocmset()
457 ((dtr != 0) ? SUSBCR_SSL_SETDTR : SUSBCR_SSL_CLRDTR), in kobil_tiocmset()
Dbelkin_sa.c457 int dtr = 0; in belkin_sa_tiocmset() local
468 dtr = 1; in belkin_sa_tiocmset()
476 dtr = 0; in belkin_sa_tiocmset()
488 retval = BSA_USB_CMD(BELKIN_SA_SET_DTR_REQUEST, dtr); in belkin_sa_tiocmset()
Dkeyspan_usa28msg.h116 dtr; // 1=on, 0=off member
Dkeyspan_usa49msg.h160 dtr; // 1=on, 0=off member
Dkeyspan_usa90msg.h85 dtr; // 1=on, 0=off member
/drivers/md/
Ddm-snap-transient.c107 .dtr = transient_dtr,
119 .dtr = transient_dtr,
Ddm-crypt.c80 void (*dtr)(struct crypt_config *cc); member
771 .dtr = crypt_iv_essiv_dtr,
779 .dtr = crypt_iv_benbi_dtr,
789 .dtr = crypt_iv_lmk_dtr,
798 .dtr = crypt_iv_tcw_dtr,
1556 if (cc->iv_gen_ops && cc->iv_gen_ops->dtr) in crypt_dtr()
1557 cc->iv_gen_ops->dtr(cc); in crypt_dtr()
2085 .dtr = crypt_dtr,
Ddm-exception-store.h50 void (*dtr) (struct dm_exception_store *store); member
Ddm-log.c179 log->type->dtr(log); in dm_dirty_log_destroy()
829 .dtr = core_dtr,
847 .dtr = disk_dtr,
Ddm-target.c162 .dtr = io_err_dtr,
Ddm-linear.c174 .dtr = dm_linear_dtr,
Ddm-exception-store.c256 store->type->dtr(store); in dm_exception_store_destroy()
Ddm-snap-persistent.c926 .dtr = persistent_dtr,
941 .dtr = persistent_dtr,
Ddm-android-verity.c59 .dtr = verity_dtr,
641 android_verity_target.dtr = dm_linear_dtr, in add_as_linear_device()
/drivers/tty/
Dmoxa.c1274 int flag = 0, dtr, rts; in moxa_tiocmget() local
1276 MoxaPortGetLineOut(ch, &dtr, &rts); in moxa_tiocmget()
1277 if (dtr) in moxa_tiocmget()
1281 dtr = MoxaPortLineStatus(ch); in moxa_tiocmget()
1282 if (dtr & 1) in moxa_tiocmget()
1284 if (dtr & 2) in moxa_tiocmget()
1286 if (dtr & 4) in moxa_tiocmget()
1295 int dtr, rts; in moxa_tiocmset() local
1304 MoxaPortGetLineOut(ch, &dtr, &rts); in moxa_tiocmset()
1308 dtr = 1; in moxa_tiocmset()
[all …]
/drivers/staging/dgnc/
Ddigi.h154 int dtr; member
Ddgnc_mgmt.c199 ni.dtr = TIOCM_DTR; in dgnc_mgmt_ioctl()
/drivers/block/
Dfloppy.c1264 unsigned long dtr = NOMINAL_DTR; in fdc_specify() local
1276 dtr = 1000; in fdc_specify()
1279 dtr = 300; in fdc_specify()
1291 dtr = 250; in fdc_specify()
1296 scale_dtr = dtr; in fdc_specify()
1340 if ((raw_cmd->rate & 3) == FDCS->dtr) in fdc_dtr()
1351 FDCS->dtr = raw_cmd->rate & 3; in fdc_dtr()
1775 fd_outb(0x80 | (FDCS->dtr & 3), FD_STATUS); in reset_fdc()
4242 FDCS->dtr = -1; in do_floppy_init()

12