/freebsd/sys/contrib/device-tree/Bindings/iio/ |
H A D | st,st-sensors.yaml | 4 $id: http://devicetree.org/schemas/iio/st,st-sensors.yaml# 16 - Denis Ciocca <denis.ciocca@st.com> 24 - st,h3lis331dl-accel 25 - st,lis2de12 26 - st,lis2dw12 27 - st,lis2hh12 28 - st,lis2dh12-accel 29 - st,lis2ds12 30 - st,lis302dl 31 - st,lis331dl-accel [all …]
|
H A D | st-sensors.txt | 16 - st,drdy-int-pin: the pin on the package that will be used to signal 30 - st,lis3lv02d (deprecated, use st,lis3lv02dl-accel) 31 - st,lis302dl-spi (deprecated, use st,lis3lv02dl-accel) 32 - st,lis3lv02dl-accel 33 - st,lsm303dlh-accel 34 - st,lsm303dlhc-accel 35 - st,lis3dh-accel 36 - st,lsm330d-accel 37 - st,lsm330dl-accel 38 - st,lsm330dlc-accel [all …]
|
/freebsd/crypto/openssl/crypto/stack/ |
H A D | stack.c | 173 static int sk_reserve(OPENSSL_STACK *st, int n, int exact) in sk_reserve() argument 179 if (n > max_nodes - st->num) { in sk_reserve() 185 num_alloc = st->num + n; in sk_reserve() 189 /* If |st->data| allocation was postponed */ in sk_reserve() 190 if (st->data == NULL) { in sk_reserve() 192 * At this point, |st->num_alloc| and |st->num| are 0; in sk_reserve() 195 if ((st->data = OPENSSL_zalloc(sizeof(void *) * num_alloc)) == NULL) { in sk_reserve() 199 st->num_alloc = num_alloc; in sk_reserve() 204 if (num_alloc <= st->num_alloc) in sk_reserve() 206 num_alloc = compute_growth(num_alloc, st->num_alloc); in sk_reserve() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/iio/accel/ |
H A D | lis302.txt | 8 - compatible: should be set to "st,lis3lv02d-spi" 15 - compatible: should be set to "st,lis3lv02d" 23 - st,click-single-{x,y,z}: if present, tells the device to issue an 26 - st,click-double-{x,y,z}: if present, tells the device to issue an 29 - st,click-thresh-{x,y,z}: set the x/y/z axis threshold 30 - st,click-click-time-limit: click time limit, from 0 to 127.5msec 32 - st,click-latency: click latency, from 0 to 255 msec with 34 - st,click-window: click window, from 0 to 255 msec with 36 - st,irq{1,2}-disable: disable IRQ 1/2 37 - st,irq{1,2}-ff-wu-1: raise IRQ 1/2 on FF_WU_1 condition [all …]
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_entry_copy_stat.c | 36 archive_entry_copy_stat(struct archive_entry *entry, const struct stat *st) 39 archive_entry_set_atime(entry, st->st_atime, st->st_atimespec.tv_nsec); in archive_entry_copy_stat() 40 archive_entry_set_ctime(entry, st->st_ctime, st->st_ctimespec.tv_nsec); in archive_entry_copy_stat() 41 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtimespec.tv_nsec); in archive_entry_copy_stat() 43 archive_entry_set_atime(entry, st->st_atime, st->st_atim.tv_nsec); in archive_entry_copy_stat() 44 archive_entry_set_ctime(entry, st in archive_entry_copy_stat() 37 archive_entry_copy_stat(struct archive_entry * entry,const struct stat * st) archive_entry_copy_stat() argument [all...] |
H A D | archive_entry_stat.c | 41 struct stat *st; in archive_entry_stat() 43 entry->stat = calloc(1, sizeof(*st)); in archive_entry_stat() 60 st = entry->stat; in archive_entry_stat() 65 st->st_atime = archive_entry_atime(entry); in archive_entry_stat() 67 st->st_birthtime = archive_entry_birthtime(entry); in archive_entry_stat() 69 st->st_ctime = archive_entry_ctime(entry); in archive_entry_stat() 70 st->st_mtime = archive_entry_mtime(entry); in archive_entry_stat() 71 st->st_dev = archive_entry_dev(entry); in archive_entry_stat() 72 st->st_gid = (gid_t)archive_entry_gid(entry); in archive_entry_stat() 73 st in archive_entry_stat() 42 struct stat *st; archive_entry_stat() local [all...] |
/freebsd/contrib/bsddialog/lib/ |
H A D | textbox.c | 48 static void updateborders(struct dialog *d, struct scrolltext *st) in updateborders() argument 60 if (st->xpad > 0) { in updateborders() 69 if (st->xpad + d->w - 2 - st->margin < st->wpad) { in updateborders() 78 if (st->hpad > d->h - 4) { in updateborders() 81 "%3d%%", 100 * (st->ypad + d->h - 4) / st->hpad); in updateborders() 86 static int textbox_size_position(struct dialog *d, struct scrolltext *st) in textbox_size_position() argument 93 d->text, NULL, &d->bs, st->hpad, st->wpad + st->margin) != 0) in textbox_size_position() 95 minw = (st->wpad > 0) ? 2 /*multicolumn char*/ + st->margin : 0 ; in textbox_size_position() 96 if (widget_checksize(d->h, d->w, &d->bs, MIN(st->hpad, 1), minw) != 0) in textbox_size_position() 104 static int textbox_draw(struct dialog *d, struct scrolltext *st) in textbox_draw() argument [all …]
|
/freebsd/crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_pwd_policy.c | 56 krb5_error_code st; in add_policy_mods() local 59 st = krb5_add_int_mem_ldap_mod(mods, "krbmaxpwdlife", op, in add_policy_mods() 61 if (st) in add_policy_mods() 62 return st; in add_policy_mods() 64 st = krb5_add_int_mem_ldap_mod(mods, "krbminpwdlife", op, in add_policy_mods() 66 if (st) in add_policy_mods() 67 return st; in add_policy_mods() 69 st = krb5_add_int_mem_ldap_mod(mods, "krbpwdmindiffchars", op, in add_policy_mods() 71 if (st) in add_policy_mods() 72 return st; in add_policy_mods() [all …]
|
H A D | ldap_tkt_policy.c | 55 krb5_error_code st=0; in krb5_ldap_create_policy() local 65 st = EINVAL; in krb5_ldap_create_policy() 66 k5_setmsg(context, st, _("Ticket Policy Name missing")); in krb5_ldap_create_policy() 73 if ((st = krb5_ldap_name_to_policydn (context, policy->policy, &policy_dn)) != 0) in krb5_ldap_create_policy() 78 if ((st=krb5_add_str_mem_ldap_mod(&mods, "cn", LDAP_MOD_ADD, strval)) != 0) in krb5_ldap_create_policy() 84 if ((st=krb5_add_str_mem_ldap_mod(&mods, "objectclass", LDAP_MOD_ADD, strval)) != 0) in krb5_ldap_create_policy() 88 if ((st=krb5_add_int_mem_ldap_mod(&mods, "krbmaxticketlife", LDAP_MOD_ADD, in krb5_ldap_create_policy() 94 if ((st=krb5_add_int_mem_ldap_mod(&mods, "krbmaxrenewableage", LDAP_MOD_ADD, in krb5_ldap_create_policy() 100 if ((st=krb5_add_int_mem_ldap_mod(&mods, "krbticketflags", LDAP_MOD_ADD, in krb5_ldap_create_policy() 106 if ((st=ldap_add_ext_s(ld, policy_dn, mods, NULL, NULL)) != LDAP_SUCCESS) { in krb5_ldap_create_policy() [all …]
|
/freebsd/contrib/elftoolchain/libelftc/ |
H A D | elftc_string_table.c | 52 #define ELFTC_STRING_TABLE_LENGTH(st) ((st)->st_len >> 1) argument 53 #define ELFTC_STRING_TABLE_CLEAR_COMPACTION_FLAG(st) do { \ argument 54 (st)->st_len &= ~ELFTC_STRING_TABLE_COMPACTION_FLAG; \ 56 #define ELFTC_STRING_TABLE_SET_COMPACTION_FLAG(st) do { \ argument 57 (st)->st_len |= ELFTC_STRING_TABLE_COMPACTION_FLAG; \ 59 #define ELFTC_STRING_TABLE_UPDATE_LENGTH(st, len) do { \ argument 60 (st)->st_len = \ 61 ((st)->st_len & \ 76 elftc_string_table_find_hash_entry(Elftc_String_Table *st, const char *string, in elftc_string_table_find_hash_entry() argument 83 hashindex = libelftc_hash_string(string) % st->st_nbuckets; in elftc_string_table_find_hash_entry() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/arm/stm32/ |
H A D | stm32.yaml | 10 - Alexandre Torgue <alexandre.torgue@foss.st.com> 21 - const: st,stm32mp157 24 - st,stm32f429i-disco 25 - st,stm32429i-eval 26 - const: st,stm32f429 29 - st,stm32f469i-disco 30 - const: st,stm32f469 33 - st,stm32f746-disco 34 - st,stm32746g-eval 35 - const: st,stm32f746 [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/iio/imu/ |
H A D | st,lsm6dsx.yaml | 4 $id: http://devicetree.org/schemas/iio/imu/st,lsm6dsx.yaml# 19 - st,lsm6ds3 20 - st,lsm6ds3h 21 - st,lsm6dsl 22 - st,lsm6dsm 23 - st,ism330dlc 24 - st,lsm6dso 25 - st,asm330lhh 26 - st,lsm6dsox 27 - st,lsm6dsr [all …]
|
/freebsd/crypto/openssl/crypto/ |
H A D | self_test_core.c | 83 static void self_test_setparams(OSSL_SELF_TEST *st) in self_test_setparams() argument 87 if (st->cb != NULL) { in self_test_setparams() 88 st->params[n++] = in self_test_setparams() 90 (char *)st->phase, 0); in self_test_setparams() 91 st->params[n++] = in self_test_setparams() 93 (char *)st->type, 0); in self_test_setparams() 94 st->params[n++] = in self_test_setparams() 96 (char *)st->desc, 0); in self_test_setparams() 98 st->params[n++] = OSSL_PARAM_construct_end(); in self_test_setparams() 117 void OSSL_SELF_TEST_free(OSSL_SELF_TEST *st) in OSSL_SELF_TEST_free() argument [all …]
|
/freebsd/stand/libsa/ |
H A D | nvstore.c | 55 nvstore_t *st; in nvstore_get_store() local 57 st = NULL; in nvstore_get_store() 59 STAILQ_FOREACH(st, &stores, nvs_next) { in nvstore_get_store() 60 if (strcmp(name, st->nvs_name) == 0) in nvstore_get_store() 64 return (st); in nvstore_get_store() 70 nvstore_t *st; in nvstore_init() local 72 st = nvstore_get_store(name); in nvstore_init() 73 if (st != NULL) in nvstore_init() 76 if ((st = malloc(sizeof (*st))) == NULL) in nvstore_init() 79 if ((st->nvs_name = strdup(name)) == NULL) { in nvstore_init() [all …]
|
/freebsd/sys/i386/linux/ |
H A D | linux_copyout.c | 56 struct futex_st0 *st; in futex_xchgl_slow0() local 58 st = arg; in futex_xchgl_slow0() 59 *st->oldval = atomic_swap_int((int *)kva, st->oparg); in futex_xchgl_slow0() 65 struct futex_st0 st; in futex_xchgl() local 67 st.oparg = oparg; in futex_xchgl() 68 st.oldval = oldval; in futex_xchgl() 70 futex_xchgl_slow0, &st) != 0) in futex_xchgl() 78 struct futex_st0 *st; in futex_addl_slow0() local 80 st = arg; in futex_addl_slow0() 81 *st->oldval = atomic_fetchadd_int((int *)kva, st->oparg); in futex_addl_slow0() [all …]
|
/freebsd/sys/kern/ |
H A D | subr_stack.c | 54 struct stack *st; in stack_create() local 56 st = malloc(sizeof(*st), M_STACK, flags | M_ZERO); in stack_create() 57 return (st); in stack_create() 61 stack_destroy(struct stack *st) in stack_destroy() argument 64 free(st, M_STACK); in stack_destroy() 68 stack_put(struct stack *st, vm_offset_t pc) in stack_put() argument 71 if (st->depth < STACK_MAX) { in stack_put() 72 st->pcs[st->depth++] = pc; in stack_put() 86 stack_zero(struct stack *st) in stack_zero() argument 89 bzero(st, sizeof *st); in stack_zero() [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/ |
H A D | poly1305_donna32.h | 29 poly1305_init(poly1305_state_internal_t *st, const unsigned char key[32]) in poly1305_init() argument 32 st->r[0] = (LOAD32_LE(&key[0])) & 0x3ffffff; in poly1305_init() 33 st->r[1] = (LOAD32_LE(&key[3]) >> 2) & 0x3ffff03; in poly1305_init() 34 st->r[2] = (LOAD32_LE(&key[6]) >> 4) & 0x3ffc0ff; in poly1305_init() 35 st->r[3] = (LOAD32_LE(&key[9]) >> 6) & 0x3f03fff; in poly1305_init() 36 st->r[4] = (LOAD32_LE(&key[12]) >> 8) & 0x00fffff; in poly1305_init() 39 st->h[0] = 0; in poly1305_init() 40 st->h[1] = 0; in poly1305_init() 41 st->h[2] = 0; in poly1305_init() 42 st->h[3] = 0; in poly1305_init() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/st/ |
H A D | spear1340-evb.dts | 12 model = "ST SPEAr1340 Evaluation Board"; 13 compatible = "st,spear1340-evb", "st,spear1340"; 28 st,pins = "pads_as_gpio_grp"; 29 st,function = "pads_as_gpio"; 32 st,pins = "fsmc_8bit_grp"; 33 st,function = "fsmc"; 36 st,pins = "uart0_grp"; 37 st,function = "uart0"; 40 st,pin [all...] |
H A D | spear320-evb.dts | 12 model = "ST SPEAr320 Evaluation Board"; 13 compatible = "st,spear320-evb", "st,spear320"; 23 st,pinmux-mode = <4>; 29 st,pins = "i2c0_grp"; 30 st,function = "i2c0"; 33 st,pins = "mii0_grp"; 34 st,function = "mii0"; 37 st,pins = "ssp0_grp"; 38 st,function = "ssp0"; 41 st,pins = "uart0_grp"; [all …]
|
H A D | spear1310-evb.dts | 12 model = "ST SPEAr1310 Evaluation Board"; 13 compatible = "st,spear1310-evb", "st,spear1310"; 28 st,pins = "i2c0_grp"; 29 st,function = "i2c0"; 32 st,pins = "i2s0_grp"; 33 st,function = "i2s0"; 36 st,pins = "i2s1_grp"; 37 st,function = "i2s1"; 40 st,pin [all...] |
H A D | stih407-family.dtsi | 4 * Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> 7 #include <dt-bindings/mfd/st-lpc.h> 10 #include <dt-bindings/interrupt-controller/irq-st.h> 54 st,syscfg = <&syscfg_core 0x8e0>; 120 compatible = "st,stih407-restart"; 121 st,syscfg = <&syscfg_sbc_reg>; 126 compatible = "st,stih407-powerdown"; 131 compatible = "st,stih407-softreset"; 136 compatible = "st,stih407-picophyreset"; 141 compatible = "st,stih407-irq-syscfg"; [all …]
|
H A D | stm32f429.dtsi | 21 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 84 compatible = "st,stm32f4-otp"; 99 compatible = "st,stm32-timers"; 106 compatible = "st,stm32-pwm"; 112 compatible = "st,stm32-timer-trigger"; 121 compatible = "st,stm32-timers"; 128 compatible = "st,stm32-pwm"; 134 compatible = "st,stm32-timer-trigger"; 143 compatible = "st,stm32-timers"; 150 compatible = "st,stm32-pwm"; [all …]
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_write_disk_perms.c | 53 struct stat st; in searchgid() local 67 assert(fstat(fd, &st) == 0); in searchgid() 68 _default_gid = st.st_gid; in searchgid() 132 struct stat st; in DEFINE_TEST() 167 assertEqualInt(0, stat("file_overwrite_0144", &st)); in DEFINE_TEST() 168 failure("file_overwrite_0144: st.st_mode=%o", st.st_mode); in DEFINE_TEST() 169 assert((st.st_mode & 07777) != 0144); in DEFINE_TEST() 190 assertEqualInt(0, stat("dir_overwrite_0744", &st)); in DEFINE_TEST() 191 failure("dir_overwrite_0744: st.st_mode=%o", st.st_mode); in DEFINE_TEST() 192 assertEqualInt(st.st_mode & 0777, 0744); in DEFINE_TEST() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/ |
H A D | omap3-gta04a3.dts | 16 compatible = "st,lis331dlh", "st,lis3lv02d"; 23 st,click-single-x; 24 st,click-single-y; 25 st,click-single-z; 26 st,click-thresh-x = <8>; 27 st,click-thresh-y = <8>; 28 st,click-thresh-z = <10>; 29 st,click-click-time-limit = <9>; 30 st,click-latency = <50>; 31 st,irq1-click; [all …]
|
/freebsd/crypto/openssh/regress/misc/fuzz-harness/ |
H A D | kex_fuzz.cc | 27 static int prepare_key(struct shared_state *st, int keytype, int bits); 123 store_key(struct shared_state *st, struct sshkey *pubkey, in store_key() argument 126 if (st == NULL || pubkey->type < 0 || pubkey->type > INT_MAX || in store_key() 128 ((size_t)pubkey->type < st->nkeys && in store_key() 129 st->pubkeys[pubkey->type] != NULL)) in store_key() 131 if ((size_t)pubkey->type >= st->nkeys) { in store_key() 132 st->pubkeys = (struct sshkey **)xrecallocarray(st->pubkeys, in store_key() 133 st->nkeys, pubkey->type + 1, sizeof(*st->pubkeys)); in store_key() 134 st->privkeys = (struct sshkey **)xrecallocarray(st->privkeys, in store_key() 135 st->nkeys, privkey->type + 1, sizeof(*st->privkeys)); in store_key() [all …]
|