Home
last modified time | relevance | path

Searched refs:mb0_id (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/can/
H A Dat91_can.c140 canid_t mb0_id; member
326 reg_mid = at91_can_id_to_reg_mid(priv->mb0_id); in at91_setup_mailboxes()
1184 if (priv->mb0_id & CAN_EFF_FLAG) in at91_sysfs_show_mb0_id()
1185 return snprintf(buf, PAGE_SIZE, "0x%08x\n", priv->mb0_id); in at91_sysfs_show_mb0_id()
1187 return snprintf(buf, PAGE_SIZE, "0x%03x\n", priv->mb0_id); in at91_sysfs_show_mb0_id()
1217 priv->mb0_id = can_id; in at91_sysfs_set_mb0_id()
1225 static DEVICE_ATTR(mb0_id, 0644, at91_sysfs_show_mb0_id, at91_sysfs_set_mb0_id);
1333 priv->mb0_id = 0x7ff; in at91_can_probe()
/kernel/linux/linux-6.6/drivers/net/can/
H A Dat91_can.c140 canid_t mb0_id; member
326 reg_mid = at91_can_id_to_reg_mid(priv->mb0_id); in at91_setup_mailboxes()
1165 if (priv->mb0_id & CAN_EFF_FLAG) in mb0_id_show()
1166 return sysfs_emit(buf, "0x%08x\n", priv->mb0_id); in mb0_id_show()
1168 return sysfs_emit(buf, "0x%03x\n", priv->mb0_id); in mb0_id_show()
1199 priv->mb0_id = can_id; in mb0_id_store()
1207 static DEVICE_ATTR_RW(mb0_id);
1316 priv->mb0_id = 0x7ff; in at91_can_probe()

Completed in 4 milliseconds