Lines Matching full:cis

200 		size = MIN(remaining, func->cis.max_blk_size);  in sdio_io_rw_extended_helper()
304 static void sdio_decode_cis(struct sdio_cis *cis, enum sdio_func_num func, in sdio_decode_cis() argument
309 cis->manf_id = data[0] | ((uint16_t)data[1] << 8); in sdio_decode_cis()
310 cis->manf_code = data[2] | ((uint16_t)data[3] << 8); in sdio_decode_cis()
313 cis->func_id = data[0]; in sdio_decode_cis()
317 cis->max_blk_size = data[1] | ((uint16_t)data[2] << 8); in sdio_decode_cis()
318 cis->max_speed = data[3]; in sdio_decode_cis()
320 cis->max_blk_size = data[12] | ((uint16_t)data[13] << 8); in sdio_decode_cis()
321 cis->rdy_timeout = data[28] | ((uint16_t)data[29] << 8); in sdio_decode_cis()
325 LOG_WRN("Unknown CIS tuple %d", tpl_code); in sdio_decode_cis()
331 * Read CIS for a given SDIO function.
344 memset(&func->cis, 0, sizeof(struct sdio_cis)); in sdio_read_cis()
345 /* First find the CIS pointer for this function */ in sdio_read_cis()
354 /* Read CIS tuples until we have read all requested CIS tuple codes */ in sdio_read_cis()
399 /* Decode the CIS data we read */ in sdio_read_cis()
400 sdio_decode_cis(&func->cis, func->num, data, in sdio_read_cis()
403 /* Advance CIS pointer */ in sdio_read_cis()
407 LOG_DBG("SDIO CIS max block size for func %d: %d", func->num, in sdio_read_cis()
408 func->cis.max_blk_size); in sdio_read_cis()
727 if (func->cis.rdy_timeout) { in sdio_enable_func()
732 sd_delay(((uint32_t)func->cis.rdy_timeout) * 10U); in sdio_enable_func()
761 if (func->cis.max_blk_size < bsize) { in sdio_set_block_size()