Home
last modified time | relevance | path

Searched refs:can_addr (Results 1 – 9 of 9) sorted by relevance

/linux/tools/include/linux/
H A Dmodule.h7 static inline bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument
/linux/Documentation/networking/
H A Diso15765-2.rst116 } can_addr;
122 * ``can_addr.tp.rx_id`` specifies the receive (RX) CAN ID and will be used as
125 * ``can_addr.tp.tx_id`` specifies the transmit (TX) CAN ID
372 addr.can_addr.tp.tx_id = 0x18DA42F1 | CAN_EFF_FLAG;
373 addr.can_addr.tp.rx_id = 0x18DAF142 | CAN_EFF_FLAG;
H A Dj1939.rst302 } can_addr;
307 ``can_addr.j1939.pgn`` specifies the PGN (max 0x3ffff). Individual bits are
310 ``can_addr.j1939.name`` contains the 64-bit J1939 NAME.
312 ``can_addr.j1939.addr`` contains the address.
332 If ``can_addr.j1939.name`` is set (!= 0) the NAME is looked up by the kernel and
333 the corresponding ADDR is used. If ``can_addr.j1939.name`` is not set (== 0),
334 ``can_addr.j1939.addr`` is used.
897 .can_addr.j1939 = {
930 .can_addr.j1939 = {
971 .can_addr.j1939 = {
[all …]
H A Dcan.rst297 } can_addr;
/linux/include/uapi/linux/
H A Dcan.h272 } can_addr; member
/linux/net/can/
H A Disotp.c81 #define ISOTP_MIN_NAMELEN CAN_REQUIRED_SIZE(struct sockaddr_can, can_addr.tp)
1270 canid_t tx_id = addr->can_addr.tp.tx_id; in isotp_bind()
1271 canid_t rx_id = addr->can_addr.tp.rx_id; in isotp_bind()
1288 if (tx_id != addr->can_addr.tp.tx_id) in isotp_bind()
1299 if (rx_id != addr->can_addr.tp.rx_id) in isotp_bind()
1382 addr->can_addr.tp.rx_id = so->rxid; in isotp_getname()
1383 addr->can_addr.tp.tx_id = so->txid; in isotp_getname()
/linux/include/linux/
H A Dpercpu.h129 extern bool __is_kernel_percpu_address(unsigned long addr, unsigned long *can_addr);
/linux/kernel/module/
H A Dmain.c498 bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument
514 if (can_addr) { in __is_module_percpu_address()
515 *can_addr = (unsigned long) (va - start); in __is_module_percpu_address()
516 *can_addr += (unsigned long) in __is_module_percpu_address()
571 bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument
/linux/kernel/locking/
H A Dlockdep.c957 unsigned long can_addr, addr = (unsigned long)lock; in assign_lock_key() local
970 if (__is_kernel_percpu_address(addr, &can_addr)) in assign_lock_key()
971 lock->key = (void *)can_addr; in assign_lock_key()
972 else if (__is_module_percpu_address(addr, &can_addr)) in assign_lock_key()
973 lock->key = (void *)can_addr; in assign_lock_key()