Home
last modified time | relevance | path

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

12345678910>>...15

/linux/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/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()
435 if (ac->suspended && !ac->disabled && ac->opened) in adxl34x_resume()
508 ac->hwcal.x -= (ac->saved.x / 4); in adxl34x_calibrate_store()
509 ac->swcal.x = ac->saved.x % 4; in adxl34x_calibrate_store()
511 ac->hwcal.y -= (ac->saved.y / 4); in adxl34x_calibrate_store()
512 ac->swcal.y = ac->saved.y % 4; in adxl34x_calibrate_store()
514 ac->hwcal.z -= (ac->saved.z / 4); in adxl34x_calibrate_store()
515 ac->swcal.z = ac->saved.z % 4; in adxl34x_calibrate_store()
587 if (!ac->disabled && !ac->suspended && ac->opened) in adxl34x_autosleep_store()
[all …]
/linux/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 strscpy(ac->name, name, sizeof(ac->name)); 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/drivers/acpi/
A Dac.c70 if (!ac) in acpi_ac_get_state()
74 ac->state = 1; in acpi_ac_get_state()
79 &ac->state); in acpi_ac_get_state()
98 if (!ac) in get_ac_property()
143 acpi_ac_get_state(ac); in acpi_ac_notify()
208 struct acpi_ac *ac; in acpi_ac_probe() local
212 if (!ac) in acpi_ac_probe()
215 ac->device = adev; in acpi_ac_probe()
225 psy_cfg.drv_data = ac; in acpi_ac_probe()
256 kfree(ac); in acpi_ac_probe()
[all …]
/linux/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/sound/soc/qcom/qdsp6/
A Dq6asm.c542 q6asm_audio_client_free_buf(ac, &ac->port[dir]); in q6asm_map_memory_regions()
562 kfree(ac); in q6asm_audio_client_release()
598 return ac; in q6asm_get_audio_client()
739 if (ac->cb) in q6asm_stream_callback()
766 if (!ac) { in q6asm_srvc_callback()
808 if (ac->cb) in q6asm_srvc_callback()
851 if (ac) { in q6asm_audio_client_alloc()
853 return ac; in q6asm_audio_client_alloc()
856 ac = kzalloc(sizeof(*ac), GFP_KERNEL); in q6asm_audio_client_alloc()
857 if (!ac) in q6asm_audio_client_alloc()
[all …]
A Dq6asm.h97 void q6asm_audio_client_free(struct audio_client *ac);
100 int q6asm_open_write(struct audio_client *ac, uint32_t stream_id,
104 int q6asm_open_read(struct audio_client *ac, uint32_t stream_id,
106 int q6asm_enc_cfg_blk_pcm_format_support(struct audio_client *ac,
111 int q6asm_read(struct audio_client *ac, uint32_t stream_id);
118 int q6asm_stream_media_format_block_flac(struct audio_client *ac,
127 int q6asm_stream_media_format_block_alac(struct audio_client *ac,
130 int q6asm_stream_media_format_block_ape(struct audio_client *ac,
135 int q6asm_run_nowait(struct audio_client *ac, uint32_t stream_id,
137 int q6asm_stream_remove_initial_silence(struct audio_client *ac,
[all …]
/linux/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()
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()
243 ac->hwinfo = hwinfo; in ap_card_create()
244 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
215 struct ap_card *ac = to_ap_card(dev); in ep11_api_ordinalnr_show() local
478 zc->card = ac; in zcrypt_cex4_card_probe()
480 if (ac->hwinfo.accel) { in zcrypt_cex4_card_probe()
509 if (ac->hwinfo.mex4k && ac->hwinfo.crt4k) { in zcrypt_cex4_card_probe()
518 } else if (ac->hwinfo.cca) { in zcrypt_cex4_card_probe()
558 } else if (ac->hwinfo.ep11) { in zcrypt_cex4_card_probe()
601 if (ac->hwinfo.cca) { in zcrypt_cex4_card_probe()
608 } else if (ac->hwinfo.ep11) { in zcrypt_cex4_card_probe()
629 if (ac->hwinfo.cca) in zcrypt_cex4_card_remove()
[all …]
A Dap_bus.c1917 ac->id, dom); in ap_scan_domains()
1995 if (ac) { in ap_scan_adapter()
2019 if (ac) { in ap_scan_adapter()
2032 if (ac) { in ap_scan_adapter()
2043 if (ac) { in ap_scan_adapter()
2050 ac = NULL; in ap_scan_adapter()
2056 ac = NULL; in ap_scan_adapter()
2075 ap_send_config_uevent(&ac->ap_dev, ac->config); in ap_scan_adapter()
2080 ap_send_config_uevent(&ac->ap_dev, ac->config); in ap_scan_adapter()
2085 if (!ac) { in ap_scan_adapter()
[all …]
/linux/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/fs/ext4/
A Dmballoc.c1067 ac->ac_g_ex.fe_len = ac->ac_orig_goal_len; in ext4_mb_choose_next_group_best_avail()
2145 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()
2151 ac->ac_f_ex = ac->ac_b_ex; in ext4_mb_use_best_found()
2251 ac->ac_cX_found[ac->ac_criteria]++; in ext4_mb_measure_extent()
2429 ac->ac_cX_found[ac->ac_criteria]++; in ext4_mb_simple_scan_group()
2563 ac->ac_cX_found[ac->ac_criteria]++; in ext4_mb_scan_aligned()
2997 ac->ac_b_ex.fe_len, ac->ac_o_ex.fe_len, ac->ac_status, in ext4_mb_regular_allocator()
4567 ac->ac_orig_goal_len = ac->ac_g_ex.fe_len; in ext4_mb_normalize_request()
5696 ac->ac_status, ac->ac_flags); in ext4_mb_show_ac()
5824 ac->ac_g_ex = ac->ac_o_ex; in ext4_mb_initialize_context()
[all …]
/linux/fs/ocfs2/
A Dsuballoc.c145 kfree(ac); in ocfs2_free_alloc_context()
756 if (ac) in ocfs2_block_group_alloc()
1013 *ac = NULL; in ocfs2_reserve_new_metadata_blocks()
1027 ac); in ocfs2_reserve_new_metadata()
1114 *ac = NULL; in ocfs2_reserve_new_inode()
1168 *ac); in ocfs2_reserve_clusters_with_limit()
1215 *ac = NULL; in ocfs2_reserve_clusters_with_limit()
1944 BUG_ON(ac->ac_bits_given >= ac->ac_bits_wanted); in ocfs2_claim_suballoc_bits()
2053 BUG_ON(!ac); in ocfs2_claim_metadata()
2124 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);
94 struct ocfs2_alloc_context *ac,
103 struct ocfs2_alloc_context *ac,
108 struct ocfs2_alloc_context *ac,
117 struct ocfs2_alloc_context *ac,
215 struct ocfs2_alloc_context *ac,
[all …]
A Dlocalalloc.c57 struct ocfs2_alloc_context *ac);
624 BUG_ON(!ac); in ocfs2_reserve_local_alloc_bits()
734 ac->ac_resv); in ocfs2_claim_local_alloc_bits()
1117 if (!(*ac)) { in ocfs2_local_alloc_reserve_for_window()
1131 ocfs2_free_ac_resource(*ac); in ocfs2_local_alloc_reserve_for_window()
1142 *bitmap_bh = (*ac)->ac_bh; in ocfs2_local_alloc_reserve_for_window()
1146 if ((status < 0) && *ac) { in ocfs2_local_alloc_reserve_for_window()
1148 *ac = NULL; in ocfs2_local_alloc_reserve_for_window()
1262 &ac, in ocfs2_local_alloc_slide_window()
1330 if (ac) in ocfs2_local_alloc_slide_window()
[all …]
/linux/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/drivers/of/
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 …]
/linux/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/kernel/
A Dacct.c433 static void fill_ac(acct_t *ac) in fill_ac() argument
444 memset(ac, 0, sizeof(acct_t)); in fill_ac()
447 strscpy(ac->ac_comm, current->comm, sizeof(ac->ac_comm)); in fill_ac()
465 ac->ac_etime_hi = etime >> 16; in fill_ac()
466 ac->ac_etime_lo = (u16) etime; in fill_ac()
473 ac->ac_ahz = AHZ; in fill_ac()
481 ac->ac_flag = pacct->ac_flag; in fill_ac()
493 acct_t ac; in do_acct_process() local
513 fill_ac(&ac); in do_acct_process()
519 ac.ac_uid16 = ac.ac_uid; in do_acct_process()
[all …]
/linux/drivers/crypto/axis/
A Dartpec6_crypto.c512 ac->pending_count++; in artpec6_crypto_start_dma()
2025 ac->pad_buffer, in artpec6_crypto_prepare_aead()
2075 struct artpec6_crypto *ac = from_timer(ac, t, timer); in artpec6_crypto_timeout() local
2130 ac->pending_count--; in artpec6_crypto_task()
2872 if (!ac) in artpec6_crypto_probe()
2883 ac->base = base; in artpec6_crypto_probe()
2890 if (!ac->dma_cache) in artpec6_crypto_probe()
2902 if (!ac->pad_buffer) in artpec6_crypto_probe()
2904 ac->pad_buffer = PTR_ALIGN(ac->pad_buffer, ARTPEC_CACHE_LINE_MAX); in artpec6_crypto_probe()
2908 if (!ac->zero_buffer) in artpec6_crypto_probe()
[all …]
/linux/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 …]
/linux/net/mac80211/
A Dsta_info.c161 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in __cleanup_single_sta()
1048 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in __sta_info_recalc_tim()
1202 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) in sta_info_cleanup_expire_buffered()
1729 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in ieee80211_sta_ps_deliver_wakeup()
1889 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in ieee80211_sta_ps_more_data()
1912 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in ieee80211_sta_ps_get_frames()
2001 for (ac = IEEE80211_AC_VO; ac < IEEE80211_NUM_ACS; ac++) in ieee80211_sta_ps_deliver_response()
2608 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) in sta_set_sinfo()
2615 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) in sta_set_sinfo()
2662 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) in sta_set_sinfo()
[all …]
/linux/Documentation/devicetree/bindings/power/supply/
A Dx-powers,axp20x-ac-power-supply.yaml4 $id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-ac-power-supply.yaml#
25 - const: x-powers,axp202-ac-power-supply
26 - const: x-powers,axp221-ac-power-supply
28 - const: x-powers,axp803-ac-power-supply
29 - const: x-powers,axp813-ac-power-supply
30 - const: x-powers,axp813-ac-power-supply

Completed in 83 milliseconds

12345678910>>...15