Lines Matching +full:10 +full:- +full:14
4 * Copyright (c) 2013-2014 Jin Yang
5 * Copyright (c) 2014-2018 Pavel Pisa
50 0, 1, 2, 3, 4, 5, 6, 7, 8, /* 0 - 8 */
51 9, 9, 9, 9, /* 9 - 12 */
52 10, 10, 10, 10, /* 13 - 16 */
53 11, 11, 11, 11, /* 17 - 20 */
54 12, 12, 12, 12, /* 21 - 24 */
55 13, 13, 13, 13, 13, 13, 13, 13, /* 25 - 32 */
56 14, 14, 14, 14, 14, 14, 14, 14, /* 33 - 40 */
57 14, 14, 14, 14, 14, 14, 14, 14, /* 41 - 48 */
58 15, 15, 15, 15, 15, 15, 15, 15, /* 49 - 56 */
59 15, 15, 15, 15, 15, 15, 15, 15 /* 57 - 64 */
82 QTAILQ_INIT(&bus->clients); in can_bus_instance_init()
87 client->bus = bus; in can_bus_insert_client()
88 QTAILQ_INSERT_TAIL(&bus->clients, client, next); in can_bus_insert_client()
94 CanBusState *bus = client->bus; in can_bus_remove_client()
99 QTAILQ_REMOVE(&bus->clients, client, next); in can_bus_remove_client()
100 client->bus = NULL; in can_bus_remove_client()
108 CanBusState *bus = client->bus; in can_bus_client_send()
111 return -1; in can_bus_client_send()
114 QTAILQ_FOREACH(peer, &bus->clients, next) { in can_bus_client_send()
115 if (peer->info->can_receive(peer)) { in can_bus_client_send()
120 if (peer->info->receive(peer, frames, frames_cnt) > 0) { in can_bus_client_send()
132 if (((can_id | filter->can_mask) & QEMU_CAN_ERR_FLAG)) { in can_bus_filter_match()
133 return (filter->can_mask & QEMU_CAN_ERR_FLAG) != 0; in can_bus_filter_match()
135 m = (can_id & filter->can_mask) == (filter->can_id & filter->can_mask); in can_bus_filter_match()
136 return filter->can_id & QEMU_CAN_INV_FILTER ? !m : m; in can_bus_filter_match()
156 uc_klass->can_be_deleted = can_bus_can_be_deleted; in can_bus_class_init()