Home
last modified time | relevance | path

Searched refs:p_buf (Results 1 – 16 of 16) sorted by relevance

/freebsd-10-stable/sys/dev/qlnx/qlnxe/
Decore_mng_tlv.c270 struct ecore_tlv_parsed_buf *p_buf) in ecore_mfw_get_gen_tlv_value() argument
275 OSAL_MEM_ZERO(p_buf->data, in ecore_mfw_get_gen_tlv_value()
277 p_buf->data[0] = p_drv_buf->flags.ipv4_csum_offload ? in ecore_mfw_get_gen_tlv_value()
279 p_buf->data[0] |= (p_drv_buf->flags.lso_supported ? in ecore_mfw_get_gen_tlv_value()
281 p_buf->p_val = p_buf->data; in ecore_mfw_get_gen_tlv_value()
293 p_buf->p_val = p_drv_buf->mac[idx]; in ecore_mfw_get_gen_tlv_value()
301 p_buf->p_val = (u8 *)&p_drv_buf->rx_frames; in ecore_mfw_get_gen_tlv_value()
307 p_buf->p_val = (u8 *)&p_drv_buf->rx_bytes; in ecore_mfw_get_gen_tlv_value()
313 p_buf->p_val = (u8 *)&p_drv_buf->tx_frames; in ecore_mfw_get_gen_tlv_value()
319 p_buf->p_val = (u8 *)&p_drv_buf->tx_bytes; in ecore_mfw_get_gen_tlv_value()
[all …]
Decore_mcp_api.h942 u32 addr, u8 *p_buf, u32 len);
956 u32 addr, u8 *p_buf, u32 len);
988 enum _ecore_status_t ecore_mcp_nvm_resp(struct ecore_dev *p_dev, u8 *p_buf);
1002 u32 addr, u8 *p_buf, u32 len);
1015 u8 *p_buf, u32 len);
1119 u32 len, u8 *p_buf);
1137 u32 len, u8 *p_buf);
Decore_mcp.c3121 u8 *p_buf = OSAL_NULL; in ecore_mcp_ov_get_fc_npiv() local
3141 p_buf = OSAL_VZALLOC(p_hwfn->p_dev, size); in ecore_mcp_ov_get_fc_npiv()
3142 if (!p_buf) { in ecore_mcp_ov_get_fc_npiv()
3147 rc = ecore_mcp_nvm_read(p_hwfn->p_dev, addr, p_buf, size); in ecore_mcp_ov_get_fc_npiv()
3149 OSAL_VFREE(p_hwfn->p_dev, p_buf); in ecore_mcp_ov_get_fc_npiv()
3153 p_npiv_table = (struct dci_fc_npiv_tbl *)p_buf; in ecore_mcp_ov_get_fc_npiv()
3163 OSAL_VFREE(p_hwfn->p_dev, p_buf); in ecore_mcp_ov_get_fc_npiv()
3341 u8 *p_buf, u32 len) in ecore_mcp_nvm_read() argument
3363 (u32 *)(p_buf + offset)); in ecore_mcp_nvm_read()
3397 u32 addr, u8 *p_buf, u32 len) in ecore_mcp_phy_read() argument
[all …]
Decore_init_ops.c190 u32 size, const u32 *p_buf, argument
202 const u32 *data = p_buf + dmae_data_offset;
209 (osal_uintptr_t)(p_buf +
/freebsd-10-stable/sys/libkern/
Dcrc32.c678 const unsigned char *p_buf, in crc32c_sb8_64_bit() argument
691 crc = sctp_crc_tableil8_o32[(crc ^ *p_buf++) & 0x000000FF] ^ in crc32c_sb8_64_bit()
695 crc ^= *p_buf++; in crc32c_sb8_64_bit()
696 crc ^= (*p_buf++) << 8; in crc32c_sb8_64_bit()
697 crc ^= (*p_buf++) << 16; in crc32c_sb8_64_bit()
698 crc ^= (*p_buf++) << 24; in crc32c_sb8_64_bit()
700 crc ^= *(const uint32_t *) p_buf; in crc32c_sb8_64_bit()
701 p_buf += 4; in crc32c_sb8_64_bit()
711 crc ^= sctp_crc_tableil8_o56[*p_buf++]; in crc32c_sb8_64_bit()
712 crc ^= sctp_crc_tableil8_o48[*p_buf++]; in crc32c_sb8_64_bit()
[all …]
/freebsd-10-stable/contrib/ofed/management/opensm/complib/
Dcl_log.c66 char *p_buf; in cl_log_event() local
91 p_buf = data; in cl_log_event()
94 sprintf(p_buf, "%02x", *p_int_data++); in cl_log_event()
95 p_buf += 2; in cl_log_event()
99 sprintf(p_buf++, "\n"); in cl_log_event()
105 sprintf(p_buf++, " "); in cl_log_event()
107 syslog(priority, "%s data:\n%s\n", message, p_buf); in cl_log_event()
Dcl_vector.c348 cl_list_item_t *p_buf; in cl_vector_set_capacity() local
387 p_buf = (cl_list_item_t *) malloc(alloc_size + sizeof(cl_list_item_t)); in cl_vector_set_capacity()
388 if (!p_buf) in cl_vector_set_capacity()
391 memset(p_buf, 0, alloc_size + sizeof(cl_list_item_t)); in cl_vector_set_capacity()
393 cl_qlist_insert_tail(&p_vector->alloc_list, p_buf); in cl_vector_set_capacity()
395 p_buf++; in cl_vector_set_capacity()
398 p_vector->p_ptr_array[i] = p_buf; in cl_vector_set_capacity()
400 p_buf = (void *)(((uint8_t *) p_buf) + p_vector->element_size); in cl_vector_set_capacity()
/freebsd-10-stable/contrib/ofed/management/opensm/libvendor/
Dosm_vendor_mlx_sar.c71 IN uint32_t seg_idx, OUT void *p_buf) in osmv_rmpp_sar_get_mad_seg() argument
89 memset(p_buf, 0, MAD_BLOCK_SIZE); in osmv_rmpp_sar_get_mad_seg()
92 memcpy(p_buf, p_sar->p_arbt_mad, p_sar->hdr_sz); in osmv_rmpp_sar_get_mad_seg()
100 memcpy((char *)p_buf + p_sar->hdr_sz, (char *)p_seg, in osmv_rmpp_sar_get_mad_seg()
103 memcpy((char *)p_buf + p_sar->hdr_sz, (char *)p_seg, sz_left); in osmv_rmpp_sar_get_mad_seg()
Dosm_vendor_mlx_rmpp_ctx.c117 IN uint32_t resp_timeout, OUT void *p_buf) in osmv_rmpp_send_ctx_get_seg() argument
126 st = osmv_rmpp_sar_get_mad_seg(&p_send_ctx->sar, seg_idx, p_buf); in osmv_rmpp_send_ctx_get_seg()
131 p_rmpp_mad = (ib_rmpp_mad_t *) p_buf; in osmv_rmpp_send_ctx_get_seg()
/freebsd-10-stable/sys/boot/common/
Dbcache.c167 caddr_t p_buf; in read_strategy() local
185 p_buf = NULL; in read_strategy()
192 p_buf = buf + (bcache_blksize * i); in read_strategy()
199 result = dd->dv_strategy(dd->dv_devdata, rw, p_blk, p_size * bcache_blksize, p_buf, NULL); in read_strategy()
203 bcache_insert(p_buf + (j * bcache_blksize), p_blk + j); in read_strategy()
209 result = dd->dv_strategy(dd->dv_devdata, rw, p_blk, p_size * bcache_blksize, p_buf, NULL); in read_strategy()
213 bcache_insert(p_buf + (j * bcache_blksize), p_blk + j); in read_strategy()
/freebsd-10-stable/contrib/ntp/sntp/libopts/
Dload.c145 optionMakePath(char * p_buf, int b_sz, char const * fname, char const * prg_path) in optionMakePath() argument
159 char * dst = p_buf; in optionMakePath()
180 if (! add_prog_path(p_buf, b_sz, fname, prg_path)) in optionMakePath()
188 if (snprintf(p_buf, (size_t)b_sz, "%s%s", in optionMakePath()
194 if (! add_env_val(p_buf, b_sz, fname)) in optionMakePath()
198 return get_realpath(p_buf, b_sz); in optionMakePath()
/freebsd-10-stable/contrib/ofed/management/opensm/include/vendor/
Dosm_vendor_mlx_sar.h99 void *p_buf);
/freebsd-10-stable/contrib/ofed/management/opensm/opensm/
Dosm_log.c202 IN const osm_log_level_t verbosity, IN const char *p_buf) in osm_log_raw() argument
206 printf("%s", p_buf); in osm_log_raw()
Dosm_helper.c564 dbg_get_capabilities_str(IN char *p_buf, in dbg_get_capabilities_str() argument
570 char *p_local = p_buf; in dbg_get_capabilities_str()
/freebsd-10-stable/contrib/ofed/management/opensm/include/opensm/
Dosm_log.h391 IN const osm_log_level_t verbosity, IN const char *p_buf);
/freebsd-10-stable/contrib/ofed/management/opensm/include/iba/
Dib_types.h10677 IN OUT void *p_buf OPTIONAL;