Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 25 of 1025) sorted by relevance

12345678910>>...41

/drivers/gpu/drm/radeon/
Datom-bits.h28 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
Datom.c184 int *ptr, uint32_t *saved, int print) in atom_get_src_int()
368 static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_skip_src_int()
404 static uint32_t atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_get_src()
409 static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) in atom_get_src_direct()
436 int *ptr, uint32_t *saved, int print) in atom_get_dst()
444 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) in atom_skip_dst()
452 int *ptr, uint32_t val, uint32_t saved) in atom_put_dst()
587 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add()
601 static void atom_op_and(atom_exec_context *ctx, int *ptr, int arg) in atom_op_and()
615 static void atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) in atom_op_beep()
[all …]
/drivers/gpu/drm/amd/include/
Datom-bits.h28 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/media/pci/zoran/
Dzr36050.c41 static u8 zr36050_read(struct zr36050 *ptr, u16 reg) in zr36050_read()
57 static void zr36050_write(struct zr36050 *ptr, u16 reg, u8 value) in zr36050_write()
72 static u8 zr36050_read_status1(struct zr36050 *ptr) in zr36050_read_status1()
81 static u16 zr36050_read_scalefactor(struct zr36050 *ptr) in zr36050_read_scalefactor()
97 static void zr36050_wait_end(struct zr36050 *ptr) in zr36050_wait_end()
118 static int zr36050_basic_test(struct zr36050 *ptr) in zr36050_basic_test()
154 static int zr36050_pushit(struct zr36050 *ptr, u16 startreg, u16 len, const char *data) in zr36050_pushit()
282 static int zr36050_set_sof(struct zr36050 *ptr) in zr36050_set_sof()
317 static int zr36050_set_sos(struct zr36050 *ptr) in zr36050_set_sos()
345 static int zr36050_set_dri(struct zr36050 *ptr) in zr36050_set_dri()
[all …]
Dzr36060.c41 static u8 zr36060_read(struct zr36060 *ptr, u16 reg) in zr36060_read()
55 static void zr36060_write(struct zr36060 *ptr, u16 reg, u8 value) in zr36060_write()
75 static u8 zr36060_read_status(struct zr36060 *ptr) in zr36060_read_status()
84 static u16 zr36060_read_scalefactor(struct zr36060 *ptr) in zr36060_read_scalefactor()
95 static void zr36060_wait_end(struct zr36060 *ptr) in zr36060_wait_end()
112 static int zr36060_basic_test(struct zr36060 *ptr) in zr36060_basic_test()
132 static int zr36060_pushit(struct zr36060 *ptr, u16 startreg, u16 len, const char *data) in zr36060_pushit()
250 static int zr36060_set_sof(struct zr36060 *ptr) in zr36060_set_sof()
279 static int zr36060_set_sos(struct zr36060 *ptr) in zr36060_set_sos()
305 static int zr36060_set_dri(struct zr36060 *ptr) in zr36060_set_dri()
[all …]
Dzr36016.c33 static u8 zr36016_read(struct zr36016 *ptr, u16 reg) in zr36016_read()
49 static void zr36016_write(struct zr36016 *ptr, u16 reg, u8 value) in zr36016_write()
68 static u8 zr36016_readi(struct zr36016 *ptr, u16 reg) in zr36016_readi()
86 static void zr36016_writei(struct zr36016 *ptr, u16 reg, u8 value) in zr36016_writei()
105 static u8 zr36016_read_version(struct zr36016 *ptr) in zr36016_read_version()
116 static int zr36016_basic_test(struct zr36016 *ptr) in zr36016_basic_test()
154 static void zr36016_init(struct zr36016 *ptr) in zr36016_init()
198 struct zr36016 *ptr = (struct zr36016 *)codec->data; in zr36016_set_mode() local
216 struct zr36016 *ptr = (struct zr36016 *)codec->data; in zr36016_set_video() local
257 struct zr36016 *ptr = (struct zr36016 *)codec->data; in zr36016_control() local
[all …]
/drivers/gpu/drm/amd/amdgpu/
Datom.c182 int *ptr, uint32_t *saved, int print) in atom_get_src_int()
366 static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_skip_src_int()
402 static uint32_t atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_get_src()
407 static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) in atom_get_src_direct()
434 int *ptr, uint32_t *saved, int print) in atom_get_dst()
442 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) in atom_skip_dst()
450 int *ptr, uint32_t val, uint32_t saved) in atom_put_dst()
585 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add()
599 static void atom_op_and(atom_exec_context *ctx, int *ptr, int arg) in atom_op_and()
613 static void atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) in atom_op_beep()
[all …]
/drivers/gpu/drm/i915/
Di915_utils.h114 #define ptr_mask_bits(ptr, n) ({ \ argument
119 #define ptr_unmask_bits(ptr, n) ((unsigned long)(ptr) & (BIT(n) - 1)) argument
121 #define ptr_unpack_bits(ptr, bits, n) ({ \ argument
127 #define ptr_pack_bits(ptr, bits, n) ({ \ argument
133 #define ptr_dec(ptr) ({ \ argument
138 #define ptr_inc(ptr) ({ \ argument
143 #define page_mask_bits(ptr) ptr_mask_bits(ptr, PAGE_SHIFT) argument
144 #define page_unmask_bits(ptr) ptr_unmask_bits(ptr, PAGE_SHIFT) argument
145 #define page_pack_bits(ptr, bits) ptr_pack_bits(ptr, bits, PAGE_SHIFT) argument
146 #define page_unpack_bits(ptr, bits) ptr_unpack_bits(ptr, bits, PAGE_SHIFT) argument
[all …]
/drivers/sh/intc/
Daccess.c78 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/
Dadf_dev_mgr.c39 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
304 struct adf_accel_dev *ptr = in adf_devmgr_pci_to_accel_dev() local
330 struct adf_accel_dev *ptr = in adf_devmgr_get_dev_by_id() local
360 struct vf_id_map *ptr = in adf_get_num_dettached_vfs() local
Dadf_cfg.c29 struct adf_cfg_key_val *ptr = in qat_dev_cfg_show() local
137 struct adf_cfg_key_val *ptr = in adf_cfg_keyval_remove() local
154 struct adf_cfg_key_val *ptr = in adf_cfg_keyval_del_all() local
163 struct adf_cfg_section *ptr; in adf_cfg_section_del_all() local
180 struct adf_cfg_key_val *ptr = in adf_cfg_key_value_find() local
195 struct adf_cfg_section *ptr = in adf_cfg_sec_find() local
/drivers/infiniband/hw/hns/
Dhns_roce_common.h60 #define _hr_reg_enable(ptr, field_type, field_h, field_l) \ argument
68 #define hr_reg_enable(ptr, field) _hr_reg_enable(ptr, field) argument
70 #define _hr_reg_clear(ptr, field_type, field_h, field_l) \ argument
78 #define hr_reg_clear(ptr, field) _hr_reg_clear(ptr, field) argument
80 #define _hr_reg_write_bool(ptr, field_type, field_h, field_l, val) \ argument
86 #define hr_reg_write_bool(ptr, field, val) _hr_reg_write_bool(ptr, field, val) argument
88 #define _hr_reg_write(ptr, field_type, field_h, field_l, val) \ argument
95 #define hr_reg_write(ptr, field, val) _hr_reg_write(ptr, field, val) argument
97 #define _hr_reg_read(ptr, field_type, field_h, field_l) \ argument
105 #define hr_reg_read(ptr, field) _hr_reg_read(ptr, field) argument
/drivers/video/
Dhdmi.c35 static u8 hdmi_infoframe_checksum(const u8 *ptr, size_t size) in hdmi_infoframe_checksum()
49 u8 *ptr = buffer; in hdmi_infoframe_set_checksum() local
113 u8 *ptr = buffer; in hdmi_avi_infoframe_pack_only() local
284 u8 *ptr = buffer; in hdmi_spd_infoframe_pack_only() local
430 u8 *ptr = buffer; in hdmi_audio_infoframe_pack_only() local
614 u8 *ptr = buffer; in hdmi_vendor_infoframe_pack_only() local
758 u8 *ptr = buffer; in hdmi_drm_infoframe_pack_only() local
1599 const u8 *ptr = buffer; in hdmi_avi_infoframe_unpack() local
1663 const u8 *ptr = buffer; in hdmi_spd_infoframe_unpack() local
1705 const u8 *ptr = buffer; in hdmi_audio_infoframe_unpack() local
[all …]
/drivers/gpu/drm/amd/display/dc/gpio/
Dhw_gpio.c61 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/net/wireless/ath/ath10k/
Dwmi-tlv.c70 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/staging/media/atomisp/pci/base/refcount/src/
Drefcount.c42 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/pci/hotplug/
Dibmphp_ebda.c111 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/misc/cb710/
Dsgbuf2.c45 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/gpio/
Dgpio-amd-fch.c52 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/
Dfm10k_tlv.h113 #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/
Dmthca_doorbell.h51 #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/misc/lkdtm/
Dperms.c109 volatile unsigned long *ptr = (unsigned long *)&rodata; in lkdtm_WRITE_RO() local
118 volatile unsigned long *ptr = &ro_after_init; in lkdtm_WRITE_RO_AFTER_INIT() local
138 volatile unsigned char *ptr; in lkdtm_WRITE_KERN() local
223 unsigned long *ptr; in lkdtm_ACCESS_USERSPACE() local
256 volatile unsigned long *ptr = (unsigned long *)NULL; in lkdtm_ACCESS_NULL() local
/drivers/scsi/
Dnsp32_io.h57 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/
Dieee80211_crypt.c37 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/extcon/
Ddevres.c68 struct extcon_dev **ptr, *edev; in devm_extcon_dev_allocate() local
120 struct extcon_dev **ptr; in devm_extcon_dev_register() local
175 struct extcon_dev_notifier_devres *ptr; in devm_extcon_register_notifier() local
231 struct extcon_dev_notifier_devres *ptr; in devm_extcon_register_notifier_all() local

12345678910>>...41