Home
last modified time | relevance | path

Searched refs:maxdevs (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/i3c/master/
H A Ddw-i3c-master.h29 u16 maxdevs; member
H A Ddw-i3c-master.c320 for (pos = 0; pos < master->maxdevs; pos++) { in dw_i3c_master_get_addr_pos()
330 if (!(master->free_pos & GENMASK(master->maxdevs - 1, 0))) in dw_i3c_master_get_free_pos()
844 for (pos = 0; pos < master->maxdevs; pos++) { in dw_i3c_master_daa()
880 cmd->cmd_lo = COMMAND_PORT_DEV_COUNT(master->maxdevs - pos) | in dw_i3c_master_daa()
891 newdevs = GENMASK(master->maxdevs - cmd->rx_len - 1, 0); in dw_i3c_master_daa()
894 for (pos = 0; pos < master->maxdevs; pos++) { in dw_i3c_master_daa()
1602 master->maxdevs = ret >> 16; in dw_i3c_common_probe()
1603 master->free_pos = GENMASK(master->maxdevs - 1, 0); in dw_i3c_common_probe()
1662 for (pos = 0; pos < master->maxdevs; pos++) { in dw_i3c_master_restore_addrs()
H A Di3c-master-cdns.c402 unsigned int maxdevs; member
928 for_each_set_bit(i, &activedevs, master->maxdevs + 1) { in cdns_i3c_master_get_rr_slot()
1144 for_each_clear_bit(slot, &olddevs, master->maxdevs + 1) { in cdns_i3c_master_do_daa()
1168 for_each_set_bit(slot, &newdevs, master->maxdevs + 1) in cdns_i3c_master_do_daa()
1626 master->maxdevs = CONF_STATUS0_DEVS_NUM(val); in cdns_i3c_master_probe()
1627 master->free_rr_slots = GENMASK(master->maxdevs, 1); in cdns_i3c_master_probe()