Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_mng_tlv.c248 struct qed_tlv_parsed_buf *p_buf) in qed_mfw_get_gen_tlv_value() argument
253 memset(p_buf->data, 0, sizeof(u8) * QED_TLV_DATA_MAX); in qed_mfw_get_gen_tlv_value()
254 p_buf->data[0] = p_drv_buf->flags.ipv4_csum_offload ? in qed_mfw_get_gen_tlv_value()
256 p_buf->data[0] |= (p_drv_buf->flags.lso_supported ? in qed_mfw_get_gen_tlv_value()
258 p_buf->p_val = p_buf->data; in qed_mfw_get_gen_tlv_value()
270 p_buf->p_val = p_drv_buf->mac[idx]; in qed_mfw_get_gen_tlv_value()
278 p_buf->p_val = &p_drv_buf->rx_frames; in qed_mfw_get_gen_tlv_value()
284 p_buf->p_val = &p_drv_buf->rx_bytes; in qed_mfw_get_gen_tlv_value()
290 p_buf->p_val = &p_drv_buf->tx_frames; in qed_mfw_get_gen_tlv_value()
296 p_buf->p_val = &p_drv_buf->tx_bytes; in qed_mfw_get_gen_tlv_value()
[all …]
Dqed_mcp.h575 int qed_mcp_nvm_read(struct qed_dev *cdev, u32 addr, u8 *p_buf, u32 len);
589 u32 cmd, u32 addr, u8 *p_buf, u32 len);
599 int qed_mcp_nvm_resp(struct qed_dev *cdev, u8 *p_buf);
706 struct qed_ptt *p_ptt, u8 *p_buf, u32 size);
983 u32 port, u32 addr, u32 offset, u32 len, u8 *p_buf);
1280 u16 option_id, u8 entity_id, u16 flags, u8 *p_buf,
1295 u16 option_id, u8 entity_id, u16 flags, u8 *p_buf,
Dqed_mcp.c3016 int qed_mcp_nvm_read(struct qed_dev *cdev, u32 addr, u8 *p_buf, u32 len) in qed_mcp_nvm_read() argument
3038 (u32 *)(p_buf + offset)); in qed_mcp_nvm_read()
3062 int qed_mcp_nvm_resp(struct qed_dev *cdev, u8 *p_buf) in qed_mcp_nvm_resp() argument
3071 memcpy(p_buf, &cdev->mcp_nvm_resp, sizeof(cdev->mcp_nvm_resp)); in qed_mcp_nvm_resp()
3078 u32 cmd, u32 addr, u8 *p_buf, u32 len) in qed_mcp_nvm_write() argument
3115 (u32 *)&p_buf[buf_idx]); in qed_mcp_nvm_write()
3160 u32 port, u32 addr, u32 offset, u32 len, u8 *p_buf) in qed_mcp_phy_sfp_read() argument
3188 (u32 *)(p_buf + offset)); in qed_mcp_phy_sfp_read()
3991 u16 option_id, u8 entity_id, u16 flags, u8 *p_buf, in qed_mcp_nvm_get_cfg() argument
4014 mb_param, &resp, &param, p_len, (u32 *)p_buf); in qed_mcp_nvm_get_cfg()
[all …]
Dqed_ll2.c1246 struct qed_ooo_buffer *p_buf = NULL; in qed_ll2_acquire_connection_ooo() local
1265 p_buf = kzalloc(sizeof(*p_buf), GFP_KERNEL); in qed_ll2_acquire_connection_ooo()
1266 if (!p_buf) { in qed_ll2_acquire_connection_ooo()
1271 p_buf->rx_buffer_size = mtu + 26 + ETH_CACHE_LINE_SIZE; in qed_ll2_acquire_connection_ooo()
1272 p_buf->rx_buffer_size = (p_buf->rx_buffer_size + in qed_ll2_acquire_connection_ooo()
1276 p_buf->rx_buffer_size, in qed_ll2_acquire_connection_ooo()
1277 &p_buf->rx_buffer_phys_addr, in qed_ll2_acquire_connection_ooo()
1280 kfree(p_buf); in qed_ll2_acquire_connection_ooo()
1285 p_buf->rx_buffer_virt_addr = p_virt; in qed_ll2_acquire_connection_ooo()
1286 qed_ooo_put_free_buffer(p_hwfn, p_hwfn->p_ooo_info, p_buf); in qed_ll2_acquire_connection_ooo()
[all …]
/kernel/linux/linux-5.10/arch/um/drivers/
Dmmapper_kern.c26 static unsigned long p_buf; variable
65 if (remap_pfn_range(vma, vma->vm_start, p_buf >> PAGE_SHIFT, size, in mmapper_mmap()
114 p_buf = __pa(v_buf); in mmapper_init()
/kernel/linux/linux-5.10/drivers/iio/pressure/
Dbmp280-core.c160 __le16 p_buf[BMP280_COMP_PRESS_REG_COUNT / 2]; in bmp280_read_calib() local
180 p_buf, BMP280_COMP_PRESS_REG_COUNT); in bmp280_read_calib()
188 add_device_randomness(p_buf, sizeof(p_buf)); in bmp280_read_calib()
190 calib->P1 = le16_to_cpu(p_buf[P1]); in bmp280_read_calib()
191 calib->P2 = le16_to_cpu(p_buf[P2]); in bmp280_read_calib()
192 calib->P3 = le16_to_cpu(p_buf[P3]); in bmp280_read_calib()
193 calib->P4 = le16_to_cpu(p_buf[P4]); in bmp280_read_calib()
194 calib->P5 = le16_to_cpu(p_buf[P5]); in bmp280_read_calib()
195 calib->P6 = le16_to_cpu(p_buf[P6]); in bmp280_read_calib()
196 calib->P7 = le16_to_cpu(p_buf[P7]); in bmp280_read_calib()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dllvm-utils.c113 read_from_pipe(const char *cmd, void **p_buf, size_t *p_read_sz) in read_from_pipe() argument
177 if (!p_buf) in read_from_pipe()
180 *p_buf = buf; in read_from_pipe()
190 if (p_buf) in read_from_pipe()
191 *p_buf = NULL; in read_from_pipe()
/kernel/linux/linux-5.10/drivers/media/pci/tw686x/
Dtw686x-audio.c136 struct tw686x_audio_buf *p_buf, *b_buf; in tw686x_pcm_prepare() local
187 p_buf = list_first_entry(&ac->buf_list, struct tw686x_audio_buf, list); in tw686x_pcm_prepare()
188 list_move_tail(&p_buf->list, &ac->buf_list); in tw686x_pcm_prepare()
193 ac->curr_bufs[0] = p_buf; in tw686x_pcm_prepare()
198 reg_write(dev, ADMA_P_ADDR[ac->ch], p_buf->dma); in tw686x_pcm_prepare()
/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_transport.c988 unsigned char *p_buf, in transport_dump_vpd_proto_id() argument
1033 if (p_buf) in transport_dump_vpd_proto_id()
1034 strncpy(p_buf, buf, p_buf_len); in transport_dump_vpd_proto_id()
1057 unsigned char *p_buf, in transport_dump_vpd_assoc() argument
1083 if (p_buf) in transport_dump_vpd_assoc()
1084 strncpy(p_buf, buf, p_buf_len); in transport_dump_vpd_assoc()
1105 unsigned char *p_buf, in transport_dump_vpd_ident_type() argument
1141 if (p_buf) { in transport_dump_vpd_ident_type()
1144 strncpy(p_buf, buf, p_buf_len); in transport_dump_vpd_ident_type()
1166 unsigned char *p_buf, in transport_dump_vpd_ident() argument
[all …]
/kernel/linux/linux-5.10/drivers/staging/emxx_udc/
Demxx_udc.c163 void *p_buf, unsigned int length) in _nbu2ss_create_ep0_packet() argument
165 udc->ep0_req.req.buf = p_buf; in _nbu2ss_create_ep0_packet()
554 static int ep0_out_overbytes(struct nbu2ss_udc *udc, u8 *p_buf, u32 length) in ep0_out_overbytes() argument
559 union usb_reg_access *p_buf_32 = (union usb_reg_access *)p_buf; in ep0_out_overbytes()
573 static int EP0_in_PIO(struct nbu2ss_udc *udc, u8 *p_buf, u32 length) in EP0_in_PIO() argument
579 union usb_reg_access *p_buf_32 = (union usb_reg_access *)p_buf; in EP0_in_PIO()
602 u8 *p_buf, in ep0_in_overbytes() argument
607 union usb_reg_access *p_buf_32 = (union usb_reg_access *)p_buf; in ep0_in_overbytes()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0009_linux_sound.patch8556 +int xaf_comp_process(struct xf_client *client, struct xaf_comp *p_comp, void *p_buf, u32 length, u…
8567 + p_buf, length);
8572 + p_buf, length);
8821 + void *p_buf, u32 length, u32 flag);