Home
last modified time | relevance | path

Searched +full:1 +full:ac (Results 1 – 25 of 1084) sorted by relevance

12345678910>>...44

/openbmc/linux/drivers/input/misc/
H A Dadxl34x.c47 #define DATAX1 0x33 /* R X-Axis Data 1 */
49 #define DATAY1 0x35 /* R Y-Axis Data 1 */
51 #define DATAZ1 0x37 /* R Z-Axis Data 1 */
64 #define DATA_READY (1 << 7)
65 #define SINGLE_TAP (1 << 6)
66 #define DOUBLE_TAP (1 << 5)
67 #define ACTIVITY (1 << 4)
68 #define INACTIVITY (1 << 3)
69 #define FREE_FALL (1 << 2)
70 #define WATERMARK (1 << 1)
[all …]
/openbmc/linux/drivers/power/supply/
H A Dsurface_charger.c3 * AC driver for 7th-generation Microsoft Surface devices via Surface System
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()
[all …]
/openbmc/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_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 …]
/openbmc/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 …]
/openbmc/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->raw_hwtype); 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->queue_depth); 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->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 …]
/openbmc/linux/fs/ext4/
H A Dmballoc.c101 * [ group 0 bitmap][ group 0 buddy] [group 1][ group 1]...
134 * 1) Array of largest free order lists (sbi->s_mb_largest_free_orders)
149 * average fragment size >= 2^i and < 2^(i+1). The average fragment size
160 * in the data structure (1) above where largest_free_order = order of the
163 * lookup in O(1) time.
168 * size group lists (data structure 2) in O(1) time.
177 * suitable block group in O(1) time and results in faster allocation at the
274 * 1) if buddy is referenced, it's already initialized
420 static void ext4_mb_new_preallocation(struct ext4_allocation_context *ac);
422 static bool ext4_mb_good_group(struct ext4_allocation_context *ac,
[all …]
/openbmc/linux/fs/ocfs2/
H A Dsuballoc.c91 static int ocfs2_claim_suballoc_bits(struct ocfs2_alloc_context *ac,
116 struct ocfs2_alloc_context **ac);
118 void ocfs2_free_ac_resource(struct ocfs2_alloc_context *ac) in ocfs2_free_ac_resource() argument
120 struct inode *inode = ac->ac_inode; in ocfs2_free_ac_resource()
123 if (ac->ac_which != OCFS2_AC_USE_LOCAL) in ocfs2_free_ac_resource()
124 ocfs2_inode_unlock(inode, 1); in ocfs2_free_ac_resource()
129 ac->ac_inode = NULL; in ocfs2_free_ac_resource()
131 brelse(ac->ac_bh); in ocfs2_free_ac_resource()
132 ac->ac_bh = NULL; in ocfs2_free_ac_resource()
133 ac->ac_resv = NULL; in ocfs2_free_ac_resource()
[all …]
H A Dsuballoc.h28 #define OCFS2_AC_USE_LOCAL 1
50 void ocfs2_free_alloc_context(struct ocfs2_alloc_context *ac);
51 static inline int ocfs2_alloc_context_bits_left(struct ocfs2_alloc_context *ac) in ocfs2_alloc_context_bits_left() argument
53 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,
[all …]
/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dq6asm.c258 struct audio_client *session[MAX_SESSIONS + 1];
270 /* idx:1 out port, 0: in port */
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()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/gettext/gettext/
H A Dserial-tests-config.patch12 configure.ac | 2 +-
13 gettext-runtime/configure.ac | 2 +-
14 gettext-tools/configure.ac | 2 +-
17 diff --git a/configure.ac b/configure.ac
19 --- a/configure.ac
20 +++ b/configure.ac
30 diff --git a/gettext-runtime/configure.ac b/gettext-runtime/configure.ac
32 --- a/gettext-runtime/configure.ac
33 +++ b/gettext-runtime/configure.ac
38 -AM_INIT_AUTOMAKE([1.11.1 silent-rules parallel-tests])
[all …]
/openbmc/qemu/target/mips/tcg/
H A Ddsp_helper.c34 uint32_t uw[1];
35 int32_t sw[1];
45 uint64_t ul[1];
46 int64_t sl[1];
62 env->active_tc.DSPControl &= ~(1 << 13); in set_DSPControl_carryflag()
75 filter = ((0x01 << len) - 1) << 24; in set_DSPControl_24()
124 set_DSPControl_overflow_flag(1, 20, env); \
143 set_DSPControl_overflow_flag(1, 20, env); in mipsdsp_add_i16()
162 set_DSPControl_overflow_flag(1, 20, env); in mipsdsp_sat_add_i16()
181 set_DSPControl_overflow_flag(1, 20, env); in mipsdsp_sat_add_i32()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/
H A D0009-yes-within-the-path-sets-wrong-config-variables.patch18 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 - $EGREP_TRADITIONAL "yes" >/dev/null 2>&1
51 + $EGREP_TRADITIONAL "is_aarch64_be" >/dev/null 2>&1
55 diff --git a/sysdeps/aarch64/configure.ac b/sysdeps/aarch64/configure.ac
57 --- a/sysdeps/aarch64/configure.ac
[all …]
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-webadmin/webmin/files/
H A Dinit-exclude.patch19 : "$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 …]
/openbmc/qemu/target/i386/tcg/
H A Dfpu_helper.c36 #define ST1 ST(1)
55 #define FPUS_IE (1 << 0)
56 #define FPUS_DE (1 << 1)
57 #define FPUS_ZE (1 << 2)
58 #define FPUS_OE (1 << 3)
59 #define FPUS_UE (1 << 4)
60 #define FPUS_PE (1 << 5)
61 #define FPUS_SF (1 << 6)
62 #define FPUS_SE (1 << 7)
63 #define FPUS_B (1 << 15)
[all …]
/openbmc/linux/fs/afs/
H A Dvl_rotate.c24 vc->ac.error = SHRT_MAX; in afs_begin_vlserver_operation()
81 vc->untried = (1UL << vc->server_list->nr_servers) - 1; in afs_start_vl_iteration()
82 vc->index = -1; in afs_start_vl_iteration()
96 int error = vc->ac.error, i; in afs_select_vlserver()
100 vc->ac.tried, vc->ac.index, in afs_select_vlserver()
101 error, vc->ac.abort_code); in afs_select_vlserver()
120 _leave(" = f [okay/local %d]", vc->ac.error); in afs_select_vlserver()
127 switch (vc->ac.abort_code) { in afs_select_vlserver()
134 //vc->server_list->weird_mask |= 1 << vc->index; in afs_select_vlserver()
139 vc->error = afs_abort_to_error(vc->ac.abort_code); in afs_select_vlserver()
[all …]
H A Drotate.c34 op->untried = (1UL << op->server_list->nr_servers) - 1; in afs_start_fs_iteration()
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()
160 op->server_list->vnovol_mask |= 1 << op->index; 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()
[all …]
H A Daddr_list.c44 refcount_set(&alist->usage, 1); in afs_alloc_addrlist()
120 vllist = afs_alloc_vlserver_list(1); in afs_parse_text_addrs()
124 vllist->nr_servers = 1; in afs_parse_text_addrs()
155 if (in4_pton(p, q - p, (u8 *)&x[0], -1, &stop)) { in afs_parse_text_addrs()
157 } else if (in6_pton(p, q - p, (u8 *)x, -1, &stop)) { in afs_parse_text_addrs()
250 "srv=1", &result, _expiry, true); in afs_dns_query()
259 if (ret > 1 && result[0] == 0) in afs_dns_query()
297 memmove(alist->addrs + i + 1, in afs_merge_fs_addr4()
337 memmove(alist->addrs + i + 1, in afs_merge_fs_addr6()
354 bool afs_iterate_addresses(struct afs_addr_cursor *ac) in afs_iterate_addresses() argument
[all …]
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/streamripper/streamripper/
H A D0001-build-these-are-foreign-automake-projects.patch4 Subject: [PATCH 1/3] build: these are 'foreign' automake projects
17 configure.ac | 2 +-
18 libmad-0.15.1b/configure.ac | 2 +-
21 diff --git a/configure.ac b/configure.ac
23 --- a/configure.ac
24 +++ b/configure.ac
34 diff --git a/libmad-0.15.1b/configure.ac b/libmad-0.15.1b/configure.ac
36 --- a/libmad-0.15.1b/configure.ac
37 +++ b/libmad-0.15.1b/configure.ac
48 2.10.1
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/freeradius/files/
H A D0006-Avoid-searching-host-dirs.patch19 src/modules/rlm_sql/drivers/rlm_sql_db2/configure.ac | 4 ++--
20 src/modules/rlm_sql/drivers/rlm_sql_firebird/configure.ac | 4 ++--
21 src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure.ac | 4 ++--
22 src/modules/rlm_sql/drivers/rlm_sql_mysql/configure.ac | 6 +++---
23 src/modules/rlm_sql/drivers/rlm_sql_oracle/configure.ac | 2 +-
24 src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure.ac | 4 ++--
25 src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure.ac | 4 ++--
32 @@ -9,7 +9,7 @@ ac_safe=`echo "$1" | sed 'y%./+-%__pm%'`
41 …c/modules/rlm_sql/drivers/rlm_sql_db2/configure.ac b/src/modules/rlm_sql/drivers/rlm_sql_db2/confi…
43 --- a/src/modules/rlm_sql/drivers/rlm_sql_db2/configure.ac
[all …]
/openbmc/linux/drivers/acpi/
H A Dac.c3 * acpi_ac.c - ACPI AC Adapter Driver (Revision: 27)
9 #define pr_fmt(fmt) "ACPI: AC: " fmt
24 #define ACPI_AC_DEVICE_NAME "AC Adapter"
32 MODULE_DESCRIPTION("ACPI AC Adapter Driver");
54 .name = "ac",
74 /* AC Adapter Management */
75 static int acpi_ac_get_state(struct acpi_ac *ac) in acpi_ac_get_state() argument
79 if (!ac) in acpi_ac_get_state()
83 ac->state = 1; in acpi_ac_get_state()
87 status = acpi_evaluate_integer(ac->device->handle, "_PSR", NULL, in acpi_ac_get_state()
[all …]
/openbmc/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()
71 * or -1 if the string isn't a valid base64 string.
75 u32 ac = 0; in base64_decode() local
84 ac = (ac << 6); in base64_decode()
91 return -1; in base64_decode()
92 ac = (ac << 6) | (p - base64_table); in base64_decode()
96 *bp++ = (u8)(ac >> bits); in base64_decode()
[all …]
/openbmc/qemu/hw/core/
H A Dregister.c28 case 1: in register_write_val()
48 case 1: in register_read_val()
75 const RegisterAccessInfo *ac; in register_write() local
79 ac = reg->access; in register_write()
81 if (!ac || !ac->name) { in register_write()
87 old_val = reg->data ? register_read_val(reg) : ac->reset; in register_write()
89 test = (old_val ^ val) & ac->rsvd; in register_write()
95 test = val & ac->unimp; in register_write()
100 prefix, reg->access->name, val, ac->unimp); in register_write()
106 no_w_mask = ac->ro | ac->w1c | ac->rsvd | ~we; in register_write()
[all …]
/openbmc/linux/kernel/
H A Dacct.c20 * Plugged two leaks. 1) It didn't return acct_file into the free_filps if
75 #define SUSPEND (acct_parm[1]) /* <foo% free space - suspend */
142 acct->active = 1; in check_free_space()
259 atomic_long_set(&acct->count, 1); in acct_on()
267 mutex_lock_nested(&acct->lock, 1); /* nobody has seen it yet */ in acct_on()
332 #define MAXFRACT ((1 << MANTSIZE) - 1) /* Maximum fractional value. */
340 rnd = value & (1 << (EXPSIZE - 1)); /* Round up? */ in encode_comp_t()
363 #if ACCT_VERSION == 1 || ACCT_VERSION == 2
375 #define MAXFRACT2 ((1ul << MANTSIZE2) - 1) /* Maximum fractional value. */
376 #define MAXEXP2 ((1 << EXPSIZE2) - 1) /* Maximum exponent. */
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-kye.c30 0x0A, 0x45, 0x02, /* Usage (AC Rotate), */
32 0x0A, 0x2F, 0x02, /* Usage (AC Zoom), */
33 0x0A, 0x46, 0x02, /* Usage (AC Resize), */
34 0x0A, 0x1A, 0x02, /* Usage (AC Undo), */
35 0x0A, 0x6A, 0x02, /* Usage (AC Delete), */
36 0x0A, 0x24, 0x02, /* Usage (AC Back), */
37 0x0A, 0x25, 0x02, /* Usage (AC Forward), */
39 0x25, 0x01, /* Logical Maximum (1), */
40 0x75, 0x01, /* Report Size (1), */
53 0x0A, 0x6A, 0x02, /* Usage (AC Delete), */
[all …]

12345678910>>...44