Lines Matching refs:hw_cfg

460 	struct cdns_i3c_hw_config hw_cfg;  member
974 if (num_msgs > data->hw_cfg.cmd_mem_depth || num_msgs > data->hw_cfg.cmdr_mem_depth) { in cdns_i3c_do_ccc()
989 if ((rxsize > data->hw_cfg.rx_mem_depth) || (txsize > data->hw_cfg.tx_mem_depth)) { in cdns_i3c_do_ccc()
1364 if (num_msgs > data->hw_cfg.cmd_mem_depth || num_msgs > data->hw_cfg.cmdr_mem_depth) { in cdns_i3c_i2c_transfer()
1379 if ((rxsize > data->hw_cfg.rx_mem_depth) || (txsize > data->hw_cfg.tx_mem_depth)) { in cdns_i3c_i2c_transfer()
1653 if (num_msgs > data->hw_cfg.cmd_mem_depth || num_msgs > data->hw_cfg.cmdr_mem_depth) { in cdns_i3c_transfer()
1672 if ((rxsize > data->hw_cfg.rx_mem_depth) || (txsize > data->hw_cfg.tx_mem_depth)) { in cdns_i3c_transfer()
2069 data->hw_cfg.cmdr_mem_depth = CONF_STATUS0_CMDR_DEPTH(cfg0) * 4; in cdns_i3c_read_hw_cfg()
2070 data->hw_cfg.cmd_mem_depth = CONF_STATUS1_CMD_DEPTH(cfg1) * 4; in cdns_i3c_read_hw_cfg()
2071 data->hw_cfg.rx_mem_depth = CONF_STATUS1_RX_DEPTH(cfg1) * 4; in cdns_i3c_read_hw_cfg()
2072 data->hw_cfg.tx_mem_depth = CONF_STATUS1_TX_DEPTH(cfg1) * 4; in cdns_i3c_read_hw_cfg()
2073 data->hw_cfg.ibir_mem_depth = CONF_STATUS0_IBIR_DEPTH(cfg0) * 4; in cdns_i3c_read_hw_cfg()
2081 dev->name, data->hw_cfg.cmd_mem_depth, data->hw_cfg.cmdr_mem_depth, in cdns_i3c_read_hw_cfg()
2082 data->hw_cfg.rx_mem_depth, data->hw_cfg.tx_mem_depth, data->hw_cfg.ibir_mem_depth); in cdns_i3c_read_hw_cfg()
2085 data->hw_cfg.cmd_mem_depth = MIN(data->hw_cfg.cmd_mem_depth, ARRAY_SIZE(data->xfer.cmds)); in cdns_i3c_read_hw_cfg()
2174 thr_ctrl |= TX_THR(MIN((data->hw_cfg.tx_mem_depth / 4) / 2, i / 2)); in cdns_i3c_target_tx_write()
2442 sys_write32(TX_THR(I3C_TX_THR) | RX_THR(data->hw_cfg.rx_mem_depth), in cdns_i3c_bus_init()