Searched refs:rtr (Results 1 – 6 of 6) sorted by relevance
/drivers/net/can/mscan/ |
D | mscan.c | 191 int i, rtr, buf_id; in mscan_start_xmit() local 227 rtr = frame->can_id & CAN_RTR_FLAG; in mscan_start_xmit() 233 if (rtr) in mscan_start_xmit() 244 if (rtr) in mscan_start_xmit() 249 if (!rtr) { in mscan_start_xmit()
|
/drivers/net/can/cc770/ |
D | cc770.c | 389 u8 dlc, rtr; in cc770_tx() local 395 rtr = cf->can_id & CAN_RTR_FLAG ? 0 : MSGCFG_DIR; in cc770_tx() 405 (dlc << 4) | rtr | MSGCFG_XTD); in cc770_tx() 412 cc770_write_reg(priv, msgobj[mo].config, (dlc << 4) | rtr); in cc770_tx()
|
/drivers/net/ethernet/wiznet/ |
D | w5100.c | 666 u32 rtr; in w5100_hw_reset() local 676 rtr = W5100_RTR; in w5100_hw_reset() 680 rtr = W5100_RTR; in w5100_hw_reset() 684 rtr = W5500_RTR; in w5100_hw_reset() 690 if (w5100_read16(priv, rtr) != RTR_DEFAULT) in w5100_hw_reset()
|
/drivers/net/can/ |
D | grcan.c | 1174 u32 i, rtr, eff, j, shift; in grcan_receive() local 1196 rtr = slot[0] & GRCAN_MSG_RTR; in grcan_receive() 1207 if (rtr) { in grcan_receive() 1353 u32 i, rtr, eff, dlc, tmp, err; in grcan_start_xmit() local 1395 rtr = cf->can_id & CAN_RTR_FLAG; in grcan_start_xmit() 1402 slot[0] = (eff ? GRCAN_MSG_IDE : 0) | (rtr ? GRCAN_MSG_RTR : 0) | tmp; in grcan_start_xmit()
|
/drivers/net/can/c_can/ |
D | c_can.c | 298 bool rtr = frame->can_id & CAN_RTR_FLAG; in c_can_setup_tx_object() local 309 if (!rtr) in c_can_setup_tx_object() 316 if (rtr != (bool)test_bit(idx, &priv->tx_dir)) { in c_can_setup_tx_object()
|
/drivers/net/can/spi/ |
D | mcp251x.c | 641 u32 sid, eid, exide, rtr; in mcp251x_hw_tx() local 650 rtr = (frame->can_id & CAN_RTR_FLAG) ? 1 : 0; /* Remote transmission */ in mcp251x_hw_tx() 659 buf[TXBDLC_OFF] = (rtr << DLC_RTR_SHIFT) | frame->can_dlc; in mcp251x_hw_tx()
|