Home
last modified time | relevance | path

Searched refs:max_request (Results 1 – 4 of 4) sorted by relevance

/drivers/platform/chrome/
Dcros_ec_proto.c431 ec_dev->max_request = proto_info->max_request_packet_size - in cros_ec_query_all()
445 ec_dev->dout_size = ec_dev->max_request + in cros_ec_query_all()
472 ec_dev->max_request = EC_PROTO2_MAX_PARAM_SIZE; in cros_ec_query_all()
603 if (msg->outsize > ec_dev->max_request) { in cros_ec_cmd_xfer()
607 ec_dev->max_request); in cros_ec_cmd_xfer()
Dcros_ec.c189 ec_dev->max_request = sizeof(struct ec_params_hello); in cros_ec_register()
Dcros_ec_lightbar.c439 max_size = min(EC_LB_PROG_LEN, ec->ec_dev->max_request - extra_bytes); in program_store()
/drivers/dma/
Dsun6i-dma.c202 u32 max_request; member
1013 if (port > sdev->max_request) in sun6i_dma_of_xlate()
1339 sdc->max_request = sdc->cfg->nr_max_requests; in sun6i_dma_probe()
1347 ret = of_property_read_u32(np, "dma-requests", &sdc->max_request); in sun6i_dma_probe()
1348 if (ret && !sdc->max_request) { in sun6i_dma_probe()
1351 sdc->max_request = DMA_CHAN_MAX_DRQ_A31; in sun6i_dma_probe()
1359 sdc->num_vchans = 2 * (sdc->max_request + 1); in sun6i_dma_probe()