/openbmc/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_aux.c | 57 if (aux->read) in dp_aux_write() 73 if (aux->read) in dp_aux_write() 259 if (aux->offset == 0x80 || aux->offset == 0x100) in dp_aux_transfer_helper() 307 if (!aux->is_edp && !aux->enable_xfers) { in dp_aux_transfer() 334 if (aux->read) { in dp_aux_transfer() 356 if (aux->read) in dp_aux_transfer() 508 aux->dp_aux.dev = aux->dev; in dp_aux_register() 535 aux = devm_kzalloc(dev, sizeof(*aux), GFP_KERNEL); in dp_aux_get() 536 if (!aux) in dp_aux_get() 544 aux->dev = dev; in dp_aux_get() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | aux.c | 33 struct nvkm_i2c_aux *aux = container_of(adap, typeof(*aux), i2c); in nvkm_i2c_aux_i2c_xfer() local 60 ret = aux->func->xfer(aux, true, cmd, in nvkm_i2c_aux_i2c_xfer() 125 if (aux->enabled) in nvkm_i2c_aux_acquire() 143 return aux->func->xfer(aux, retry, type, addr, data, size); in nvkm_i2c_aux_xfer() 150 return aux->func->lnk_ctl(aux, nr, bw, ef); in nvkm_i2c_aux_lnk_ctl() 158 if (aux && !WARN_ON(!aux->func)) { in nvkm_i2c_aux_del() 192 aux->func = func; in nvkm_i2c_aux_ctor() 193 aux->pad = pad; in nvkm_i2c_aux_ctor() 194 aux->id = id; in nvkm_i2c_aux_ctor() 196 list_add_tail(&aux->head, &pad->i2c->aux); in nvkm_i2c_aux_ctor() [all …]
|
H A D | auxgm200.c | 33 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 …]
|
H A D | auxg94.c | 33 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 …]
|
H A D | base.c | 80 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_aux_find() 81 if (aux->id == id) in nvkm_i2c_aux_find() 82 return aux; in nvkm_i2c_aux_find() 93 if (aux) in nvkm_i2c_intr_fini() 102 if (aux) in nvkm_i2c_intr_init() 103 i2c->func->aux_mask(i2c, type, aux->intr, aux->intr); in nvkm_i2c_intr_init() 126 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_intr() 146 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_fini() 201 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_init() 217 list_first_entry(&i2c->aux, typeof(*aux), head); in nvkm_i2c_dtor() [all …]
|
H A D | anx9805.c | 140 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 …]
|
/openbmc/linux/drivers/gpu/drm/display/ |
H A D | drm_dp_cec.c | 248 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 …]
|
H A D | drm_dp_helper.c | 330 aux->name); in __read_delay() 361 aux->name); in drm_dp_128b132b_read_aux_rd_interval() 556 ret = aux->transfer(aux, &msg); in drm_dp_dpcd_access() 625 if (!aux) in drm_dp_dpcd_set_powered() 1738 ret = aux->transfer(aux, msg); in drm_dp_i2c_do_msg() 1773 drm_dbg_kms(aux->drm_dev, "%s: native defer\n", aux->name); in drm_dp_i2c_do_msg() 1809 drm_dbg_kms(aux->drm_dev, "%s: I2C defer\n", aux->name); in drm_dp_i2c_do_msg() 2094 aux->ddc.algo_data = aux; in drm_dp_aux_init() 2139 aux->ddc.dev.parent = aux->dev; in drm_dp_aux_register() 2141 strscpy(aux->ddc.name, aux->name ? aux->name : dev_name(aux->dev), in drm_dp_aux_register() [all …]
|
H A D | drm_dp_aux_bus.c | 27 int (*done_probing)(struct drm_dp_aux *aux); 69 ret = aux_ep_with_data->done_probing(aux_ep->aux); in dp_aux_ep_probe() 254 int of_dp_aux_populate_bus(struct drm_dp_aux *aux, in of_dp_aux_populate_bus() argument 263 WARN_ON_ONCE(!aux->ddc.algo); in of_dp_aux_populate_bus() 265 if (!aux->dev->of_node) in of_dp_aux_populate_bus() 291 aux_ep->aux = aux; in of_dp_aux_populate_bus() 292 aux_ep->dev.parent = aux->dev; in of_dp_aux_populate_bus() 342 int (*done_probing)(struct drm_dp_aux *aux)) in devm_of_dp_aux_populate_bus() argument 346 ret = of_dp_aux_populate_bus(aux, done_probing); in devm_of_dp_aux_populate_bus() 350 return devm_add_action_or_reset(aux->dev, in devm_of_dp_aux_populate_bus() [all …]
|
H A D | drm_dp_aux_dev.c | 47 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 …]
|
/openbmc/linux/drivers/clk/spear/ |
H A D | clk-aux-synth.c | 69 if (aux->lock) in clk_aux_recalc_rate() 74 if (aux->lock) in clk_aux_recalc_rate() 77 eqn = (val >> aux->masks->eq_sel_shift) & aux->masks->eq_sel_mask; in clk_aux_recalc_rate() 107 if (aux->lock) in clk_aux_set_rate() 111 ~(aux->masks->eq_sel_mask << aux->masks->eq_sel_shift); in clk_aux_set_rate() 122 if (aux->lock) in clk_aux_set_rate() 148 aux = kzalloc(sizeof(*aux), GFP_KERNEL); in clk_register_aux() 149 if (!aux) in clk_register_aux() 158 aux->reg = reg; in clk_register_aux() 159 aux->rtbl = rtbl; in clk_register_aux() [all …]
|
/openbmc/linux/include/drm/display/ |
H A D | drm_dp_helper.h | 403 ssize_t (*transfer)(struct drm_dp_aux *aux, 478 return drm_dp_dpcd_read(aux, offset, valuep, 1); in drm_dp_dpcd_readb() 493 return drm_dp_dpcd_write(aux, offset, &value, 1); in drm_dp_dpcd_writeb() 496 int drm_dp_read_dpcd_caps(struct drm_dp_aux *aux, 540 struct drm_dp_aux *aux); 553 int drm_dp_read_sink_count(struct drm_dp_aux *aux); 569 void drm_dp_aux_init(struct drm_dp_aux *aux); 570 int drm_dp_aux_register(struct drm_dp_aux *aux); 574 int drm_dp_stop_crc(struct drm_dp_aux *aux); 696 struct drm_dp_aux *aux) in drm_panel_dp_aux_backlight() argument [all …]
|
H A D | drm_dp_aux_bus.h | 27 struct drm_dp_aux *aux; member 47 int of_dp_aux_populate_bus(struct drm_dp_aux *aux, 48 int (*done_probing)(struct drm_dp_aux *aux)); 49 void of_dp_aux_depopulate_bus(struct drm_dp_aux *aux); 50 int devm_of_dp_aux_populate_bus(struct drm_dp_aux *aux, 51 int (*done_probing)(struct drm_dp_aux *aux)); 54 static inline int of_dp_aux_populate_ep_devices(struct drm_dp_aux *aux) in of_dp_aux_populate_ep_devices() argument 58 ret = of_dp_aux_populate_bus(aux, NULL); in of_dp_aux_populate_ep_devices() 68 ret = devm_of_dp_aux_populate_bus(aux, NULL); in devm_of_dp_aux_populate_ep_devices() 74 static inline void of_dp_aux_depopulate_ep_devices(struct drm_dp_aux *aux) in of_dp_aux_depopulate_ep_devices() argument [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_lspcon.c | 147 struct i2c_adapter *adapter = &intel_dp->aux.ddc; in lspcon_get_current_mode() 188 struct i2c_adapter *adapter = &intel_dp->aux.ddc; in lspcon_change_mode() 236 struct i2c_adapter *adapter = &intel_dp->aux.ddc; in lspcon_probe() 335 if (!lspcon_parade_fw_ready(aux)) { in _lspcon_parade_write_infoframe_blocks() 343 ret = drm_dp_dpcd_write(aux, reg, data, 8); in _lspcon_parade_write_infoframe_blocks() 358 ret = drm_dp_dpcd_write(aux, reg, &avi_if_ctrl, 1); in _lspcon_parade_write_infoframe_blocks() 433 ret = drm_dp_dpcd_read(aux, reg, &val, 1); in _lspcon_write_avi_infoframe_mca() 443 ret = drm_dp_dpcd_write(aux, reg, &val, 1); in _lspcon_write_avi_infoframe_mca() 450 ret = drm_dp_dpcd_read(aux, reg, &val, 1); in _lspcon_write_avi_infoframe_mca() 587 ret = drm_dp_dpcd_read(aux, reg, &val, 1); in _lspcon_read_avi_infoframe_enabled_mca() [all …]
|
/openbmc/linux/arch/s390/kernel/ |
H A D | perf_cpum_sf.c | 1443 te = aux_sdb_trailer(aux, aux->alert_mark); in aux_output_end() 1492 aux->empty_mark = aux->head + range - 1; in aux_output_begin() 1496 aux->alert_mark = aux->head + range/2 - 1; in aux_output_begin() 1501 head = aux_sdb_index(aux, aux->head); in aux_output_begin() 1509 aux->head, aux->alert_mark, aux->empty_mark, in aux_output_begin() 1581 aux->alert_mark, aux->empty_mark); in aux_reset_buffer() 1590 if (aux->alert_mark <= aux->empty_mark) in aux_reset_buffer() 1624 aux->empty_mark = aux->head + range - 1; in aux_reset_buffer() 1671 aux->alert_mark = aux->head; in hw_collect_aux() 1693 aux->head, aux->alert_mark); in hw_collect_aux() [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/libtool/ |
H A D | libtool-cross_2.5.0.bb | 27 …GREP='/bin/grep' SED='sed' ${S}/build-aux/inline-source libtoolize > ${D}${bindir_crossscripts}/li… 29 install -d ${D}${target_datadir}/libtool/build-aux/ 31 install -c ${S}/build-aux/compile ${D}${target_datadir}/libtool/build-aux/ 32 install -c ${S}/build-aux/config.guess ${D}${target_datadir}/libtool/build-aux/ 33 install -c ${S}/build-aux/config.sub ${D}${target_datadir}/libtool/build-aux/ 34 install -c ${S}/build-aux/depcomp ${D}${target_datadir}/libtool/build-aux/ 35 install -c ${S}/build-aux/install-sh ${D}${target_datadir}/libtool/build-aux/ 36 install -c ${S}/build-aux/missing ${D}${target_datadir}/libtool/build-aux/ 37 install -c -m 0644 ${S}/build-aux/ltmain.sh ${D}${target_datadir}/libtool/build-aux/
|
/openbmc/linux/drivers/md/persistent-data/ |
H A D | dm-block-manager.c | 360 aux->validator = NULL; in dm_block_manager_alloc_callback() 361 bl_init(&aux->lock); in dm_block_manager_alloc_callback() 368 if (aux->validator) { in dm_block_manager_write_callback() 369 aux->validator->prepare_for_write(aux->validator, (struct dm_block *) buf, in dm_block_manager_write_callback() 457 aux->validator = v; in dm_bm_validate_buffer() 473 struct buffer_aux *aux; in dm_bm_read_lock() local 489 aux->write_locked = 0; in dm_bm_read_lock() 525 aux->write_locked = 1; in dm_bm_write_lock() 559 aux->write_locked = 0; in dm_bm_read_try_lock() 595 aux->write_locked = 1; in dm_bm_write_lock_zero() [all …]
|
/openbmc/linux/tools/perf/arch/s390/util/ |
H A D | auxtrace.c | 90 struct auxtrace_record *aux; in auxtrace_record__init() local 110 aux = zalloc(sizeof(*aux)); in auxtrace_record__init() 111 if (aux == NULL) { in auxtrace_record__init() 116 aux->parse_snapshot_options = cpumsf_parse_snapshot_options; in auxtrace_record__init() 117 aux->recording_options = cpumsf_recording_options; in auxtrace_record__init() 118 aux->info_priv_size = cpumsf_info_priv_size; in auxtrace_record__init() 119 aux->info_fill = cpumsf_info_fill; in auxtrace_record__init() 120 aux->free = cpumsf_free; in auxtrace_record__init() 121 aux->reference = cpumsf_reference; in auxtrace_record__init() 123 return aux; in auxtrace_record__init()
|
/openbmc/linux/kernel/bpf/preload/iterators/ |
H A D | iterators.bpf.c | 50 struct bpf_prog_aux *aux; member 104 struct bpf_prog_aux *aux; in dump_bpf_prog() local 109 aux = prog->aux; in dump_bpf_prog() 113 BPF_SEQ_PRINTF(seq, "%4u %-16s %s %s\n", aux->id, in dump_bpf_prog() 114 get_name(aux->btf, aux->func_info[0].type_id, aux->name), in dump_bpf_prog() 115 aux->attach_func_name, aux->dst_prog->aux->name); in dump_bpf_prog()
|
/openbmc/linux/scripts/basic/ |
H A D | fixdep.c | 134 struct item *aux = malloc(sizeof(*aux) + len); in add_to_hashtable() local 136 if (!aux) { in add_to_hashtable() 140 memcpy(aux->name, name, len); in add_to_hashtable() 141 aux->len = len; in add_to_hashtable() 142 aux->hash = hash; in add_to_hashtable() 143 aux->next = hashtab[hash % HASHSZ]; in add_to_hashtable() 144 hashtab[hash % HASHSZ] = aux; in add_to_hashtable() 153 struct item *aux; in in_hashtable() local 156 for (aux = hashtab[hash % HASHSZ]; aux; aux = aux->next) { in in_hashtable() 157 if (aux->hash == hash && aux->len == len && in in_hashtable() [all …]
|
/openbmc/linux/kernel/bpf/ |
H A D | offload.c | 117 prog->aux->offload = NULL; in __bpf_prog_offload_destroy() 273 new_prog->aux->dev_bound = old_prog->aux->dev_bound; in bpf_prog_dev_bound_inherit() 274 new_prog->aux->offload_requested = old_prog->aux->offload_requested; in bpf_prog_dev_bound_inherit() 381 if (prog->aux->offload) { in bpf_prog_dev_bound_destroy() 431 struct bpf_prog_aux *aux = args->prog->aux; in bpf_prog_offload_info_fill_ns() local 438 if (aux->offload) { in bpf_prog_offload_info_fill_ns() 461 struct bpf_prog_aux *aux = prog->aux; in bpf_prog_offload_info_fill() local 477 if (!aux->offload) { in bpf_prog_offload_info_fill() 724 if (bpf_prog_is_offloaded(lhs->aux) != bpf_prog_is_offloaded(rhs->aux)) in bpf_prog_dev_bound_match() 728 ret = lhs->aux->offload && rhs->aux->offload && in bpf_prog_dev_bound_match() [all …]
|
H A D | cgroup_iter.c | 165 struct cgroup *cgrp = aux->cgroup.start; in BTF_ID_LIST_GLOBAL_SINGLE() 176 p->order = aux->cgroup.order; in BTF_ID_LIST_GLOBAL_SINGLE() 196 struct bpf_iter_aux_info *aux) in bpf_iter_attach_cgroup() argument 222 aux->cgroup.start = cgrp; in bpf_iter_attach_cgroup() 223 aux->cgroup.order = order; in bpf_iter_attach_cgroup() 229 cgroup_put(aux->cgroup.start); in bpf_iter_detach_cgroup() 248 cgroup_path_ns(aux->cgroup.start, buf, PATH_MAX, in bpf_iter_cgroup_show_fdinfo() 254 if (aux->cgroup.order == BPF_CGROUP_ITER_DESCENDANTS_PRE) in bpf_iter_cgroup_show_fdinfo() 258 else if (aux->cgroup.order == BPF_CGROUP_ITER_ANCESTORS_UP) in bpf_iter_cgroup_show_fdinfo() 267 info->iter.cgroup.order = aux->cgroup.order; in bpf_iter_cgroup_fill_link_info() [all …]
|
H A D | core.c | 110 kfree(aux); in bpf_prog_alloc_no_stats() 115 fp->aux = aux; in bpf_prog_alloc_no_stats() 163 prog->aux->jited_linfo = kvcalloc(prog->aux->nr_linfo, in bpf_prog_alloc_jited_linfo() 269 if (fp->aux) { in __bpf_prog_free() 1459 memcpy(aux, insn, sizeof(aux)); in bpf_jit_blind_constants() 2262 struct bpf_prog_aux *aux = fp->aux; in bpf_prog_map_compatible() local 2310 struct bpf_prog_aux *aux = fp->aux; in bpf_check_tail_call() local 2709 __bpf_free_used_maps(aux, aux->used_maps, aux->used_map_cnt); in bpf_free_used_maps() 2731 __bpf_free_used_btfs(aux, aux->used_btfs, aux->used_btf_cnt); in bpf_free_used_btfs() 2763 aux->func[i]->aux->poke_tab = NULL; in bpf_prog_free_deferred() [all …]
|
/openbmc/u-boot/scripts/basic/ |
H A D | fixdep.c | 167 struct item *aux; in is_defined_config() local 169 for (aux = hashtab[hash % HASHSZ]; aux; aux = aux->next) { in is_defined_config() 170 if (aux->hash == hash && aux->len == len && in is_defined_config() 171 memcmp(aux->name, name, len) == 0) in is_defined_config() 182 struct item *aux = malloc(sizeof(*aux) + len); in define_config() local 184 if (!aux) { in define_config() 188 memcpy(aux->name, name, len); in define_config() 189 aux->len = len; in define_config() 190 aux->hash = hash; in define_config() 191 aux->next = hashtab[hash % HASHSZ]; in define_config() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | atombios_dp.c | 131 container_of(aux, struct amdgpu_i2c_chan, aux); in amdgpu_atombios_dp_aux_transfer() 194 drm_dp_aux_init(&amdgpu_connector->ddc_bus->aux); in amdgpu_atombios_dp_aux_init() 482 drm_dp_dpcd_writeb(&amdgpu_connector->ddc_bus->aux, in amdgpu_atombios_dp_set_rx_power_state() 499 struct drm_dp_aux *aux; member 550 drm_dp_dpcd_writeb(dp_info->aux, in amdgpu_atombios_dp_link_train_init() 553 drm_dp_dpcd_writeb(dp_info->aux, in amdgpu_atombios_dp_link_train_init() 574 drm_dp_dpcd_writeb(dp_info->aux, in amdgpu_atombios_dp_link_train_init() 587 drm_dp_dpcd_writeb(dp_info->aux, in amdgpu_atombios_dp_link_train_finish() 618 if (drm_dp_dpcd_read_link_status(dp_info->aux, in amdgpu_atombios_dp_link_train_cr() 683 if (drm_dp_dpcd_read_link_status(dp_info->aux, in amdgpu_atombios_dp_link_train_ce() [all …]
|