Home
last modified time | relevance | path

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

/openbmc/qemu/hw/ppc/
H A Dspapr_numa.c405 g_autofree uint32_t *int_buf = NULL; in spapr_numa_write_assoc_lookup_arrays() local
410 int_buf = g_new0(uint32_t, nr_nodes * max_distance_ref_points + 2); in spapr_numa_write_assoc_lookup_arrays()
411 cur_index = int_buf; in spapr_numa_write_assoc_lookup_arrays()
412 int_buf[0] = cpu_to_be32(nr_nodes); in spapr_numa_write_assoc_lookup_arrays()
414 int_buf[1] = cpu_to_be32(max_distance_ref_points); in spapr_numa_write_assoc_lookup_arrays()
428 int_buf, (cur_index - int_buf) * sizeof(uint32_t)); in spapr_numa_write_assoc_lookup_arrays()
H A Dspapr.c418 uint8_t *int_buf, *cur_index; in spapr_dt_dynamic_memory_v2() local
488 int_buf = cur_index = g_malloc0(buf_len); in spapr_dt_dynamic_memory_v2()
489 *(uint32_t *)int_buf = cpu_to_be32(nr_entries); in spapr_dt_dynamic_memory_v2()
499 ret = fdt_setprop(fdt, offset, "ibm,dynamic-memory-v2", int_buf, buf_len); in spapr_dt_dynamic_memory_v2()
500 g_free(int_buf); in spapr_dt_dynamic_memory_v2()
517 uint32_t *int_buf, *cur_index, buf_len; in spapr_dt_dynamic_memory() local
523 cur_index = int_buf = g_malloc0(buf_len); in spapr_dt_dynamic_memory()
524 int_buf[0] = cpu_to_be32(nr_lmbs); in spapr_dt_dynamic_memory()
563 ret = fdt_setprop(fdt, offset, "ibm,dynamic-memory", int_buf, buf_len); in spapr_dt_dynamic_memory()
564 g_free(int_buf); in spapr_dt_dynamic_memory()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_buffers.c409 hdroom->int_buf.reserve_cells = reserve_cells; in mlxsw_sp_hdroom_bufs_reset_sizes()
411 if (hdroom->int_buf.enable) in mlxsw_sp_hdroom_bufs_reset_sizes()
412 hdroom->int_buf.size_cells = reserve_cells; in mlxsw_sp_hdroom_bufs_reset_sizes()
414 hdroom->int_buf.size_cells = 0; in mlxsw_sp_hdroom_bufs_reset_sizes()
513 dirty = memcmp(&mlxsw_sp_port->hdroom->int_buf, &hdroom->int_buf, sizeof(hdroom->int_buf)); in mlxsw_sp_hdroom_configure_int_buf()
517 mlxsw_reg_sbib_pack(sbib_pl, mlxsw_sp_port->local_port, hdroom->int_buf.size_cells); in mlxsw_sp_hdroom_configure_int_buf()
522 mlxsw_sp_port->hdroom->int_buf = hdroom->int_buf; in mlxsw_sp_hdroom_configure_int_buf()
535 taken_headroom_cells += hdroom->int_buf.reserve_cells; in mlxsw_sp_hdroom_bufs_fit()
H A Dspectrum_dcb.c601 buf->total_size += mlxsw_sp_cells_bytes(mlxsw_sp, hdroom->int_buf.size_cells); in mlxsw_sp_dcbnl_getbuffer()
H A Dspectrum.h575 } int_buf; member
H A Dspectrum_span.c981 hdroom.int_buf.enable = enable; in mlxsw_sp_span_port_buffer_update()
/openbmc/linux/drivers/staging/vt6656/
H A Dusbpipe.c183 int_data = (struct vnt_interrupt_data *)priv->int_buf.data_buf; in vnt_int_process_data()
249 priv->int_buf.data_buf, in vnt_start_interrupt_urb()
H A Ddevice.h290 struct vnt_interrupt_buffer int_buf; member
H A Dmain_usb.c483 kfree(priv->int_buf.data_buf); in vnt_free_int_bufs()
543 priv->int_buf.data_buf = kmalloc(MAX_INTERRUPT_SIZE, GFP_KERNEL); in vnt_alloc_bufs()
544 if (!priv->int_buf.data_buf) { in vnt_alloc_bufs()
/openbmc/linux/drivers/net/wireless/realtek/rtl8xxxu/
H A Drtl8xxxu.h1900 u8 int_buf[USB_INTR_CONTENT_LENGTH]; member
H A Drtl8xxxu_core.c6545 priv->int_buf, USB_INTR_CONTENT_LENGTH, in rtl8xxxu_submit_int_urb()