| /kernel/linux/linux-4.19/kernel/time/ |
| D | tick-broadcast.c | 2 * linux/kernel/time/tick-broadcast.c 5 * device via a broadcast event source. 27 * Broadcast support for broken x86 hardware, where the local apic 72 * Check, if the device can be utilized as broadcast device: 90 * Conditionally install/replace broadcast device 112 * of a oneshot capable broadcast device. Without that in tick_install_broadcast_device() 121 * Check, if the device is the broadcast device 143 pr_crit_once("Failed to broadcast timer tick. Some CPUs may be unresponsive.\n"); in err_broadcast() 148 if (!dev->broadcast) in tick_device_setup_broadcast_func() 149 dev->broadcast = tick_broadcast; in tick_device_setup_broadcast_func() [all …]
|
| D | tick-broadcast-hrtimer.c | 3 * linux/kernel/time/tick-broadcast-hrtimer.c 42 * This is called from the guts of the broadcast code when the cpu 43 * which is about to enter idle has the earliest broadcast timer event. 49 * broadcast handler. In all cases tick_broadcast_lock is held. in bc_set_next() 52 * broadcast handler nor from the enter/exit idle code. The idle in bc_set_next() 54 * broadcast handler cannot wait for itself to complete for obvious in bc_set_next() 69 * The core tick broadcast mode expects bc->bound_on to be set in bc_set_next() 70 * correctly to prevent a CPU which has the broadcast hrtimer in bc_set_next()
|
| D | tick-common.c | 144 void tick_setup_periodic(struct clock_event_device *dev, int broadcast) in tick_setup_periodic() argument 146 tick_set_periodic_handler(dev, broadcast); in tick_setup_periodic() 148 /* Broadcast setup ? */ in tick_setup_periodic() 222 * device is registered as a placeholder for broadcast mode. in tick_setup_device() 225 * current active broadcast state for this CPU. in tick_setup_device() 323 * device. If the current device is the broadcast device, do in tick_check_new_device() 338 * Can the new device be used as a broadcast device ? in tick_check_new_device() 344 * tick_broadcast_oneshot_control - Enter/exit broadcast oneshot mode 348 * Returns 0 on success, -EBUSY if the cpu is used to broadcast wakeups. 432 bool broadcast = tick_resume_check_broadcast(); in tick_resume_local() local [all …]
|
| D | tick-internal.h | 21 extern void tick_setup_periodic(struct clock_event_device *dev, int broadcast); 34 /* Check, if the device is functional or a dummy for broadcast */ 72 extern void tick_set_periodic_handler(struct clock_event_device *dev, int broadcast); 88 /* Set the periodic handler in non broadcast mode */ 89 static inline void tick_set_periodic_handler(struct clock_event_device *dev, int broadcast) in tick_set_periodic_handler() argument 136 #else /* !(BROADCAST && ONESHOT): */ 142 #endif /* !(BROADCAST && ONESHOT) */
|
| /kernel/linux/linux-5.10/kernel/time/ |
| D | tick-broadcast.c | 4 * device via a broadcast event source. 23 * Broadcast support for broken x86 hardware, where the local apic 74 * Check, if the device can be utilized as broadcast device: 92 * Conditionally install/replace broadcast device 114 * of a oneshot capable broadcast device. Without that in tick_install_broadcast_device() 123 * Check, if the device is the broadcast device 145 pr_crit_once("Failed to broadcast timer tick. Some CPUs may be unresponsive.\n"); in err_broadcast() 150 if (!dev->broadcast) in tick_device_setup_broadcast_func() 151 dev->broadcast = tick_broadcast; in tick_device_setup_broadcast_func() 152 if (!dev->broadcast) { in tick_device_setup_broadcast_func() [all …]
|
| D | tick-broadcast-hrtimer.c | 40 * This is called from the guts of the broadcast code when the cpu 41 * which is about to enter idle has the earliest broadcast timer event. 47 * broadcast handler. In all cases tick_broadcast_lock is held. in bc_set_next() 50 * broadcast handler nor from the enter/exit idle code. The idle in bc_set_next() 52 * broadcast handler cannot wait for itself to complete for obvious in bc_set_next() 67 * The core tick broadcast mode expects bc->bound_on to be set in bc_set_next() 68 * correctly to prevent a CPU which has the broadcast hrtimer in bc_set_next()
|
| D | tick-internal.h | 21 extern void tick_setup_periodic(struct clock_event_device *dev, int broadcast); 34 /* Check, if the device is functional or a dummy for broadcast */ 71 extern void tick_set_periodic_handler(struct clock_event_device *dev, int broadcast); 86 /* Set the periodic handler in non broadcast mode */ 87 static inline void tick_set_periodic_handler(struct clock_event_device *dev, int broadcast) in tick_set_periodic_handler() argument 133 #else /* !(BROADCAST && ONESHOT): */ 138 #endif /* !(BROADCAST && ONESHOT) */
|
| D | tick-common.c | 151 void tick_setup_periodic(struct clock_event_device *dev, int broadcast) in tick_setup_periodic() argument 153 tick_set_periodic_handler(dev, broadcast); in tick_setup_periodic() 155 /* Broadcast setup ? */ in tick_setup_periodic() 263 * device is registered as a placeholder for broadcast mode. in tick_setup_device() 266 * current active broadcast state for this CPU. in tick_setup_device() 364 * device. If the current device is the broadcast device, do in tick_check_new_device() 379 * Can the new device be used as a broadcast device ? in tick_check_new_device() 385 * tick_broadcast_oneshot_control - Enter/exit broadcast oneshot mode 389 * Returns 0 on success, -EBUSY if the cpu is used to broadcast wakeups. 473 bool broadcast = tick_resume_check_broadcast(); in tick_resume_local() local [all …]
|
| /kernel/linux/linux-5.10/include/linux/i3c/ |
| D | ccc.h | 17 #define I3C_CCC_ID(id, broadcast) \ argument 18 ((id) | ((broadcast) ? 0 : I3C_CCC_DIRECT)) 20 /* Commands valid in both broadcast and unicast modes */ 21 #define I3C_CCC_ENEC(broadcast) I3C_CCC_ID(0x0, broadcast) argument 22 #define I3C_CCC_DISEC(broadcast) I3C_CCC_ID(0x1, broadcast) argument 23 #define I3C_CCC_ENTAS(as, broadcast) I3C_CCC_ID(0x2 + (as), broadcast) argument 24 #define I3C_CCC_RSTDAA(broadcast) I3C_CCC_ID(0x6, broadcast) argument 25 #define I3C_CCC_SETMWL(broadcast) I3C_CCC_ID(0x9, broadcast) argument 26 #define I3C_CCC_SETMRL(broadcast) I3C_CCC_ID(0xa, broadcast) argument 27 #define I3C_CCC_SETXTIME(broadcast) ((broadcast) ? 0x28 : 0x98) argument [all …]
|
| /kernel/linux/linux-4.19/drivers/infiniband/ulp/ipoib/ |
| D | ipoib_multicast.c | 104 * allocate the broadcast multicast group, wait in __ipoib_mcast_schedule_join_thread() 225 * the broadcast group. in ipoib_mcast_join_finish() 227 if (!memcmp(mcast->mcmember.mgid.raw, priv->dev->broadcast + 4, in ipoib_mcast_join_finish() 230 if (!priv->broadcast) { in ipoib_mcast_join_finish() 235 priv->broadcast->mcmember.qkey = mcmember->qkey; in ipoib_mcast_join_finish() 236 priv->broadcast->mcmember.mtu = mcmember->mtu; in ipoib_mcast_join_finish() 237 priv->broadcast->mcmember.traffic_class = mcmember->traffic_class; in ipoib_mcast_join_finish() 238 priv->broadcast->mcmember.rate = mcmember->rate; in ipoib_mcast_join_finish() 239 priv->broadcast->mcmember.sl = mcmember->sl; in ipoib_mcast_join_finish() 240 priv->broadcast->mcmember.flow_label = mcmember->flow_label; in ipoib_mcast_join_finish() [all …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/ |
| D | ipoib_multicast.c | 104 * allocate the broadcast multicast group, wait in __ipoib_mcast_schedule_join_thread() 225 * the broadcast group. in ipoib_mcast_join_finish() 227 if (!memcmp(mcast->mcmember.mgid.raw, priv->dev->broadcast + 4, in ipoib_mcast_join_finish() 230 if (!priv->broadcast) { in ipoib_mcast_join_finish() 235 priv->broadcast->mcmember.qkey = mcmember->qkey; in ipoib_mcast_join_finish() 236 priv->broadcast->mcmember.mtu = mcmember->mtu; in ipoib_mcast_join_finish() 237 priv->broadcast->mcmember.traffic_class = mcmember->traffic_class; in ipoib_mcast_join_finish() 238 priv->broadcast->mcmember.rate = mcmember->rate; in ipoib_mcast_join_finish() 239 priv->broadcast->mcmember.sl = mcmember->sl; in ipoib_mcast_join_finish() 240 priv->broadcast->mcmember.flow_label = mcmember->flow_label; in ipoib_mcast_join_finish() [all …]
|
| /kernel/linux/linux-4.19/include/net/ |
| D | if_inet6.h | 233 const unsigned char *broadcast, char *buf) in ipv6_ib_mc_map() argument 235 unsigned char scope = broadcast[5] & 0xF; in ipv6_ib_mc_map() 242 buf[5] = 0x10 | scope; /* scope from broadcast address */ in ipv6_ib_mc_map() 245 buf[8] = broadcast[8]; /* P_Key */ in ipv6_ib_mc_map() 246 buf[9] = broadcast[9]; in ipv6_ib_mc_map() 251 const unsigned char *broadcast, char *buf) in ipv6_ipgre_mc_map() argument 253 if ((broadcast[0] | broadcast[1] | broadcast[2] | broadcast[3]) != 0) { in ipv6_ipgre_mc_map() 254 memcpy(buf, broadcast, 4); in ipv6_ipgre_mc_map()
|
| /kernel/linux/linux-5.10/include/net/ |
| D | if_inet6.h | 229 const unsigned char *broadcast, char *buf) in ipv6_ib_mc_map() argument 231 unsigned char scope = broadcast[5] & 0xF; in ipv6_ib_mc_map() 238 buf[5] = 0x10 | scope; /* scope from broadcast address */ in ipv6_ib_mc_map() 241 buf[8] = broadcast[8]; /* P_Key */ in ipv6_ib_mc_map() 242 buf[9] = broadcast[9]; in ipv6_ib_mc_map() 247 const unsigned char *broadcast, char *buf) in ipv6_ipgre_mc_map() argument 249 if ((broadcast[0] | broadcast[1] | broadcast[2] | broadcast[3]) != 0) { in ipv6_ipgre_mc_map() 250 memcpy(buf, broadcast, 4); in ipv6_ipgre_mc_map()
|
| /kernel/linux/linux-4.19/net/tipc/ |
| D | bcast.c | 2 * net/tipc/bcast.c: TIPC broadcast code 48 const char tipc_bclink_name[] = "broadcast-link"; 51 * struct tipc_bc_base - base structure for keeping broadcast send state 52 * @link: broadcast send link structure 55 * @primary_bearer: a bearer having links to all broadcast destinations, if any 56 * @bcast_support: indicates if primary bearer, if any, supports broadcast 59 * @bc_threshold: calculated from rc_ratio; if dests > threshold use broadcast 77 /* tipc_bcast_get_mtu(): -get the MTU currently used by broadcast link 156 /* tipc_bcbase_xmit - broadcast a packet queue across one or more bearers 207 /* Broadcast supported by used bearer/bearers? */ in tipc_bcast_select_xmit_method() [all …]
|
| /kernel/linux/linux-5.10/net/tipc/ |
| D | bcast.c | 2 * net/tipc/bcast.c: TIPC broadcast code 48 const char tipc_bclink_name[] = "broadcast-link"; 52 * struct tipc_bc_base - base structure for keeping broadcast send state 53 * @link: broadcast send link structure 56 * @primary_bearer: a bearer having links to all broadcast destinations, if any 57 * @bcast_support: indicates if primary bearer, if any, supports broadcast 58 * @force_bcast: forces broadcast for multicast traffic 62 * @bc_threshold: calculated from rc_ratio; if dests > threshold use broadcast 82 /* tipc_bcast_get_mtu(): -get the MTU currently used by broadcast link 167 /* tipc_bcbase_xmit - broadcast a packet queue across one or more bearers [all …]
|
| /kernel/linux/linux-5.10/drivers/net/team/ |
| D | team_mode_broadcast.c | 3 * drivers/net/team/team_mode_broadcast.c - Broadcast mode for team 52 .kind = "broadcast", 73 MODULE_DESCRIPTION("Broadcast mode for team"); 74 MODULE_ALIAS_TEAM_MODE("broadcast");
|
| /kernel/linux/linux-4.19/drivers/net/team/ |
| D | team_mode_broadcast.c | 2 * drivers/net/team/team_mode_broadcast.c - Broadcast mode for team 56 .kind = "broadcast", 77 MODULE_DESCRIPTION("Broadcast mode for team"); 78 MODULE_ALIAS_TEAM_MODE("broadcast");
|
| /kernel/linux/linux-5.10/include/rdma/ |
| D | ib_addr.h | 28 * @broadcast: Broadcast address of the device. 38 unsigned char broadcast[MAX_ADDR_LEN]; member 88 return ((u16)dev_addr->broadcast[8] << 8) | (u16)dev_addr->broadcast[9]; in ib_addr_get_pkey() 93 dev_addr->broadcast[8] = pkey >> 8; in ib_addr_set_pkey() 94 dev_addr->broadcast[9] = (unsigned char) pkey; in ib_addr_set_pkey() 100 memcpy(gid, dev_addr->broadcast + 4, sizeof *gid); in ib_addr_get_mgid()
|
| /kernel/linux/linux-4.19/Documentation/networking/ |
| D | vrf.txt | 189 …3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master red state UP mode DEFA… 191 …4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master red state UP mode DEFA… 193 …7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop master red state DOWN mode DEFAULT group defaul… 199 eth1 UP 02:00:00:00:02:02 <BROADCAST,MULTICAST,UP,LOWER_UP> 200 eth2 UP 02:00:00:00:02:03 <BROADCAST,MULTICAST,UP,LOWER_UP> 201 eth5 DOWN 02:00:00:00:02:06 <BROADCAST,MULTICAST> 229 …3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master red state UP group def… 237 …4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master red state UP group def… 245 7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop master red state DOWN group default qlen 1000 265 broadcast 10.2.1.0 dev eth1 proto kernel scope link src 10.2.1.2 [all …]
|
| /kernel/linux/linux-5.10/Documentation/networking/ |
| D | vrf.rst | 224 …3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master red state UP mode DEFA… 226 …4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master red state UP mode DEFA… 228 …7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop master red state DOWN mode DEFAULT group defaul… 235 eth1 UP 02:00:00:00:02:02 <BROADCAST,MULTICAST,UP,LOWER_UP> 236 eth2 UP 02:00:00:00:02:03 <BROADCAST,MULTICAST,UP,LOWER_UP> 237 eth5 DOWN 02:00:00:00:02:06 <BROADCAST,MULTICAST> 269 …3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master red state UP group def… 277 …4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master red state UP group def… 285 7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop master red state DOWN group default qlen 1000 308 broadcast 10.2.1.0 dev eth1 proto kernel scope link src 10.2.1.2 [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/futex/functional/ |
| D | futex_requeue_pi.c | 45 static int broadcast; variable 60 printf(" -b Broadcast wakeup (all waiters)\n"); in usage() 158 info("Waker: Calling broadcast\n"); in broadcast_wakerfn() 175 error("max broadcast iterations (%d) reached with %d/%d tasks woken or requeued\n", in broadcast_wakerfn() 278 int unit_test(int broadcast, long lock, int third_party_owner, long timeout_ns) in unit_test() argument 302 if (broadcast) in unit_test() 366 broadcast = 1; in main() 397 "\tArguments: broadcast=%d locked=%d owner=%d timeout=%ldns\n", in main() 398 broadcast, locked, owner, timeout_ns); in main() 405 ret = unit_test(broadcast, locked, owner, timeout_ns); in main()
|
| /kernel/linux/linux-4.19/tools/testing/selftests/futex/functional/ |
| D | futex_requeue_pi.c | 49 static int broadcast; variable 64 printf(" -b Broadcast wakeup (all waiters)\n"); in usage() 162 info("Waker: Calling broadcast\n"); in broadcast_wakerfn() 179 error("max broadcast iterations (%d) reached with %d/%d tasks woken or requeued\n", in broadcast_wakerfn() 282 int unit_test(int broadcast, long lock, int third_party_owner, long timeout_ns) in unit_test() argument 306 if (broadcast) in unit_test() 370 broadcast = 1; in main() 400 "\tArguments: broadcast=%d locked=%d owner=%d timeout=%ldns\n", in main() 401 broadcast, locked, owner, timeout_ns); in main() 408 ret = unit_test(broadcast, locked, owner, timeout_ns); in main()
|
| /kernel/linux/linux-4.19/include/rdma/ |
| D | ib_addr.h | 56 * @broadcast: Broadcast address of the device. 66 unsigned char broadcast[MAX_ADDR_LEN]; member 118 return ((u16)dev_addr->broadcast[8] << 8) | (u16)dev_addr->broadcast[9]; in ib_addr_get_pkey() 123 dev_addr->broadcast[8] = pkey >> 8; in ib_addr_set_pkey() 124 dev_addr->broadcast[9] = (unsigned char) pkey; in ib_addr_set_pkey() 130 memcpy(gid, dev_addr->broadcast + 4, sizeof *gid); in ib_addr_get_mgid()
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | clockchips.h | 53 * - Clockevent source stops in C3 State and needs broadcast support. 60 * Core shall set the interrupt affinity dynamically in broadcast mode 66 * Clockevent device is based on a hrtimer for broadcast 89 * @broadcast: function to broadcast events 119 void (*broadcast)(const struct cpumask *mask); member
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| D | filter.h | 110 * struct iwl_fw_bcast_filter_attr - broadcast filter attribute 137 * struct iwl_fw_bcast_filter - broadcast filter 154 * struct iwl_fw_bcast_mac - per-mac broadcast filtering configuration. 166 * struct iwl_bcast_filter_cmd - broadcast filtering configuration 171 * @filters: broadcast filters 172 * @macs: broadcast filtering configuration per-mac
|