Home
last modified time | relevance | path

Searched refs:chan (Results 51 – 75 of 530) sorted by relevance

12345678910>>...22

/Zephyr-latest/samples/subsys/zbus/priority_boost/src/
Dmain.c25 const struct zbus_channel *chan; in s1_thread() local
30 err = zbus_sub_wait(&s1, &chan, K_FOREVER); in s1_thread()
40 err = zbus_chan_read(chan, &a, K_FOREVER); in s1_thread()
57 const struct zbus_channel *chan; in ms1_thread() local
63 err = zbus_sub_wait_msg(&ms1, &chan, &a, K_FOREVER); in ms1_thread()
84 const struct zbus_channel *chan; in ms2_thread() local
90 err = zbus_sub_wait_msg(&ms2, &chan, &a, K_FOREVER); in ms2_thread()
103 static void l1_callback(const struct zbus_channel *chan) in l1_callback() argument
105 LOG_INF("%d ---> L1: T1 prio %d", *((int *)zbus_chan_const_msg(chan)), in l1_callback()
110 static void l2_callback(const struct zbus_channel *chan) in l2_callback() argument
[all …]
/Zephyr-latest/drivers/adc/
Dadc_emul.c108 int adc_emul_const_value_set(const struct device *dev, unsigned int chan, in adc_emul_const_value_set() argument
115 if (chan >= config->num_channels) { in adc_emul_const_value_set()
116 LOG_ERR("unsupported channel %d", chan); in adc_emul_const_value_set()
120 chan_cfg = &data->chan_cfg[chan]; in adc_emul_const_value_set()
132 int adc_emul_const_raw_value_set(const struct device *dev, unsigned int chan, uint32_t raw_value) in adc_emul_const_raw_value_set() argument
138 if (chan >= config->num_channels) { in adc_emul_const_raw_value_set()
139 LOG_ERR("unsupported channel %d", chan); in adc_emul_const_raw_value_set()
143 chan_cfg = &data->chan_cfg[chan]; in adc_emul_const_raw_value_set()
155 int adc_emul_value_func_set(const struct device *dev, unsigned int chan, adc_emul_value_func func, in adc_emul_value_func_set() argument
162 if (chan >= config->num_channels) { in adc_emul_value_func_set()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/dut/src/
Dmain.c31 struct net_buf *alloc_buf_cb(struct bt_l2cap_chan *chan) in alloc_buf_cb() argument
36 void sent_cb(struct bt_l2cap_chan *chan) in sent_cb() argument
38 LOG_DBG("%p", chan); in sent_cb()
41 int recv_cb(struct bt_l2cap_chan *chan, struct net_buf *buf) in recv_cb() argument
65 struct bt_l2cap_le_chan *chan = in l2cap_chan_connected_cb() local
66 CONTAINER_OF(l2cap_chan, struct bt_l2cap_le_chan, chan); in l2cap_chan_connected_cb()
72 chan->tx.mtu, in l2cap_chan_connected_cb()
73 chan->tx.mps, in l2cap_chan_connected_cb()
74 chan->rx.mtu, in l2cap_chan_connected_cb()
75 chan->rx.mps); in l2cap_chan_connected_cb()
[all …]
/Zephyr-latest/drivers/sensor/maxim/max17055/
Dmax17055.c150 enum sensor_channel chan, in max17055_channel_get() argument
157 switch (chan) { in max17055_channel_get()
238 enum sensor_channel chan) in max17055_sample_fetch() argument
243 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_VOLTAGE) { in max17055_sample_fetch()
250 if (chan == SENSOR_CHAN_ALL || in max17055_sample_fetch()
251 (enum sensor_channel_max17055)chan == SENSOR_CHAN_MAX17055_VFOCV) { in max17055_sample_fetch()
258 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_AVG_CURRENT) { in max17055_sample_fetch()
265 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_STATE_OF_CHARGE) { in max17055_sample_fetch()
272 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_TEMP) { in max17055_sample_fetch()
279 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_REMAINING_CHARGE_CAPACITY) { in max17055_sample_fetch()
[all …]
/Zephyr-latest/samples/subsys/zbus/hello_world/src/
Dmain.c66 static void listener_callback_example(const struct zbus_channel *chan) in listener_callback_example() argument
68 const struct acc_msg *acc = zbus_chan_const_msg(chan); in listener_callback_example()
79 const struct zbus_channel *chan; in subscriber_task() local
81 while (!zbus_sub_wait(&bar_sub, &chan, K_FOREVER)) { in subscriber_task()
84 if (&acc_data_chan == chan) { in subscriber_task()
95 static bool print_channel_data_iterator(const struct zbus_channel *chan, void *user_data) in print_channel_data_iterator() argument
99 LOG_INF("%d - Channel %s:", *count, zbus_chan_name(chan)); in print_channel_data_iterator()
100 LOG_INF(" Message size: %d", zbus_chan_msg_size(chan)); in print_channel_data_iterator()
107 for (int16_t i = chan->data->observers_start_idx, limit = chan->data->observers_end_idx; in print_channel_data_iterator()
118 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&chan->data->observers, obs_nd, tmp, node) { in print_channel_data_iterator()
/Zephyr-latest/subsys/bluetooth/host/classic/
Dsco_internal.h36 void (*connected)(struct bt_sco_chan *chan);
47 void (*disconnected)(struct bt_sco_chan *chan, uint8_t reason);
70 struct bt_conn *bt_conn_create_sco(const bt_addr_t *peer, struct bt_sco_chan *chan);
101 struct bt_sco_chan **chan);
145 void bt_sco_chan_set_state_debug(struct bt_sco_chan *chan,
151 void bt_sco_chan_set_state(struct bt_sco_chan *chan, enum bt_sco_state state);
Davdtp.c43 #define AVDTP_CHAN(_ch) CONTAINER_OF(_ch, struct bt_avdtp, br_chan.chan)
118 void bt_avdtp_media_l2cap_connected(struct bt_l2cap_chan *chan) in bt_avdtp_media_l2cap_connected() argument
121 struct bt_avdtp_sep *sep = CONTAINER_OF(chan, struct bt_avdtp_sep, chan.chan); in bt_avdtp_media_l2cap_connected()
123 if (!chan) { in bt_avdtp_media_l2cap_connected()
133 LOG_DBG("chan %p session %p", chan, session); in bt_avdtp_media_l2cap_connected()
146 void bt_avdtp_media_l2cap_disconnected(struct bt_l2cap_chan *chan) in bt_avdtp_media_l2cap_disconnected() argument
149 struct bt_avdtp_sep *sep = CONTAINER_OF(chan, struct bt_avdtp_sep, chan.chan); in bt_avdtp_media_l2cap_disconnected()
156 LOG_DBG("chan %p", chan); in bt_avdtp_media_l2cap_disconnected()
157 chan->conn = NULL; in bt_avdtp_media_l2cap_disconnected()
181 int bt_avdtp_media_l2cap_recv(struct bt_l2cap_chan *chan, struct net_buf *buf) in bt_avdtp_media_l2cap_recv() argument
[all …]
/Zephyr-latest/drivers/sensor/asahi_kasei/ak8975/
Dak8975.c23 enum sensor_channel chan) in ak8975_sample_fetch() argument
29 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL); in ak8975_sample_fetch()
62 enum sensor_channel chan, in ak8975_channel_get() argument
67 __ASSERT_NO_MSG(chan == SENSOR_CHAN_MAGN_XYZ || in ak8975_channel_get()
68 chan == SENSOR_CHAN_MAGN_X || in ak8975_channel_get()
69 chan == SENSOR_CHAN_MAGN_Y || in ak8975_channel_get()
70 chan == SENSOR_CHAN_MAGN_Z); in ak8975_channel_get()
72 if (chan == SENSOR_CHAN_MAGN_XYZ) { in ak8975_channel_get()
76 } else if (chan == SENSOR_CHAN_MAGN_X) { in ak8975_channel_get()
78 } else if (chan == SENSOR_CHAN_MAGN_Y) { in ak8975_channel_get()
[all …]
/Zephyr-latest/samples/subsys/zbus/runtime_obs_registration/src/
Dmain.c20 static void filter_callback(const struct zbus_channel *chan) in filter_callback() argument
22 const struct sensor_msg *msg = zbus_chan_const_msg(chan); in filter_callback()
46 const struct zbus_channel *chan; in main() local
52 zbus_sub_wait(&state_change_sub, &chan, K_FOREVER); in main()
60 zbus_sub_wait(&state_change_sub, &chan, K_FOREVER); in main()
65 zbus_sub_wait(&state_change_sub, &chan, K_FOREVER); in main()
/Zephyr-latest/samples/subsys/zbus/benchmark/src/
Dlis.c16 static void s_cb(const struct zbus_channel *chan);
34 static void s_cb(const struct zbus_channel *chan) in s_cb() argument
40 memcpy(zbus_chan_msg(chan), &msg_received, chan->message_size); in s_cb()
44 const struct bm_msg *msg_received = zbus_chan_const_msg(chan); in s_cb()
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_utils.c47 bool wifi_utils_validate_chan_2g(uint16_t chan) in wifi_utils_validate_chan_2g() argument
49 if ((chan >= 1) && (chan <= 14)) { in wifi_utils_validate_chan_2g()
57 bool wifi_utils_validate_chan_5g(uint16_t chan) in wifi_utils_validate_chan_5g() argument
62 if (chan == valid_5g_chans_20mhz[i]) { in wifi_utils_validate_chan_5g()
71 bool wifi_utils_validate_chan_6g(uint16_t chan) in wifi_utils_validate_chan_6g() argument
73 if (((chan >= 1) && (chan <= 233) && (!((chan - 1) % 4))) || in wifi_utils_validate_chan_6g()
74 (chan == 2)) { in wifi_utils_validate_chan_6g()
83 uint16_t chan) in wifi_utils_validate_chan() argument
89 result = wifi_utils_validate_chan_2g(chan); in wifi_utils_validate_chan()
92 result = wifi_utils_validate_chan_5g(chan); in wifi_utils_validate_chan()
[all …]
/Zephyr-latest/drivers/sensor/ti/ina23x/
Dina237.c46 static int ina237_channel_get(const struct device *dev, enum sensor_channel chan, in ina237_channel_get() argument
52 switch (chan) { in ina237_channel_get()
148 if ((data->chan == SENSOR_CHAN_ALL) || (data->chan == SENSOR_CHAN_VOLTAGE)) { in ina237_read_data()
156 if ((data->chan == SENSOR_CHAN_ALL) || (data->chan == SENSOR_CHAN_CURRENT)) { in ina237_read_data()
164 if ((data->chan == SENSOR_CHAN_ALL) || (data->chan == SENSOR_CHAN_POWER)) { in ina237_read_data()
172 if ((data->chan == SENSOR_CHAN_ALL) || (data->chan == SENSOR_CHAN_DIE_TEMP)) { in ina237_read_data()
181 if ((data->chan == SENSOR_CHAN_ALL) || (data->chan == SENSOR_CHAN_VSHUNT)) { in ina237_read_data()
199 static int ina237_sample_fetch(const struct device *dev, enum sensor_channel chan) in ina237_sample_fetch() argument
203 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_VOLTAGE && chan != SENSOR_CHAN_CURRENT && in ina237_sample_fetch()
204 chan != SENSOR_CHAN_POWER && in ina237_sample_fetch()
[all …]
/Zephyr-latest/drivers/counter/
Dcounter_nrfx_rtc.c45 #define CC_ADJ_MASK(chan) (BIT(chan + CC_ADJUSTED_OFFSET)) argument
161 static void set_cc_int_pending(const struct device *dev, uint8_t chan) in set_cc_int_pending() argument
166 atomic_or(&data->ipend_adj, BIT(chan)); in set_cc_int_pending()
183 static void handle_next_tick_case(const struct device *dev, uint8_t chan, in handle_next_tick_case() argument
190 nrfy_rtc_cc_set(config->rtc, chan, val); in handle_next_tick_case()
191 atomic_or(&data->ipend_adj, CC_ADJ_MASK(chan)); in handle_next_tick_case()
193 set_cc_int_pending(dev, chan); in handle_next_tick_case()
195 nrfy_rtc_int_enable(config->rtc, NRF_RTC_CHANNEL_INT_MASK(chan)); in handle_next_tick_case()
227 static int set_cc(const struct device *dev, uint8_t chan, uint32_t val, in set_cc() argument
240 uint32_t int_mask = NRF_RTC_CHANNEL_INT_MASK(chan); in set_cc()
[all …]
/Zephyr-latest/drivers/firmware/scmi/
Dcore.c45 static void scmi_core_reply_cb(struct scmi_channel *chan) in scmi_core_reply_cb() argument
48 k_sem_give(&chan->sem); in scmi_core_reply_cb()
53 struct scmi_channel *chan, bool tx) in scmi_core_setup_chan() argument
57 if (!chan) { in scmi_core_setup_chan()
61 if (chan->ready) { in scmi_core_setup_chan()
70 k_mutex_init(&chan->lock); in scmi_core_setup_chan()
71 k_sem_init(&chan->sem, 0, 1); in scmi_core_setup_chan()
73 chan->cb = scmi_core_reply_cb; in scmi_core_setup_chan()
76 ret = scmi_transport_setup_chan(transport, chan, tx); in scmi_core_setup_chan()
85 chan->ready = true; in scmi_core_setup_chan()
/Zephyr-latest/drivers/sensor/nordic/npm2100_vbat/
Dnpm2100_vbat.c85 const enum sensor_channel chan; member
99 enum sensor_channel chan; member
119 static struct adc_config *adc_cfg_get(const struct device *dev, enum sensor_channel chan) in adc_cfg_get() argument
124 if (data->adc[idx].chan == chan) { in adc_cfg_get()
132 int npm2100_vbat_channel_get(const struct device *dev, enum sensor_channel chan, in npm2100_vbat_channel_get() argument
137 if ((uint32_t)chan == SENSOR_CHAN_NPM2100_DPS_DURATION) { in npm2100_vbat_channel_get()
142 struct adc_config *adc_cfg = adc_cfg_get(dev, chan); in npm2100_vbat_channel_get()
159 switch ((uint32_t)chan) { in npm2100_vbat_channel_get()
194 int npm2100_vbat_sample_fetch(const struct device *dev, enum sensor_channel chan) in npm2100_vbat_sample_fetch() argument
210 if (chan == SENSOR_CHAN_GAUGE_VOLTAGE) { in npm2100_vbat_sample_fetch()
[all …]
/Zephyr-latest/samples/subsys/llext/edk/app/src/
Dpubsub.c39 const struct zbus_channel *chan; member
43 { .chan = &tick_chan },
99 const struct zbus_channel *chan; in subscriber_thread_fn() local
103 while (zbus_sub_wait(&default_sub, &chan, K_FOREVER) == 0) { in subscriber_thread_fn()
105 zbus_chan_name(chan)); in subscriber_thread_fn()
108 if (channel_subscribers[i].chan == chan) { in subscriber_thread_fn()
126 const struct zbus_channel *chan = channel_subscribers[channel].chan; in z_impl_publish() local
132 return zbus_chan_pub(chan, data, K_NO_WAIT); in z_impl_publish()
165 msg_size = channel_subscribers[channel].chan->message_size; in z_impl_receive()
170 return zbus_chan_read(channel_subscribers[channel].chan, data, in z_impl_receive()
/Zephyr-latest/drivers/sensor/wsen/wsen_hids_2525020210002/
Dwsen_hids_2525020210002.c26 static int hids_2525020210002_sample_fetch(const struct device *dev, enum sensor_channel chan) in hids_2525020210002_sample_fetch() argument
35 switch (chan) { in hids_2525020210002_sample_fetch()
41 LOG_ERR("Fetching is not supported on channel %d.", chan); in hids_2525020210002_sample_fetch()
58 switch (chan) { in hids_2525020210002_sample_fetch()
76 static int hids_2525020210002_channel_get(const struct device *dev, enum sensor_channel chan, in hids_2525020210002_channel_get() argument
81 switch (chan) { in hids_2525020210002_channel_get()
91 LOG_ERR("Channel not supported %d", chan); in hids_2525020210002_channel_get()
132 static int hids_2525020210002_attr_set(const struct device *dev, enum sensor_channel chan, in hids_2525020210002_attr_set() argument
136 if (chan != SENSOR_CHAN_ALL) { in hids_2525020210002_attr_set()
137 LOG_WRN("attr_set() is not supported on channel %d.", chan); in hids_2525020210002_attr_set()
[all …]
/Zephyr-latest/drivers/sensor/ams/ens210/
Dens210.c43 static int ens210_measure(const struct device *dev, enum sensor_channel chan) in ens210_measure() argument
50 .t_start = ENS210_T_START && (chan == SENSOR_CHAN_ALL in ens210_measure()
51 || chan == SENSOR_CHAN_AMBIENT_TEMP), in ens210_measure()
52 .h_start = ENS210_H_START && (chan == SENSOR_CHAN_ALL in ens210_measure()
53 || chan == SENSOR_CHAN_HUMIDITY) in ens210_measure()
80 enum sensor_channel chan) in ens210_sample_fetch() argument
91 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL in ens210_sample_fetch()
92 || chan == SENSOR_CHAN_AMBIENT_TEMP in ens210_sample_fetch()
93 || chan == SENSOR_CHAN_HUMIDITY); in ens210_sample_fetch()
97 ret = ens210_measure(dev, chan); in ens210_sample_fetch()
[all …]
/Zephyr-latest/drivers/sensor/st/lsm9ds0_mfd/
Dlsm9ds0_mfd.c343 enum sensor_channel chan) in lsm9ds0_mfd_sample_fetch() argument
345 switch (chan) { in lsm9ds0_mfd_sample_fetch()
379 static inline int lsm9ds0_mfd_get_accel_channel(enum sensor_channel chan, in lsm9ds0_mfd_get_accel_channel() argument
384 switch (chan) { in lsm9ds0_mfd_get_accel_channel()
407 enum sensor_channel chan, in lsm9ds0_mfd_get_accel() argument
415 return lsm9ds0_mfd_get_accel_channel(chan, val, data, in lsm9ds0_mfd_get_accel()
418 return lsm9ds0_mfd_get_accel_channel(chan, val, data, in lsm9ds0_mfd_get_accel()
421 return lsm9ds0_mfd_get_accel_channel(chan, val, data, in lsm9ds0_mfd_get_accel()
424 return lsm9ds0_mfd_get_accel_channel(chan, val, data, in lsm9ds0_mfd_get_accel()
427 return lsm9ds0_mfd_get_accel_channel(chan, val, data, in lsm9ds0_mfd_get_accel()
[all …]
/Zephyr-latest/drivers/audio/
Ddmic_mcux.c95 for (uint8_t chan = 0; chan < drv_data->act_num_chan; chan++) { in dmic_mcux_activate_channels() local
97 mask |= BIT(dmic_mcux_hw_chan(drv_data, chan)); in dmic_mcux_activate_channels()
115 for (uint8_t chan = 0; chan < num_chan; chan++) { in dmic_mcux_enable_dma() local
117 hw_chan = dmic_mcux_hw_chan(drv_data, chan); in dmic_mcux_enable_dma()
153 for (uint8_t chan = 0; chan < num_chan; chan++) { in dmic_mcux_reload_dma() local
155 hw_chan = dmic_mcux_hw_chan(drv_data, chan); in dmic_mcux_reload_dma()
158 dst = (uint32_t)(((uint16_t *)buffer) + chan); in dmic_mcux_reload_dma()
303 for (uint8_t chan = 0; chan < num_chan; chan++) { in dmic_mcux_setup_dma() local
305 hw_chan = dmic_mcux_hw_chan(drv_data, chan); in dmic_mcux_setup_dma()
319 (uint32_t)(((uint16_t *)dma_buf) + chan); in dmic_mcux_setup_dma()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/einprogress/src/
Dtester.c27 static int tester_chan_recv_cb(struct bt_l2cap_chan *chan, struct net_buf *buf) in tester_chan_recv_cb() argument
34 .chan.ops =
56 err = bt_l2cap_chan_connect(conn, &le_chan.chan, TEST_DATA_L2CAP_PSM); in entrypoint_tester()
60 while (!atomic_test_bit(le_chan.chan.status, BT_L2CAP_STATUS_OUT)) { in entrypoint_tester()
68 err = bt_l2cap_chan_send(&le_chan.chan, sdu); in entrypoint_tester()
/Zephyr-latest/drivers/sensor/st/stts22h/
Dstts22h.c33 static int stts22h_sample_fetch(const struct device *dev, enum sensor_channel chan) in stts22h_sample_fetch() argument
40 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_AMBIENT_TEMP) { in stts22h_sample_fetch()
41 LOG_ERR("Invalid channel: %d", chan); in stts22h_sample_fetch()
62 enum sensor_channel chan, in stts22h_channel_get() argument
67 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in stts22h_channel_get()
68 LOG_ERR("Invalid channel: %d", chan); in stts22h_channel_get()
110 enum sensor_channel chan, in stts22h_attr_set() argument
114 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_AMBIENT_TEMP) { in stts22h_attr_set()
115 LOG_ERR("Invalid channel: %d", chan); in stts22h_attr_set()
/Zephyr-latest/drivers/sensor/st/i3g4250d/
Di3g4250d.c26 enum sensor_channel chan) in i3g4250d_sample_fetch() argument
33 if ((chan != SENSOR_CHAN_ALL) && (chan != SENSOR_CHAN_GYRO_XYZ)) { in i3g4250d_sample_fetch()
59 static void i3g4250d_channel_convert(enum sensor_channel chan, in i3g4250d_channel_convert() argument
65 switch (chan) { in i3g4250d_channel_convert()
87 enum sensor_channel chan, in i3g4250d_channel_get() argument
92 switch (chan) { in i3g4250d_channel_get()
100 i3g4250d_channel_convert(chan, i3g4250d->angular_rate, val); in i3g4250d_channel_get()
146 static int i3g4250d_attr_set(const struct device *dev, enum sensor_channel chan, in i3g4250d_attr_set() argument
150 switch (chan) { in i3g4250d_attr_set()
154 LOG_ERR("attr_set() not supported on this channel %d.", chan); in i3g4250d_attr_set()
/Zephyr-latest/drivers/sensor/th02/
Dth02.c85 enum sensor_channel chan) in th02_sample_fetch() argument
90 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_AMBIENT_TEMP); in th02_sample_fetch()
101 enum sensor_channel chan, in th02_channel_get() argument
106 __ASSERT_NO_MSG(chan == SENSOR_CHAN_AMBIENT_TEMP || in th02_channel_get()
107 chan == SENSOR_CHAN_HUMIDITY); in th02_channel_get()
109 if (chan == SENSOR_CHAN_AMBIENT_TEMP) { in th02_channel_get()
113 } else if (chan == SENSOR_CHAN_HUMIDITY) { in th02_channel_get()
/Zephyr-latest/tests/bsim/bluetooth/host/iso/cis/src/
Dcis_peripheral.c63 static void iso_recv(struct bt_iso_chan *chan, const struct bt_iso_recv_info *info, in iso_recv() argument
67 printk("Incoming data channel %p len %u\n", chan, buf->len); in iso_recv()
73 static void iso_connected(struct bt_iso_chan *chan) in iso_connected() argument
75 printk("ISO Channel %p connected\n", chan); in iso_connected()
78 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected() argument
80 printk("ISO Channel %p disconnected (reason 0x%02x)\n", chan, reason); in iso_disconnected()
83 static int iso_accept(const struct bt_iso_accept_info *info, struct bt_iso_chan **chan) in iso_accept() argument
93 *chan = &iso_chan; in iso_accept()

12345678910>>...22