Home
last modified time | relevance | path

Searched refs:origin (Results 1 – 25 of 56) sorted by relevance

123

/drivers/gpu/drm/i915/display/
Dintel_frontbuffer.c81 enum fb_op_origin origin) in frontbuffer_flush() argument
91 trace_intel_frontbuffer_flush(i915, frontbuffer_bits, origin); in frontbuffer_flush()
95 intel_psr_flush(i915, frontbuffer_bits, origin); in frontbuffer_flush()
96 intel_fbc_flush(i915, frontbuffer_bits, origin); in frontbuffer_flush()
167 enum fb_op_origin origin, in __intel_fb_invalidate() argument
172 if (origin == ORIGIN_CS) { in __intel_fb_invalidate()
179 trace_intel_frontbuffer_invalidate(i915, frontbuffer_bits, origin); in __intel_fb_invalidate()
182 intel_psr_invalidate(i915, frontbuffer_bits, origin); in __intel_fb_invalidate()
184 intel_fbc_invalidate(i915, frontbuffer_bits, origin); in __intel_fb_invalidate()
188 enum fb_op_origin origin, in __intel_fb_flush() argument
[all …]
Dintel_frontbuffer.h81 enum fb_op_origin origin,
96 enum fb_op_origin origin) in intel_frontbuffer_invalidate() argument
107 __intel_fb_invalidate(front, origin, frontbuffer_bits); in intel_frontbuffer_invalidate()
112 enum fb_op_origin origin,
124 enum fb_op_origin origin) in intel_frontbuffer_flush() argument
135 __intel_fb_flush(front, origin, frontbuffer_bits); in intel_frontbuffer_flush()
Dintel_display_trace.h606 unsigned int frontbuffer_bits, unsigned int origin),
607 TP_ARGS(i915, frontbuffer_bits, origin),
612 __field(unsigned int, origin)
618 __entry->origin = origin;
622 __get_str(dev), __entry->frontbuffer_bits, __entry->origin)
627 unsigned int frontbuffer_bits, unsigned int origin),
628 TP_ARGS(i915, frontbuffer_bits, origin),
633 __field(unsigned int, origin)
639 __entry->origin = origin;
643 __get_str(dev), __entry->frontbuffer_bits, __entry->origin)
Dintel_fbc.h40 enum fb_op_origin origin);
42 unsigned int frontbuffer_bits, enum fb_op_origin origin);
Dintel_psr.h33 enum fb_op_origin origin);
36 enum fb_op_origin origin);
Dintel_fbc.c1348 enum fb_op_origin origin) in __intel_fbc_invalidate() argument
1350 if (origin == ORIGIN_FLIP || origin == ORIGIN_CURSOR_UPDATE) in __intel_fbc_invalidate()
1368 enum fb_op_origin origin) in intel_fbc_invalidate() argument
1374 __intel_fbc_invalidate(fbc, frontbuffer_bits, origin); in intel_fbc_invalidate()
1380 enum fb_op_origin origin) in __intel_fbc_flush() argument
1390 if (origin == ORIGIN_FLIP || origin == ORIGIN_CURSOR_UPDATE) in __intel_fbc_flush()
1407 enum fb_op_origin origin) in intel_fbc_flush() argument
1413 __intel_fbc_flush(fbc, frontbuffer_bits, origin); in intel_fbc_flush()
/drivers/infiniband/hw/hns/
Dhns_roce_common.h42 #define roce_get_field(origin, mask, shift) \ argument
43 ((le32_to_cpu(origin) & (mask)) >> (u32)(shift))
45 #define roce_get_bit(origin, shift) \ argument
46 roce_get_field((origin), (1ul << (shift)), (shift))
48 #define roce_set_field(origin, mask, shift, val) \ argument
50 (origin) &= ~cpu_to_le32(mask); \
51 (origin) |= \
55 #define roce_set_bit(origin, shift, val) \ argument
56 roce_set_field((origin), (1ul << (shift)), (shift), (val))
/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_reg.h1043 #define dsaf_set_field(origin, mask, shift, val) \ argument
1045 (origin) &= (~(mask)); \
1046 (origin) |= (((val) << (shift)) & (mask)); \
1049 #define dsaf_set_bit(origin, shift, val) \ argument
1050 dsaf_set_field((origin), (1ull << (shift)), (shift), (val))
1055 u32 origin = dsaf_read_reg(base, reg); in dsaf_set_reg_field() local
1057 dsaf_set_field(origin, mask, shift, val); in dsaf_set_reg_field()
1058 dsaf_write_reg(base, reg, origin); in dsaf_set_reg_field()
1067 #define dsaf_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) argument
1069 #define dsaf_get_bit(origin, shift) \ argument
[all …]
Dhnae.h693 #define hnae_set_field(origin, mask, shift, val) \ argument
695 (origin) &= (~(mask)); \
696 (origin) |= ((val) << (shift)) & (mask); \
699 #define hnae_set_bit(origin, shift, val) \ argument
700 hnae_set_field((origin), (0x1 << (shift)), (shift), (val))
702 #define hnae_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) argument
704 #define hnae_get_bit(origin, shift) \ argument
705 hnae_get_field((origin), (0x1 << (shift)), (shift))
Dhns_dsaf_xgmac.c185 u32 origin = dsaf_read_dev(drv, XGMAC_PMA_FEC_CONTROL_REG); in hns_xgmac_pma_fec_enable() local
187 dsaf_set_bit(origin, XGMAC_PMA_FEC_CTL_TX_B, !!tx_value); in hns_xgmac_pma_fec_enable()
188 dsaf_set_bit(origin, XGMAC_PMA_FEC_CTL_RX_B, !!rx_value); in hns_xgmac_pma_fec_enable()
189 dsaf_write_dev(drv, XGMAC_PMA_FEC_CONTROL_REG, origin); in hns_xgmac_pma_fec_enable()
234 u32 origin = dsaf_read_dev(drv, XGMAC_MAC_CONTROL_REG); in hns_xgmac_config_pad_and_crc() local
236 dsaf_set_bit(origin, XGMAC_CTL_TX_PAD_B, !!newval); in hns_xgmac_config_pad_and_crc()
237 dsaf_set_bit(origin, XGMAC_CTL_TX_FCS_B, !!newval); in hns_xgmac_config_pad_and_crc()
238 dsaf_set_bit(origin, XGMAC_CTL_RX_FCS_B, !!newval); in hns_xgmac_config_pad_and_crc()
239 dsaf_write_dev(drv, XGMAC_MAC_CONTROL_REG, origin); in hns_xgmac_config_pad_and_crc()
251 u32 origin = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_CTRL_REG); in hns_xgmac_pausefrm_cfg() local
[all …]
Dhns_dsaf_misc.c651 u32 origin = 0; in hns_mac_config_sds_loopback() local
669 &origin); in hns_mac_config_sds_loopback()
673 dsaf_set_field(origin, 1ull << 10, 10, en); in hns_mac_config_sds_loopback()
674 dsaf_write_syscon(mac_cb->serdes_ctrl, reg_offset, origin); in hns_mac_config_sds_loopback()
/drivers/md/
Ddm-snap.c52 struct dm_dev *origin; member
174 return s->origin; in dm_snap_origin()
314 struct origin { struct
388 static struct origin *__lookup_origin(struct block_device *origin) in __lookup_origin() argument
391 struct origin *o; in __lookup_origin()
393 ol = &_origins[origin_hash(origin)]; in __lookup_origin()
395 if (bdev_equal(o->bdev, origin)) in __lookup_origin()
401 static void __insert_origin(struct origin *o) in __insert_origin()
408 static struct dm_origin *__lookup_dm_origin(struct block_device *origin) in __lookup_dm_origin() argument
413 ol = &_dm_origins[origin_hash(origin)]; in __lookup_dm_origin()
[all …]
/drivers/net/ethernet/hisilicon/
Dhns_mdio.c108 #define mdio_set_field(origin, mask, shift, val) \ argument
110 (origin) &= (~((mask) << (shift))); \
111 (origin) |= (((val) & (mask)) << (shift)); \
114 #define mdio_get_field(origin, mask, shift) (((origin) >> (shift)) & (mask)) argument
119 u32 origin = mdio_read_reg(base, reg); in mdio_set_reg_field() local
121 mdio_set_field(origin, mask, shift, val); in mdio_set_reg_field()
122 mdio_write_reg(base, reg, origin); in mdio_set_reg_field()
130 u32 origin; in mdio_get_reg_field() local
132 origin = mdio_read_reg(base, reg); in mdio_get_reg_field()
133 return mdio_get_field(origin, mask, shift); in mdio_get_reg_field()
/drivers/acpi/acpica/
Dpstree.c169 union acpi_parse_object *acpi_ps_get_depth_next(union acpi_parse_object *origin, in acpi_ps_get_depth_next() argument
204 while (arg && (arg != origin) && (arg != op)) { in acpi_ps_get_depth_next()
210 if (arg == origin) { in acpi_ps_get_depth_next()
Ddswstate.c508 *origin, in acpi_ds_create_walk_state()
526 walk_state->origin = origin; in acpi_ds_create_walk_state()
529 walk_state->parser_state.start_op = origin; in acpi_ds_create_walk_state()
Dacapps.h122 void acpi_dm_dump_tree(union acpi_parse_object *origin);
124 void acpi_dm_find_orphan_methods(union acpi_parse_object *origin);
/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h910 #define hnae3_set_field(origin, mask, shift, val) \ argument
912 (origin) &= (~(mask)); \
913 (origin) |= ((val) << (shift)) & (mask); \
915 #define hnae3_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) argument
917 #define hnae3_set_bit(origin, shift, val) \ argument
918 hnae3_set_field(origin, 0x1 << (shift), shift, val)
919 #define hnae3_get_bit(origin, shift) \ argument
920 hnae3_get_field(origin, 0x1 << (shift), shift)
/drivers/parisc/
Deisa_eeprom.c20 static loff_t eisa_eeprom_llseek(struct file *file, loff_t offset, int origin) in eisa_eeprom_llseek() argument
22 return fixed_size_llseek(file, offset, origin, HPEE_MAX_LENGTH); in eisa_eeprom_llseek()
/drivers/gpu/drm/i915/gem/
Di915_gem_object.h812 enum fb_op_origin origin);
814 enum fb_op_origin origin);
818 enum fb_op_origin origin) in i915_gem_object_flush_frontbuffer() argument
821 __i915_gem_object_flush_frontbuffer(obj, origin); in i915_gem_object_flush_frontbuffer()
826 enum fb_op_origin origin) in i915_gem_object_invalidate_frontbuffer() argument
829 __i915_gem_object_invalidate_frontbuffer(obj, origin); in i915_gem_object_invalidate_frontbuffer()
Di915_gem_object.c468 enum fb_op_origin origin) in __i915_gem_object_flush_frontbuffer() argument
474 intel_frontbuffer_flush(front, origin); in __i915_gem_object_flush_frontbuffer()
480 enum fb_op_origin origin) in __i915_gem_object_invalidate_frontbuffer() argument
486 intel_frontbuffer_invalidate(front, origin); in __i915_gem_object_invalidate_frontbuffer()
/drivers/media/mc/
Dmc-entity.c598 struct media_pad *origin; in media_pipeline_explore_next_link() local
605 origin = entry->pad; in media_pipeline_explore_next_link()
621 if (link->source->entity == origin->entity) { in media_pipeline_explore_next_link()
633 if (origin != local && in media_pipeline_explore_next_link()
634 !media_entity_has_pad_interdep(origin->entity, origin->index, in media_pipeline_explore_next_link()
675 media_entity_for_each_pad(origin->entity, local) { in media_pipeline_explore_next_link()
681 if (origin == local || !local->num_links || in media_pipeline_explore_next_link()
682 !media_entity_has_pad_interdep(origin->entity, origin->index, in media_pipeline_explore_next_link()
/drivers/sbus/char/
Dflash.c78 flash_llseek(struct file *file, long long offset, int origin) in flash_llseek() argument
81 switch (origin) { in flash_llseek()
/drivers/staging/media/atomisp/pci/
Datomisp_cmd.c1895 dz_config->zoom_region.origin.x = 0; in atomisp_calculate_real_zoom_region()
1896 dz_config->zoom_region.origin.y = 0; in atomisp_calculate_real_zoom_region()
1909 dz_config->zoom_region.origin.x = dz_config->zoom_region.origin.x in atomisp_calculate_real_zoom_region()
1912 dz_config->zoom_region.origin.y = dz_config->zoom_region.origin.y in atomisp_calculate_real_zoom_region()
1947 if (dz_config->zoom_region.origin.y < h_offset) in atomisp_calculate_real_zoom_region()
1948 dz_config->zoom_region.origin.y = 0; in atomisp_calculate_real_zoom_region()
1950 dz_config->zoom_region.origin.y = dz_config->zoom_region.origin.y - h_offset; in atomisp_calculate_real_zoom_region()
1957 if (dz_config->zoom_region.origin.x < w_offset) in atomisp_calculate_real_zoom_region()
1958 dz_config->zoom_region.origin.x = 0; in atomisp_calculate_real_zoom_region()
1960 dz_config->zoom_region.origin.x = dz_config->zoom_region.origin.x - w_offset; in atomisp_calculate_real_zoom_region()
[all …]
/drivers/mtd/parsers/
Dredboot.c213 if (data && data->origin) in parse_redboot_partitions()
214 buf[i].flash_base -= data->origin; in parse_redboot_partitions()
/drivers/char/
Dnvram.c222 static loff_t nvram_misc_llseek(struct file *file, loff_t offset, int origin) in nvram_misc_llseek() argument
224 return generic_file_llseek_size(file, offset, origin, MAX_LFS_FILESIZE, in nvram_misc_llseek()

123