Home
last modified time | relevance | path

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

123

/drivers/gpu/drm/i915/display/
Dintel_frontbuffer.c82 enum fb_op_origin origin) in frontbuffer_flush() argument
92 trace_intel_frontbuffer_flush(frontbuffer_bits, origin); in frontbuffer_flush()
96 intel_psr_flush(i915, frontbuffer_bits, origin); in frontbuffer_flush()
97 intel_fbc_flush(i915, frontbuffer_bits, origin); in frontbuffer_flush()
168 enum fb_op_origin origin, in __intel_fb_invalidate() argument
173 if (origin == ORIGIN_CS) { in __intel_fb_invalidate()
180 trace_intel_frontbuffer_invalidate(frontbuffer_bits, origin); in __intel_fb_invalidate()
183 intel_psr_invalidate(i915, frontbuffer_bits, origin); in __intel_fb_invalidate()
185 intel_fbc_invalidate(i915, frontbuffer_bits, origin); in __intel_fb_invalidate()
189 enum fb_op_origin origin, in __intel_fb_flush() argument
[all …]
Dintel_frontbuffer.h91 enum fb_op_origin origin,
106 enum fb_op_origin origin) in intel_frontbuffer_invalidate() argument
117 __intel_fb_invalidate(front, origin, frontbuffer_bits); in intel_frontbuffer_invalidate()
122 enum fb_op_origin origin,
134 enum fb_op_origin origin) in intel_frontbuffer_flush() argument
145 __intel_fb_flush(front, origin, frontbuffer_bits); in intel_frontbuffer_flush()
Dintel_fbc.h33 enum fb_op_origin origin);
35 unsigned int frontbuffer_bits, enum fb_op_origin origin);
Dintel_psr.h34 enum fb_op_origin origin);
37 enum fb_op_origin origin);
Dintel_fbc.c1125 enum fb_op_origin origin) in intel_fbc_invalidate() argument
1132 if (origin == ORIGIN_GTT || origin == ORIGIN_FLIP) in intel_fbc_invalidate()
1146 unsigned int frontbuffer_bits, enum fb_op_origin origin) in intel_fbc_flush() argument
1158 if (origin == ORIGIN_GTT) in intel_fbc_flush()
1165 if (origin == ORIGIN_FLIP) 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.c51 struct dm_dev *origin; member
178 return s->origin; in dm_snap_origin()
316 struct origin { struct
390 static struct origin *__lookup_origin(struct block_device *origin) in __lookup_origin() argument
393 struct origin *o; in __lookup_origin()
395 ol = &_origins[origin_hash(origin)]; in __lookup_origin()
397 if (bdev_equal(o->bdev, origin)) in __lookup_origin()
403 static void __insert_origin(struct origin *o) in __insert_origin()
409 static struct dm_origin *__lookup_dm_origin(struct block_device *origin) in __lookup_dm_origin() argument
414 ol = &_dm_origins[origin_hash(origin)]; in __lookup_dm_origin()
[all …]
Ddm-thin-metadata.c1139 dm_thin_id origin, uint32_t time) in __set_snapshot_details() argument
1144 r = __open_device(pmd, origin, 0, &td); in __set_snapshot_details()
1159 dm_thin_id dev, dm_thin_id origin) in __create_snap() argument
1163 uint64_t key = origin, dev_key = dev; in __create_snap()
1198 r = __set_snapshot_details(pmd, td, origin, pmd->time); in __create_snap()
1215 dm_thin_id origin) in dm_pool_create_snap() argument
1221 r = __create_snap(pmd, dev, origin); in dm_pool_create_snap()
/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/net/ethernet/hisilicon/hns3/
Dhnae3.h848 #define hnae3_set_field(origin, mask, shift, val) \ argument
850 (origin) &= (~(mask)); \
851 (origin) |= ((val) << (shift)) & (mask); \
853 #define hnae3_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) argument
855 #define hnae3_set_bit(origin, shift, val) \ argument
856 hnae3_set_field(origin, 0x1 << (shift), shift, val)
857 #define hnae3_get_bit(origin, shift) \ argument
858 hnae3_get_field(origin, 0x1 << (shift), shift)
/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()
Dacapps.h122 void acpi_dm_dump_tree(union acpi_parse_object *origin);
124 void acpi_dm_find_orphan_methods(union acpi_parse_object *origin);
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()
/drivers/gpu/drm/i915/gem/
Di915_gem_object.h576 enum fb_op_origin origin);
578 enum fb_op_origin origin);
582 enum fb_op_origin origin) in i915_gem_object_flush_frontbuffer() argument
585 __i915_gem_object_flush_frontbuffer(obj, origin); in i915_gem_object_flush_frontbuffer()
590 enum fb_op_origin origin) in i915_gem_object_invalidate_frontbuffer() argument
593 __i915_gem_object_invalidate_frontbuffer(obj, origin); in i915_gem_object_invalidate_frontbuffer()
Di915_gem_object.c339 enum fb_op_origin origin) in __i915_gem_object_flush_frontbuffer() argument
345 intel_frontbuffer_flush(front, origin); in __i915_gem_object_flush_frontbuffer()
351 enum fb_op_origin origin) in __i915_gem_object_invalidate_frontbuffer() argument
357 intel_frontbuffer_invalidate(front, origin); in __i915_gem_object_invalidate_frontbuffer()
/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/
Di915_trace.h481 TP_PROTO(unsigned int frontbuffer_bits, unsigned int origin),
482 TP_ARGS(frontbuffer_bits, origin),
486 __field(unsigned int, origin)
491 __entry->origin = origin;
495 __entry->frontbuffer_bits, __entry->origin)
499 TP_PROTO(unsigned int frontbuffer_bits, unsigned int origin),
500 TP_ARGS(frontbuffer_bits, origin),
504 __field(unsigned int, origin)
509 __entry->origin = origin;
513 __entry->frontbuffer_bits, __entry->origin)
/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/mtd/parsers/
Dredboot.c213 if (data && data->origin) in parse_redboot_partitions()
214 buf[i].flash_base -= data->origin; in parse_redboot_partitions()
/drivers/staging/media/atomisp/pci/
Datomisp_cmd.c3033 dz_config->zoom_region.origin.x = 0; in atomisp_calculate_real_zoom_region()
3034 dz_config->zoom_region.origin.y = 0; in atomisp_calculate_real_zoom_region()
3047 dz_config->zoom_region.origin.x = dz_config->zoom_region.origin.x in atomisp_calculate_real_zoom_region()
3050 dz_config->zoom_region.origin.y = dz_config->zoom_region.origin.y in atomisp_calculate_real_zoom_region()
3085 if (dz_config->zoom_region.origin.y < h_offset) in atomisp_calculate_real_zoom_region()
3086 dz_config->zoom_region.origin.y = 0; in atomisp_calculate_real_zoom_region()
3088 dz_config->zoom_region.origin.y = dz_config->zoom_region.origin.y - h_offset; in atomisp_calculate_real_zoom_region()
3095 if (dz_config->zoom_region.origin.x < w_offset) in atomisp_calculate_real_zoom_region()
3096 dz_config->zoom_region.origin.x = 0; in atomisp_calculate_real_zoom_region()
3098 dz_config->zoom_region.origin.x = dz_config->zoom_region.origin.x - w_offset; in atomisp_calculate_real_zoom_region()
[all …]
/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