Home
last modified time | relevance | path

Searched full:dtr (Results 1 – 25 of 224) sorted by relevance

123456789

/Linux-v5.15/drivers/spi/
Dspi-cadence-quadspi.c55 bool dtr; member
308 static unsigned int cqspi_calc_dummy(const struct spi_mem_op *op, bool dtr) in cqspi_calc_dummy() argument
316 if (dtr) in cqspi_calc_dummy()
330 * For an op to be DTR, cmd phase along with every other non-empty in cqspi_set_protocol()
331 * phase should have dtr field set to 1. If an op phase has zero in cqspi_set_protocol()
332 * nbytes, ignore its dtr field; otherwise, check its dtr field. in cqspi_set_protocol()
334 f_pdata->dtr = op->cmd.dtr && in cqspi_set_protocol()
335 (!op->addr.nbytes || op->addr.dtr) && in cqspi_set_protocol()
336 (!op->data.nbytes || op->data.dtr); in cqspi_set_protocol()
357 /* Right now we only support 8-8-8 DTR mode. */ in cqspi_set_protocol()
[all …]
Dspi-mxic.c351 all_false = !op->cmd.dtr && !op->addr.dtr && !op->dummy.dtr && in mxic_spi_mem_supports_op()
352 !op->data.dtr; in mxic_spi_mem_supports_op()
388 (op->cmd.dtr ? OP_CMD_DDR : 0); in mxic_spi_mem_exec_op()
393 (op->addr.dtr ? OP_ADDR_DDR : 0); in mxic_spi_mem_exec_op()
400 (op->data.dtr ? OP_DATA_DDR : 0); in mxic_spi_mem_exec_op()
403 if (op->data.dtr) in mxic_spi_mem_exec_op()
/Linux-v5.15/arch/x86/include/asm/
Ddesc.h111 #define load_gdt(dtr) native_load_gdt(dtr) argument
112 #define load_idt(dtr) native_load_idt(dtr) argument
116 #define store_gdt(dtr) native_store_gdt(dtr) argument
208 static inline void native_load_gdt(const struct desc_ptr *dtr) in native_load_gdt() argument
210 asm volatile("lgdt %0"::"m" (*dtr)); in native_load_gdt()
213 static __always_inline void native_load_idt(const struct desc_ptr *dtr) in native_load_idt() argument
215 asm volatile("lidt %0"::"m" (*dtr)); in native_load_idt()
218 static inline void native_store_gdt(struct desc_ptr *dtr) in native_store_gdt() argument
220 asm volatile("sgdt %0":"=m" (*dtr)); in native_store_gdt()
223 static inline void store_idt(struct desc_ptr *dtr) in store_idt() argument
[all …]
/Linux-v5.15/include/linux/spi/
Dspi-mem.h77 * @cmd.dtr: whether the command opcode should be sent in DTR mode or not
81 * @addr.dtr: whether the address should be sent in DTR mode or not
89 * @dummy.dtr: whether the dummy bytes should be sent in DTR mode or not
91 * @data.dtr: whether the data should be sent in DTR mode or not
102 u8 dtr : 1; member
109 u8 dtr : 1; member
116 u8 dtr : 1; member
121 u8 dtr : 1; member
/Linux-v5.15/arch/arm/boot/dts/
Dam335x-netcom-plus-2xx.dts27 AM33XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* DTR */
40 AM33XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* DTR */
60 dtr-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>;
71 dtr-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
Dam335x-baltos-ir3220.dts33 …XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* lcd_vsync.gpio2[22] DTR */
46 …XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* gpmc_ad12.gpio1[12] DTR */
65 dtr-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>;
76 dtr-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
Dam335x-baltos-ir5221.dts41 …XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* lcd_vsync.gpio2[22] DTR */
54 …XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* gpmc_ad12.gpio1[12] DTR */
73 dtr-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>;
84 dtr-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
Dimx6dl-eckelmann-ci4x10.dts232 MX6QDL_PAD_EIM_D24__GPIO3_IO24 0x0001b010 /* DTR */
244 MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x0001b010 /* DTR */
327 dtr-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
338 dtr-gpios = <&gpio7 13 GPIO_ACTIVE_LOW>;
Dam335x-baltos-ir2110.dts27 …XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* lcd_vsync.gpio2[22] DTR */
44 dtr-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>;
/Linux-v5.15/drivers/rtc/
Drtc-isl1208.c204 int dtr = i2c_smbus_read_byte_data(client, ISL1208_REG_DTR); in isl1208_i2c_get_dtr() local
205 if (dtr < 0) in isl1208_i2c_get_dtr()
208 /* dtr encodes adjustments of {-60,-40,-20,0,20,40,60} ppm */ in isl1208_i2c_get_dtr()
209 dtr = ((dtr & 0x3) * 20) * (dtr & (1 << 2) ? -1 : 1); in isl1208_i2c_get_dtr()
211 return dtr + 100; in isl1208_i2c_get_dtr()
268 int sr, dtr, atr, usr; in isl1208_rtc_proc() local
287 dtr = isl1208_i2c_get_dtr(client); in isl1208_rtc_proc()
288 if (dtr >= 0) in isl1208_rtc_proc()
289 seq_printf(seq, "digital_trim\t: %d ppm\n", dtr - 100); in isl1208_rtc_proc()
674 int dtr = isl1208_i2c_get_dtr(to_i2c_client(dev->parent)); in isl1208_sysfs_show_dtrim() local
[all …]
Drtc-x1205.c295 unsigned char dtr; in x1205_get_dtrim() local
304 { /* read dtr */ in x1205_get_dtrim()
308 .buf = &dtr in x1205_get_dtrim()
312 /* read dtr register */ in x1205_get_dtrim()
318 dev_dbg(&client->dev, "%s: raw dtr=%x\n", __func__, dtr); in x1205_get_dtrim()
322 if (dtr & X1205_DTR_DTR0) in x1205_get_dtrim()
325 if (dtr & X1205_DTR_DTR1) in x1205_get_dtrim()
328 if (dtr & X1205_DTR_DTR2) in x1205_get_dtrim()
/Linux-v5.15/arch/m68k/include/asm/
Dnettel.h31 * NETtel/5307 based hardware first. DTR/DCD lines are wired to
48 * PPIO bits used for DTR/DCD.
77 * NETtel/5272 based hardware. DTR/DCD lines are wired to GPB lines.
82 #define MCFPP_DTR1 0x0000 /* Port 1 no DTR support */
87 * PPIO bits used for DTR/DCD.
/Linux-v5.15/drivers/usb/serial/
Dbelkin_sa.c307 /* reassert DTR and (maybe) RTS on transition from B0 */ in belkin_sa_set_termios()
311 dev_err(&port->dev, "Set DTR error\n"); in belkin_sa_set_termios()
338 /* Drop RTS and DTR */ in belkin_sa_set_termios()
341 dev_err(&port->dev, "DTR LOW error\n"); in belkin_sa_set_termios()
433 int dtr = 0; in belkin_sa_tiocmset() local
444 dtr = 1; in belkin_sa_tiocmset()
452 dtr = 0; in belkin_sa_tiocmset()
464 retval = BSA_USB_CMD(BELKIN_SA_SET_DTR_REQUEST, dtr); in belkin_sa_tiocmset()
466 dev_err(&port->dev, "Set DTR error %d\n", retval); in belkin_sa_tiocmset()
Dkobil_sct.c257 /* FIXME: Add rts/dtr methods */ in kobil_close()
423 int dtr = 0; in kobil_tiocmset() local
437 dtr = 1; in kobil_tiocmset()
441 dtr = 0; in kobil_tiocmset()
444 if (dtr != 0) in kobil_tiocmset()
445 dev_dbg(dev, "%s - Setting DTR\n", __func__); in kobil_tiocmset()
447 dev_dbg(dev, "%s - Clearing DTR\n", __func__); in kobil_tiocmset()
452 ((dtr != 0) ? SUSBCR_SSL_SETDTR : SUSBCR_SSL_CLRDTR), in kobil_tiocmset()
Dftdi_sio.h92 * Clear DTR
242 * Also - you can not set DTR and RTS with one control message
254 * B0 DTR state
261 * B8 DTR state enable
263 * 1 = use DTR state
289 * B1 Output handshaking using DTR/DSR
Dupd78f0730.c18 * - signals: DTR, RTS and BREAK
42 * state of control signals (DTR, RTS and BREAK).
218 dev_dbg(dev, "%s - set DTR\n", __func__); in upd78f0730_tiocmset()
226 dev_dbg(dev, "%s - clear DTR\n", __func__); in upd78f0730_tiocmset()
/Linux-v5.15/drivers/tty/hvc/
Dhvsi_lib.c287 int hvsilib_write_mctrl(struct hvsi_priv *pv, int dtr) in hvsilib_write_mctrl() argument
293 if (dtr) in hvsilib_write_mctrl()
301 pr_devel("HVSI@%x: %s DTR...\n", pv->termno, in hvsilib_write_mctrl()
302 dtr ? "Setting" : "Clearing"); in hvsilib_write_mctrl()
308 ctrl.word = cpu_to_be32(dtr ? HVSI_TSDTR : 0); in hvsilib_write_mctrl()
363 /* Set our own DTR */ in hvsilib_establish()
401 /* Clear our own DTR */ in hvsilib_close()
/Linux-v5.15/Documentation/devicetree/bindings/serial/
Dcirrus,clps711x-uart.txt11 - {rts,cts,dtr,dsr,rng,dcd}-gpios: specify a GPIO for RTS/CTS/DTR/DSR/RI/DCD
/Linux-v5.15/Documentation/devicetree/bindings/mfd/
Datmel-usart.txt38 - {rts,cts,dtr,dsr,rng,dcd}-gpios: specify a GPIO for RTS/CTS/DTR/DSR/RI/DCD line respectively.
61 dtr-gpios = <&pioD 17 GPIO_ACTIVE_LOW>;
/Linux-v5.15/arch/sh/include/mach-common/mach/
Dsecureedge5410.h30 * D7 - DTR on ttySC1
32 * D9 - ttySC0 DTR (7100)
/Linux-v5.15/arch/x86/boot/compressed/
Didt_64.c25 static void load_boot_idt(const struct desc_ptr *dtr) in load_boot_idt() argument
27 asm volatile("lidt %0"::"m" (*dtr)); in load_boot_idt()
/Linux-v5.15/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 …]
/Linux-v5.15/drivers/tty/
Dtty_port.c324 * Drop DTR/RTS if HUPCL is set. This causes any attached in tty_port_shutdown()
410 * tty_port_raise_dtr_rts - Raise DTR/RTS
413 * Wrapper for the DTR/RTS raise logic. For the moment this is used
425 * tty_port_lower_dtr_rts - Lower DTR/RTS
428 * Wrapper for the DTR/RTS raise logic. For the moment this is used
449 * - rts/dtr/dcd
455 * management of these lines. Note that the dtr/rts raise is done each
Dmoxa.c1260 int flag = 0, dtr, rts; in moxa_tiocmget() local
1262 MoxaPortGetLineOut(ch, &dtr, &rts); in moxa_tiocmget()
1263 if (dtr) in moxa_tiocmget()
1267 dtr = MoxaPortLineStatus(ch); in moxa_tiocmget()
1268 if (dtr & 1) in moxa_tiocmget()
1270 if (dtr & 2) in moxa_tiocmget()
1272 if (dtr & 4) in moxa_tiocmget()
1281 int dtr, rts; in moxa_tiocmset() local
1290 MoxaPortGetLineOut(ch, &dtr, &rts); in moxa_tiocmset()
1294 dtr = 1; in moxa_tiocmset()
[all …]
/Linux-v5.15/drivers/net/hamradio/
Dz8530.h98 #define DTR 0x80 /* DTR */ macro
152 #define DTRREQ 4 /* DTR/Request function */
231 #define FASTDTR 0x10 /* Fast DTR/REQ Mode */

123456789