/kernel/linux/linux-5.10/include/linux/i3c/ |
H A D | ccc.h | 17 #define I3C_CCC_ID(id, broadcast) \ 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) 22 #define I3C_CCC_DISEC(broadcast) I3C_CCC_ID(0x1, broadcast) 23 #define I3C_CCC_ENTAS(as, broadcast) I3C_CCC_ID(0x2 + (as), broadcast) 24 #define I3C_CCC_RSTDAA(broadcast) I3C_CCC_I [all...] |
/kernel/linux/linux-6.6/include/linux/i3c/ |
H A D | ccc.h | 17 #define I3C_CCC_ID(id, broadcast) \ 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) 22 #define I3C_CCC_DISEC(broadcast) I3C_CCC_ID(0x1, broadcast) 23 #define I3C_CCC_ENTAS(as, broadcast) I3C_CCC_ID(0x2 + (as), broadcast) 24 #define I3C_CCC_RSTDAA(broadcast) I3C_CCC_I [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/ |
H A 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 in ipoib_mcast_join_finish() 596 struct ipoib_mcast *broadcast; ipoib_mcast_join_task() local 865 ipoib_mcast_addr_is_valid(const u8 *addr, const u8 *broadcast) ipoib_mcast_addr_is_valid() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/ulp/ipoib/ |
H A 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 in ipoib_mcast_join_finish() 585 struct ipoib_mcast *broadcast; ipoib_mcast_join_task() local 854 ipoib_mcast_addr_is_valid(const u8 *addr, const u8 *broadcast) ipoib_mcast_addr_is_valid() argument [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | if_inet6.h | 233 const unsigned char *broadcast, char *buf) in ipv6_ib_mc_map() 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() 253 if ((broadcast[0] | broadcast[1] | broadcast[2] | broadcast[ in ipv6_ipgre_mc_map() 232 ipv6_ib_mc_map(const struct in6_addr *addr, const unsigned char *broadcast, char *buf) ipv6_ib_mc_map() argument 250 ipv6_ipgre_mc_map(const struct in6_addr *addr, const unsigned char *broadcast, char *buf) ipv6_ipgre_mc_map() argument [all...] |
H A D | ip.h | 585 static inline void ip_ib_mc_map(__be32 naddr, const unsigned char *broadcast, char *buf) in ip_ib_mc_map() argument 588 unsigned char scope = broadcast[5] & 0xF; in ip_ib_mc_map() 596 buf[5] = 0x10 | scope; /* scope from broadcast address */ in ip_ib_mc_map() 599 buf[8] = broadcast[8]; /* P_Key */ in ip_ib_mc_map() 600 buf[9] = broadcast[9]; in ip_ib_mc_map() 616 static inline void ip_ipgre_mc_map(__be32 naddr, const unsigned char *broadcast, char *buf) in ip_ipgre_mc_map() argument 618 if ((broadcast[0] | broadcast[1] | broadcast[2] | broadcast[ in ip_ipgre_mc_map() [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | if_inet6.h | 244 const unsigned char *broadcast, char *buf) in ipv6_ib_mc_map() 246 unsigned char scope = broadcast[5] & 0xF; in ipv6_ib_mc_map() 253 buf[5] = 0x10 | scope; /* scope from broadcast address */ in ipv6_ib_mc_map() 256 buf[8] = broadcast[8]; /* P_Key */ in ipv6_ib_mc_map() 257 buf[9] = broadcast[9]; in ipv6_ib_mc_map() 262 const unsigned char *broadcast, char *buf) in ipv6_ipgre_mc_map() 264 if ((broadcast[0] | broadcast[1] | broadcast[2] | broadcast[ in ipv6_ipgre_mc_map() 243 ipv6_ib_mc_map(const struct in6_addr *addr, const unsigned char *broadcast, char *buf) ipv6_ib_mc_map() argument 261 ipv6_ipgre_mc_map(const struct in6_addr *addr, const unsigned char *broadcast, char *buf) ipv6_ipgre_mc_map() argument [all...] |
H A D | ip.h | 613 static inline void ip_ib_mc_map(__be32 naddr, const unsigned char *broadcast, char *buf) in ip_ib_mc_map() argument 616 unsigned char scope = broadcast[5] & 0xF; in ip_ib_mc_map() 624 buf[5] = 0x10 | scope; /* scope from broadcast address */ in ip_ib_mc_map() 627 buf[8] = broadcast[8]; /* P_Key */ in ip_ib_mc_map() 628 buf[9] = broadcast[9]; in ip_ib_mc_map() 644 static inline void ip_ipgre_mc_map(__be32 naddr, const unsigned char *broadcast, char *buf) in ip_ipgre_mc_map() argument 646 if ((broadcast[0] | broadcast[1] | broadcast[2] | broadcast[ in ip_ipgre_mc_map() [all...] |
/kernel/linux/linux-5.10/include/rdma/ |
H A 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-6.6/include/rdma/ |
H A D | ib_addr.h | 29 * @broadcast: Broadcast address of the device. 39 unsigned char broadcast[MAX_ADDR_LEN]; member 89 return ((u16)dev_addr->broadcast[8] << 8) | (u16)dev_addr->broadcast[9]; in ib_addr_get_pkey() 94 dev_addr->broadcast[8] = pkey >> 8; in ib_addr_set_pkey() 95 dev_addr->broadcast[9] = (unsigned char) pkey; in ib_addr_set_pkey() 101 memcpy(gid, dev_addr->broadcast + 4, sizeof *gid); in ib_addr_get_mgid()
|
/kernel/linux/linux-6.6/arch/riscv/mm/ |
H A D | tlbflush.c | 107 bool broadcast; in __flush_tlb_range() local 118 broadcast = cpumask_any_but(cmask, cpuid) < nr_cpu_ids; in __flush_tlb_range() 124 broadcast = true; in __flush_tlb_range() 127 if (broadcast) { in __flush_tlb_range()
|
/kernel/linux/linux-5.10/net/bluetooth/bnep/ |
H A D | netdev.c | 79 __skb_put_data(skb, dev->broadcast, ETH_ALEN); in bnep_net_set_mc_list() 86 __skb_put_data(skb, dev->broadcast, ETH_ALEN); in bnep_net_set_mc_list() 87 __skb_put_data(skb, dev->broadcast, ETH_ALEN); in bnep_net_set_mc_list() 220 eth_broadcast_addr(dev->broadcast); in bnep_net_setup()
|
/kernel/linux/linux-6.6/net/bluetooth/bnep/ |
H A D | netdev.c | 79 __skb_put_data(skb, dev->broadcast, ETH_ALEN); in bnep_net_set_mc_list() 86 __skb_put_data(skb, dev->broadcast, ETH_ALEN); in bnep_net_set_mc_list() 87 __skb_put_data(skb, dev->broadcast, ETH_ALEN); in bnep_net_set_mc_list() 220 eth_broadcast_addr(dev->broadcast); in bnep_net_setup()
|
/kernel/linux/linux-5.10/tools/testing/selftests/futex/functional/ |
H A D | futex_requeue_pi.c | 45 static int broadcast; variable 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-6.6/tools/testing/selftests/futex/functional/ |
H A D | futex_requeue_pi.c | 45 static int broadcast; variable 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/liteos_a/testsuites/unittest/net/socket/smoke/ |
H A D | net_socket_test_013.cpp | 185 int broadcast = 1; in ClientsThread() local 186 ret = setsockopt(fd, SOL_SOCKET, SO_BROADCAST, &broadcast, sizeof(broadcast)); in ClientsThread() 188 LogPrintln("[%d]<%d> set broadcast option fail", fd, thrNo); in ClientsThread() 204 LogPrintln("[%d]<%d>broadcast address %s", fd, thrNo, MyInetNtoa(brdcast)); in ClientsThread() 269 int broadcast = 1; in UdpBrdcastSelectTest() local 270 ret = setsockopt(lsfd, SOL_SOCKET, SO_BROADCAST, &broadcast, sizeof(broadcast)); in UdpBrdcastSelectTest()
|
/kernel/linux/linux-5.10/kernel/time/ |
H A D | tick-internal.h | 20 extern void tick_setup_periodic(struct clock_event_device *dev, int broadcast); 33 /* Check, if the device is functional or a dummy for broadcast */ 70 extern void tick_set_periodic_handler(struct clock_event_device *dev, int broadcast); 85 /* Set the periodic handler in non broadcast mode */ 86 static inline void tick_set_periodic_handler(struct clock_event_device *dev, int broadcast) in tick_set_periodic_handler() argument
|
H A D | tick-broadcast.c | 4 * device via a broadcast event source. 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() 153 pr_warn_once("%s depends on broadcast, bu in tick_device_setup_broadcast_func() 433 tick_set_periodic_handler(struct clock_event_device *dev, int broadcast) tick_set_periodic_handler() argument [all...] |
H A D | tick-common.c | 150 void tick_setup_periodic(struct clock_event_device *dev, int broadcast) in tick_setup_periodic() argument 152 tick_set_periodic_handler(dev, broadcast); in tick_setup_periodic() 260 * device is registered as a placeholder for broadcast mode. in tick_setup_device() 263 * current active broadcast state for this CPU. in tick_setup_device() 361 * device. If the current device is the broadcast device, do in tick_check_new_device() 376 * Can the new device be used as a broadcast device ? in tick_check_new_device() 382 * tick_broadcast_oneshot_control - Enter/exit broadcast oneshot mode 386 * Returns 0 on success, -EBUSY if the cpu is used to broadcast wakeups. 470 bool broadcast = tick_resume_check_broadcast(); in tick_resume_local() local 473 if (!broadcast) { in tick_resume_local() [all...] |
/kernel/linux/linux-5.10/arch/hexagon/kernel/ |
H A D | time.c | 97 static void broadcast(const struct cpumask *mask) in broadcast() function 111 .broadcast = broadcast,
|
/kernel/linux/linux-6.6/arch/hexagon/kernel/ |
H A D | time.c | 97 static void broadcast(const struct cpumask *mask) in broadcast() function 111 .broadcast = broadcast,
|
/kernel/linux/linux-6.6/kernel/time/ |
H A D | tick-internal.h | 20 extern void tick_setup_periodic(struct clock_event_device *dev, int broadcast); 33 /* Check, if the device is functional or a dummy for broadcast */ 70 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
|
H A D | tick-broadcast.c | 4 * device via a broadcast event source. 84 * Check, if the device can be utilized as broadcast device: 161 * Conditionally install/replace broadcast device 188 * registered broadcast device to oneshot mode explicitly. in tick_install_broadcast_device() 199 * of a oneshot capable broadcast device. Without that in tick_install_broadcast_device() 207 * Check, if the device is the broadcast device 229 pr_crit_once("Failed to broadcast timer tick. Some CPUs may be unresponsive.\n"); in err_broadcast() 234 if (!dev->broadcast) in tick_device_setup_broadcast_func() 235 dev->broadcast = tick_broadcast; in tick_device_setup_broadcast_func() 236 if (!dev->broadcast) { in tick_device_setup_broadcast_func() 515 tick_set_periodic_handler(struct clock_event_device *dev, int broadcast) tick_set_periodic_handler() argument [all...] |
H A D | tick-common.c | 152 void tick_setup_periodic(struct clock_event_device *dev, int broadcast) in tick_setup_periodic() argument 154 tick_set_periodic_handler(dev, broadcast); in tick_setup_periodic() 262 * device is registered as a placeholder for broadcast mode. in tick_setup_device() 265 * current active broadcast state for this CPU. in tick_setup_device() 358 * device. If the current device is the broadcast device, do in tick_check_new_device() 373 * Can the new device be used as a broadcast device ? in tick_check_new_device() 379 * tick_broadcast_oneshot_control - Enter/exit broadcast oneshot mode 383 * Returns 0 on success, -EBUSY if the cpu is used to broadcast wakeups. 463 bool broadcast = tick_resume_check_broadcast(); in tick_resume_local() local 466 if (!broadcast) { in tick_resume_local() [all...] |
/kernel/linux/linux-5.10/drivers/staging/vt6656/ |
H A D | key.c | 41 u8 broadcast[6] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; in vnt_set_keymode() local 51 bssid = &broadcast[0]; in vnt_set_keymode()
|