Searched refs:s_buf (Results 1 – 4 of 4) sorted by relevance
78 unsigned char s_buf[READ_WRITE_BUFFER_SIZE]; member348 if (copy_from_user(dev->s_buf, buf, bytes_to_write)) in cm4040_write()351 switch (dev->s_buf[0]) { in cm4040_write()399 xoutb(dev->s_buf[i],iobase + REG_OFFSET_BULK_OUT); in cm4040_write()
1062 char *i_buf = NULL, *s_buf = NULL, *t_buf = NULL; in iscsi_target_locate_portal() local1104 s_buf = value; in iscsi_target_locate_portal()1128 if (!s_buf) { in iscsi_target_locate_portal()1143 sessiontype = strncmp(s_buf, DISCOVERY, 9); in iscsi_target_locate_portal()
1609 buf_alloc->s_buf.buf_size = shared_buf; in hclge_is_rx_buf_ok()1610 buf_alloc->s_buf.self.high = shared_buf; in hclge_is_rx_buf_ok()1611 buf_alloc->s_buf.self.low = 2 * hdev->mps; in hclge_is_rx_buf_ok()1616 buf_alloc->s_buf.tc_thrd[i].low = hdev->mps; in hclge_is_rx_buf_ok()1617 buf_alloc->s_buf.tc_thrd[i].high = 2 * hdev->mps; in hclge_is_rx_buf_ok()1619 buf_alloc->s_buf.tc_thrd[i].low = 0; in hclge_is_rx_buf_ok()1620 buf_alloc->s_buf.tc_thrd[i].high = hdev->mps; in hclge_is_rx_buf_ok()1812 cpu_to_le16((buf_alloc->s_buf.buf_size >> HCLGE_BUF_UNIT_S) | in hclge_rx_priv_buf_alloc()1870 struct hclge_shared_buf *s_buf = &buf_alloc->s_buf; in hclge_common_thrd_config() local1889 tc = &s_buf->tc_thrd[i * HCLGE_TC_NUM_ONE_DESC + j]; in hclge_common_thrd_config()[all …]
322 struct hclge_shared_buf s_buf; member