Home
last modified time | relevance | path

Searched refs:ac (Results 1 – 25 of 924) sorted by relevance

12345678910>>...37

/openbmc/linux/drivers/input/misc/
H A Dadxl34x.c181 #define AC_READ(ac, reg) ((ac)->bops->read((ac)->dev, reg)) argument
421 if (!ac->suspended && !ac->disabled && ac->opened) in adxl34x_suspend()
437 if (ac->suspended && !ac->disabled && ac->opened) in adxl34x_resume()
496 ac->hwcal.x * 4 + ac->swcal.x, in adxl34x_calibrate_show()
517 ac->swcal.x = ac->saved.x % 4; in adxl34x_calibrate_store()
520 ac->swcal.y = ac->saved.y % 4; in adxl34x_calibrate_store()
523 ac->swcal.z = ac->saved.z % 4; in adxl34x_calibrate_store()
598 if (!ac->disabled && !ac->suspended && ac->opened) in adxl34x_autosleep_store()
617 ac->saved.x, ac->saved.y, ac->saved.z); in adxl34x_position_show()
895 free_irq(ac->irq, ac); in adxl34x_probe()
[all …]
/openbmc/linux/net/ceph/
H A Dauth.c46 if (ac->global_id && global_id != ac->global_id) in ceph_auth_set_global_id()
62 ac = kzalloc(sizeof(*ac), GFP_NOFS); in ceph_auth_init()
63 if (!ac) in ceph_auth_init()
77 ac->name, ac->preferred_mode, ac->fallback_mode); in ceph_auth_init()
85 ac->ops->destroy(ac); in ceph_auth_destroy()
96 if (ac->ops && !ac->negotiating) in ceph_auth_reset()
97 ac->ops->reset(ac); in ceph_auth_reset()
242 ac->ops->destroy(ac); in ceph_handle_auth_reply()
290 if (ac->ops->should_authenticate(ac)) in ceph_build_auth()
302 ret = ac->ops->is_authenticated(ac); in ceph_auth_is_authenticated()
[all …]
H A Dauth_none.c15 static void reset(struct ceph_auth_client *ac) in reset() argument
17 struct ceph_auth_none_info *xi = ac->private; in reset()
24 kfree(ac->private); in destroy()
25 ac->private = NULL; in destroy()
30 struct ceph_auth_none_info *xi = ac->private; in is_authenticated()
37 struct ceph_auth_none_info *xi = ac->private; in should_authenticate()
80 ceph_auth_set_global_id(ac, global_id); in handle_reply()
135 dout("ceph_auth_none_init %p\n", ac); in ceph_auth_none_init()
142 ac->protocol = CEPH_AUTH_NONE; in ceph_auth_none_init()
143 ac->private = xi; in ceph_auth_none_init()
[all …]
H A Dauth_x.c24 struct ceph_x_info *xi = ac->private; in ceph_x_is_authenticated()
28 ceph_x_validate_tickets(ac, &need); in ceph_x_is_authenticated()
38 struct ceph_x_info *xi = ac->private; in ceph_x_should_authenticate()
41 ceph_x_validate_tickets(ac, &need); in ceph_x_should_authenticate()
460 int want = ac->want_keys; in ceph_x_validate_tickets()
929 kfree(ac->private); in ceph_x_destroy()
930 ac->private = NULL; in ceph_x_destroy()
1092 dout("ceph_x_init %p\n", ac); in ceph_x_init()
1099 if (!ac->key) { in ceph_x_init()
1114 ac->private = xi; in ceph_x_init()
[all …]
/openbmc/linux/drivers/power/supply/
H A Dsurface_charger.c69 __le32 old = ac->state; in spwr_ac_update_unlocked()
74 status = ssam_retry(ssam_bat_get_psrc, ac->sdev, &ac->state); in spwr_ac_update_unlocked()
85 mutex_lock(&ac->lock); in spwr_ac_update()
178 strncpy(ac->name, name, ARRAY_SIZE(ac->name) - 1); in spwr_ac_init()
180 ac->sdev = sdev; in spwr_ac_init()
190 ac->psy_desc.name = ac->name; in spwr_ac_init()
215 ac->psy = devm_power_supply_register(&ac->sdev->dev, &ac->psy_desc, &psy_cfg); in spwr_ac_register()
216 if (IS_ERR(ac->psy)) in spwr_ac_register()
219 return ssam_device_notifier_register(ac->sdev, &ac->notif); in spwr_ac_register()
240 ac = devm_kzalloc(&sdev->dev, sizeof(*ac), GFP_KERNEL); in surface_ac_probe()
[all …]
/openbmc/qemu/target/i386/tcg/
H A Daccess.c59 assert(addr >= ac->vaddr); in access_ptr()
62 if (!ac->haddr1) { in access_ptr()
80 return ac->haddr2 + (offset - ac->size1); in access_ptr()
93 return cpu_ldub_mmuidx_ra(ac->env, addr, ac->mmu_idx, ac->ra); in access_ldb()
103 return cpu_lduw_le_mmuidx_ra(ac->env, addr, ac->mmu_idx, ac->ra); in access_ldw()
113 return cpu_ldl_le_mmuidx_ra(ac->env, addr, ac->mmu_idx, ac->ra); in access_ldl()
123 return cpu_ldq_le_mmuidx_ra(ac->env, addr, ac->mmu_idx, ac->ra); in access_ldq()
133 cpu_stb_mmuidx_ra(ac->env, addr, val, ac->mmu_idx, ac->ra); in access_stb()
144 cpu_stw_le_mmuidx_ra(ac->env, addr, val, ac->mmu_idx, ac->ra); in access_stw()
155 cpu_stl_le_mmuidx_ra(ac->env, addr, val, ac->mmu_idx, ac->ra); in access_stl()
[all …]
H A Dfpu_helper.c385 X86Access ac; in helper_fldt_ST0() local
397 X86Access ac; in helper_fstt_ST0() local
778 X86Access ac; in helper_fbld_ST0() local
806 X86Access ac; in helper_fbst_ST0() local
2428 X86Access ac; in helper_fstenv() local
2468 X86Access ac; in helper_fldenv() local
2493 X86Access ac; in helper_fsave() local
2516 X86Access ac; in helper_frstor() local
2625 access_stq(ac, ptr, ac->env->pkru); in do_xsave_pkru()
2647 X86Access ac; in helper_fxsave() local
[all …]
/openbmc/linux/drivers/acpi/
H A Dac.c79 if (!ac) in acpi_ac_get_state()
83 ac->state = 1; in acpi_ac_get_state()
107 if (!ac) in get_ac_property()
134 if (!ac) in acpi_ac_notify()
227 if (!ac) in acpi_ac_add()
230 ac->device = device; in acpi_ac_add()
246 ac->charger = power_supply_register(&ac->device->dev, in acpi_ac_add()
270 kfree(ac); in acpi_ac_add()
278 struct acpi_ac *ac; in acpi_ac_resume() local
285 if (!ac) in acpi_ac_resume()
[all …]
/openbmc/linux/drivers/s390/crypto/
H A Dap_card.c86 if (ac == aq->card) in request_count_store()
107 if (ac == aq->card) in requestq_count_show()
126 if (ac == aq->card) in pendingq_count_show()
160 if (cfg && !ac->config) in config_store()
169 ap_send_config_uevent(&ac->ap_dev, ac->config); in config_store()
229 kfree(ac); in ap_card_device_release()
235 struct ap_card *ac; in ap_card_create() local
237 ac = kzalloc(sizeof(*ac), GFP_KERNEL); in ap_card_create()
238 if (!ac) in ap_card_create()
246 ac->id = id; in ap_card_create()
[all …]
/openbmc/linux/drivers/media/pci/tw686x/
H A Dtw686x-audio.c48 if (!ac->ss || !ac->curr_bufs[0] || !ac->curr_bufs[1]) { in tw686x_audio_irq()
58 ac->curr_bufs[pb] = next; in tw686x_audio_irq()
76 ac->ptr = done->dma - ac->buf[0].dma; in tw686x_audio_irq()
111 ac->ss = ss; in tw686x_pcm_open()
126 ac->ss = NULL; in tw686x_pcm_close()
184 list_add_tail(&ac->buf[i].list, &ac->buf_list); in tw686x_pcm_prepare()
195 ac->ptr = 0; in tw686x_pcm_prepare()
220 if (ac->curr_bufs[0] && ac->curr_bufs[1]) { in tw686x_pcm_trigger()
324 u32 reg = pb ? ADMA_B_ADDR[ac->ch] : ADMA_P_ADDR[ac->ch]; in tw686x_audio_dma_alloc()
388 ac->dev = dev; in tw686x_audio_init()
[all …]
/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dq6asm.c541 q6asm_audio_client_free_buf(ac, &ac->port[dir]); in q6asm_map_memory_regions()
561 kfree(ac); in q6asm_audio_client_release()
597 return ac; in q6asm_get_audio_client()
738 if (ac->cb) in q6asm_stream_callback()
765 if (!ac) { in q6asm_srvc_callback()
807 if (ac->cb) in q6asm_srvc_callback()
850 if (ac) { in q6asm_audio_client_alloc()
852 return ac; in q6asm_audio_client_alloc()
855 ac = kzalloc(sizeof(*ac), GFP_KERNEL); in q6asm_audio_client_alloc()
856 if (!ac) in q6asm_audio_client_alloc()
[all …]
H A Dq6asm.h98 void q6asm_audio_client_free(struct audio_client *ac);
101 int q6asm_open_write(struct audio_client *ac, uint32_t stream_id,
105 int q6asm_open_read(struct audio_client *ac, uint32_t stream_id,
107 int q6asm_enc_cfg_blk_pcm_format_support(struct audio_client *ac,
112 int q6asm_read(struct audio_client *ac, uint32_t stream_id);
119 int q6asm_stream_media_format_block_flac(struct audio_client *ac,
128 int q6asm_stream_media_format_block_alac(struct audio_client *ac,
131 int q6asm_stream_media_format_block_ape(struct audio_client *ac,
136 int q6asm_run_nowait(struct audio_client *ac, uint32_t stream_id,
138 int q6asm_stream_remove_initial_silence(struct audio_client *ac,
[all …]
/openbmc/linux/include/linux/ceph/
H A Dauth.h39 int (*is_authenticated)(struct ceph_auth_client *ac);
45 int (*should_authenticate)(struct ceph_auth_client *ac);
71 int (*verify_authorizer_reply)(struct ceph_auth_client *ac,
76 void (*invalidate_authorizer)(struct ceph_auth_client *ac,
80 void (*reset)(struct ceph_auth_client *ac);
82 void (*destroy)(struct ceph_auth_client *ac);
112 extern void ceph_auth_destroy(struct ceph_auth_client *ac);
114 extern void ceph_auth_reset(struct ceph_auth_client *ac);
123 extern int ceph_build_auth(struct ceph_auth_client *ac,
127 int __ceph_auth_get_authorizer(struct ceph_auth_client *ac,
[all …]
/openbmc/linux/fs/ext4/
H A Dmballoc.c1067 ac->ac_g_ex.fe_len = ac->ac_orig_goal_len; in ext4_mb_choose_next_group_best_avail()
2143 ac->ac_b_ex.fe_len = min(ac->ac_b_ex.fe_len, ac->ac_g_ex.fe_len); in ext4_mb_use_best_found()
2149 ac->ac_f_ex = ac->ac_b_ex; in ext4_mb_use_best_found()
2249 ac->ac_cX_found[ac->ac_criteria]++; in ext4_mb_measure_extent()
2427 ac->ac_cX_found[ac->ac_criteria]++; in ext4_mb_simple_scan_group()
2561 ac->ac_cX_found[ac->ac_criteria]++; in ext4_mb_scan_aligned()
2987 ac->ac_b_ex.fe_len, ac->ac_o_ex.fe_len, ac->ac_status, in ext4_mb_regular_allocator()
4578 ac->ac_orig_goal_len = ac->ac_g_ex.fe_len; in ext4_mb_normalize_request()
5716 ac->ac_status, ac->ac_flags); in ext4_mb_show_ac()
5844 ac->ac_g_ex = ac->ac_o_ex; in ext4_mb_initialize_context()
[all …]
/openbmc/linux/fs/ocfs2/
H A Dsuballoc.c141 kfree(ac); in ocfs2_free_alloc_context()
752 if (ac) in ocfs2_block_group_alloc()
1009 *ac = NULL; in ocfs2_reserve_new_metadata_blocks()
1023 ac); in ocfs2_reserve_new_metadata()
1110 *ac = NULL; in ocfs2_reserve_new_inode()
1164 *ac); in ocfs2_reserve_clusters_with_limit()
1211 *ac = NULL; in ocfs2_reserve_clusters_with_limit()
1889 BUG_ON(ac->ac_bits_given >= ac->ac_bits_wanted); in ocfs2_claim_suballoc_bits()
1998 BUG_ON(!ac); in ocfs2_claim_metadata()
2069 BUG_ON(!ac); in ocfs2_find_new_inode_loc()
[all …]
H A Dsuballoc.h53 return ac->ac_bits_wanted - ac->ac_bits_given; in ocfs2_alloc_context_bits_left()
63 struct ocfs2_alloc_context **ac);
66 struct ocfs2_alloc_context **ac);
68 struct ocfs2_alloc_context **ac);
71 struct ocfs2_alloc_context **ac);
90 struct ocfs2_alloc_context *ac,
99 struct ocfs2_alloc_context *ac,
104 struct ocfs2_alloc_context *ac,
113 struct ocfs2_alloc_context *ac,
211 struct ocfs2_alloc_context *ac,
[all …]
/openbmc/linux/lib/
H A Dbase64.c34 u32 ac = 0; in base64_encode() local
40 ac = (ac << 8) | src[i]; in base64_encode()
44 *cp++ = base64_table[(ac >> bits) & 0x3f]; in base64_encode()
48 *cp++ = base64_table[(ac << (6 - bits)) & 0x3f]; in base64_encode()
75 u32 ac = 0; in base64_decode() local
84 ac = (ac << 6); in base64_decode()
92 ac = (ac << 6) | (p - base64_table); in base64_decode()
96 *bp++ = (u8)(ac >> bits); in base64_decode()
99 if (ac & ((1 << bits) - 1)) in base64_decode()
/openbmc/qemu/hw/core/
H A Dregister.c79 ac = reg->access; in register_write()
81 if (!ac || !ac->name) { in register_write()
95 test = val & ac->unimp; in register_write()
106 no_w_mask = ac->ro | ac->w1c | ac->rsvd | ~we; in register_write()
110 if (ac->pre_write) { in register_write()
121 if (ac->post_write) { in register_write()
134 ac = reg->access; in register_read()
135 if (!ac || !ac->name) { in register_read()
148 if (ac->post_read) { in register_read()
170 ac = reg->access; in register_reset()
[all …]
/openbmc/linux/fs/afs/
H A Dvl_rotate.c24 vc->ac.error = SHRT_MAX; in afs_begin_vlserver_operation()
100 vc->ac.tried, vc->ac.index, in afs_select_vlserver()
233 memset(&vc->ac, 0, sizeof(vc->ac)); in afs_select_vlserver()
235 if (!vc->ac.alist) in afs_select_vlserver()
236 vc->ac.alist = alist; in afs_select_vlserver()
240 vc->ac.index = -1; in afs_select_vlserver()
243 ASSERT(vc->ac.alist); in afs_select_vlserver()
250 _debug("VL address %d/%d", vc->ac.index, vc->ac.alist->nr_addrs); in afs_select_vlserver()
252 _leave(" = t %pISpc", &vc->ac.alist->addrs[vc->ac.index].transport); in afs_select_vlserver()
333 vc->ac.tried, vc->ac.index, vc->ac.abort_code, vc->ac.error, in afs_vl_dump_edestaddrreq()
[all …]
H A Drotate.c120 op->ac.tried, op->ac.index, in afs_select_fileserver()
393 memset(&op->ac, 0, sizeof(op->ac)); in afs_select_fileserver()
395 if (!op->ac.alist) in afs_select_fileserver()
396 op->ac.alist = alist; in afs_select_fileserver()
400 op->ac.index = -1; in afs_select_fileserver()
403 ASSERT(op->ac.alist); in afs_select_fileserver()
411 op->index, op->ac.index, op->ac.alist->nr_addrs, in afs_select_fileserver()
412 &op->ac.alist->addrs[op->ac.index].transport); in afs_select_fileserver()
423 alist = op->ac.alist; in afs_select_fileserver()
515 op->ac.tried, op->ac.index, op->ac.abort_code, op->ac.error, in afs_dump_edestaddrreq()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/gettext/gettext/
H A Dserial-tests-config.patch12 configure.ac | 2 +-
13 gettext-runtime/configure.ac | 2 +-
14 gettext-tools/configure.ac | 2 +-
17 diff --git a/configure.ac b/configure.ac
19 --- a/configure.ac
20 +++ b/configure.ac
30 diff --git a/gettext-runtime/configure.ac b/gettext-runtime/configure.ac
32 --- a/gettext-runtime/configure.ac
43 diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac
45 --- a/gettext-tools/configure.ac
[all …]
/openbmc/linux/drivers/of/
H A Dcpu.c17 int ac, len; in of_get_cpu_hwid() local
19 ac = of_n_addr_cells(cpun); in of_get_cpu_hwid()
21 if (!cell || !ac || ((sizeof(*cell) * ac * (thread + 1)) > len)) in of_get_cpu_hwid()
24 cell += ac * thread; in of_get_cpu_hwid()
25 return of_read_number(cell, ac); in of_get_cpu_hwid()
56 int ac, prop_len, tid; in __of_find_n_match_cpu_property() local
59 ac = of_n_addr_cells(cpun); in __of_find_n_match_cpu_property()
63 if (!cell || !ac) in __of_find_n_match_cpu_property()
65 prop_len /= sizeof(*cell) * ac; in __of_find_n_match_cpu_property()
67 hwid = of_read_number(cell, ac); in __of_find_n_match_cpu_property()
[all …]
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-webadmin/webmin/files/
H A Dinit-exclude.patch19 : "$config{'init_dir'}/$ac[0]");
25 - @ac = split(/\s+/, $a);
26 - if (!$nodemap{$ac[2]}) {
27 - push(@acts, $ac[1]);
29 - "1+$r+$ac[0]+$ac[1]+$ac[2]+$w");
30 - push(@actsf, "$config{'init_base'}/rc$r.d/$w$ac[0]$ac[1]");
39 + # @ac = split(/\s+/, $a);
40 + # if (!$nodemap{$ac[2]}) {
41 + # push(@acts, $ac[1]);
43 + # "1+$r+$ac[0]+$ac[1]+$ac[2]+$w");
[all …]
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_rx_filter.c24 struct ionic_rx_filter_add_cmd *ac; in ionic_rx_filter_replay() local
35 ac = &ctx.cmd.rx_filter_add; in ionic_rx_filter_replay()
48 switch (le16_to_cpu(ac->match)) { in ionic_rx_filter_replay()
56 err, ac->mac.addr); in ionic_rx_filter_replay()
62 ac->mac.addr); in ionic_rx_filter_replay()
133 ac = &ctx->cmd.rx_filter_add; in ionic_rx_filter_save()
135 switch (le16_to_cpu(ac->match)) { in ionic_rx_filter_save()
137 key = le16_to_cpu(ac->vlan.vlan); in ionic_rx_filter_save()
141 key = *(u32 *)ac->mac.addr; in ionic_rx_filter_save()
252 le16_to_cpu(ac->match)); in ionic_rx_filter_find()
[all …]
/openbmc/linux/kernel/
H A Dacct.c434 static void fill_ac(acct_t *ac) in fill_ac() argument
445 memset(ac, 0, sizeof(acct_t)); in fill_ac()
448 strscpy(ac->ac_comm, current->comm, sizeof(ac->ac_comm)); in fill_ac()
466 ac->ac_etime_hi = etime >> 16; in fill_ac()
467 ac->ac_etime_lo = (u16) etime; in fill_ac()
474 ac->ac_ahz = AHZ; in fill_ac()
482 ac->ac_flag = pacct->ac_flag; in fill_ac()
494 acct_t ac; in do_acct_process() local
514 fill_ac(&ac); in do_acct_process()
520 ac.ac_uid16 = ac.ac_uid; in do_acct_process()
[all …]

12345678910>>...37