Home
last modified time | relevance | path

Searched refs:native (Results 1 – 25 of 44) sorted by relevance

12

/drivers/misc/cxl/
Dnative.c228 afu->native->spa_order = -1; in cxl_alloc_spa()
230 afu->native->spa_order++; in cxl_alloc_spa()
231 spa_size = (1 << afu->native->spa_order) * PAGE_SIZE; in cxl_alloc_spa()
235 afu->native->spa_max_procs, afu->native->spa_size); in cxl_alloc_spa()
237 afu->num_procs = afu->native->spa_max_procs; in cxl_alloc_spa()
241 afu->native->spa_size = spa_size; in cxl_alloc_spa()
242 afu->native->spa_max_procs = spa_max_procs(afu->native->spa_size); in cxl_alloc_spa()
243 } while (afu->native->spa_max_procs < afu->num_procs); in cxl_alloc_spa()
245 if (!(afu->native->spa = (struct cxl_process_element *) in cxl_alloc_spa()
246 __get_free_pages(GFP_KERNEL | __GFP_ZERO, afu->native->spa_order))) { in cxl_alloc_spa()
[all …]
Dpci.c89 #define AFUD_READ(afu, off) in_be64(afu->native->afu_desc_mmio + off)
90 #define AFUD_READ_LE(afu, off) in_le64(afu->native->afu_desc_mmio + off)
530 adapter->native->no_data_cache = true; in init_implementation_adapter_regs_psl9()
613 if (adapter->native->sl_ops->write_timebase_ctrl) in cxl_setup_psl_timebase()
614 adapter->native->sl_ops->write_timebase_ctrl(adapter); in cxl_setup_psl_timebase()
776 afu->psn_phys = p2_base(dev) + (adapter->native->ps_off + (afu->slice * adapter->ps_size)); in pci_map_slice_regs()
777 …afu_desc = p2_base(dev) + adapter->native->afu_desc_off + (afu->slice * adapter->native->afu_desc_… in pci_map_slice_regs()
779 if (!(afu->native->p1n_mmio = ioremap(p1n_base, p1n_size))) in pci_map_slice_regs()
784 if (!(afu->native->afu_desc_mmio = ioremap(afu_desc, adapter->native->afu_desc_size))) in pci_map_slice_regs()
792 iounmap(afu->native->p1n_mmio); in pci_map_slice_regs()
[all …]
Ddebugfs.c71 if (adapter->native->sl_ops->debugfs_add_adapter_regs) in cxl_debugfs_adapter_add()
72 adapter->native->sl_ops->debugfs_add_adapter_regs(adapter, dir); in cxl_debugfs_adapter_add()
114 if (afu->adapter->native->sl_ops->debugfs_add_afu_regs) in cxl_debugfs_afu_add()
115 afu->adapter->native->sl_ops->debugfs_add_afu_regs(afu, dir); in cxl_debugfs_afu_add()
DMakefile5 cxl-y += main.o file.o irq.o fault.o native.o
Dcxl.h478 struct cxl_afu_native *native; member
679 struct cxl_native *native; member
779 return cxl->native->p1_mmio + cxl_reg_off(reg); in _cxl_p1_addr()
799 return afu->native->p1n_mmio + cxl_reg_off(reg); in _cxl_p1n_addr()
Dcontext.c103 ctx->elem = &ctx->afu->native->spa[i]; in cxl_context_init()
Dsysfs.c65 psl_tb = adapter->native->sl_ops->timebase_read(adapter); in psl_timebase_synced_show()
215 return scnprintf(buf, PAGE_SIZE, "%llu\n", afu->native->pp_offset); in pp_mmio_off_show()
/drivers/rpmsg/
Dqcom_glink_smem.c51 struct qcom_glink_pipe native; member
61 #define to_smem_pipe(p) container_of(p, struct glink_smem_pipe, native)
82 pipe->native.length = len; in glink_smem_rx_avail()
89 return pipe->native.length - tail + head; in glink_smem_rx_avail()
103 if (tail >= pipe->native.length) in glink_smem_rx_peek()
104 tail -= pipe->native.length; in glink_smem_rx_peek()
106 len = min_t(size_t, count, pipe->native.length - tail); in glink_smem_rx_peek()
123 if (tail >= pipe->native.length) in glink_smem_rx_advance()
124 tail -= pipe->native.length; in glink_smem_rx_advance()
140 avail = pipe->native.length - head + tail; in glink_smem_tx_avail()
[all …]
Dqcom_glink_rpm.c33 #define to_rpm_pipe(p) container_of(p, struct glink_rpm_pipe, native)
49 struct qcom_glink_pipe native; member
79 return pipe->native.length - tail + head; in glink_rpm_rx_avail()
93 if (tail >= pipe->native.length) in glink_rpm_rx_peek()
94 tail -= pipe->native.length; in glink_rpm_rx_peek()
96 len = min_t(size_t, count, pipe->native.length - tail); in glink_rpm_rx_peek()
117 if (tail >= pipe->native.length) in glink_rpm_rx_advance()
118 tail -= pipe->native.length; in glink_rpm_rx_advance()
133 return pipe->native.length - head + tail; in glink_rpm_tx_avail()
144 len = min_t(size_t, count, pipe->native.length - head); in glink_rpm_tx_write_one()
[all …]
/drivers/gpu/drm/msm/dp/
Ddp_aux.c35 bool native; member
98 if (!aux->native) { /* i2c */ in dp_aux_write()
175 if (aux->native || i2c_read || ((input_msg->address != edid_address) && in dp_aux_update_offset_and_segment()
278 aux->native = msg->request & (DP_AUX_NATIVE_WRITE & DP_AUX_NATIVE_READ); in dp_aux_transfer()
282 msg->reply = aux->native ? in dp_aux_transfer()
288 if ((aux->native && msg->size > aux_cmd_native_max) || in dp_aux_transfer()
332 if (aux->native) { in dp_aux_transfer()
346 msg->reply = aux->native ? DP_AUX_NATIVE_REPLY_ACK : DP_AUX_I2C_REPLY_ACK; in dp_aux_transfer()
349 msg->reply = aux->native ? DP_AUX_NATIVE_REPLY_DEFER : DP_AUX_I2C_REPLY_DEFER; in dp_aux_transfer()
355 msg->reply = aux->native ? DP_AUX_NATIVE_REPLY_NACK : DP_AUX_I2C_REPLY_NACK; in dp_aux_transfer()
[all …]
/drivers/ps3/
Dps3av.c634 id = ps3av_resbit2id(info->res_50.native, info->res_60.native, in ps3av_hdmi_get_id()
635 info->res_vesa.native); in ps3av_hdmi_get_id()
677 info->res_60.res_bits, info->res_60.native); in ps3av_monitor_info_dump()
679 info->res_50.res_bits, info->res_50.native); in ps3av_monitor_info_dump()
681 info->res_other.res_bits, info->res_other.native); in ps3av_monitor_info_dump()
683 info->res_vesa.res_bits, info->res_vesa.native); in ps3av_monitor_info_dump()
745 info->res_60.native &= ~quirk->clear_60; in ps3av_fixup_monitor_info()
/drivers/staging/media/atomisp/pci/
Datomisp_ioctl.c468 const struct v4l2_rect *native, in atomisp_enum_framesizes_crop_inner() argument
491 if ((frame_sizes[i].width + padding_w) > native->width || in atomisp_enum_framesizes_crop_inner()
492 (frame_sizes[i].height + padding_h) > native->height) in atomisp_enum_framesizes_crop_inner()
520 struct v4l2_rect native = input->native_rect; in atomisp_enum_framesizes_crop() local
523 ret = atomisp_enum_framesizes_crop_inner(isp, fsize, &active, &native, &valid_sizes); in atomisp_enum_framesizes_crop()
532 native.width /= 2; in atomisp_enum_framesizes_crop()
533 native.height /= 2; in atomisp_enum_framesizes_crop()
535 return atomisp_enum_framesizes_crop_inner(isp, fsize, &active, &native, &valid_sizes); in atomisp_enum_framesizes_crop()
/drivers/idle/
DKconfig9 native Intel hardware idle features. The acpi_idle driver
/drivers/gpu/drm/nouveau/
Dnouveau_connector.c848 struct drm_display_mode *native = nv_connector->native_mode, *m; in nouveau_connector_scaler_modes_add() local
853 if (!native) in nouveau_connector_scaler_modes_add()
857 if (mode->hdisplay <= native->hdisplay && in nouveau_connector_scaler_modes_add()
858 mode->vdisplay <= native->vdisplay && in nouveau_connector_scaler_modes_add()
859 (mode->hdisplay != native->hdisplay || in nouveau_connector_scaler_modes_add()
860 mode->vdisplay != native->vdisplay)) { in nouveau_connector_scaler_modes_add()
862 drm_mode_vrefresh(native), false, in nouveau_connector_scaler_modes_add()
/drivers/i3c/
DKconfig10 support for high speed transfers and native interrupt support
/drivers/gpu/drm/i915/display/
Dintel_dsi_vbt.c397 bool native = DISPLAY_VER(i915) >= 11; in mipi_exec_gpio() local
407 native = false; in mipi_exec_gpio()
419 gpio_index, gpio_number, gpio_source, str_yes_no(native), str_on_off(value)); in mipi_exec_gpio()
421 if (native) in mipi_exec_gpio()
/drivers/staging/vc04_services/bcm2835-camera/
DTODO15 hardware can do. If we exposed the native padding requirements
/drivers/pci/pcie/
DKconfig21 Say Y here if you have a motherboard that supports PCIe native
24 Thunderbolt/USB4 PCIe tunneling depends on native PCIe hotplug.
/drivers/iommu/iommufd/
DKconfig26 of the native VFIO container, such as peer-to-peer
/drivers/md/dm-vdo/
Dencodings.h1159 u64 native = __le64_to_cpu(packed->encoded_point); in vdo_unpack_journal_point() local
1161 unpacked->sequence_number = (native >> 16); in vdo_unpack_journal_point()
1162 unpacked->entry_count = (native & 0xffff); in vdo_unpack_journal_point()
/drivers/acpi/
Dvideo_detect.c973 enum acpi_backlight_type __acpi_video_get_backlight_type(bool native, bool *auto_detect) in __acpi_video_get_backlight_type() argument
996 if (native) in __acpi_video_get_backlight_type()
/drivers/ufs/core/
DKconfig21 but are also used by the UFS native command set.
/drivers/net/ethernet/mellanox/mlx4/
Dqp.c96 int sqd_event, struct mlx4_qp *qp, int native) in __mlx4_qp_modify() argument
151 MLX4_CMD_2RST_QP, MLX4_CMD_TIME_CLASS_A, native); in __mlx4_qp_modify()
190 op[cur_state][new_state], MLX4_CMD_TIME_CLASS_C, native); in __mlx4_qp_modify()
/drivers/input/mouse/
DKconfig343 Say Y here if you have an Amiga and want its native mouse
354 Say Y here if you have an Atari and want its native mouse
365 native mouse supported.
/drivers/block/xen-blkback/
Dcommon.h194 struct blkif_back_ring native; member

12