Searched refs:ret_size (Results 1 - 7 of 7) sorted by relevance
/linux-4.4.14/drivers/char/tpm/ |
H A D | tpm-dev.c | 90 ssize_t ret_size; tpm_read() local 95 ret_size = atomic_read(&priv->data_pending); tpm_read() 96 if (ret_size > 0) { /* relay data */ tpm_read() 97 ssize_t orig_ret_size = ret_size; tpm_read() 98 if (size < ret_size) tpm_read() 99 ret_size = size; tpm_read() 102 rc = copy_to_user(buf, priv->data_buffer, ret_size); tpm_read() 105 ret_size = -EFAULT; tpm_read() 112 return ret_size; tpm_read()
|
/linux-4.4.14/arch/powerpc/boot/ |
H A D | devtree.c | 238 u64 ret_addr, ret_size; dt_xlate() local 259 ret_size = prop_buf[offset + naddr]; dt_xlate() 261 ret_size <<= 32; dt_xlate() 262 ret_size |= prop_buf[offset + naddr + 1]; dt_xlate() 306 (ret_addr >= 0x100000000ULL || ret_size > 0x100000000ULL || dt_xlate() 307 ret_addr + ret_size > 0x100000000ULL)) dt_xlate() 312 *size = ret_size; dt_xlate()
|
/linux-4.4.14/drivers/hid/i2c-hid/ |
H A D | i2c-hid.c | 381 int ret, ret_size; i2c_hid_get_input() local 397 ret_size = ihid->inbuf[0] | ihid->inbuf[1] << 8; i2c_hid_get_input() 399 if (!ret_size) { i2c_hid_get_input() 406 if (ret_size > size) { i2c_hid_get_input() 408 __func__, size, ret_size); i2c_hid_get_input() 412 i2c_hid_dbg(ihid, "input: %*ph\n", ret_size, ihid->inbuf); i2c_hid_get_input() 416 ret_size - 2, 1); i2c_hid_get_input() 445 unsigned int size, ret_size; i2c_hid_init_report() local 455 ret_size = buffer[0] | (buffer[1] << 8); i2c_hid_init_report() 457 if (ret_size != size) { i2c_hid_init_report() 458 dev_err(&client->dev, "error in %s size:%d / ret_size:%d\n", i2c_hid_init_report() 459 __func__, size, ret_size); i2c_hid_init_report()
|
/linux-4.4.14/drivers/staging/wilc1000/ |
H A D | wilc_wlan.c | 1762 int ret_size; wilc_wlan_cfg_set() local 1772 ret_size = wilc_wlan_cfg_set_wid(p->cfg_frame.frame, offset, (u16)wid, wilc_wlan_cfg_set() 1774 offset += ret_size; wilc_wlan_cfg_set() 1783 ret_size = 0; wilc_wlan_cfg_set() 1788 ret_size = 0; wilc_wlan_cfg_set() 1796 return ret_size; wilc_wlan_cfg_set() 1802 int ret_size; wilc_wlan_cfg_get() local 1812 ret_size = wilc_wlan_cfg_get_wid(p->cfg_frame.frame, offset, (u16)wid); wilc_wlan_cfg_get() 1813 offset += ret_size; wilc_wlan_cfg_get() 1820 ret_size = 0; wilc_wlan_cfg_get() 1826 ret_size = 0; wilc_wlan_cfg_get() 1834 return ret_size; wilc_wlan_cfg_get()
|
/linux-4.4.14/fs/ncpfs/ |
H A D | ncplib_kernel.h | 43 int options, int *ret_size, int *ret_options);
|
H A D | ncplib_kernel.c | 177 int size, int options, int *ret_size, int *ret_options) { ncp_negotiate_size_and_options() 197 *ret_size = size; ncp_negotiate_size_and_options() 176 ncp_negotiate_size_and_options(struct ncp_server *server, int size, int options, int *ret_size, int *ret_options) ncp_negotiate_size_and_options() argument
|
/linux-4.4.14/sound/pci/hda/ |
H A D | patch_ca0132.c | 1426 unsigned int ret_bytes, send_size, ret_size; dspio_scp() local 1475 ret_size = (ret_bytes - sizeof(scp_reply.hdr)) dspio_scp() 1478 if (*reply_len < ret_size*sizeof(unsigned int)) { dspio_scp() 1481 } else if (ret_size != reply_data_size) { dspio_scp() 1485 *reply_len = ret_size*sizeof(unsigned int); dspio_scp()
|
Completed in 599 milliseconds