/drivers/gpu/drm/amd/include/ |
D | atom-bits.h | 28 static inline uint8_t get_u8(void *bios, int ptr) in get_u8() 32 #define U8(ptr) get_u8(ctx->ctx->bios, (ptr)) argument 33 #define CU8(ptr) get_u8(ctx->bios, (ptr)) argument 34 static inline uint16_t get_u16(void *bios, int ptr) in get_u16() 38 #define U16(ptr) get_u16(ctx->ctx->bios, (ptr)) argument 39 #define CU16(ptr) get_u16(ctx->bios, (ptr)) argument 40 static inline uint32_t get_u32(void *bios, int ptr) in get_u32() 44 #define U32(ptr) get_u32(ctx->ctx->bios, (ptr)) argument 45 #define CU32(ptr) get_u32(ctx->bios, (ptr)) argument 46 #define CSTR(ptr) (((char *)(ctx->bios))+(ptr)) argument
|
/drivers/gpu/drm/radeon/ |
D | atom-bits.h | 28 static inline uint8_t get_u8(void *bios, int ptr) in get_u8() 32 #define U8(ptr) get_u8(ctx->ctx->bios, (ptr)) argument 33 #define CU8(ptr) get_u8(ctx->bios, (ptr)) argument 34 static inline uint16_t get_u16(void *bios, int ptr) in get_u16() 38 #define U16(ptr) get_u16(ctx->ctx->bios, (ptr)) argument 39 #define CU16(ptr) get_u16(ctx->bios, (ptr)) argument 40 static inline uint32_t get_u32(void *bios, int ptr) in get_u32() 44 #define U32(ptr) get_u32(ctx->ctx->bios, (ptr)) argument 45 #define CU32(ptr) get_u32(ctx->bios, (ptr)) argument 46 #define CSTR(ptr) (((char *)(ctx->bios))+(ptr)) argument
|
D | atom.c | 183 int *ptr, uint32_t *saved, int print) in atom_get_src_int() 367 static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_skip_src_int() 403 static uint32_t atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_get_src() 408 static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) in atom_get_src_direct() 435 int *ptr, uint32_t *saved, int print) in atom_get_dst() 443 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) in atom_skip_dst() 451 int *ptr, uint32_t val, uint32_t saved) in atom_put_dst() 586 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add() 600 static void atom_op_and(atom_exec_context *ctx, int *ptr, int arg) in atom_op_and() 614 static void atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) in atom_op_beep() [all …]
|
/drivers/staging/media/zoran/ |
D | zr36060.c | 54 static u8 zr36060_read(struct zr36060 *ptr, u16 reg) in zr36060_read() 67 static void zr36060_write(struct zr36060 *ptr, u16 reg, u8 value) in zr36060_write() 85 static u8 zr36060_read_status(struct zr36060 *ptr) in zr36060_read_status() 94 static u16 zr36060_read_scalefactor(struct zr36060 *ptr) in zr36060_read_scalefactor() 105 static void zr36060_wait_end(struct zr36060 *ptr) in zr36060_wait_end() 121 static int zr36060_basic_test(struct zr36060 *ptr) in zr36060_basic_test() 139 static int zr36060_pushit(struct zr36060 *ptr, u16 startreg, u16 len, const char *data) in zr36060_pushit() 253 static int zr36060_set_sof(struct zr36060 *ptr) in zr36060_set_sof() 281 static int zr36060_set_sos(struct zr36060 *ptr) in zr36060_set_sos() 306 static int zr36060_set_dri(struct zr36060 *ptr) in zr36060_set_dri() [all …]
|
D | zr36050.c | 52 static u8 zr36050_read(struct zr36050 *ptr, u16 reg) in zr36050_read() 68 static void zr36050_write(struct zr36050 *ptr, u16 reg, u8 value) in zr36050_write() 89 static u8 zr36050_read_status1(struct zr36050 *ptr) in zr36050_read_status1() 104 static u16 zr36050_read_scalefactor(struct zr36050 *ptr) in zr36050_read_scalefactor() 120 static void zr36050_wait_end(struct zr36050 *ptr) in zr36050_wait_end() 141 static int zr36050_basic_test(struct zr36050 *ptr) in zr36050_basic_test() 182 static int zr36050_pushit(struct zr36050 *ptr, u16 startreg, u16 len, const char *data) in zr36050_pushit() 308 static int zr36050_set_sof(struct zr36050 *ptr) in zr36050_set_sof() 339 static int zr36050_set_sos(struct zr36050 *ptr) in zr36050_set_sos() 366 static int zr36050_set_dri(struct zr36050 *ptr) in zr36050_set_dri() [all …]
|
D | zr36016.c | 43 static u8 zr36016_read(struct zr36016 *ptr, u16 reg) in zr36016_read() 58 static void zr36016_write(struct zr36016 *ptr, u16 reg, u8 value) in zr36016_write() 72 static u8 zr36016_readi(struct zr36016 *ptr, u16 reg) in zr36016_readi() 88 static void zr36016_writei(struct zr36016 *ptr, u16 reg, u8 value) in zr36016_writei() 109 static u8 zr36016_read_version(struct zr36016 *ptr) in zr36016_read_version() 121 static int zr36016_basic_test(struct zr36016 *ptr) in zr36016_basic_test() 185 static void zr36016_init(struct zr36016 *ptr) in zr36016_init() 227 struct zr36016 *ptr = (struct zr36016 *)codec->data; in zr36016_set_mode() local 244 struct zr36016 *ptr = (struct zr36016 *)codec->data; in zr36016_set_video() local 278 struct zr36016 *ptr = (struct zr36016 *)codec->data; in zr36016_control() local [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | atom.c | 179 int *ptr, uint32_t *saved, int print) in atom_get_src_int() 363 static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_skip_src_int() 399 static uint32_t atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_get_src() 404 static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) in atom_get_src_direct() 431 int *ptr, uint32_t *saved, int print) in atom_get_dst() 439 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) in atom_skip_dst() 447 int *ptr, uint32_t val, uint32_t saved) in atom_put_dst() 582 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add() 596 static void atom_op_and(atom_exec_context *ctx, int *ptr, int arg) in atom_op_and() 610 static void atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) in atom_op_beep() [all …]
|
/drivers/gpu/drm/i915/ |
D | i915_utils.h | 160 #define ptr_mask_bits(ptr, n) ({ \ argument 165 #define ptr_unmask_bits(ptr, n) ((unsigned long)(ptr) & (BIT(n) - 1)) argument 167 #define ptr_unpack_bits(ptr, bits, n) ({ \ argument 173 #define ptr_pack_bits(ptr, bits, n) ({ \ argument 179 #define ptr_dec(ptr) ({ \ argument 184 #define ptr_inc(ptr) ({ \ argument 189 #define page_mask_bits(ptr) ptr_mask_bits(ptr, PAGE_SHIFT) argument 190 #define page_unmask_bits(ptr) ptr_unmask_bits(ptr, PAGE_SHIFT) argument 191 #define page_pack_bits(ptr, bits) ptr_pack_bits(ptr, bits, PAGE_SHIFT) argument 192 #define page_unpack_bits(ptr, bits) ptr_unpack_bits(ptr, bits, PAGE_SHIFT) argument [all …]
|
/drivers/sh/intc/ |
D | access.c | 78 void __iomem *ptr = (void __iomem *)addr; in test_8() local 85 void __iomem *ptr = (void __iomem *)addr; in test_16() local 92 void __iomem *ptr = (void __iomem *)addr; in test_32() local 99 void __iomem *ptr = (void __iomem *)addr; in write_8() local 108 void __iomem *ptr = (void __iomem *)addr; in write_16() local 117 void __iomem *ptr = (void __iomem *)addr; in write_32() local 126 void __iomem *ptr = (void __iomem *)addr; in modify_8() local 140 void __iomem *ptr = (void __iomem *)addr; in modify_16() local 154 void __iomem *ptr = (void __iomem *)addr; in modify_32() local
|
/drivers/crypto/qat/qat_common/ |
D | adf_dev_mgr.c | 39 struct vf_id_map *ptr = in adf_find_vf() local 53 struct vf_id_map *ptr = in adf_get_vf_real_id() local 71 struct list_head *ptr, *tmp; in adf_clean_vf_map() local 104 struct adf_accel_dev *ptr = in adf_devmgr_update_class_index() local 159 struct adf_accel_dev *ptr = in adf_devmgr_add_dev() local 301 struct adf_accel_dev *ptr = in adf_devmgr_pci_to_accel_dev() local 327 struct adf_accel_dev *ptr = in adf_devmgr_get_dev_by_id() local 357 struct vf_id_map *ptr = in adf_get_num_dettached_vfs() local
|
D | adf_cfg.c | 29 struct adf_cfg_key_val *ptr = in qat_dev_cfg_show() local 136 struct adf_cfg_key_val *ptr = in adf_cfg_keyval_del_all() local 145 struct adf_cfg_section *ptr; in adf_cfg_section_del_all() local 162 struct adf_cfg_key_val *ptr = in adf_cfg_key_value_find() local 177 struct adf_cfg_section *ptr = in adf_cfg_sec_find() local
|
/drivers/gpu/drm/amd/display/dc/gpio/ |
D | hw_gpio.c | 61 struct hw_gpio_pin *ptr, in dal_hw_gpio_open() 74 const struct hw_gpio_pin *ptr, in dal_hw_gpio_get_value() 96 const struct hw_gpio_pin *ptr, in dal_hw_gpio_set_value() 122 struct hw_gpio_pin *ptr, in dal_hw_gpio_change_mode() 131 struct hw_gpio_pin *ptr) in dal_hw_gpio_close()
|
/drivers/staging/media/atomisp/pci/base/refcount/src/ |
D | refcount.c | 42 static struct ia_css_refcount_entry *refcount_find_entry(ia_css_ptr ptr, in refcount_find_entry() 126 ia_css_ptr ia_css_refcount_increment(s32 id, ia_css_ptr ptr) in ia_css_refcount_increment() 163 bool ia_css_refcount_decrement(s32 id, ia_css_ptr ptr) in ia_css_refcount_decrement() 206 bool ia_css_refcount_is_single(ia_css_ptr ptr) in ia_css_refcount_is_single() 267 bool ia_css_refcount_is_valid(ia_css_ptr ptr) in ia_css_refcount_is_valid()
|
/drivers/video/ |
D | hdmi.c | 34 static u8 hdmi_infoframe_checksum(const u8 *ptr, size_t size) in hdmi_infoframe_checksum() 48 u8 *ptr = buffer; in hdmi_infoframe_set_checksum() local 112 u8 *ptr = buffer; in hdmi_avi_infoframe_pack_only() local 279 u8 *ptr = buffer; in hdmi_spd_infoframe_pack_only() local 404 u8 *ptr = buffer; in hdmi_audio_infoframe_pack_only() local 566 u8 *ptr = buffer; in hdmi_vendor_infoframe_pack_only() local 710 u8 *ptr = buffer; in hdmi_drm_infoframe_pack_only() local 1551 const u8 *ptr = buffer; in hdmi_avi_infoframe_unpack() local 1615 const u8 *ptr = buffer; in hdmi_spd_infoframe_unpack() local 1657 const u8 *ptr = buffer; in hdmi_audio_infoframe_unpack() local [all …]
|
/drivers/pci/hotplug/ |
D | ibmphp_ebda.c | 111 struct bus_info *ptr; in print_bus_info() local 132 struct rio_detail *ptr; in print_lo_info() local 147 struct rio_detail *ptr; in print_vg_info() local 162 struct ebda_pci_rsrc *ptr; in print_ebda_pci_rsrc() local 172 struct slot *ptr; in print_ibm_slot() local 181 struct opt_rio *ptr; in print_opt_vg() local 448 struct opt_rio *ptr; in search_opt_vg() local 486 struct opt_rio_lo *ptr; in search_opt_lo() local 1008 struct bus_info *ptr; in ibmphp_find_same_bus_num() local 1022 struct bus_info *ptr; in ibmphp_get_bus_index() local
|
/drivers/net/wireless/ath/ath10k/ |
D | wmi-tlv.c | 70 ath10k_wmi_tlv_iter(struct ath10k *ar, const void *ptr, size_t len, in ath10k_wmi_tlv_iter() 123 const void *ptr, void *data) in ath10k_wmi_tlv_iter_parse() 134 const void *ptr, size_t len) in ath10k_wmi_tlv_parse() 141 ath10k_wmi_tlv_parse_alloc(struct ath10k *ar, const void *ptr, in ath10k_wmi_tlv_parse_alloc() 160 static u16 ath10k_wmi_tlv_len(const void *ptr) in ath10k_wmi_tlv_len() 223 const void *ptr, void *data) in ath10k_wmi_tlv_parse_peer_stats_info() 874 const void *ptr, void *data) in ath10k_wmi_tlv_mgmt_tx_bundle_compl_parse() 1088 const void *ptr, void *data) in ath10k_wmi_tlv_swba_tim_parse() 1119 const void *ptr, void *data) in ath10k_wmi_tlv_swba_noa_parse() 1134 const void *ptr, void *data) in ath10k_wmi_tlv_swba_parse() [all …]
|
/drivers/misc/cb710/ |
D | sgbuf2.c | 45 static inline bool needs_unaligned_copy(const void *ptr) in needs_unaligned_copy() 54 static bool sg_dwiter_get_next_block(struct sg_mapping_iter *miter, uint32_t **ptr) in sg_dwiter_get_next_block() 92 uint32_t *ptr = NULL; in cb710_sg_dwiter_read_next_block() local 133 uint32_t *ptr = NULL; in cb710_sg_dwiter_write_next_block() local
|
/drivers/misc/lkdtm/ |
D | perms.c | 85 volatile unsigned long *ptr = (unsigned long *)&rodata; in lkdtm_WRITE_RO() local 94 volatile unsigned long *ptr = &ro_after_init; in lkdtm_WRITE_RO_AFTER_INIT() local 114 volatile unsigned char *ptr; in lkdtm_WRITE_KERN() local 180 unsigned long *ptr; in lkdtm_ACCESS_USERSPACE() local 213 volatile unsigned long *ptr = (unsigned long *)NULL; in lkdtm_ACCESS_NULL() local
|
/drivers/gpio/ |
D | gpio-amd-fch.c | 52 void __iomem *ptr = amd_fch_gpio_addr(priv, offset); in amd_fch_gpio_direction_input() local 66 void __iomem *ptr = amd_fch_gpio_addr(priv, gpio); in amd_fch_gpio_direction_output() local 89 void __iomem *ptr = amd_fch_gpio_addr(priv, gpio); in amd_fch_gpio_get_direction() local 103 void __iomem *ptr = amd_fch_gpio_addr(priv, gpio); in amd_fch_gpio_set() local 124 void __iomem *ptr = amd_fch_gpio_addr(priv, offset); in amd_fch_gpio_get() local
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_tlv.h | 113 #define fm10k_tlv_attr_get_u8(attr, ptr) \ argument 115 #define fm10k_tlv_attr_get_u16(attr, ptr) \ argument 117 #define fm10k_tlv_attr_get_u32(attr, ptr) \ argument 119 #define fm10k_tlv_attr_get_u64(attr, ptr) \ argument 121 #define fm10k_tlv_attr_get_s8(attr, ptr) \ argument 123 #define fm10k_tlv_attr_get_s16(attr, ptr) \ argument 125 #define fm10k_tlv_attr_get_s32(attr, ptr) \ argument 127 #define fm10k_tlv_attr_get_s64(attr, ptr) \ argument
|
/drivers/infiniband/hw/mthca/ |
D | mthca_doorbell.h | 51 #define MTHCA_INIT_DOORBELL_LOCK(ptr) do { } while (0) argument 52 #define MTHCA_GET_DOORBELL_LOCK(ptr) (NULL) argument 79 #define MTHCA_INIT_DOORBELL_LOCK(ptr) spin_lock_init(ptr) argument 80 #define MTHCA_GET_DOORBELL_LOCK(ptr) (ptr) argument
|
/drivers/gpu/drm/nouveau/include/nvif/ |
D | list.h | 254 #define container_of(ptr, type, member) \ argument 261 #define list_entry(ptr, type, member) \ argument 276 #define list_first_entry(ptr, type, member) \ argument 291 #define list_last_entry(ptr, type, member) \ argument 294 #define __container_of(ptr, sample, member) \ argument
|
/drivers/scsi/ |
D | nsp32_io.h | 57 volatile unsigned char *ptr; in nsp32_mmio_write1() local 67 volatile unsigned char *ptr; in nsp32_mmio_read1() local 78 volatile unsigned short *ptr; in nsp32_mmio_write2() local 88 volatile unsigned short *ptr; in nsp32_mmio_read2() local 99 volatile unsigned long *ptr; in nsp32_mmio_write4() local 109 volatile unsigned long *ptr; in nsp32_mmio_read4() local
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt.c | 37 struct list_head *ptr, *n; in ieee80211_crypt_deinit_entries() local 125 struct list_head *ptr; in ieee80211_unregister_crypto_ops() local 156 struct list_head *ptr; in ieee80211_get_crypto_ops() local 219 struct list_head *ptr, *n; in ieee80211_crypto_deinit() local
|
/drivers/net/wan/ |
D | lapbether.c | 135 unsigned char *ptr; in lapbeth_data_indication() local 202 unsigned char *ptr; in lapbeth_data_transmit() local 227 unsigned char *ptr; in lapbeth_connected() local 244 unsigned char *ptr; in lapbeth_disconnected() local 401 unsigned long event, void *ptr) in lapbeth_device_event()
|