Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i3c/master/mipi-i3c-hci/
H A Dpio.c764 p += (ibi->seg_len - ibi->seg_cnt) / 4; in hci_pio_get_ibi_segment()
832 ibi->seg_cnt = ibi->seg_len; in hci_pio_prep_new_ibi()
845 if (ibi->seg_len > ibi->max_len) { in hci_pio_prep_new_ibi()
847 ibi->seg_len, ibi->max_len); in hci_pio_prep_new_ibi()
856 ibi->data_ptr = ibi->slot->data; in hci_pio_prep_new_ibi()
877 if (!ibi->slot && !ibi->seg_cnt && ibi->last_seg) in hci_pio_process_ibi()
888 ibi->slot->len += ibi->seg_len; in hci_pio_process_ibi()
889 ibi->data_ptr += ibi->seg_len; in hci_pio_process_ibi()
929 ibi->seg_cnt = ibi->seg_len; in hci_pio_process_ibi()
930 if (ibi->slot && ibi->slot->len + ibi->seg_len > ibi->max_len) { in hci_pio_process_ibi()
[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()
1323 dev = master->ibi.slots[id]; in cdns_i3c_master_handle_ibi()
1324 spin_lock(&master->ibi.lock); in cdns_i3c_master_handle_ibi()
1488 if (!master->ibi.slots[i]) { in cdns_i3c_master_request_ibi()
1489 data->ibi = i; in cdns_i3c_master_request_ibi()
1513 master->ibi.slots[data->ibi] = NULL; in cdns_i3c_master_free_ibi()
1514 data->ibi = -1; in cdns_i3c_master_free_ibi()
1637 master->ibi.slots = devm_kcalloc(&pdev->dev, master->ibi.num_slots, in cdns_i3c_master_probe()
[all …]
H A Dsvc-i3c-master.c208 } ibi; member
220 int ibi; member
372 master->ibi.tbq_slot = slot; in svc_i3c_master_handle_ibi()
464 if (master->ibi.tbq_slot) { in svc_i3c_master_ibi_work()
468 master->ibi.tbq_slot = NULL; in svc_i3c_master_ibi_work()
677 data->ibi = -1; in svc_i3c_master_attach_i3c_dev()
1480 data->ibi = i; in svc_i3c_master_request_ibi()
1504 master->ibi.slots[data->ibi] = NULL; in svc_i3c_master_free_ibi()
1505 data->ibi = -1; in svc_i3c_master_free_ibi()
1655 master->ibi.slots = devm_kcalloc(&pdev->dev, master->ibi.num_slots, in svc_i3c_master_probe()
[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.c2804 if (!dev->ibi) in i3c_dev_disable_ibi_locked()
2826 if (!dev->ibi) in i3c_dev_enable_ibi_locked()
2846 if (dev->ibi) in i3c_dev_request_ibi_locked()
2849 ibi = kzalloc(sizeof(*ibi), GFP_KERNEL); in i3c_dev_request_ibi_locked()
2850 if (!ibi) in i3c_dev_request_ibi_locked()
2859 dev->ibi = ibi; in i3c_dev_request_ibi_locked()
2862 kfree(ibi); in i3c_dev_request_ibi_locked()
2863 dev->ibi = NULL; in i3c_dev_request_ibi_locked()
2873 if (!dev->ibi) in i3c_dev_free_ibi_locked()
2880 kfree(dev->ibi); in i3c_dev_free_ibi_locked()
[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