Searched refs:din_size (Results 1 – 9 of 9) sorted by relevance
175 if (len > ec_dev->din_size) { in cros_ec_rpmsg_callback()178 len, ec_dev->din_size); in cros_ec_rpmsg_callback()179 len = ec_dev->din_size; in cros_ec_rpmsg_callback()234 ec_dev->din_size = sizeof(struct ec_host_response) + in cros_ec_rpmsg_probe()
163 BUG_ON(buf - ec_dev->din + n > ec_dev->din_size); in receive_n_bytes()200 BUG_ON(ec_dev->din_size < EC_MSG_PREAMBLE_COUNT); in cros_ec_spi_receive_packet()240 BUG_ON(todo < 0 || todo > ec_dev->din_size); in cros_ec_spi_receive_packet()260 if (response->data_len > ec_dev->din_size) in cros_ec_spi_receive_packet()308 BUG_ON(ec_dev->din_size < EC_MSG_PREAMBLE_COUNT); in cros_ec_spi_receive_response()348 BUG_ON(todo < 0 || todo > ec_dev->din_size); in cros_ec_spi_receive_response()768 ec_dev->din_size = EC_MSG_PREAMBLE_COUNT + in cros_ec_spi_probe()
499 if (in_size > ec_dev->din_size) { in cros_ec_pkt_xfer_ish()502 in_size, ec_dev->din_size); in cros_ec_pkt_xfer_ish()582 ec_dev->din_size = sizeof(struct cros_ish_in_msg) + in cros_ec_dev_init()
75 BUG_ON(packet_len > ec_dev->din_size); in cros_ec_pkt_xfer_i2c()299 ec_dev->din_size = sizeof(struct ec_host_response_i2c) + in cros_ec_i2c_probe()
442 ec_dev->din_size = ec_dev->max_response + in cros_ec_query_all()476 ec_dev->din_size = EC_PROTO2_MSG_BYTES; in cros_ec_query_all()493 ec_dev->din = devm_kzalloc(dev, ec_dev->din_size, GFP_KERNEL); in cros_ec_query_all()
181 ec_dev->din = devm_kzalloc(dev, ec_dev->din_size, GFP_KERNEL); in cros_ec_register()
392 ec_dev->din_size = sizeof(struct ec_host_response) + in cros_ec_lpc_probe()
86 u32 din_size; /* Data input size register */ member
697 unsigned int din_size; in cc_setup_key_desc() local725 din_size = (key_len == 24) ? in cc_setup_key_desc()729 key_dma_addr, din_size, in cc_setup_key_desc()