| /OK3568_Linux_fs/kernel/drivers/input/misc/ |
| H A D | adxl34x.c | 181 #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 mutex_lock(&ac->mutex); in adxl34x_get_triple() 245 ac->saved.x = (s16) le16_to_cpu(buf[0]); in adxl34x_get_triple() 246 axis->x = ac->saved.x; in adxl34x_get_triple() 248 ac->saved.y = (s16) le16_to_cpu(buf[1]); in adxl34x_get_triple() 249 axis->y = ac->saved.y; in adxl34x_get_triple() 251 ac->saved.z = (s16) le16_to_cpu(buf[2]); in adxl34x_get_triple() [all …]
|
| /OK3568_Linux_fs/kernel/net/ceph/ |
| H A D | auth.c | 24 static int ceph_auth_init_protocol(struct ceph_auth_client *ac, int protocol) in ceph_auth_init_protocol() argument 28 return ceph_auth_none_init(ac); in ceph_auth_init_protocol() 30 return ceph_x_init(ac); in ceph_auth_init_protocol() 41 struct ceph_auth_client *ac; in ceph_auth_init() local 47 ac = kzalloc(sizeof(*ac), GFP_NOFS); in ceph_auth_init() 48 if (!ac) in ceph_auth_init() 51 mutex_init(&ac->mutex); in ceph_auth_init() 52 ac->negotiating = true; in ceph_auth_init() 54 ac->name = name; in ceph_auth_init() 56 ac->name = CEPH_AUTH_NAME_DEFAULT; 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 | 20 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() 27 ceph_x_validate_tickets(ac, &need); in ceph_x_is_authenticated() 29 ac->want_keys, need, xi->have_keys); in ceph_x_is_authenticated() 30 return (ac->want_keys & xi->have_keys) == ac->want_keys; in ceph_x_is_authenticated() 33 static int ceph_x_should_authenticate(struct ceph_auth_client *ac) in ceph_x_should_authenticate() argument 35 struct ceph_x_info *xi = ac->private; in ceph_x_should_authenticate() 38 ceph_x_validate_tickets(ac, &need); in ceph_x_should_authenticate() 40 ac->want_keys, need, xi->have_keys); in ceph_x_should_authenticate() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | coreaudio.c | 33 priv_t *ac = (priv_t*)((sox_format_t*)inClientData)->priv; in PlaybackIOProc() local 37 pthread_mutex_lock(&ac->mutex); in PlaybackIOProc() 44 if(copylen > ac->bufrdavail) in PlaybackIOProc() 45 copylen = ac->bufrdavail; in PlaybackIOProc() 47 avail = ac->bufsize - ac->bufrd; in PlaybackIOProc() 51 memcpy(buf->mData, ac->buf + ac->bufrd, avail * sizeof(float)); in PlaybackIOProc() 52 memcpy((float*)buf->mData + avail, ac->buf, (copylen - avail) * sizeof(float)); in PlaybackIOProc() 54 memcpy(buf->mData, ac->buf + ac->bufrd, copylen * sizeof(float)); in PlaybackIOProc() 58 ac->bufrd += copylen; in PlaybackIOProc() 59 if(ac->bufrd >= ac->bufsize) in PlaybackIOProc() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/qcom/qdsp6/ |
| H A D | q6asm.c | 279 static inline void q6asm_add_hdr(struct audio_client *ac, struct apr_hdr *hdr, in q6asm_add_hdr() argument 284 hdr->src_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr() 285 hdr->dest_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr() 288 hdr->token = ac->session; in q6asm_add_hdr() 291 static int q6asm_apr_send_session_pkt(struct q6asm *a, struct audio_client *ac, in q6asm_apr_send_session_pkt() argument 297 mutex_lock(&ac->cmd_lock); in q6asm_apr_send_session_pkt() 298 ac->result.opcode = 0; in q6asm_apr_send_session_pkt() 299 ac->result.status = 0; in q6asm_apr_send_session_pkt() 306 (ac->result.opcode == hdr->opcode) || in q6asm_apr_send_session_pkt() 307 (ac->result.opcode == rsp_opcode), in q6asm_apr_send_session_pkt() [all …]
|
| H A D | q6asm.h | 98 void q6asm_audio_client_free(struct audio_client *ac); 99 int q6asm_write_async(struct audio_client *ac, uint32_t stream_id, uint32_t len, 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); 114 int q6asm_media_format_block_multi_ch_pcm(struct audio_client *ac, 119 int q6asm_stream_media_format_block_flac(struct audio_client *ac, 122 int q6asm_stream_media_format_block_wma_v9(struct audio_client *ac, 125 int q6asm_stream_media_format_block_wma_v10(struct audio_client *ac, [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/drivers/acpi/ |
| H A D | ac.c | 3 * acpi_ac.c - ACPI AC Adapter Driver ($Revision: 27 $) 24 #define ACPI_AC_DEVICE_NAME "AC Adapter" 32 ACPI_MODULE_NAME("ac"); 35 MODULE_DESCRIPTION("ACPI AC Adapter Driver"); 70 .name = "ac", 93 AC Adapter Management 96 static int acpi_ac_get_state(struct acpi_ac *ac) in acpi_ac_get_state() argument 100 if (!ac) in acpi_ac_get_state() 104 ac->state = 1; in acpi_ac_get_state() 108 status = acpi_evaluate_integer(ac->device->handle, "_PSR", NULL, in acpi_ac_get_state() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/s390/crypto/ |
| H A D | ap_card.c | 25 struct ap_card *ac = to_ap_card(dev); in hwtype_show() local 27 return scnprintf(buf, PAGE_SIZE, "%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 scnprintf(buf, PAGE_SIZE, "%d\n", ac->raw_hwtype); in raw_hwtype_show() 45 struct ap_card *ac = to_ap_card(dev); in depth_show() local 47 return scnprintf(buf, PAGE_SIZE, "%d\n", ac->queue_depth); in depth_show() 55 struct ap_card *ac = to_ap_card(dev); in ap_functions_show() local 57 return scnprintf(buf, PAGE_SIZE, "0x%08X\n", ac->functions); 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 D | zcrypt_cex4.c | 82 struct ap_card *ac = to_ap_card(dev); in cca_serialnr_show() local 83 struct zcrypt_card *zc = ac->private; in cca_serialnr_show() 88 cca_get_info(ac->id, ap_domain_index, &ci, zc->online); in cca_serialnr_show() 194 struct ap_card *ac = to_ap_card(dev); in ep11_api_ordinalnr_show() local 195 struct zcrypt_card *zc = ac->private; in ep11_api_ordinalnr_show() 199 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_api_ordinalnr_show() 215 struct ap_card *ac = to_ap_card(dev); in ep11_fw_version_show() local 216 struct zcrypt_card *zc = ac->private; in ep11_fw_version_show() 220 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_fw_version_show() 238 struct ap_card *ac = to_ap_card(dev); in ep11_serialnr_show() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/ |
| H A D | bcmdevs_legacy.h | 40 #define BCM4345_D11AC_ID 0x43ab /* 4345 802.11ac dualband device */ 41 #define BCM4345_D11AC2G_ID 0x43ac /* 4345 802.11ac 2.4G device */ 42 #define BCM4345_D11AC5G_ID 0x43ad /* 4345 802.11ac 5G device */ 43 #define BCM43452_D11AC_ID 0x47ab /* 43452 802.11ac dualband device */ 44 #define BCM43452_D11AC2G_ID 0x47ac /* 43452 802.11ac 2.4G device */ 45 #define BCM43452_D11AC5G_ID 0x47ad /* 43452 802.11ac 5G device */ 46 #define BCM4347_D11AC_ID 0x440a /* 4347 802.11ac dualband device */ 47 #define BCM4347_D11AC2G_ID 0x440b /* 4347 802.11ac 2.4G device */ 48 #define BCM4347_D11AC5G_ID 0x440c /* 4347 802.11ac 5G device */ 49 #define BCM4349_D11AC_ID 0x4349 /* 4349 802.11ac dualband device */ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/ |
| H A D | bcmdevs_legacy.h | 40 #define BCM4345_D11AC_ID 0x43ab /* 4345 802.11ac dualband device */ 41 #define BCM4345_D11AC2G_ID 0x43ac /* 4345 802.11ac 2.4G device */ 42 #define BCM4345_D11AC5G_ID 0x43ad /* 4345 802.11ac 5G device */ 43 #define BCM43452_D11AC_ID 0x47ab /* 43452 802.11ac dualband device */ 44 #define BCM43452_D11AC2G_ID 0x47ac /* 43452 802.11ac 2.4G device */ 45 #define BCM43452_D11AC5G_ID 0x47ad /* 43452 802.11ac 5G device */ 46 #define BCM4347_D11AC_ID 0x440a /* 4347 802.11ac dualband device */ 47 #define BCM4347_D11AC2G_ID 0x440b /* 4347 802.11ac 2.4G device */ 48 #define BCM4347_D11AC5G_ID 0x440c /* 4347 802.11ac 5G device */ 49 #define BCM4349_D11AC_ID 0x4349 /* 4349 802.11ac dualband device */ [all …]
|
| /OK3568_Linux_fs/kernel/fs/ext4/ |
| H A D | mballoc.c | 352 static void ext4_mb_new_preallocation(struct ext4_allocation_context *ac); 1691 static void ext4_mb_use_best_found(struct ext4_allocation_context *ac, in ext4_mb_use_best_found() argument 1694 struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb); in ext4_mb_use_best_found() 1697 BUG_ON(ac->ac_b_ex.fe_group != e4b->bd_group); in ext4_mb_use_best_found() 1698 BUG_ON(ac->ac_status == AC_STATUS_FOUND); in ext4_mb_use_best_found() 1700 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() 1701 ac->ac_b_ex.fe_logical = ac->ac_g_ex.fe_logical; in ext4_mb_use_best_found() 1702 ret = mb_mark_used(e4b, &ac->ac_b_ex); in ext4_mb_use_best_found() 1706 ac->ac_f_ex = ac->ac_b_ex; in ext4_mb_use_best_found() 1708 ac->ac_status = AC_STATUS_FOUND; in ext4_mb_use_best_found() [all …]
|
| /OK3568_Linux_fs/kernel/fs/ocfs2/ |
| H A D | suballoc.c | 93 static int ocfs2_claim_suballoc_bits(struct ocfs2_alloc_context *ac, 118 struct ocfs2_alloc_context **ac); 120 void ocfs2_free_ac_resource(struct ocfs2_alloc_context *ac) in ocfs2_free_ac_resource() argument 122 struct inode *inode = ac->ac_inode; in ocfs2_free_ac_resource() 125 if (ac->ac_which != OCFS2_AC_USE_LOCAL) in ocfs2_free_ac_resource() 131 ac->ac_inode = NULL; in ocfs2_free_ac_resource() 133 brelse(ac->ac_bh); in ocfs2_free_ac_resource() 134 ac->ac_bh = NULL; in ocfs2_free_ac_resource() 135 ac->ac_resv = NULL; in ocfs2_free_ac_resource() 136 kfree(ac->ac_find_loc_priv); in ocfs2_free_ac_resource() [all …]
|
| H A D | suballoc.h | 52 void ocfs2_free_alloc_context(struct ocfs2_alloc_context *ac); 53 static inline int ocfs2_alloc_context_bits_left(struct ocfs2_alloc_context *ac) in ocfs2_alloc_context_bits_left() argument 55 return ac->ac_bits_wanted - ac->ac_bits_given; in ocfs2_alloc_context_bits_left() 65 struct ocfs2_alloc_context **ac); 68 struct ocfs2_alloc_context **ac); 70 struct ocfs2_alloc_context **ac); 73 struct ocfs2_alloc_context **ac); 92 struct ocfs2_alloc_context *ac, 101 struct ocfs2_alloc_context *ac, 106 struct ocfs2_alloc_context *ac, [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-connectivity/freeradius/files/ |
| H A D | freeradius-avoid-searching-host-dirs.patch | 14 src/modules/rlm_sql/drivers/rlm_sql_db2/configure.ac | 4 ++-- 15 src/modules/rlm_sql/drivers/rlm_sql_firebird/configure.ac | 4 ++-- 16 src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure.ac | 4 ++-- 17 src/modules/rlm_sql/drivers/rlm_sql_mysql/configure.ac | 6 +++--- 18 src/modules/rlm_sql/drivers/rlm_sql_oracle/configure.ac | 2 +- 19 src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure.ac | 4 ++-- 20 src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure.ac | 4 ++-- 45 …c/modules/rlm_sql/drivers/rlm_sql_db2/configure.ac b/src/modules/rlm_sql/drivers/rlm_sql_db2/confi… 47 --- a/src/modules/rlm_sql/drivers/rlm_sql_db2/configure.ac 48 +++ b/src/modules/rlm_sql/drivers/rlm_sql_db2/configure.ac [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ceph/ |
| H A D | auth.h | 41 int (*is_authenticated)(struct ceph_auth_client *ac); 47 int (*should_authenticate)(struct ceph_auth_client *ac); 54 int (*build_request)(struct ceph_auth_client *ac, void *buf, void *end); 55 int (*handle_reply)(struct ceph_auth_client *ac, int result, 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, 73 void (*invalidate_authorizer)(struct ceph_auth_client *ac, 77 void (*reset)(struct ceph_auth_client *ac); [all …]
|
| /OK3568_Linux_fs/kernel/fs/afs/ |
| H A D | vl_rotate.c | 24 vc->ac.error = SHRT_MAX; in afs_begin_vlserver_operation() 90 int error = vc->ac.error, i; in afs_select_vlserver() 94 vc->ac.tried, vc->ac.index, in afs_select_vlserver() 95 error, vc->ac.abort_code); in afs_select_vlserver() 114 _leave(" = f [okay/local %d]", vc->ac.error); in afs_select_vlserver() 121 switch (vc->ac.abort_code) { in afs_select_vlserver() 133 vc->error = afs_abort_to_error(vc->ac.abort_code); in afs_select_vlserver() 162 afs_end_cursor(&vc->ac); in afs_select_vlserver() 215 ASSERTCMP(vc->ac.alist, ==, NULL); in afs_select_vlserver() 227 memset(&vc->ac, 0, sizeof(vc->ac)); in afs_select_vlserver() [all …]
|
| H A D | rotate.c | 116 int error = op->ac.error, i; in afs_select_fileserver() 120 op->ac.tried, op->ac.index, in afs_select_fileserver() 121 error, op->ac.abort_code); in afs_select_fileserver() 147 switch (op->ac.abort_code) { in afs_select_fileserver() 192 op->error = afs_abort_to_error(op->ac.abort_code); in afs_select_fileserver() 197 afs_busy(op->volume, op->ac.abort_code); in afs_select_fileserver() 221 afs_busy(op->volume, op->ac.abort_code); in afs_select_fileserver() 276 op->error = afs_abort_to_error(op->ac.abort_code); in afs_select_fileserver() 303 afs_end_cursor(&op->ac); in afs_select_fileserver() 364 ASSERTCMP(op->ac.alist, ==, NULL); in afs_select_fileserver() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/gettext/gettext-0.21/ |
| H A D | serial-tests-config.patch | 13 configure.ac | 2 +- 14 gettext-runtime/configure.ac | 2 +- 15 gettext-tools/configure.ac | 2 +- 18 diff --git a/configure.ac b/configure.ac 20 --- a/configure.ac 21 +++ b/configure.ac 31 diff --git a/gettext-runtime/configure.ac b/gettext-runtime/configure.ac 33 --- a/gettext-runtime/configure.ac 34 +++ b/gettext-runtime/configure.ac 44 diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/glibc/glibc/ |
| H A D | 0009-yes-within-the-path-sets-wrong-config-variables.patch | 18 sysdeps/aarch64/configure.ac | 4 ++-- 20 sysdeps/arm/configure.ac | 4 ++-- 22 sysdeps/mips/configure.ac | 4 ++-- 24 sysdeps/nios2/configure.ac | 4 ++-- 26 sysdeps/unix/sysv/linux/mips/configure.ac | 4 ++-- 28 sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac | 8 ++++---- 50 diff --git a/sysdeps/aarch64/configure.ac b/sysdeps/aarch64/configure.ac 52 --- a/sysdeps/aarch64/configure.ac 53 +++ b/sysdeps/aarch64/configure.ac 84 diff --git a/sysdeps/arm/configure.ac b/sysdeps/arm/configure.ac [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A D | sysfs-devices-platform-ACPI-TAD | 11 BIT(0): AC wakeup implemented if set 16 BIT(5): The AC timer wakes up from S4 if set 17 BIT(6): The AC timer wakes up from S5 if set 28 (RW) The AC alarm timer value. 30 Reads return the current AC alarm timer value in seconds or 31 "disabled", if the AC alarm is not set to wake up the system. 33 Write a new AC alarm timer value in seconds or "disabled" to it 34 to set the AC alarm timer or to disable it, respectively. 36 If the AC alarm timer is set through this attribute and it 45 (RW) The AC alarm expired timer wake policy (see ACPI 6.2, [all …]
|
| /OK3568_Linux_fs/external/xserver/render/ |
| H A D | animcur.c | 113 AnimCurPtr ac = GetAnimCur(pCursor); in AnimCurCursorLimits() local 115 (*pScreen->CursorLimits) (pDev, pScreen, ac->elts[0].pCursor, in AnimCurCursorLimits() 136 AnimCurPtr ac = GetAnimCur(dev->spriteInfo->sprite->current); in AnimCurTimerNotify() local 137 int elt = (dev->spriteInfo->anim.elt + 1) % ac->nelt; in AnimCurTimerNotify() 145 (void) (*pScreen->DisplayCursor) (dev, pScreen, ac->elts[elt].pCursor); in AnimCurTimerNotify() 150 dev->spriteInfo->anim.pCursor = ac->elts[elt].pCursor; in AnimCurTimerNotify() 152 return ac->elts[elt].delay; in AnimCurTimerNotify() 177 AnimCurPtr ac = GetAnimCur(pCursor); in AnimCurDisplayCursor() local 181 ac->elts[0].pCursor); in AnimCurDisplayCursor() 188 ac->timer = TimerSet(ac->timer, 0, ac->elts[0].delay, in AnimCurDisplayCursor() [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-webserver/recipes-webadmin/webmin/files/ |
| H A D | init-exclude.patch | 19 : "$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 …]
|