/drivers/gpu/drm/i915/ |
D | intel_frontbuffer.c | 70 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()
|
D | intel_frontbuffer.h | 38 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()
|
D | intel_fbc.c | 993 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/ |
D | hns_roce_common.h | 45 #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/ |
D | dm-snap.c | 52 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 …]
|
D | dm-thin-metadata.c | 1034 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()
|
D | dm-thin-metadata.h | 70 dm_thin_id origin);
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_reg.h | 1037 #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 …]
|
D | hnae.h | 636 #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))
|
D | hns_dsaf_xgmac.c | 173 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 …]
|
D | hns_dsaf_misc.c | 525 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/ |
D | hns_mdio.c | 126 #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/ |
D | pstree.c | 200 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()
|
D | acapps.h | 151 void acpi_dm_dump_tree(union acpi_parse_object *origin); 153 void acpi_dm_find_orphan_methods(union acpi_parse_object *origin);
|
D | dswstate.c | 542 *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()
|
D | acstruct.h | 114 union acpi_parse_object *origin; /* Start of walk [Obsolete] */ member
|
D | acparser.h | 205 union acpi_parse_object *acpi_ps_get_depth_next(union acpi_parse_object *origin,
|
/drivers/parisc/ |
D | eisa_eeprom.c | 34 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/ |
D | generic_nvram.c | 35 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()
|
D | tile-srom.c | 275 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()
|
D | nvram.c | 215 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()
|
D | ps3flash.c | 98 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/ |
D | flash.c | 80 flash_llseek(struct file *file, long long offset, int origin) in flash_llseek() argument 83 switch (origin) { in flash_llseek()
|
/drivers/mtd/ |
D | redboot.c | 199 if (data && data->origin) in parse_redboot_partitions() 200 buf[i].flash_base -= data->origin; in parse_redboot_partitions()
|
/drivers/mtd/maps/ |
D | ixp4xx.c | 177 .origin = dev->resource->start, in ixp4xx_flash_probe()
|