Home
last modified time | relevance | path

Searched refs:aux (Results 1 – 25 of 420) sorted by relevance

12345678910>>...17

/linux/drivers/gpu/drm/msm/dp/
A Ddp_aux.c55 if (aux->read) in dp_aux_write()
71 if (aux->read) in dp_aux_write()
298 if (aux->offset == 0x80 || aux->offset == 0x100) in dp_aux_transfer_helper()
346 if (aux->read) { in dp_aux_transfer()
368 if (aux->read) in dp_aux_transfer()
412 if (aux->native) in dp_aux_isr()
477 aux->dp_aux.dev = aux->dev; in dp_aux_register()
503 aux = devm_kzalloc(dev, sizeof(*aux), GFP_KERNEL); in dp_aux_get()
504 if (!aux) in dp_aux_get()
511 aux->dev = dev; in dp_aux_get()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
A Daux.c30 struct nvkm_i2c_aux *aux = container_of(adap, typeof(*aux), i2c); in nvkm_i2c_aux_i2c_xfer() local
57 ret = aux->func->xfer(aux, true, cmd, in nvkm_i2c_aux_i2c_xfer()
122 if (aux->enabled) in nvkm_i2c_aux_acquire()
140 return aux->func->xfer(aux, retry, type, addr, data, size); in nvkm_i2c_aux_xfer()
147 return aux->func->lnk_ctl(aux, nr, bw, ef); in nvkm_i2c_aux_lnk_ctl()
155 if (aux && !WARN_ON(!aux->func)) { in nvkm_i2c_aux_del()
189 aux->func = func; in nvkm_i2c_aux_ctor()
190 aux->pad = pad; in nvkm_i2c_aux_ctor()
191 aux->id = id; in nvkm_i2c_aux_ctor()
193 list_add_tail(&aux->head, &pad->i2c->aux); in nvkm_i2c_aux_ctor()
[all …]
A Dauxgm200.c33 gm200_i2c_aux_fini(struct gm200_i2c_aux *aux) in gm200_i2c_aux_fini() argument
67 gm200_i2c_aux_fini(aux); in gm200_i2c_aux_init()
80 struct nvkm_i2c *i2c = aux->base.pad->i2c; in gm200_i2c_aux_xfer()
82 const u32 base = aux->ch * 0x50; in gm200_i2c_aux_xfer()
89 ret = gm200_i2c_aux_init(aux); in gm200_i2c_aux_xfer()
164 gm200_i2c_aux_fini(aux); in gm200_i2c_aux_xfer()
178 struct gm200_i2c_aux *aux; in gm200_i2c_aux_new() local
180 if (!(aux = kzalloc(sizeof(*aux), GFP_KERNEL))) in gm200_i2c_aux_new()
182 *paux = &aux->base; in gm200_i2c_aux_new()
185 aux->ch = drive; in gm200_i2c_aux_new()
[all …]
A Dauxg94.c33 g94_i2c_aux_fini(struct g94_i2c_aux *aux) in g94_i2c_aux_fini() argument
40 g94_i2c_aux_init(struct g94_i2c_aux *aux) in g94_i2c_aux_init() argument
67 g94_i2c_aux_fini(aux); in g94_i2c_aux_init()
82 const u32 base = aux->ch * 0x50; in g94_i2c_aux_xfer()
89 ret = g94_i2c_aux_init(aux); in g94_i2c_aux_xfer()
163 g94_i2c_aux_fini(aux); in g94_i2c_aux_xfer()
172 struct g94_i2c_aux *aux; in g94_i2c_aux_new_() local
174 if (!(aux = kzalloc(sizeof(*aux), GFP_KERNEL))) in g94_i2c_aux_new_()
176 *paux = &aux->base; in g94_i2c_aux_new_()
179 aux->ch = drive; in g94_i2c_aux_new_()
[all …]
A Dbase.c79 struct nvkm_i2c_aux *aux; in nvkm_i2c_aux_find() local
81 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_aux_find()
82 if (aux->id == id) in nvkm_i2c_aux_find()
83 return aux; in nvkm_i2c_aux_find()
94 if (aux) in nvkm_i2c_intr_fini()
103 if (aux) in nvkm_i2c_intr_init()
104 i2c->func->aux_mask(i2c, type, aux->intr, aux->intr); in nvkm_i2c_intr_init()
142 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_intr()
167 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_fini()
222 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_init()
[all …]
A Danx9805.c140 struct anx9805_pad *pad = aux->pad; in anx9805_aux_xfer()
153 nvkm_wri2cr(adap, aux->addr, 0xe4, 0x80); in anx9805_aux_xfer()
156 AUX_DBG(&aux->base, "%16ph", buf); in anx9805_aux_xfer()
181 AUX_DBG(&aux->base, "%16ph", buf); in anx9805_aux_xfer()
196 struct anx9805_pad *pad = aux->pad; in anx9805_aux_lnk_ctl()
236 struct anx9805_aux *aux; in anx9805_aux_new() local
239 if (!(aux = kzalloc(sizeof(*aux), GFP_KERNEL))) in anx9805_aux_new()
241 *pbus = &aux->base; in anx9805_aux_new()
242 aux->pad = pad; in anx9805_aux_new()
249 case 0x39: aux->addr = 0x38; break; in anx9805_aux_new()
[all …]
/linux/drivers/gpu/drm/
A Ddrm_dp_cec.c248 if (!aux->transfer) in drm_dp_cec_irq()
252 if (!aux->cec.adap) in drm_dp_cec_irq()
290 aux->cec.adap = NULL; in drm_dp_cec_unregister_work()
310 if (!aux->transfer) in drm_dp_cec_set_edid()
329 aux->cec.adap = NULL; in drm_dp_cec_set_edid()
338 if (aux->cec.adap) { in drm_dp_cec_set_edid()
357 aux->cec.adap = NULL; in drm_dp_cec_set_edid()
386 if (!aux->transfer) in drm_dp_cec_unset_edid()
392 if (!aux->cec.adap) in drm_dp_cec_unset_edid()
445 if (!aux->cec.adap) in drm_dp_cec_unregister_connector()
[all …]
A Ddrm_dp_helper.c309 ret = aux->transfer(aux, &msg); in drm_dp_dpcd_access()
582 aux->name); in drm_dp_send_real_edid_checksum()
1445 ret = aux->transfer(aux, msg); in drm_dp_i2c_do_msg()
1458 aux->name); in drm_dp_i2c_do_msg()
1480 drm_dbg_kms(aux->drm_dev, "%s: native defer\n", aux->name); in drm_dp_i2c_do_msg()
1516 drm_dbg_kms(aux->drm_dev, "%s: I2C defer\n", aux->name); in drm_dp_i2c_do_msg()
1733 crtc = aux->crtc; in drm_dp_aux_crc_work()
1798 aux->ddc.algo_data = aux; in drm_dp_aux_init()
1843 aux->ddc.dev.parent = aux->dev; in drm_dp_aux_register()
1845 strlcpy(aux->ddc.name, aux->name ? aux->name : dev_name(aux->dev), in drm_dp_aux_register()
[all …]
A Ddrm_dp_aux_bus.c176 void of_dp_aux_depopulate_ep_devices(struct drm_dp_aux *aux) in of_dp_aux_depopulate_ep_devices() argument
204 int of_dp_aux_populate_ep_devices(struct drm_dp_aux *aux) in of_dp_aux_populate_ep_devices() argument
211 WARN_ON_ONCE(!aux->ddc.algo); in of_dp_aux_populate_ep_devices()
213 if (!aux->dev->of_node) in of_dp_aux_populate_ep_devices()
216 bus = of_get_child_by_name(aux->dev->of_node, "aux-bus"); in of_dp_aux_populate_ep_devices()
227 aux_ep->aux = aux; in of_dp_aux_populate_ep_devices()
229 aux_ep->dev.parent = aux->dev; in of_dp_aux_populate_ep_devices()
233 dev_set_name(&aux_ep->dev, "aux-%s", dev_name(aux->dev)); in of_dp_aux_populate_ep_devices()
277 ret = of_dp_aux_populate_ep_devices(aux); in devm_of_dp_aux_populate_ep_devices()
281 return devm_add_action_or_reset(aux->dev, in devm_of_dp_aux_populate_ep_devices()
[all …]
A Ddrm_dp_aux_dev.c47 struct drm_dp_aux *aux; member
81 aux_dev->aux = aux; in alloc_drm_dp_aux_dev()
115 res = sprintf(buf, "%s\n", aux_dev->aux->name); in name_show()
166 res = drm_dp_dpcd_read(aux_dev->aux, pos, buf, todo); in auxdev_read_iter()
263 if (iter->aux == aux) { in drm_dp_aux_dev_get_by_aux()
277 aux_dev = drm_dp_aux_dev_get_by_aux(aux); in drm_dp_aux_unregister_devnode()
285 aux->drm_dev = NULL; in drm_dp_aux_unregister_devnode()
303 int drm_dp_aux_register_devnode(struct drm_dp_aux *aux) in drm_dp_aux_register_devnode() argument
308 aux_dev = alloc_drm_dp_aux_dev(aux); in drm_dp_aux_register_devnode()
322 aux->name, aux_dev->index); in drm_dp_aux_register_devnode()
[all …]
/linux/drivers/clk/spear/
A Dclk-aux-synth.c72 if (aux->lock) in clk_aux_recalc_rate()
77 if (aux->lock) in clk_aux_recalc_rate()
80 eqn = (val >> aux->masks->eq_sel_shift) & aux->masks->eq_sel_mask; in clk_aux_recalc_rate()
110 if (aux->lock) in clk_aux_set_rate()
114 ~(aux->masks->eq_sel_mask << aux->masks->eq_sel_shift); in clk_aux_set_rate()
125 if (aux->lock) in clk_aux_set_rate()
151 aux = kzalloc(sizeof(*aux), GFP_KERNEL); in clk_register_aux()
152 if (!aux) in clk_register_aux()
161 aux->reg = reg; in clk_register_aux()
162 aux->rtbl = rtbl; in clk_register_aux()
[all …]
/linux/drivers/gpu/drm/msm/edp/
A Dedp_aux.c136 aux->msg_err = false; in edp_aux_transfer()
159 if (!aux->msg_err) { in edp_aux_transfer()
194 aux = devm_kzalloc(dev, sizeof(*aux), GFP_KERNEL); in msm_edp_aux_init()
195 if (!aux) in msm_edp_aux_init()
198 aux->base = regbase; in msm_edp_aux_init()
203 aux->drm_aux.dev = dev; in msm_edp_aux_init()
212 if (drm_aux && aux) in msm_edp_aux_init()
215 return aux; in msm_edp_aux_init()
220 if (aux) { in msm_edp_aux_destroy()
233 aux->msg_err = true; in msm_edp_aux_irq()
[all …]
/linux/arch/s390/kernel/
A Dperf_cpum_sf.c1349 #define AUX_SDB_NUM_ALERT(aux) AUX_SDB_NUM(aux, aux->head, aux->alert_mark) argument
1350 #define AUX_SDB_NUM_EMPTY(aux) AUX_SDB_NUM(aux, aux->head, aux->empty_mark) argument
1445 aux->empty_mark = aux->head + range - 1; in aux_output_begin()
1454 head = AUX_SDB_INDEX(aux, aux->head); in aux_output_begin()
1462 aux->head, aux->alert_mark, aux->empty_mark, in aux_output_begin()
1531 aux->alert_mark, aux->empty_mark); in aux_reset_buffer()
1540 if (aux->alert_mark <= aux->empty_mark) in aux_reset_buffer()
1572 aux->empty_mark = aux->head + range - 1; in aux_reset_buffer()
1622 aux->alert_mark = aux->head; in hw_collect_aux()
1644 aux->head, aux->alert_mark); in hw_collect_aux()
[all …]
/linux/drivers/md/persistent-data/
A Ddm-block-manager.c357 aux->validator = NULL; in dm_block_manager_alloc_callback()
358 bl_init(&aux->lock); in dm_block_manager_alloc_callback()
364 if (aux->validator) { in dm_block_manager_write_callback()
365 aux->validator->prepare_for_write(aux->validator, (struct dm_block *) buf, in dm_block_manager_write_callback()
443 aux->validator = v; in dm_bm_validate_buffer()
459 struct buffer_aux *aux; in dm_bm_read_lock() local
475 aux->write_locked = 0; in dm_bm_read_lock()
511 aux->write_locked = 1; in dm_bm_write_lock()
545 aux->write_locked = 0; in dm_bm_read_try_lock()
581 aux->write_locked = 1; in dm_bm_write_lock_zero()
[all …]
/linux/drivers/gpu/drm/i915/display/
A Dintel_lspcon.c145 struct i2c_adapter *adapter = &intel_dp->aux.ddc; in lspcon_get_current_mode()
183 struct i2c_adapter *adapter = &intel_dp->aux.ddc; in lspcon_change_mode()
228 struct i2c_adapter *adapter = &intel_dp->aux.ddc; in lspcon_probe()
326 if (!lspcon_parade_fw_ready(aux)) { in _lspcon_parade_write_infoframe_blocks()
334 ret = drm_dp_dpcd_write(aux, reg, data, 8); in _lspcon_parade_write_infoframe_blocks()
349 ret = drm_dp_dpcd_write(aux, reg, &avi_if_ctrl, 1); in _lspcon_parade_write_infoframe_blocks()
424 ret = drm_dp_dpcd_read(aux, reg, &val, 1); in _lspcon_write_avi_infoframe_mca()
434 ret = drm_dp_dpcd_write(aux, reg, &val, 1); in _lspcon_write_avi_infoframe_mca()
441 ret = drm_dp_dpcd_read(aux, reg, &val, 1); in _lspcon_write_avi_infoframe_mca()
576 ret = drm_dp_dpcd_read(aux, reg, &val, 1); in _lspcon_read_avi_infoframe_enabled_mca()
[all …]
/linux/kernel/bpf/
A Dcore.c92 aux = kzalloc(sizeof(*aux), GFP_KERNEL_ACCOUNT | gfp_extra_flags); in bpf_prog_alloc_no_stats()
100 kfree(aux); in bpf_prog_alloc_no_stats()
105 fp->aux = aux; in bpf_prog_alloc_no_stats()
149 prog->aux->jited_linfo = kvcalloc(prog->aux->nr_linfo, in bpf_prog_alloc_jited_linfo()
255 if (fp->aux) { in __bpf_prog_free()
1166 memcpy(aux, insn, sizeof(aux)); in bpf_jit_blind_constants()
1858 struct bpf_prog_aux *aux = fp->aux; in bpf_check_tail_call() local
2242 __bpf_free_used_maps(aux, aux->used_maps, aux->used_map_cnt); in bpf_free_used_maps()
2264 __bpf_free_used_btfs(aux, aux->used_btfs, aux->used_btf_cnt); in bpf_free_used_btfs()
2292 aux->func[i]->aux->poke_tab = NULL; in bpf_prog_free_deferred()
[all …]
A Darraymap.c909 aux = container_of(map, struct bpf_array, map)->aux; in prog_array_map_poke_track()
941 aux = container_of(map, struct bpf_array, map)->aux; in prog_array_map_poke_untrack()
961 aux = container_of(map, struct bpf_array, map)->aux; in prog_array_map_poke_run()
1057 map)->aux; in prog_array_map_clear()
1067 aux = kzalloc(sizeof(*aux), GFP_KERNEL_ACCOUNT); in prog_array_map_alloc()
1068 if (!aux) in prog_array_map_alloc()
1078 kfree(aux); in prog_array_map_alloc()
1082 container_of(map, struct bpf_array, map)->aux = aux; in prog_array_map_alloc()
1083 aux->map = map; in prog_array_map_alloc()
1093 aux = container_of(map, struct bpf_array, map)->aux; in prog_array_map_free()
[all …]
/linux/scripts/basic/
A Dfixdep.c152 struct item *aux; in is_defined_config() local
154 for (aux = hashtab[hash % HASHSZ]; aux; aux = aux->next) { in is_defined_config()
155 if (aux->hash == hash && aux->len == len && in is_defined_config()
156 memcmp(aux->name, name, len) == 0) in is_defined_config()
167 struct item *aux = malloc(sizeof(*aux) + len); in define_config() local
169 if (!aux) { in define_config()
173 memcpy(aux->name, name, len); in define_config()
174 aux->len = len; in define_config()
175 aux->hash = hash; in define_config()
176 aux->next = hashtab[hash % HASHSZ]; in define_config()
[all …]
/linux/tools/perf/arch/s390/util/
A Dauxtrace.c90 struct auxtrace_record *aux; in auxtrace_record__init() local
109 aux = zalloc(sizeof(*aux)); in auxtrace_record__init()
110 if (aux == NULL) { in auxtrace_record__init()
115 aux->parse_snapshot_options = cpumsf_parse_snapshot_options; in auxtrace_record__init()
116 aux->recording_options = cpumsf_recording_options; in auxtrace_record__init()
117 aux->info_priv_size = cpumsf_info_priv_size; in auxtrace_record__init()
118 aux->info_fill = cpumsf_info_fill; in auxtrace_record__init()
119 aux->free = cpumsf_free; in auxtrace_record__init()
120 aux->reference = cpumsf_reference; in auxtrace_record__init()
122 return aux; in auxtrace_record__init()
/linux/include/drm/
A Ddrm_dp_helper.h2003 ssize_t (*transfer)(struct drm_dp_aux *aux,
2041 return drm_dp_dpcd_read(aux, offset, valuep, 1); in drm_dp_dpcd_readb()
2056 return drm_dp_dpcd_write(aux, offset, &value, 1); in drm_dp_dpcd_writeb()
2059 int drm_dp_read_dpcd_caps(struct drm_dp_aux *aux,
2103 struct drm_dp_aux *aux);
2116 int drm_dp_read_sink_count(struct drm_dp_aux *aux);
2130 void drm_dp_aux_init(struct drm_dp_aux *aux);
2131 int drm_dp_aux_register(struct drm_dp_aux *aux);
2135 int drm_dp_stop_crc(struct drm_dp_aux *aux);
2255 struct drm_dp_aux *aux) in drm_panel_dp_aux_backlight() argument
[all …]
/linux/kernel/bpf/preload/iterators/
A Diterators.bpf.c50 struct bpf_prog_aux *aux; member
99 struct bpf_prog_aux *aux; in dump_bpf_prog() local
104 aux = prog->aux; in dump_bpf_prog()
108 BPF_SEQ_PRINTF(seq, "%4u %-16s %s %s\n", aux->id, in dump_bpf_prog()
109 get_name(aux->btf, aux->func_info[0].type_id, aux->name), in dump_bpf_prog()
110 aux->attach_func_name, aux->dst_prog->aux->name); in dump_bpf_prog()
/linux/drivers/gpu/drm/amd/amdgpu/
A Datombios_dp.c130 container_of(aux, struct amdgpu_i2c_chan, aux); in amdgpu_atombios_dp_aux_transfer()
193 drm_dp_aux_init(&amdgpu_connector->ddc_bus->aux); in amdgpu_atombios_dp_aux_init()
481 drm_dp_dpcd_writeb(&amdgpu_connector->ddc_bus->aux, in amdgpu_atombios_dp_set_rx_power_state()
498 struct drm_dp_aux *aux; member
549 drm_dp_dpcd_writeb(dp_info->aux, in amdgpu_atombios_dp_link_train_init()
552 drm_dp_dpcd_writeb(dp_info->aux, in amdgpu_atombios_dp_link_train_init()
573 drm_dp_dpcd_writeb(dp_info->aux, in amdgpu_atombios_dp_link_train_init()
586 drm_dp_dpcd_writeb(dp_info->aux, in amdgpu_atombios_dp_link_train_finish()
617 if (drm_dp_dpcd_read_link_status(dp_info->aux, in amdgpu_atombios_dp_link_train_cr()
682 if (drm_dp_dpcd_read_link_status(dp_info->aux, in amdgpu_atombios_dp_link_train_ce()
[all …]
/linux/drivers/gpu/drm/radeon/
A Datombios_dp.c162 container_of(aux, struct radeon_i2c_chan, aux); in radeon_dp_aux_transfer_atom()
530 drm_dp_dpcd_writeb(&radeon_connector->ddc_bus->aux, in radeon_dp_set_rx_power_state()
550 struct drm_dp_aux *aux; member
561 drm_dp_dpcd_write(dp_info->aux, DP_TRAINING_LANE0_SET, in radeon_dp_update_vs_emph()
611 drm_dp_dpcd_writeb(dp_info->aux, in radeon_dp_link_train_init()
614 drm_dp_dpcd_writeb(dp_info->aux, in radeon_dp_link_train_init()
639 drm_dp_dpcd_writeb(dp_info->aux, in radeon_dp_link_train_init()
651 drm_dp_dpcd_writeb(dp_info->aux, in radeon_dp_link_train_finish()
685 if (drm_dp_dpcd_read_link_status(dp_info->aux, in radeon_dp_link_train_cr()
748 if (drm_dp_dpcd_read_link_status(dp_info->aux, in radeon_dp_link_train_ce()
[all …]
/linux/drivers/gpu/drm/tegra/
A Ddp.c194 err = drm_dp_dpcd_readb(aux, DP_EDP_DPCD_REV, &value); in drm_dp_link_probe()
241 err = drm_dp_dpcd_read(aux, DP_SUPPORTED_LINK_RATES, in drm_dp_link_probe()
274 err = drm_dp_dpcd_readb(aux, DP_SET_POWER, &value); in drm_dp_link_power_up()
281 err = drm_dp_dpcd_writeb(aux, DP_SET_POWER, value); in drm_dp_link_power_up()
311 err = drm_dp_dpcd_readb(aux, DP_SET_POWER, &value); in drm_dp_link_power_down()
318 err = drm_dp_dpcd_writeb(aux, DP_SET_POWER, value); in drm_dp_link_power_down()
470 struct drm_dp_aux *aux = link->aux; in drm_dp_link_apply_training() local
637 struct drm_dp_aux *aux = link->aux; in drm_dp_link_equalize_channel() local
647 err = drm_dp_dpcd_read_link_status(aux, status); in drm_dp_link_equalize_channel()
732 err = drm_dp_link_configure(link->aux, link); in drm_dp_link_train_full()
[all …]
/linux/fs/afs/
A Dcache.c46 struct afs_vnode_cache_aux aux; in afs_vnode_cache_check_aux() local
52 memcpy(&aux, buffer, sizeof(aux)); in afs_vnode_cache_check_aux()
55 if (buflen != sizeof(aux)) { in afs_vnode_cache_check_aux()
56 _leave(" = OBSOLETE [len %hx != %zx]", buflen, sizeof(aux)); in afs_vnode_cache_check_aux()
60 if (vnode->status.data_version != aux.data_version) { in afs_vnode_cache_check_aux()
62 aux.data_version, vnode->status.data_version); in afs_vnode_cache_check_aux()

Completed in 73 milliseconds

12345678910>>...17