Home
last modified time | relevance | path

Searched refs:buff_len (Results 1 – 6 of 6) sorted by relevance

/drivers/video/fbdev/via/
Ddvi.c27 static int tmds_register_read_bytes(int index, u8 *buff, int buff_len);
166 static int tmds_register_read_bytes(int index, u8 *buff, int buff_len) in tmds_register_read_bytes() argument
170 (u8) index, buff, buff_len); in tmds_register_read_bytes()
Dvia_i2c.c166 int viafb_i2c_readbytes(u8 adap, u8 slave_addr, u8 index, u8 *buff, int buff_len) in viafb_i2c_readbytes() argument
178 msgs[0].len = 1; msgs[1].len = buff_len; in viafb_i2c_readbytes()
/drivers/infiniband/hw/nes/
Dnes_cm.c214 u16 buff_len = 0; in send_mpa_request() local
222 cm_build_mpa_frame(cm_node, start_buff, &buff_len, NULL, MPA_KEY_REQUEST); in send_mpa_request()
223 form_cm_frame(skb, cm_node, NULL, 0, *start_buff, buff_len, SET_ACK); in send_mpa_request()
236 u16 buff_len = 0; in send_mpa_reject() local
246 cm_build_mpa_frame(cm_node, start_buff, &buff_len, NULL, MPA_KEY_REPLY); in send_mpa_reject()
249 form_cm_frame(skb, cm_node, NULL, 0, *start_buff, buff_len, SET_ACK | SET_FIN); in send_mpa_reject()
660 u16 *buff_len, u8 *pci_mem, u8 mpa_key) in cm_build_mpa_frame() argument
669 *buff_len = sizeof(struct ietf_mpa_v1) + cm_node->mpa_frame_size; in cm_build_mpa_frame()
673 *buff_len = sizeof(struct ietf_mpa_v2) + cm_node->mpa_frame_size; in cm_build_mpa_frame()
3206 u16 buff_len = 0; in nes_accept() local
[all …]
/drivers/scsi/ufs/
Dufshcd.c1814 u32 buff_len; in ufshcd_read_desc_param() local
1821 buff_len = ufs_query_desc_max_size[desc_id]; in ufshcd_read_desc_param()
1822 if ((param_offset + param_size) > buff_len) in ufshcd_read_desc_param()
1825 if (!param_offset && (param_size == buff_len)) { in ufshcd_read_desc_param()
1831 desc_buf = kmalloc(buff_len, GFP_KERNEL); in ufshcd_read_desc_param()
1838 &buff_len); in ufshcd_read_desc_param()
1840 if (ret || (buff_len < ufs_query_desc_max_size[desc_id]) || in ufshcd_read_desc_param()
1845 __func__, desc_id, param_offset, buff_len, ret); in ufshcd_read_desc_param()
4059 int buff_len = QUERY_DESC_POWER_MAX_SIZE; in ufshcd_init_icc_levels() local
4062 ret = ufshcd_read_power_desc(hba, desc_buf, buff_len); in ufshcd_init_icc_levels()
[all …]
/drivers/staging/bcm/
DBcmchar.c253 UINT buff_len; in bcm_char_ioctl_reg_read_private() local
273 buff_len = io_buff.OutputLength; in bcm_char_ioctl_reg_read_private()
274 temp_value = 4 - (buff_len % 4); in bcm_char_ioctl_reg_read_private()
275 buff_len += temp_value % 4; in bcm_char_ioctl_reg_read_private()
277 temp_buff = kmalloc(buff_len, GFP_KERNEL); in bcm_char_ioctl_reg_read_private()
282 (PUINT)temp_buff, buff_len); in bcm_char_ioctl_reg_read_private()
/drivers/staging/unisys/uislib/
Duislib.c1194 buff_len, __VA_ARGS__)
1197 info_debugfs_read_helper(char **buff, int *buff_len) in info_debugfs_read_helper() argument