Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/hwtracing/intel_th/
Dmsu.c134 const struct msu_buffer *mbuf; member
181 const struct msu_buffer *mbuf; member
192 if (!strcmp(mbe->mbuf->name, name)) in __msu_buffer_entry_find()
210 return mbe ? mbe->mbuf : NULL; in msu_buffer_get()
213 static void msu_buffer_put(const struct msu_buffer *mbuf) in msu_buffer_put() argument
218 mbe = __msu_buffer_entry_find(mbuf->name); in msu_buffer_put()
224 int intel_th_msu_buffer_register(const struct msu_buffer *mbuf, in intel_th_msu_buffer_register() argument
235 if (__msu_buffer_entry_find(mbuf->name)) { in intel_th_msu_buffer_register()
241 mbe->mbuf = mbuf; in intel_th_msu_buffer_register()
251 void intel_th_msu_buffer_unregister(const struct msu_buffer *mbuf) in intel_th_msu_buffer_unregister() argument
[all …]
/linux-6.6.21/drivers/tty/hvc/
Dhvc_iucv.c87 struct iucv_tty_msg *mbuf; /* buffer to store input/output data */ member
162 bufp->mbuf = kmalloc(bufp->msg.length, flags | GFP_DMA); in alloc_tty_buffer()
163 if (!bufp->mbuf) { in alloc_tty_buffer()
167 bufp->mbuf->version = MSG_VERSION; in alloc_tty_buffer()
168 bufp->mbuf->type = MSG_TYPE_DATA; in alloc_tty_buffer()
169 bufp->mbuf->datalen = (u16) size; in alloc_tty_buffer()
180 kfree(bufp->mbuf); in destroy_tty_buffer()
242 if (!rb->mbuf) { /* message not yet received ... */ in hvc_iucv_write()
245 rb->mbuf = kmalloc(rb->msg.length, GFP_ATOMIC | GFP_DMA); in hvc_iucv_write()
246 if (!rb->mbuf) in hvc_iucv_write()
[all …]
/linux-6.6.21/drivers/input/touchscreen/
Diqs5xx.c194 u8 mbuf[sizeof(reg) + IQS5XX_WR_BYTES_MAX]; in iqs5xx_write_burst() local
199 put_unaligned_be16(reg, mbuf); in iqs5xx_write_burst()
200 memcpy(mbuf + sizeof(reg), val, len); in iqs5xx_write_burst()
208 ret = i2c_master_send(client, mbuf, mlen); in iqs5xx_write_burst()
250 u8 mbuf[sizeof(bl_cmd) + sizeof(bl_addr)]; in iqs5xx_bl_cmd() local
255 msg.buf = mbuf; in iqs5xx_bl_cmd()
257 *mbuf = bl_cmd; in iqs5xx_bl_cmd()
266 put_unaligned_be16(bl_addr, mbuf + sizeof(bl_cmd)); in iqs5xx_bl_cmd()
303 get_unaligned_be16(mbuf) != IQS5XX_BL_ID) { in iqs5xx_bl_cmd()
305 get_unaligned_be16(mbuf)); in iqs5xx_bl_cmd()
[all …]
/linux-6.6.21/drivers/scsi/
Datp870u.c1020 unsigned char mbuf[33], quintet[2]; in tscam() local
1169 mbuf[j] <<= 0x01; in tscam()
1170 mbuf[j] &= 0xfe; in tscam()
1172 mbuf[j] |= 0x01; in tscam()
1184 j = mbuf[0]; in tscam()
1189 k = mbuf[1]; in tscam()
1774 static unsigned char mbuf[512]; in atp_is() local
1877 mbuf[j++] = atp_readb_io(dev, c, 0x19); in atp_is()
1900 mbuf[36] = 0; in atp_is()
1901 printk(KERN_INFO " ID: %2d %s\n", i, &mbuf[8]); in atp_is()
[all …]
/linux-6.6.21/drivers/staging/media/av7110/
Ddvb_filter.c21 int dvb_filter_get_ac3info(u8 *mbuf, int count, struct dvb_audio_info *ai, int pr) in dvb_filter_get_ac3info() argument
30 u8 *b = mbuf+c; in dvb_filter_get_ac3info()
47 headr = mbuf+c+2; in dvb_filter_get_ac3info()
Ddvb_filter.h239 int dvb_filter_get_ac3info(u8 *mbuf, int count, struct dvb_audio_info *ai, int pr);
/linux-6.6.21/include/linux/
Dintel_th.h62 int intel_th_msu_buffer_register(const struct msu_buffer *mbuf,
64 void intel_th_msu_buffer_unregister(const struct msu_buffer *mbuf);
/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c1021 int v4l2_compat_get_array_args(struct file *file, void *mbuf, in v4l2_compat_get_array_args() argument
1027 memset(mbuf, 0, array_size); in v4l2_compat_get_array_args()
1041 struct v4l2_plane *p64 = mbuf; in v4l2_compat_get_array_args()
1064 struct v4l2_ext_control *ec64 = mbuf; in v4l2_compat_get_array_args()
1085 if (copy_from_user(mbuf, user_ptr, array_size)) in v4l2_compat_get_array_args()
1094 void *mbuf, size_t array_size, in v4l2_compat_put_array_args() argument
1111 struct v4l2_plane *p64 = mbuf; in v4l2_compat_put_array_args()
1134 struct v4l2_ext_control *ec64 = mbuf; in v4l2_compat_put_array_args()
1158 if (copy_to_user(user_ptr, mbuf, array_size)) in v4l2_compat_put_array_args()
Dv4l2-ioctl.c3337 void *mbuf = NULL, *array_buf = NULL; in video_usercopy() local
3354 mbuf = kmalloc(ioc_size, GFP_KERNEL); in video_usercopy()
3355 if (NULL == mbuf) in video_usercopy()
3357 parg = mbuf; in video_usercopy()
3436 kfree(mbuf); in video_usercopy()
/linux-6.6.21/drivers/ata/
Dpata_it821x.c611 char mbuf[8]; in it821x_display_disk() local
635 snprintf(mbuf, 8, "%5s%d", mtype, mode - 1); in it821x_display_disk()
637 strcpy(mbuf, "PIO"); in it821x_display_disk()
640 n, mbuf, types[buf[52]], id, cbl); in it821x_display_disk()
643 n, mbuf, types[buf[52]], buf[53], id, cbl); in it821x_display_disk()
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_sup.c3161 qla2x00_get_flash_version(scsi_qla_host_t *vha, void *mbuf) in qla2x00_get_flash_version() argument
3170 if (!ha->pio_address || !mbuf) in qla2x00_get_flash_version()
3256 dbyte = mbuf; in qla2x00_get_flash_version()
3293 qla82xx_get_flash_version(scsi_qla_host_t *vha, void *mbuf) in qla82xx_get_flash_version() argument
3297 uint32_t *dcode = mbuf; in qla82xx_get_flash_version()
3298 uint8_t *bcode = mbuf; in qla82xx_get_flash_version()
3302 if (!mbuf) in qla82xx_get_flash_version()
3316 bcode = mbuf + (pcihdr % 4); in qla82xx_get_flash_version()
3329 bcode = mbuf + (pcihdr % 4); in qla82xx_get_flash_version()
3382 dcode = mbuf; in qla82xx_get_flash_version()
[all …]
/linux-6.6.21/drivers/media/dvb-core/
Ddvbdev.c955 void *mbuf = NULL; in dvb_usercopy() local
975 mbuf = kmalloc(_IOC_SIZE(cmd), GFP_KERNEL); in dvb_usercopy()
976 if (!mbuf) in dvb_usercopy()
978 parg = mbuf; in dvb_usercopy()
1005 kfree(mbuf); in dvb_usercopy()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h1074 int ixgbe_ipsec_vf_add_sa(struct ixgbe_adapter *adapter, u32 *mbuf, u32 vf);
1075 int ixgbe_ipsec_vf_del_sa(struct ixgbe_adapter *adapter, u32 *mbuf, u32 vf);
1089 u32 *mbuf, u32 vf) { return -EACCES; } in ixgbe_ipsec_vf_add_sa() argument
1091 u32 *mbuf, u32 vf) { return -EACCES; } in ixgbe_ipsec_vf_del_sa() argument
/linux-6.6.21/include/media/
Dv4l2-ioctl.h692 int v4l2_compat_get_array_args(struct file *file, void *mbuf,
696 void *mbuf, size_t array_size,
/linux-6.6.21/drivers/ptp/
Dptp_clockmatrix.c2158 u8 mbuf[8] = {0}; in idtcm_get_dco_delay() local
2166 DPLL_CTRL_DPLL_FOD_FREQ, mbuf, 6); in idtcm_get_dco_delay()
2175 m = get_unaligned_le64(mbuf); in idtcm_get_dco_delay()
/linux-6.6.21/Documentation/scsi/
DChangeLog.lpfc1574 * Added code for safety pools for following objects: mbuf/bpl,