Home
last modified time | relevance | path

Searched refs:ibi (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/i3c/master/mipi-i3c-hci/
H A Dpio.c132 struct hci_pio_ibi_data ibi; member
759 struct hci_pio_ibi_data *ibi = &pio->ibi; in hci_pio_get_ibi_segment() local
763 p = ibi->data_ptr; in hci_pio_get_ibi_segment()
764 p += (ibi->seg_len - ibi->seg_cnt) / 4; in hci_pio_get_ibi_segment()
766 while ((nr_words = ibi->seg_cnt/4)) { in hci_pio_get_ibi_segment()
775 ibi->seg_cnt -= nr_words * 4; in hci_pio_get_ibi_segment()
776 DBG("now %d left %d", nr_words * 4, ibi->seg_cnt); in hci_pio_get_ibi_segment()
781 if (ibi->seg_cnt) { in hci_pio_get_ibi_segment()
794 DBG("trailing %d", ibi->seg_cnt); in hci_pio_get_ibi_segment()
797 while (ibi->seg_cnt--) { in hci_pio_get_ibi_segment()
[all …]
/openbmc/linux/drivers/i3c/master/
H A Di3c-master-cdns.c407 } ibi; member
877 s16 ibi; member
965 data->ibi = -1; in cdns_i3c_master_attach_i3c_dev()
1320 if (id >= master->ibi.num_slots || (ibir & IBIR_ERROR)) in cdns_i3c_master_handle_ibi()
1323 dev = master->ibi.slots[id]; in cdns_i3c_master_handle_ibi()
1324 spin_lock(&master->ibi.lock); in cdns_i3c_master_handle_ibi()
1342 dev->ibi->max_payload_len); in cdns_i3c_master_handle_ibi()
1347 spin_unlock(&master->ibi.lock); in cdns_i3c_master_handle_ibi()
1423 spin_lock_irqsave(&master->ibi.lock, flags); in cdns_i3c_master_disable_ibi()
1424 sirmap = readl(master->regs + SIR_MAP_DEV_REG(data->ibi)); in cdns_i3c_master_disable_ibi()
[all …]
H A Dsvc-i3c-master.c213 } ibi; member
227 int ibi; member
384 master->ibi.tbq_slot = slot; in svc_i3c_master_handle_ibi()
479 if (master->ibi.tbq_slot) { in svc_i3c_master_ibi_work()
482 master->ibi.tbq_slot); in svc_i3c_master_ibi_work()
483 master->ibi.tbq_slot = NULL; in svc_i3c_master_ibi_work()
495 i3c_master_queue_ibi(dev, master->ibi.tbq_slot); in svc_i3c_master_ibi_work()
496 master->ibi.tbq_slot = NULL; in svc_i3c_master_ibi_work()
743 data->ibi = -1; in svc_i3c_master_attach_i3c_dev()
1548 if (dev->ibi->max_payload_len > SVC_I3C_FIFO_SIZE) { in svc_i3c_master_request_ibi()
[all …]
H A Ddw-i3c-master.c1273 if (!dev || !dev->ibi) { in dw_i3c_master_handle_ibi_sir()
1287 if (dev->ibi->max_payload_len < len) { in dw_i3c_master_handle_ibi_sir()
1290 len, dev->ibi->max_payload_len); in dw_i3c_master_handle_ibi_sir()
/openbmc/linux/drivers/i3c/
H A Dmaster.c2077 if (olddev->ibi) { in i3c_master_add_i3c_dev_locked()
2078 ibireq.handler = olddev->ibi->handler; in i3c_master_add_i3c_dev_locked()
2079 ibireq.max_payload_len = olddev->ibi->max_payload_len; in i3c_master_add_i3c_dev_locked()
2080 ibireq.num_slots = olddev->ibi->num_slots; in i3c_master_add_i3c_dev_locked()
2082 if (olddev->ibi->enabled) in i3c_master_add_i3c_dev_locked()
2091 olddev->ibi->enabled = false; in i3c_master_add_i3c_dev_locked()
2546 atomic_inc(&dev->ibi->pending_ibis); in i3c_master_queue_ibi()
2563 dev->ibi->handler(dev->dev, &payload); in i3c_master_handle_ibi()
2566 if (atomic_dec_and_test(&dev->ibi->pending_ibis)) in i3c_master_handle_ibi()
2567 complete(&dev->ibi->all_ibis_handled); in i3c_master_handle_ibi()
[all …]
/openbmc/linux/include/linux/i3c/
H A Dmaster.h217 struct i3c_device_ibi_info *ibi; member
/openbmc/linux/drivers/net/mctp/
H A Dmctp-i3c.c202 const struct i3c_ibi_setup ibi = { in mctp_i3c_setup() local
217 rc = i3c_device_request_ibi(mi->i3c, &ibi); in mctp_i3c_setup()
/openbmc/linux/
H A DCREDITS1366 E: pgmdsg@ibi.com
H A Dopengrok0.0.log[all...]