Home
last modified time | relevance | path

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

12345678910>>...15

/linux-6.3-rc2/drivers/input/misc/
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()
896 free_irq(ac->irq, ac); in adxl34x_probe()
[all …]
/linux-6.3-rc2/net/ceph/
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 …]
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 …]
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 …]
/linux-6.3-rc2/drivers/power/supply/
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 …]
/linux-6.3-rc2/drivers/acpi/
A Dac.c81 if (!ac) in acpi_ac_get_state()
85 ac->state = 1; in acpi_ac_get_state()
109 if (!ac) in get_ac_property()
135 if (!ac) in acpi_ac_notify()
228 if (!ac) in acpi_ac_add()
231 ac->device = device; in acpi_ac_add()
247 ac->charger = power_supply_register(&ac->device->dev, in acpi_ac_add()
261 kfree(ac); in acpi_ac_add()
269 struct acpi_ac *ac; in acpi_ac_resume() local
276 if (!ac) in acpi_ac_resume()
[all …]
/linux-6.3-rc2/drivers/media/pci/tw686x/
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 …]
/linux-6.3-rc2/drivers/s390/crypto/
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()
161 if (cfg && !ac->config) in config_store()
170 ap_send_config_uevent(&ac->ap_dev, ac->config); in config_store()
230 kfree(ac); in ap_card_device_release()
236 struct ap_card *ac; in ap_card_create() local
238 ac = kzalloc(sizeof(*ac), GFP_KERNEL); in ap_card_create()
239 if (!ac) in ap_card_create()
247 ac->id = id; in ap_card_create()
[all …]
A Dzcrypt_cex4.c84 struct ap_card *ac = to_ap_card(dev); in cca_serialnr_show() local
224 struct ap_card *ac = to_ap_card(dev); in ep11_api_ordinalnr_show() local
228 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_api_ordinalnr_show()
245 struct ap_card *ac = to_ap_card(dev); in ep11_fw_version_show() local
249 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_fw_version_show()
268 struct ap_card *ac = to_ap_card(dev); in ep11_serialnr_show() local
272 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_serialnr_show()
302 struct ap_card *ac = to_ap_card(dev); in ep11_card_op_modes_show() local
306 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_card_op_modes_show()
483 zc->card = ac; in zcrypt_cex4_card_probe()
[all …]
A Dap_bus.c1812 aq->card = ac; in ap_scan_domains()
1933 if (ac) { in ap_scan_adapter()
1958 if (ac) { in ap_scan_adapter()
1971 if (ac) { in ap_scan_adapter()
1983 if (ac) { in ap_scan_adapter()
1990 ac = NULL; in ap_scan_adapter()
1996 ac = NULL; in ap_scan_adapter()
2015 ap_send_config_uevent(&ac->ap_dev, ac->config); in ap_scan_adapter()
2020 ap_send_config_uevent(&ac->ap_dev, ac->config); in ap_scan_adapter()
2025 if (!ac) { in ap_scan_adapter()
[all …]
/linux-6.3-rc2/sound/soc/qcom/qdsp6/
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 …]
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 …]
/linux-6.3-rc2/include/linux/ceph/
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 …]
/linux-6.3-rc2/fs/ext4/
A Dmballoc.c1977 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()
1983 ac->ac_f_ex = ac->ac_b_ex; in ext4_mb_use_best_found()
2012 if (ac->ac_o_ex.fe_len < ac->ac_b_ex.fe_len) in ext4_mb_use_best_found()
2783 ac->ac_b_ex.fe_len, ac->ac_o_ex.fe_len, ac->ac_status, in ext4_mb_regular_allocator()
4654 ac->ac_f_ex = ac->ac_b_ex; in ext4_mb_new_inode_pa()
4708 ac->ac_f_ex = ac->ac_b_ex; in ext4_mb_new_group_pa()
5116 ac->ac_status, ac->ac_flags); in ext4_mb_show_ac()
5242 ac->ac_g_ex = ac->ac_o_ex; in ext4_mb_initialize_context()
5452 ext4_mb_put_pa(ac, ac->ac_sb, pa); in ext4_mb_release_context()
5619 ac->ac_o_ex.fe_len >= ac->ac_f_ex.fe_len) in ext4_mb_new_blocks()
[all …]
/linux-6.3-rc2/fs/ocfs2/
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 …]
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 …]
A Dlocalalloc.c57 struct ocfs2_alloc_context *ac);
623 BUG_ON(!ac); in ocfs2_reserve_local_alloc_bits()
733 ac->ac_resv); in ocfs2_claim_local_alloc_bits()
1104 if (!(*ac)) { in ocfs2_local_alloc_reserve_for_window()
1118 ocfs2_free_ac_resource(*ac); in ocfs2_local_alloc_reserve_for_window()
1129 *bitmap_bh = (*ac)->ac_bh; in ocfs2_local_alloc_reserve_for_window()
1133 if ((status < 0) && *ac) { in ocfs2_local_alloc_reserve_for_window()
1135 *ac = NULL; in ocfs2_local_alloc_reserve_for_window()
1249 &ac, in ocfs2_local_alloc_slide_window()
1317 if (ac) in ocfs2_local_alloc_slide_window()
[all …]
/linux-6.3-rc2/fs/afs/
A Dvl_rotate.c24 vc->ac.error = SHRT_MAX; in afs_begin_vlserver_operation()
94 vc->ac.tried, vc->ac.index, in afs_select_vlserver()
227 memset(&vc->ac, 0, sizeof(vc->ac)); in afs_select_vlserver()
229 if (!vc->ac.alist) in afs_select_vlserver()
230 vc->ac.alist = alist; in afs_select_vlserver()
234 vc->ac.index = -1; in afs_select_vlserver()
237 ASSERT(vc->ac.alist); in afs_select_vlserver()
244 _debug("VL address %d/%d", vc->ac.index, vc->ac.alist->nr_addrs); in afs_select_vlserver()
246 _leave(" = t %pISpc", &vc->ac.alist->addrs[vc->ac.index].transport); in afs_select_vlserver()
323 vc->ac.tried, vc->ac.index, vc->ac.abort_code, vc->ac.error, in afs_vl_dump_edestaddrreq()
[all …]
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 …]
A Daddr_list.c359 if (!ac->alist) in afs_iterate_addresses()
362 set = ac->alist->responded; in afs_iterate_addresses()
364 _enter("%lx-%lx-%lx,%d", set, failed, ac->tried, ac->index); in afs_iterate_addresses()
366 ac->nr_iterations++; in afs_iterate_addresses()
380 ac->index = index; in afs_iterate_addresses()
382 ac->responded = false; in afs_iterate_addresses()
393 alist = ac->alist; in afs_end_cursor()
395 if (ac->responded && in afs_end_cursor()
397 test_bit(ac->alist->preferred, &ac->tried)) in afs_end_cursor()
400 ac->alist = NULL; in afs_end_cursor()
[all …]
/linux-6.3-rc2/lib/
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()
/linux-6.3-rc2/drivers/net/ethernet/pensando/ionic/
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 …]
/linux-6.3-rc2/kernel/
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 strlcpy(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 …]
/linux-6.3-rc2/drivers/crypto/axis/
A Dartpec6_crypto.c512 ac->pending_count++; in artpec6_crypto_start_dma()
2021 ac->pad_buffer, in artpec6_crypto_prepare_aead()
2071 struct artpec6_crypto *ac = from_timer(ac, t, timer); in artpec6_crypto_timeout() local
2126 ac->pending_count--; in artpec6_crypto_task()
2878 if (!ac) in artpec6_crypto_probe()
2889 ac->base = base; in artpec6_crypto_probe()
2896 if (!ac->dma_cache) in artpec6_crypto_probe()
2908 if (!ac->pad_buffer) in artpec6_crypto_probe()
2910 ac->pad_buffer = PTR_ALIGN(ac->pad_buffer, ARTPEC_CACHE_LINE_MAX); in artpec6_crypto_probe()
2914 if (!ac->zero_buffer) in artpec6_crypto_probe()
[all …]
/linux-6.3-rc2/Documentation/admin-guide/media/
A Dcx88-cardlist.rst79 - 18ac:db00
87 - 18ac:d810, 18ac:d800
103 - 18ac:db10, 18ac:db11
131 - 18ac:d820
143 - 18ac:d500
195 - 18ac:db50, 18ac:db54
203 - 18ac:db40, 18ac:db44
255 - 18ac:d530
275 - 18ac:db30
279 - 18ac:d610
[all …]

Completed in 90 milliseconds

12345678910>>...15