Home
last modified time | relevance | path

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

12345678910>>...13

/linux/net/ceph/
H A Dauth.c24 static int init_protocol(struct ceph_auth_client *ac, int proto) in init_protocol() argument
30 return ceph_auth_none_init(ac); in init_protocol()
32 return ceph_x_init(ac); in init_protocol()
39 void ceph_auth_set_global_id(struct ceph_auth_client *ac, u64 global_id) in ceph_auth_set_global_id() argument
46 if (ac->global_id && global_id != ac->global_id) in ceph_auth_set_global_id()
47 pr_err("global_id changed from %llu to %llu\n", ac->global_id, in ceph_auth_set_global_id()
50 ac->global_id = global_id; in ceph_auth_set_global_id()
60 struct ceph_auth_client *ac; in ceph_auth_init() local
62 ac = kzalloc(sizeof(*ac), GFP_NOFS); in ceph_auth_init()
63 if (!ac) in ceph_auth_init()
[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()
22 static void destroy(struct ceph_auth_client *ac) in destroy() argument
24 kfree(ac->private); in destroy()
25 ac->private = NULL; in destroy()
28 static int is_authenticated(struct ceph_auth_client *ac) in is_authenticated() argument
30 struct ceph_auth_none_info *xi = ac->private; in is_authenticated()
35 static int should_authenticate(struct ceph_auth_client *ac) in should_authenticate() argument
37 struct ceph_auth_none_info *xi = ac->private; in should_authenticate()
42 static int ceph_auth_none_build_authorizer(struct ceph_auth_client *ac, in ceph_auth_none_build_authorizer() argument
[all …]
H A Dauth_x.c20 static void ceph_x_validate_tickets(struct ceph_auth_client *ac, int *pneed);
22 static int ceph_x_is_authenticated(struct ceph_auth_client *ac) in ceph_x_is_authenticated() argument
24 struct ceph_x_info *xi = ac->private; in ceph_x_is_authenticated()
28 ceph_x_validate_tickets(ac, &need); in ceph_x_is_authenticated()
29 missing = ac->want_keys & ~xi->have_keys; in ceph_x_is_authenticated()
32 ac->want_keys, xi->have_keys, missing, !missing); in ceph_x_is_authenticated()
36 static int ceph_x_should_authenticate(struct ceph_auth_client *ac) in ceph_x_should_authenticate() argument
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()
43 ac->want_keys, xi->have_keys, need, !!need); in ceph_x_should_authenticate()
[all …]
/linux/drivers/input/misc/
H A Dadxl34x.c181 #define AC_READ(ac, reg) ((ac)->bops->read((ac)->dev, reg)) argument
182 #define AC_WRITE(ac, reg, val) ((ac)->bops->write((ac)->dev, reg, val)) argument
238 static void adxl34x_get_triple(struct adxl34x *ac, struct axis_triple *axis) in adxl34x_get_triple() argument
242 ac->bops->read_block(ac->dev, DATAX0, DATAZ1 - DATAX0 + 1, buf); in adxl34x_get_triple()
244 guard(mutex)(&ac->mutex); in adxl34x_get_triple()
246 ac->saved.x = (s16) le16_to_cpu(buf[0]); in adxl34x_get_triple()
247 axis->x = ac->saved.x; in adxl34x_get_triple()
249 ac->saved.y = (s16) le16_to_cpu(buf[1]); in adxl34x_get_triple()
250 axis->y = ac->saved.y; in adxl34x_get_triple()
252 ac->saved.z = (s16) le16_to_cpu(buf[2]); in adxl34x_get_triple()
[all …]
/linux/drivers/power/supply/
H A Dsurface_charger.c67 static int spwr_ac_update_unlocked(struct spwr_ac_device *ac) in spwr_ac_update_unlocked() argument
69 __le32 old = ac->state; in spwr_ac_update_unlocked()
72 lockdep_assert_held(&ac->lock); in spwr_ac_update_unlocked()
74 status = ssam_retry(ssam_bat_get_psrc, ac->sdev, &ac->state); in spwr_ac_update_unlocked()
78 return old != ac->state; in spwr_ac_update_unlocked()
81 static int spwr_ac_update(struct spwr_ac_device *ac) in spwr_ac_update() argument
85 mutex_lock(&ac->lock); in spwr_ac_update()
86 status = spwr_ac_update_unlocked(ac); in spwr_ac_update()
87 mutex_unlock(&ac->lock); in spwr_ac_update()
92 static int spwr_ac_recheck(struct spwr_ac_device *ac) in spwr_ac_recheck() argument
[all …]
/linux/drivers/acpi/
H A Dac.c66 static int acpi_ac_get_state(struct acpi_ac *ac) in acpi_ac_get_state() argument
70 if (!ac) in acpi_ac_get_state()
74 ac->state = 1; in acpi_ac_get_state()
78 status = acpi_evaluate_integer(ac->device->handle, "_PSR", NULL, in acpi_ac_get_state()
79 &ac->state); in acpi_ac_get_state()
81 acpi_handle_info(ac->device->handle, in acpi_ac_get_state()
84 ac->state = ACPI_AC_STATUS_UNKNOWN; in acpi_ac_get_state()
96 struct acpi_ac *ac = to_acpi_ac(psy); in get_ac_property() local
98 if (!ac) in get_ac_property()
101 if (acpi_ac_get_state(ac)) in get_ac_property()
[all …]
/linux/drivers/media/pci/tw686x/
H A Dtw686x-audio.c38 struct tw686x_audio_channel *ac = &dev->audio_channels[ch]; in tw686x_audio_irq() local
45 spin_lock_irqsave(&ac->lock, flags); in tw686x_audio_irq()
48 if (!ac->ss || !ac->curr_bufs[0] || !ac->curr_bufs[1]) { in tw686x_audio_irq()
49 spin_unlock_irqrestore(&ac->lock, flags); in tw686x_audio_irq()
53 if (!list_empty(&ac->buf_list)) { in tw686x_audio_irq()
54 next = list_first_entry(&ac->buf_list, in tw686x_audio_irq()
56 list_move_tail(&next->list, &ac->buf_list); in tw686x_audio_irq()
57 done = ac->curr_bufs[!pb]; in tw686x_audio_irq()
58 ac->curr_bufs[pb] = next; in tw686x_audio_irq()
60 spin_unlock_irqrestore(&ac->lock, flags); in tw686x_audio_irq()
[all …]
/linux/sound/soc/qcom/qdsp6/
H A Dq6asm.c280 static inline void q6asm_add_hdr(struct audio_client *ac, struct apr_hdr *hdr, in q6asm_add_hdr() argument
285 hdr->src_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr()
286 hdr->dest_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr()
289 hdr->token = ac->session; in q6asm_add_hdr()
292 static int q6asm_apr_send_session_pkt(struct q6asm *a, struct audio_client *ac, in q6asm_apr_send_session_pkt() argument
298 mutex_lock(&ac->cmd_lock); in q6asm_apr_send_session_pkt()
299 ac->result.opcode = 0; in q6asm_apr_send_session_pkt()
300 ac->result.status = 0; in q6asm_apr_send_session_pkt()
307 (ac->result.opcode == hdr->opcode) || in q6asm_apr_send_session_pkt()
308 (ac->result.opcode == rsp_opcode), in q6asm_apr_send_session_pkt()
[all …]
H A Dq6asm.h97 void q6asm_audio_client_free(struct audio_client *ac);
98 int q6asm_write_async(struct audio_client *ac, uint32_t stream_id, uint32_t len,
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);
113 int q6asm_media_format_block_multi_ch_pcm(struct audio_client *ac,
118 int q6asm_stream_media_format_block_flac(struct audio_client *ac,
121 int q6asm_stream_media_format_block_wma_v9(struct audio_client *ac,
124 int q6asm_stream_media_format_block_wma_v10(struct audio_client *ac,
[all …]
/linux/drivers/s390/crypto/
H A Dap_card.c25 struct ap_card *ac = to_ap_card(dev); in hwtype_show() local
27 return sysfs_emit(buf, "%d\n", ac->ap_dev.device_type); in hwtype_show()
35 struct ap_card *ac = to_ap_card(dev); in raw_hwtype_show() local
37 return sysfs_emit(buf, "%d\n", ac->hwinfo.at); in raw_hwtype_show()
45 struct ap_card *ac = to_ap_card(dev); in depth_show() local
47 return sysfs_emit(buf, "%d\n", ac->hwinfo.qd); in depth_show()
55 struct ap_card *ac = to_ap_card(dev); in ap_functions_show() local
57 return sysfs_emit(buf, "0x%08X\n", ac->hwinfo.fac); in ap_functions_show()
66 struct ap_card *ac = to_ap_card(dev); in request_count_show() local
71 req_cnt = atomic64_read(&ac->total_request_count); in request_count_show()
[all …]
H A Dzcrypt_cex4.c84 struct ap_card *ac = to_ap_card(dev); in cca_serialnr_show() local
89 cca_get_info(ac->id, ap_domain_index, &ci, zc->online); in cca_serialnr_show()
215 struct ap_card *ac = to_ap_card(dev); in ep11_api_ordinalnr_show() local
219 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_api_ordinalnr_show()
236 struct ap_card *ac = to_ap_card(dev); in ep11_fw_version_show() local
240 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_fw_version_show()
259 struct ap_card *ac = to_ap_card(dev); in ep11_serialnr_show() local
263 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_serialnr_show()
297 struct ap_card *ac = to_ap_card(dev); in ep11_card_op_modes_show() local
301 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_card_op_modes_show()
[all …]
H A Dap_bus.c596 struct ap_card *ac = to_ap_card(&ap_dev->device); in ap_uevent() local
608 if (ac->hwinfo.accel) in ap_uevent()
610 else if (ac->hwinfo.cca) in ap_uevent()
612 else if (ac->hwinfo.ep11) in ap_uevent()
1808 static inline void ap_scan_rm_card_dev_and_queue_devs(struct ap_card *ac) in ap_scan_rm_card_dev_and_queue_devs() argument
1811 (void *)(long)ac->id, in ap_scan_rm_card_dev_and_queue_devs()
1813 device_unregister(&ac->ap_dev.device); in ap_scan_rm_card_dev_and_queue_devs()
1821 static inline void ap_scan_domains(struct ap_card *ac) in ap_scan_domains() argument
1837 qid = AP_MKQID(ac->id, dom); in ap_scan_domains()
1845 __func__, ac->id, dom); in ap_scan_domains()
[all …]
/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);
52 int (*build_request)(struct ceph_auth_client *ac, void *buf, void *end);
53 int (*handle_reply)(struct ceph_auth_client *ac, u64 global_id,
62 int (*create_authorizer)(struct ceph_auth_client *ac, int peer_type,
65 int (*update_authorizer)(struct ceph_auth_client *ac, int peer_type,
67 int (*add_authorizer_challenge)(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);
[all …]
/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()
/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()
41 memcpy(ac, &f->cmd, sizeof(f->cmd)); in ionic_rx_filter_replay()
48 switch (le16_to_cpu(ac->match)) { in ionic_rx_filter_replay()
52 le16_to_cpu(ac->vlan.vlan)); in ionic_rx_filter_replay()
56 err, ac->mac.addr); in ionic_rx_filter_replay()
61 le16_to_cpu(ac->vlan.vlan), in ionic_rx_filter_replay()
62 ac->mac.addr); in ionic_rx_filter_replay()
128 struct ionic_rx_filter_add_cmd *ac; in ionic_rx_filter_save() local
133 ac = &ctx->cmd.rx_filter_add; in ionic_rx_filter_save()
[all …]
/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()
61 if (!cell && !ac && arch_match_cpu_phys_id(cpu, 0)) 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()
[all …]
/linux/kernel/
H A Dacct.c433 static void fill_ac(acct_t *ac) in fill_ac() argument
444 memset(ac, 0, sizeof(acct_t)); in fill_ac()
446 ac->ac_version = ACCT_VERSION | ACCT_BYTEORDER; in fill_ac()
447 strscpy(ac->ac_comm, current->comm, sizeof(ac->ac_comm)); in fill_ac()
455 ac->ac_etime = encode_float(elapsed); in fill_ac()
457 ac->ac_etime = encode_comp_t(elapsed < (unsigned long) -1l ? in fill_ac()
465 ac->ac_etime_hi = etime >> 16; in fill_ac()
466 ac->ac_etime_lo = (u16) etime; in fill_ac()
471 ac->ac_btime = clamp_t(time64_t, btime, 0, U32_MAX); in fill_ac()
473 ac->ac_ahz = AHZ; in fill_ac()
[all …]
/linux/drivers/crypto/axis/
H A Dartpec6_crypto.c451 struct artpec6_crypto *ac = dev_get_drvdata(artpec6_crypto_dev); in artpec6_crypto_busy() local
452 int fifo_count = ac->pending_count; in artpec6_crypto_busy()
459 struct artpec6_crypto *ac = dev_get_drvdata(artpec6_crypto_dev); in artpec6_crypto_submit() local
462 spin_lock_bh(&ac->queue_lock); in artpec6_crypto_submit()
465 list_add_tail(&req->list, &ac->pending); in artpec6_crypto_submit()
469 list_add_tail(&req->list, &ac->queue); in artpec6_crypto_submit()
474 spin_unlock_bh(&ac->queue_lock); in artpec6_crypto_submit()
481 struct artpec6_crypto *ac = dev_get_drvdata(artpec6_crypto_dev); in artpec6_crypto_start_dma() local
482 enum artpec6_crypto_variant variant = ac->variant; in artpec6_crypto_start_dma()
483 void __iomem *base = ac->base; in artpec6_crypto_start_dma()
[all …]
/linux/Documentation/admin-guide/media/
H 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/
H A Dsta_info.c135 int ac, i; in __cleanup_single_sta() local
161 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in __cleanup_single_sta()
162 local->total_ps_buffered -= skb_queue_len(&sta->ps_tx_buf[ac]); in __cleanup_single_sta()
163 ieee80211_purge_tx_queue(&local->hw, &sta->ps_tx_buf[ac]); in __cleanup_single_sta()
164 ieee80211_purge_tx_queue(&local->hw, &sta->tx_filtered[ac]); in __cleanup_single_sta()
988 static unsigned long ieee80211_tids_for_ac(int ac) in ieee80211_tids_for_ac() argument
991 switch (ac) { in ieee80211_tids_for_ac()
1012 int ac; in __sta_info_recalc_tim() local
1114 sta_info_cleanup_expire_buffered_ac(struct ieee80211_local * local,struct sta_info * sta,int ac) sta_info_cleanup_expire_buffered_ac() argument
1195 int ac; sta_info_cleanup_expire_buffered() local
1693 int filtered = 0, buffered = 0, ac, i; ieee80211_sta_ps_deliver_wakeup() local
1878 int ac; ieee80211_sta_ps_more_data() local
1909 int ac; ieee80211_sta_ps_get_frames() local
1983 int tid, ac; ieee80211_sta_ps_deliver_response() local
2281 u8 ac = ieee80211_ac_from_tid(tid); ieee80211_sta_register_airtime() local
2354 ieee80211_sta_update_pending_airtime(struct ieee80211_local * local,struct sta_info * sta,u8 ac,u16 tx_airtime,bool tx_completed) ieee80211_sta_update_pending_airtime() argument
2572 int i, ac, cpu; sta_set_sinfo() local
[all...]
H A Ddebugfs_sta.c112 int ac; in sta_num_ps_buf_frames_read() local
114 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) in sta_num_ps_buf_frames_read()
115 p += scnprintf(p, sizeof(buf)+buf-p, "AC%d: %d\n", ac, in sta_num_ps_buf_frames_read()
116 skb_queue_len(&sta->ps_tx_buf[ac]) + in sta_num_ps_buf_frames_read()
117 skb_queue_len(&sta->tx_filtered[ac])); in sta_num_ps_buf_frames_read()
172 txqi->txq.ac, in sta_aqm_read()
208 int ac; in sta_airtime_read() local
213 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in sta_airtime_read()
214 spin_lock_bh(&local->active_txq_lock[ac]); in sta_airtime_read()
215 rx_airtime += sta->airtime[ac].rx_airtime; in sta_airtime_read()
[all …]
H A Dmesh_ps.c459 int ac; in mps_frame_deliver() local
467 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in mps_frame_deliver()
469 skb = skb_dequeue(&sta->tx_filtered[ac]); in mps_frame_deliver()
472 &sta->ps_tx_buf[ac]); in mps_frame_deliver()
482 if (!skb_queue_empty(&sta->tx_filtered[ac]) || in mps_frame_deliver()
483 !skb_queue_empty(&sta->ps_tx_buf[ac])) in mps_frame_deliver()
584 int ac, buffer_local = 0; in ieee80211_mps_frame_release() local
601 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) in ieee80211_mps_frame_release()
602 buffer_local += skb_queue_len(&sta->ps_tx_buf[ac]) + in ieee80211_mps_frame_release()
603 skb_queue_len(&sta->tx_filtered[ac]); in ieee80211_mps_frame_release()
/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_en.c110 struct gdma_dev *gd = apc->ac->gdma_dev; in mana_map_skb()
226 struct gdma_dev *gd = apc->ac->gdma_dev; in mana_start_xmit()
519 dev = mpc->ac->gdma_dev->gdma_context->dev; in mana_pre_dealloc_rxbufs()
623 dev = mpc->ac->gdma_dev->gdma_context->dev; in mana_pre_alloc_rxbufs()
743 static int mana_send_request(struct mana_context *ac, void *in_buf, in mana_send_request() argument
746 struct gdma_context *gc = ac->gdma_dev->gdma_context; in mana_send_request()
803 err = mana_send_request(apc->ac, &req, sizeof(req), &resp, in mana_pf_register_hw_vport()
832 err = mana_send_request(apc->ac, &req, sizeof(req), &resp, in mana_pf_deregister_hw_vport()
859 err = mana_send_request(apc->ac, &req, sizeof(req), &resp, in mana_pf_register_filter()
888 err = mana_send_request(apc->ac, &req, sizeof(req), &resp, in mana_pf_deregister_filter()
[all …]
/linux/mm/
H A Dpage_alloc.c2065 static bool unreserve_highatomic_pageblock(const struct alloc_context *ac, in unreserve_highatomic_pageblock() argument
2068 struct zonelist *zonelist = ac->zonelist; in unreserve_highatomic_pageblock()
2076 for_each_zone_zonelist_nodemask(zone, z, zonelist, ac->highest_zoneidx, in unreserve_highatomic_pageblock()
2077 ac->nodemask) { in unreserve_highatomic_pageblock()
2128 ac->migratetype); in unreserve_highatomic_pageblock()
2131 ac->migratetype); in unreserve_highatomic_pageblock()
2133 ac->migratetype); in unreserve_highatomic_pageblock()
3319 const struct alloc_context *ac) in get_page_from_freelist() argument
3333 z = ac->preferred_zoneref; in get_page_from_freelist()
3334 for_next_zone_zonelist_nodemask(zone, z, ac->highest_zoneidx, in get_page_from_freelist()
[all …]
/linux/drivers/net/wireless/realtek/rtw88/
H A DKconfig3 tristate "Realtek 802.11ac wireless chips support"
7 enables Realtek IEEE 802.11ac wireless chipsets.
55 802.11ac PCIe wireless network adapter
66 802.11ac SDIO wireless network adapter
77 802.11ac USB wireless network adapter
88 802.11ac PCIe wireless network adapter
99 802.11ac SDIO wireless network adapter
110 802.11ac USB wireless network adapter
168 802.11ac PCIe wireless network adapter
179 802.11ac SDIO wireless network adapter
[all …]

12345678910>>...13