| /linux/net/ceph/ |
| H A D | auth.c | 24 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_obj(*ac, GFP_NOFS); in ceph_auth_init() 63 if (!ac) in ceph_auth_init() [all …]
|
| H A D | auth_none.c | 15 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 D | auth_x.c | 36 static void ceph_x_validate_tickets(struct ceph_auth_client *ac, int *pneed); 38 static int ceph_x_is_authenticated(struct ceph_auth_client *ac) in ceph_x_is_authenticated() argument 40 struct ceph_x_info *xi = ac->private; in ceph_x_is_authenticated() 44 ceph_x_validate_tickets(ac, &need); in ceph_x_is_authenticated() 45 missing = ac->want_keys & ~xi->have_keys; in ceph_x_is_authenticated() 48 ac->want_keys, xi->have_keys, missing, !missing); in ceph_x_is_authenticated() 52 static int ceph_x_should_authenticate(struct ceph_auth_client *ac) in ceph_x_should_authenticate() argument 54 struct ceph_x_info *xi = ac->private; in ceph_x_should_authenticate() 57 ceph_x_validate_tickets(ac, &need); in ceph_x_should_authenticate() 59 ac->want_keys, xi->have_keys, need, !!need); in ceph_x_should_authenticate() [all …]
|
| /linux/drivers/power/supply/ |
| H A D | surface_charger.c | 67 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 D | ac.c | 54 static int acpi_ac_get_state(struct acpi_ac *ac) in acpi_ac_get_state() argument 58 if (!ac) in acpi_ac_get_state() 62 ac->state = 1; in acpi_ac_get_state() 66 status = acpi_evaluate_integer(ac->device->handle, "_PSR", NULL, in acpi_ac_get_state() 67 &ac->state); in acpi_ac_get_state() 69 acpi_handle_info(ac->device->handle, in acpi_ac_get_state() 72 ac->state = ACPI_AC_STATUS_UNKNOWN; in acpi_ac_get_state() 84 struct acpi_ac *ac = to_acpi_ac(psy); in get_ac_property() local 86 if (!ac) in get_ac_property() 89 if (acpi_ac_get_state(ac)) in get_ac_property() [all …]
|
| /linux/drivers/media/pci/tw686x/ |
| H A D | tw686x-audio.c | 38 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 D | q6asm.c | 282 static inline void q6asm_add_hdr(struct audio_client *ac, struct apr_hdr *hdr, in q6asm_add_hdr() argument 287 hdr->src_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr() 288 hdr->dest_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr() 291 hdr->token = ac->session; in q6asm_add_hdr() 294 static int q6asm_apr_send_session_pkt(struct q6asm *a, struct audio_client *ac, in q6asm_apr_send_session_pkt() argument 300 mutex_lock(&ac->cmd_lock); in q6asm_apr_send_session_pkt() 301 ac->result.opcode = 0; in q6asm_apr_send_session_pkt() 302 ac->result.status = 0; in q6asm_apr_send_session_pkt() 309 (ac->result.opcode == hdr->opcode) || in q6asm_apr_send_session_pkt() 310 (ac->result.opcode == rsp_opcode), in q6asm_apr_send_session_pkt() [all …]
|
| H A D | q6asm.h | 97 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 D | ap_card.c | 24 struct ap_card *ac = to_ap_card(dev); in hwtype_show() local 26 return sysfs_emit(buf, "%d\n", ac->ap_dev.device_type); in hwtype_show() 34 struct ap_card *ac = to_ap_card(dev); in raw_hwtype_show() local 36 return sysfs_emit(buf, "%d\n", ac->hwinfo.at); in raw_hwtype_show() 44 struct ap_card *ac = to_ap_card(dev); in depth_show() local 46 return sysfs_emit(buf, "%d\n", ac->hwinfo.qd + 1); in depth_show() 54 struct ap_card *ac = to_ap_card(dev); in ap_functions_show() local 56 return sysfs_emit(buf, "0x%08X\n", ac->hwinfo.fac); in ap_functions_show() 65 struct ap_card *ac = to_ap_card(dev); in request_count_show() local 70 req_cnt = atomic64_read(&ac->total_request_count); in request_count_show() [all …]
|
| H A D | zcrypt_cex4.c | 83 struct ap_card *ac = to_ap_card(dev); in cca_serialnr_show() local 88 cca_get_info(ac->id, AUTOSEL_DOM, &ci, 0); in cca_serialnr_show() 238 struct ap_card *ac = to_ap_card(dev); in ep11_api_ordinalnr_show() local 243 ep11_get_card_info(ac->id, &ci, 0); in ep11_api_ordinalnr_show() 258 struct ap_card *ac = to_ap_card(dev); in ep11_fw_version_show() local 263 ep11_get_card_info(ac->id, &ci, 0); in ep11_fw_version_show() 280 struct ap_card *ac = to_ap_card(dev); in ep11_serialnr_show() local 285 ep11_get_card_info(ac->id, &ci, 0); in ep11_serialnr_show() 316 struct ap_card *ac = to_ap_card(dev); in ep11_card_op_modes_show() local 322 ep11_get_card_info(ac->id, &ci, 0); in ep11_card_op_modes_show() [all …]
|
| H A D | zcrypt_card.c | 54 struct ap_card *ac = to_ap_card(dev); in online_show() local 55 int online = ac->config && !ac->chkstop && zc->online ? 1 : 0; in online_show() 65 struct ap_card *ac = to_ap_card(dev); in online_store() local 73 if (online && (!ac->config || ac->chkstop)) in online_store() 81 ap_send_online_uevent(&ac->ap_dev, online); in online_store()
|
| /linux/include/linux/ceph/ |
| H A D | auth.h | 39 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/fs/ext4/ |
| H A D | mballoc.c | 426 static void ext4_mb_new_preallocation(struct ext4_allocation_context *ac); 428 static int ext4_mb_scan_group(struct ext4_allocation_context *ac, 896 struct ext4_allocation_context *ac) in ext4_get_allocation_groups_count() argument 898 ext4_group_t ngroups = ext4_get_groups_count(ac->ac_sb); in ext4_get_allocation_groups_count() 901 if (!(ext4_test_inode_flag(ac->ac_inode, EXT4_INODE_EXTENTS))) in ext4_get_allocation_groups_count() 902 ngroups = EXT4_SB(ac->ac_sb)->s_blockfile_groups; in ext4_get_allocation_groups_count() 910 static int ext4_mb_scan_groups_xa_range(struct ext4_allocation_context *ac, in ext4_mb_scan_groups_xa_range() argument 914 struct super_block *sb = ac->ac_sb; in ext4_mb_scan_groups_xa_range() 916 enum criteria cr = ac->ac_criteria; in ext4_mb_scan_groups_xa_range() 917 ext4_group_t ngroups = ext4_get_allocation_groups_count(ac); in ext4_mb_scan_groups_xa_range() [all …]
|
| /linux/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_rx_filter.c | 24 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/fs/ocfs2/ |
| H A D | suballoc.h | 51 void ocfs2_free_alloc_context(struct ocfs2_alloc_context *ac); 52 static inline int ocfs2_alloc_context_bits_left(struct ocfs2_alloc_context *ac) in ocfs2_alloc_context_bits_left() argument 54 return ac->ac_bits_wanted - ac->ac_bits_given; in ocfs2_alloc_context_bits_left() 64 struct ocfs2_alloc_context **ac); 67 struct ocfs2_alloc_context **ac); 69 struct ocfs2_alloc_context **ac); 72 struct ocfs2_alloc_context **ac); 95 struct ocfs2_alloc_context *ac, 104 struct ocfs2_alloc_context *ac, 109 struct ocfs2_alloc_context *ac, [all …]
|
| H A D | localalloc.c | 51 struct ocfs2_alloc_context **ac, 57 struct ocfs2_alloc_context *ac); 617 struct ocfs2_alloc_context *ac) in ocfs2_reserve_local_alloc_bits() argument 624 BUG_ON(!ac); in ocfs2_reserve_local_alloc_bits() 692 ac->ac_inode = local_alloc_inode; in ocfs2_reserve_local_alloc_bits() 694 ac->ac_alloc_slot = osb->slot_num; in ocfs2_reserve_local_alloc_bits() 695 ac->ac_which = OCFS2_AC_USE_LOCAL; in ocfs2_reserve_local_alloc_bits() 697 ac->ac_bh = osb->local_alloc_bh; in ocfs2_reserve_local_alloc_bits() 706 (unsigned long long)ac->ac_max_block, in ocfs2_reserve_local_alloc_bits() 716 struct ocfs2_alloc_context *ac, in ocfs2_claim_local_alloc_bits() argument [all …]
|
| /linux/lib/ |
| H A D | base64.c | 82 u32 ac = 0; in base64_encode() local 87 ac = src[0] << 16 | src[1] << 8 | src[2]; in base64_encode() 88 *cp++ = base64_table[ac >> 18]; in base64_encode() 89 *cp++ = base64_table[(ac >> 12) & 0x3f]; in base64_encode() 90 *cp++ = base64_table[(ac >> 6) & 0x3f]; in base64_encode() 91 *cp++ = base64_table[ac & 0x3f]; in base64_encode() 99 ac = src[0] << 16 | src[1] << 8; in base64_encode() 100 *cp++ = base64_table[ac >> 18]; in base64_encode() 101 *cp++ = base64_table[(ac >> 12) & 0x3f]; in base64_encode() 102 *cp++ = base64_table[(ac >> 6) & 0x3f]; in base64_encode() [all …]
|
| /linux/drivers/net/ethernet/microsoft/mana/ |
| H A D | mana_en.c | 55 if (apc && apc->ac && apc->ac->gdma_dev && in mana_en_need_log() 56 apc->ac->gdma_dev->gdma_context) in mana_en_need_log() 57 return mana_need_log(apc->ac->gdma_dev->gdma_context, err); in mana_en_need_log() 106 struct mana_context *ac; in mana_link_state_handle() local 112 ac = container_of(w, struct mana_context, link_change_work); in mana_link_state_handle() 116 link_event = READ_ONCE(ac->link_event); in mana_link_state_handle() 126 for (i = 0; i < ac->num_ports; i++) { in mana_link_state_handle() 127 ndev = ac->ports[i]; in mana_link_state_handle() 189 struct gdma_dev *gd = apc->ac->gdma_dev; in mana_map_skb() 341 struct gdma_dev *gd = apc->ac->gdma_dev; in mana_start_xmit() [all …]
|
| /linux/Documentation/admin-guide/media/ |
| H A D | cx88-cardlist.rst | 79 - 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 D | sta_info.c | 134 int ac, i; in __cleanup_single_sta() local 160 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in __cleanup_single_sta() 161 local->total_ps_buffered -= skb_queue_len(&sta->ps_tx_buf[ac]); in __cleanup_single_sta() 162 ieee80211_purge_tx_queue(&local->hw, &sta->ps_tx_buf[ac]); in __cleanup_single_sta() 163 ieee80211_purge_tx_queue(&local->hw, &sta->tx_filtered[ac]); in __cleanup_single_sta() 364 int ac, tid; in sta_accumulate_removed_link_stats() local 368 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in sta_accumulate_removed_link_stats() 370 link_sta->tx_stats.packets[ac]; in sta_accumulate_removed_link_stats() 371 sta->rem_link_stats.tx_bytes += link_sta->tx_stats.bytes[ac]; in sta_accumulate_removed_link_stats() 1066 static unsigned long ieee80211_tids_for_ac(int ac) in ieee80211_tids_for_ac() argument [all …]
|
| /linux/drivers/virt/coco/sev-guest/ |
| H A D | sev-guest.c | 352 struct svsm_attest_call ac = {}; in sev_svsm_report_new() local 377 export_guid(ac.service_guid, &desc->service_guid); in sev_svsm_report_new() 378 ac.service_manifest_ver = desc->service_manifest_version; in sev_svsm_report_new() 394 ac.report_buf.pa = __pa(rep); in sev_svsm_report_new() 395 ac.report_buf.len = rep_len; in sev_svsm_report_new() 398 ac.manifest_buf.pa = __pa(man); in sev_svsm_report_new() 399 ac.manifest_buf.len = man_len; in sev_svsm_report_new() 402 ac.certificates_buf.pa = __pa(certs); in sev_svsm_report_new() 403 ac.certificates_buf.len = certs_len; in sev_svsm_report_new() 405 ac.nonce.pa = __pa(desc->inblob); in sev_svsm_report_new() [all …]
|
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | Kconfig | 3 tristate "Realtek 802.11ac wireless chips support" 7 enables Realtek IEEE 802.11ac wireless chipsets. 69 802.11ac PCIe wireless network adapter 80 802.11ac SDIO wireless network adapter 91 802.11ac USB wireless network adapter 102 802.11ac PCIe wireless network adapter 113 802.11ac SDIO wireless network adapter 124 802.11ac USB wireless network adapter 182 802.11ac PCIe wireless network adapter 193 802.11ac SDIO wireless network adapter [all …]
|
| /linux/mm/ |
| H A D | page_alloc.c | 3475 static bool unreserve_highatomic_pageblock(const struct alloc_context *ac, in unreserve_highatomic_pageblock() argument 3478 struct zonelist *zonelist = ac->zonelist; in unreserve_highatomic_pageblock() 3486 for_each_zone_zonelist_nodemask(zone, z, zonelist, ac->highest_zoneidx, in unreserve_highatomic_pageblock() 3487 ac->nodemask) { in unreserve_highatomic_pageblock() 3529 ac->migratetype); in unreserve_highatomic_pageblock() 3533 ac->migratetype); in unreserve_highatomic_pageblock() 3535 ac->migratetype); in unreserve_highatomic_pageblock() 3788 const struct alloc_context *ac) in get_page_from_freelist() argument 3804 z = ac->preferred_zoneref; in get_page_from_freelist() 3805 for_next_zone_zonelist_nodemask(zone, z, ac->highest_zoneidx, in get_page_from_freelist() [all …]
|
| /linux/drivers/input/misc/ |
| H A D | adxl34x-spi.c | 70 struct adxl34x *ac; in adxl34x_spi_probe() local 78 ac = adxl34x_probe(&spi->dev, spi->irq, in adxl34x_spi_probe() 82 if (IS_ERR(ac)) in adxl34x_spi_probe() 83 return PTR_ERR(ac); in adxl34x_spi_probe() 85 spi_set_drvdata(spi, ac); in adxl34x_spi_probe()
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-ipq4018-ap120c-ac-bit.dts | 4 #include "qcom-ipq4018-ap120c-ac.dtsi" 13 label = "ap120c-ac:green:power"; 21 label = "ap120c-ac:green:wlan"; 28 label = "ap120c-ac:green:support";
|