Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/i915/
Dintel_frontbuffer.c70 enum fb_op_origin origin, in __intel_fb_obj_invalidate() argument
75 if (origin == ORIGIN_CS) { in __intel_fb_obj_invalidate()
84 intel_fbc_invalidate(dev_priv, frontbuffer_bits, origin); in __intel_fb_obj_invalidate()
101 enum fb_op_origin origin) in intel_frontbuffer_flush() argument
112 intel_psr_flush(dev_priv, frontbuffer_bits, origin); in intel_frontbuffer_flush()
113 intel_fbc_flush(dev_priv, frontbuffer_bits, origin); in intel_frontbuffer_flush()
118 enum fb_op_origin origin, in __intel_fb_obj_flush() argument
132 intel_frontbuffer_flush(dev_priv, frontbuffer_bits, origin); in __intel_fb_obj_flush()
Dintel_frontbuffer.h38 enum fb_op_origin origin,
42 enum fb_op_origin origin,
57 enum fb_op_origin origin) in intel_fb_obj_invalidate() argument
65 __intel_fb_obj_invalidate(obj, origin, frontbuffer_bits); in intel_fb_obj_invalidate()
80 enum fb_op_origin origin) in intel_fb_obj_flush() argument
88 __intel_fb_obj_flush(obj, retire, origin, frontbuffer_bits); in intel_fb_obj_flush()
Dintel_fbc.c993 enum fb_op_origin origin) in intel_fbc_invalidate() argument
1000 if (origin == ORIGIN_GTT || origin == ORIGIN_FLIP) in intel_fbc_invalidate()
1014 unsigned int frontbuffer_bits, enum fb_op_origin origin) in intel_fbc_flush() argument
1025 if (origin == ORIGIN_GTT || origin == ORIGIN_FLIP) in intel_fbc_flush()
/drivers/infiniband/hw/hns/
Dhns_roce_common.h45 #define roce_get_field(origin, mask, shift) \ argument
46 (((origin) & (mask)) >> (shift))
48 #define roce_get_bit(origin, shift) \ argument
49 roce_get_field((origin), (1ul << (shift)), (shift))
51 #define roce_set_field(origin, mask, shift, val) \ argument
53 (origin) &= (~(mask)); \
54 (origin) |= (((u32)(val) << (shift)) & (mask)); \
57 #define roce_set_bit(origin, shift, val) \ argument
58 roce_set_field((origin), (1ul << (shift)), (shift), (val))
/drivers/md/
Ddm-snap.c52 struct dm_dev *origin; member
153 return s->origin; in dm_snap_origin()
291 struct origin { struct
364 static struct origin *__lookup_origin(struct block_device *origin) in __lookup_origin() argument
367 struct origin *o; in __lookup_origin()
369 ol = &_origins[origin_hash(origin)]; in __lookup_origin()
371 if (bdev_equal(o->bdev, origin)) in __lookup_origin()
377 static void __insert_origin(struct origin *o) in __insert_origin()
383 static struct dm_origin *__lookup_dm_origin(struct block_device *origin) in __lookup_dm_origin() argument
388 ol = &_dm_origins[origin_hash(origin)]; in __lookup_dm_origin()
[all …]
Ddm-thin-metadata.c1034 dm_thin_id origin, uint32_t time) in __set_snapshot_details() argument
1039 r = __open_device(pmd, origin, 0, &td); in __set_snapshot_details()
1054 dm_thin_id dev, dm_thin_id origin) in __create_snap() argument
1058 uint64_t key = origin, dev_key = dev; in __create_snap()
1094 r = __set_snapshot_details(pmd, td, origin, pmd->time); in __create_snap()
1111 dm_thin_id origin) in dm_pool_create_snap() argument
1117 r = __create_snap(pmd, dev, origin); in dm_pool_create_snap()
Ddm-thin-metadata.h70 dm_thin_id origin);
/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_reg.h1037 #define dsaf_set_field(origin, mask, shift, val) \ argument
1039 (origin) &= (~(mask)); \
1040 (origin) |= (((val) << (shift)) & (mask)); \
1043 #define dsaf_set_bit(origin, shift, val) \ argument
1044 dsaf_set_field((origin), (1ull << (shift)), (shift), (val))
1049 u32 origin = dsaf_read_reg(base, reg); in dsaf_set_reg_field() local
1051 dsaf_set_field(origin, mask, shift, val); in dsaf_set_reg_field()
1052 dsaf_write_reg(base, reg, origin); in dsaf_set_reg_field()
1061 #define dsaf_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) argument
1063 #define dsaf_get_bit(origin, shift) \ argument
[all …]
Dhnae.h636 #define hnae_set_field(origin, mask, shift, val) \ argument
638 (origin) &= (~(mask)); \
639 (origin) |= ((val) << (shift)) & (mask); \
642 #define hnae_set_bit(origin, shift, val) \ argument
643 hnae_set_field((origin), (0x1 << (shift)), (shift), (val))
645 #define hnae_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) argument
647 #define hnae_get_bit(origin, shift) \ argument
648 hnae_get_field((origin), (0x1 << (shift)), (shift))
Dhns_dsaf_xgmac.c173 u32 origin = dsaf_read_dev(drv, XGMAC_PMA_FEC_CONTROL_REG); in hns_xgmac_pma_fec_enable() local
175 dsaf_set_bit(origin, XGMAC_PMA_FEC_CTL_TX_B, !!tx_value); in hns_xgmac_pma_fec_enable()
176 dsaf_set_bit(origin, XGMAC_PMA_FEC_CTL_RX_B, !!rx_value); in hns_xgmac_pma_fec_enable()
177 dsaf_write_dev(drv, XGMAC_PMA_FEC_CONTROL_REG, origin); in hns_xgmac_pma_fec_enable()
221 u32 origin = dsaf_read_dev(drv, XGMAC_MAC_CONTROL_REG); in hns_xgmac_config_pad_and_crc() local
223 dsaf_set_bit(origin, XGMAC_CTL_TX_PAD_B, !!newval); in hns_xgmac_config_pad_and_crc()
224 dsaf_set_bit(origin, XGMAC_CTL_TX_FCS_B, !!newval); in hns_xgmac_config_pad_and_crc()
225 dsaf_set_bit(origin, XGMAC_CTL_RX_FCS_B, !!newval); in hns_xgmac_config_pad_and_crc()
226 dsaf_write_dev(drv, XGMAC_MAC_CONTROL_REG, origin); in hns_xgmac_config_pad_and_crc()
237 u32 origin = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_CTRL_REG); in hns_xgmac_pausefrm_cfg() local
[all …]
Dhns_dsaf_misc.c525 u32 origin; in hns_mac_config_sds_loopback() local
542 origin = dsaf_read_syscon(mac_cb->serdes_ctrl, reg_offset); in hns_mac_config_sds_loopback()
544 dsaf_set_field(origin, 1ull << 10, 10, en); in hns_mac_config_sds_loopback()
545 dsaf_write_syscon(mac_cb->serdes_ctrl, reg_offset, origin); in hns_mac_config_sds_loopback()
/drivers/net/ethernet/hisilicon/
Dhns_mdio.c126 #define mdio_set_field(origin, mask, shift, val) \ argument
128 (origin) &= (~((mask) << (shift))); \
129 (origin) |= (((val) & (mask)) << (shift)); \
132 #define mdio_get_field(origin, mask, shift) (((origin) >> (shift)) & (mask)) argument
137 u32 origin = mdio_read_reg(base, reg); in mdio_set_reg_field() local
139 mdio_set_field(origin, mask, shift, val); in mdio_set_reg_field()
140 mdio_write_reg(base, reg, origin); in mdio_set_reg_field()
148 u32 origin; in mdio_get_reg_field() local
150 origin = mdio_read_reg(base, reg); in mdio_get_reg_field()
151 return mdio_get_field(origin, mask, shift); in mdio_get_reg_field()
/drivers/acpi/acpica/
Dpstree.c200 union acpi_parse_object *acpi_ps_get_depth_next(union acpi_parse_object *origin, in acpi_ps_get_depth_next() argument
233 while (arg && (arg != origin) && (arg != op)) { in acpi_ps_get_depth_next()
237 if (arg == origin) { in acpi_ps_get_depth_next()
Dacapps.h151 void acpi_dm_dump_tree(union acpi_parse_object *origin);
153 void acpi_dm_find_orphan_methods(union acpi_parse_object *origin);
Ddswstate.c542 *origin, in acpi_ds_create_walk_state()
560 walk_state->origin = origin; in acpi_ds_create_walk_state()
563 walk_state->parser_state.start_op = origin; in acpi_ds_create_walk_state()
Dacstruct.h114 union acpi_parse_object *origin; /* Start of walk [Obsolete] */ member
Dacparser.h205 union acpi_parse_object *acpi_ps_get_depth_next(union acpi_parse_object *origin,
/drivers/parisc/
Deisa_eeprom.c34 static loff_t eisa_eeprom_llseek(struct file *file, loff_t offset, int origin) in eisa_eeprom_llseek() argument
36 return fixed_size_llseek(file, offset, origin, HPEE_MAX_LENGTH); in eisa_eeprom_llseek()
/drivers/char/
Dgeneric_nvram.c35 static loff_t nvram_llseek(struct file *file, loff_t offset, int origin) in nvram_llseek() argument
37 return generic_file_llseek_size(file, offset, origin, in nvram_llseek()
Dtile-srom.c275 loff_t srom_llseek(struct file *file, loff_t offset, int origin) in srom_llseek() argument
278 return fixed_size_llseek(file, offset, origin, srom->total_size); in srom_llseek()
Dnvram.c215 static loff_t nvram_llseek(struct file *file, loff_t offset, int origin) in nvram_llseek() argument
217 return generic_file_llseek_size(file, offset, origin, MAX_LFS_FILESIZE, in nvram_llseek()
Dps3flash.c98 static loff_t ps3flash_llseek(struct file *file, loff_t offset, int origin) in ps3flash_llseek() argument
101 return generic_file_llseek_size(file, offset, origin, MAX_LFS_FILESIZE, in ps3flash_llseek()
/drivers/sbus/char/
Dflash.c80 flash_llseek(struct file *file, long long offset, int origin) in flash_llseek() argument
83 switch (origin) { in flash_llseek()
/drivers/mtd/
Dredboot.c199 if (data && data->origin) in parse_redboot_partitions()
200 buf[i].flash_base -= data->origin; in parse_redboot_partitions()
/drivers/mtd/maps/
Dixp4xx.c177 .origin = dev->resource->start, in ixp4xx_flash_probe()

12