ibi 1833 drivers/i3c/master.c if (olddev->ibi) { ibi 1834 drivers/i3c/master.c ibireq.handler = olddev->ibi->handler; ibi 1835 drivers/i3c/master.c ibireq.max_payload_len = olddev->ibi->max_payload_len; ibi 1836 drivers/i3c/master.c ibireq.num_slots = olddev->ibi->num_slots; ibi 1838 drivers/i3c/master.c if (olddev->ibi->enabled) { ibi 2183 drivers/i3c/master.c atomic_inc(&dev->ibi->pending_ibis); ibi 2200 drivers/i3c/master.c dev->ibi->handler(dev->dev, &payload); ibi 2203 drivers/i3c/master.c if (atomic_dec_and_test(&dev->ibi->pending_ibis)) ibi 2204 drivers/i3c/master.c complete(&dev->ibi->all_ibis_handled); ibi 2561 drivers/i3c/master.c if (!dev->ibi) ibi 2569 drivers/i3c/master.c reinit_completion(&dev->ibi->all_ibis_handled); ibi 2570 drivers/i3c/master.c if (atomic_read(&dev->ibi->pending_ibis)) ibi 2571 drivers/i3c/master.c wait_for_completion(&dev->ibi->all_ibis_handled); ibi 2573 drivers/i3c/master.c dev->ibi->enabled = false; ibi 2583 drivers/i3c/master.c if (!dev->ibi) ibi 2588 drivers/i3c/master.c dev->ibi->enabled = true; ibi 2597 drivers/i3c/master.c struct i3c_device_ibi_info *ibi; ibi 2603 drivers/i3c/master.c if (dev->ibi) ibi 2606 drivers/i3c/master.c ibi = kzalloc(sizeof(*ibi), GFP_KERNEL); ibi 2607 drivers/i3c/master.c if (!ibi) ibi 2610 drivers/i3c/master.c atomic_set(&ibi->pending_ibis, 0); ibi 2611 drivers/i3c/master.c init_completion(&ibi->all_ibis_handled); ibi 2612 drivers/i3c/master.c ibi->handler = req->handler; ibi 2613 drivers/i3c/master.c ibi->max_payload_len = req->max_payload_len; ibi 2614 drivers/i3c/master.c ibi->num_slots = req->num_slots; ibi 2616 drivers/i3c/master.c dev->ibi = ibi; ibi 2619 drivers/i3c/master.c kfree(ibi); ibi 2620 drivers/i3c/master.c dev->ibi = NULL; ibi 2630 drivers/i3c/master.c if (!dev->ibi) ibi 2633 drivers/i3c/master.c if (WARN_ON(dev->ibi->enabled)) ibi 2637 drivers/i3c/master.c kfree(dev->ibi); ibi 2638 drivers/i3c/master.c dev->ibi = NULL; ibi 400 drivers/i3c/master/i3c-master-cdns.c } ibi; ibi 869 drivers/i3c/master/i3c-master-cdns.c s16 ibi; ibi 957 drivers/i3c/master/i3c-master-cdns.c data->ibi = -1; ibi 1289 drivers/i3c/master/i3c-master-cdns.c if (id >= master->ibi.num_slots || (ibir & IBIR_ERROR)) ibi 1292 drivers/i3c/master/i3c-master-cdns.c dev = master->ibi.slots[id]; ibi 1293 drivers/i3c/master/i3c-master-cdns.c spin_lock(&master->ibi.lock); ibi 1311 drivers/i3c/master/i3c-master-cdns.c dev->ibi->max_payload_len); ibi 1316 drivers/i3c/master/i3c-master-cdns.c spin_unlock(&master->ibi.lock); ibi 1390 drivers/i3c/master/i3c-master-cdns.c spin_lock_irqsave(&master->ibi.lock, flags); ibi 1391 drivers/i3c/master/i3c-master-cdns.c sirmap = readl(master->regs + SIR_MAP_DEV_REG(data->ibi)); ibi 1392 drivers/i3c/master/i3c-master-cdns.c sirmap &= ~SIR_MAP_DEV_CONF_MASK(data->ibi); ibi 1393 drivers/i3c/master/i3c-master-cdns.c sirmap |= SIR_MAP_DEV_CONF(data->ibi, ibi 1395 drivers/i3c/master/i3c-master-cdns.c writel(sirmap, master->regs + SIR_MAP_DEV_REG(data->ibi)); ibi 1396 drivers/i3c/master/i3c-master-cdns.c spin_unlock_irqrestore(&master->ibi.lock, flags); ibi 1410 drivers/i3c/master/i3c-master-cdns.c spin_lock_irqsave(&master->ibi.lock, flags); ibi 1411 drivers/i3c/master/i3c-master-cdns.c sirmap = readl(master->regs + SIR_MAP_DEV_REG(data->ibi)); ibi 1412 drivers/i3c/master/i3c-master-cdns.c sirmap &= ~SIR_MAP_DEV_CONF_MASK(data->ibi); ibi 1421 drivers/i3c/master/i3c-master-cdns.c sirmap |= SIR_MAP_DEV_CONF(data->ibi, sircfg); ibi 1422 drivers/i3c/master/i3c-master-cdns.c writel(sirmap, master->regs + SIR_MAP_DEV_REG(data->ibi)); ibi 1423 drivers/i3c/master/i3c-master-cdns.c spin_unlock_irqrestore(&master->ibi.lock, flags); ibi 1428 drivers/i3c/master/i3c-master-cdns.c spin_lock_irqsave(&master->ibi.lock, flags); ibi 1429 drivers/i3c/master/i3c-master-cdns.c sirmap = readl(master->regs + SIR_MAP_DEV_REG(data->ibi)); ibi 1430 drivers/i3c/master/i3c-master-cdns.c sirmap &= ~SIR_MAP_DEV_CONF_MASK(data->ibi); ibi 1431 drivers/i3c/master/i3c-master-cdns.c sirmap |= SIR_MAP_DEV_CONF(data->ibi, ibi 1433 drivers/i3c/master/i3c-master-cdns.c writel(sirmap, master->regs + SIR_MAP_DEV_REG(data->ibi)); ibi 1434 drivers/i3c/master/i3c-master-cdns.c spin_unlock_irqrestore(&master->ibi.lock, flags); ibi 1453 drivers/i3c/master/i3c-master-cdns.c spin_lock_irqsave(&master->ibi.lock, flags); ibi 1454 drivers/i3c/master/i3c-master-cdns.c for (i = 0; i < master->ibi.num_slots; i++) { ibi 1455 drivers/i3c/master/i3c-master-cdns.c if (!master->ibi.slots[i]) { ibi 1456 drivers/i3c/master/i3c-master-cdns.c data->ibi = i; ibi 1457 drivers/i3c/master/i3c-master-cdns.c master->ibi.slots[i] = dev; ibi 1461 drivers/i3c/master/i3c-master-cdns.c spin_unlock_irqrestore(&master->ibi.lock, flags); ibi 1463 drivers/i3c/master/i3c-master-cdns.c if (i < master->ibi.num_slots) ibi 1479 drivers/i3c/master/i3c-master-cdns.c spin_lock_irqsave(&master->ibi.lock, flags); ibi 1480 drivers/i3c/master/i3c-master-cdns.c master->ibi.slots[data->ibi] = NULL; ibi 1481 drivers/i3c/master/i3c-master-cdns.c data->ibi = -1; ibi 1482 drivers/i3c/master/i3c-master-cdns.c spin_unlock_irqrestore(&master->ibi.lock, flags); ibi 1591 drivers/i3c/master/i3c-master-cdns.c spin_lock_init(&master->ibi.lock); ibi 1592 drivers/i3c/master/i3c-master-cdns.c master->ibi.num_slots = CONF_STATUS1_IBI_HW_RES(val); ibi 1593 drivers/i3c/master/i3c-master-cdns.c master->ibi.slots = devm_kcalloc(&pdev->dev, master->ibi.num_slots, ibi 1594 drivers/i3c/master/i3c-master-cdns.c sizeof(*master->ibi.slots), ibi 1596 drivers/i3c/master/i3c-master-cdns.c if (!master->ibi.slots) ibi 211 include/linux/i3c/master.h struct i3c_device_ibi_info *ibi;