Home
last modified time | relevance | path

Searched full:temp (Results 1 – 25 of 1364) sorted by relevance

12345678910>>...55

/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_paprd.c831 int temp; in ar9300_paprd_debug_print() local
836 /*field_read("BB_paprd_trainer_cntl1.cf_paprd_lb_skip", &temp);*/ in ar9300_paprd_debug_print()
837 temp = in ar9300_paprd_debug_print()
841 "BB_paprd_trainer_cntl1.cf_paprd_lb_skip=0x%x\n", temp); in ar9300_paprd_debug_print()
842 /*field_read("BB_paprd_trainer_cntl1.cf_paprd_lb_enable", &temp);*/ in ar9300_paprd_debug_print()
843 temp = in ar9300_paprd_debug_print()
847 "BB_paprd_trainer_cntl1.cf_paprd_lb_enable=0x%x\n", temp); in ar9300_paprd_debug_print()
848 /*field_read("BB_paprd_trainer_cntl1.cf_paprd_tx_gain_force", &temp);*/ in ar9300_paprd_debug_print()
849 temp = in ar9300_paprd_debug_print()
853 "BB_paprd_trainer_cntl1.cf_paprd_tx_gain_force=0x%x\n", temp); in ar9300_paprd_debug_print()
[all …]
/freebsd/sys/dev/usb/controller/
H A Dxhci.c246 uint32_t temp; in xhci_reset_command_queue_locked() local
250 temp = XREAD4(sc, oper, XHCI_CRCR_LO); in xhci_reset_command_queue_locked()
251 if (temp & XHCI_CRCR_LO_CRR) { in xhci_reset_command_queue_locked()
253 temp &= ~(XHCI_CRCR_LO_CS | XHCI_CRCR_LO_CA); in xhci_reset_command_queue_locked()
262 XWRITE4(sc, oper, XHCI_CRCR_LO, temp | XHCI_CRCR_LO_CS); in xhci_reset_command_queue_locked()
265 XWRITE4(sc, oper, XHCI_CRCR_LO, temp | XHCI_CRCR_LO_CA); in xhci_reset_command_queue_locked()
272 temp = XREAD4(sc, oper, XHCI_CRCR_LO); in xhci_reset_command_queue_locked()
273 if (temp & XHCI_CRCR_LO_CRR) { in xhci_reset_command_queue_locked()
311 uint32_t temp; in xhci_start_controller() local
331 temp = XREAD4(sc, oper, XHCI_USBSTS); in xhci_start_controller()
[all …]
H A Dmusb_otg.c293 uint8_t temp; in musbotg_pull_common() local
295 temp = MUSB2_READ_1(sc, MUSB2_REG_POWER); in musbotg_pull_common()
297 temp |= MUSB2_MASK_SOFTC; in musbotg_pull_common()
299 temp &= ~MUSB2_MASK_SOFTC; in musbotg_pull_common()
301 MUSB2_WRITE_1(sc, MUSB2_REG_POWER, temp); in musbotg_pull_common()
330 uint8_t temp; in musbotg_suspend_host() local
336 temp = MUSB2_READ_1(sc, MUSB2_REG_POWER); in musbotg_suspend_host()
337 temp |= MUSB2_MASK_SUSPMODE; in musbotg_suspend_host()
338 MUSB2_WRITE_1(sc, MUSB2_REG_POWER, temp); in musbotg_suspend_host()
345 uint8_t temp; in musbotg_wakeup_host() local
[all …]
H A Ddwc_otg.c173 uint32_t temp; in dwc_otg_write_fifo() local
176 temp = count & ~3; in dwc_otg_write_fifo()
179 if (temp != 0 && usb_pc_buffer_is_aligned(pc, offset, temp, 3)) { in dwc_otg_write_fifo()
183 count -= temp; in dwc_otg_write_fifo()
190 if (buf_res.length > temp) in dwc_otg_write_fifo()
191 buf_res.length = temp; in dwc_otg_write_fifo()
199 temp -= buf_res.length; in dwc_otg_write_fifo()
200 } while (temp != 0); in dwc_otg_write_fifo()
223 uint32_t temp; in dwc_otg_read_fifo() local
276 uint32_t temp; dwc_otg_tx_fifo_reset() local
529 uint32_t temp; dwc_otg_pull_up() local
546 uint32_t temp; dwc_otg_pull_down() local
629 uint32_t temp; dwc_otg_wakeup_peer() local
670 uint32_t temp; dwc_otg_set_address() local
717 uint32_t temp; dwc_otg_host_check_tx_fifo_empty() local
1097 uint32_t temp; dwc_otg_setup_rx() local
1663 uint32_t temp; dwc_otg_data_rx() local
2133 uint32_t temp; dwc_otg_data_tx() local
2318 uint32_t temp; dwc_otg_data_tx_sync() local
2494 uint16_t temp; dwc_otg_update_host_transfer_schedule_locked() local
2681 uint32_t temp; dwc_otg_interrupt_poll_locked() local
2875 uint32_t temp; dwc_otg_filter_interrupt() local
2938 uint32_t temp; dwc_otg_interrupt() local
3065 uint32_t temp; dwc_otg_interrupt() local
3086 dwc_otg_setup_standard_chain_sub(struct dwc_otg_std_temp * temp) dwc_otg_setup_standard_chain_sub() argument
3124 struct dwc_otg_std_temp temp; dwc_otg_setup_standard_chain() local
3653 uint32_t temp; dwc_otg_set_stall() local
3708 uint32_t temp; dwc_otg_clear_stall_sub_locked() local
3837 uint32_t temp; dwc_otg_init() local
4189 uint32_t temp; dwc_otg_device_isoc_start() local
[all...]
H A Duss820dci.c166 uint8_t temp; in uss820dci_update_shared_1() local
169 temp = USS820_READ_1(sc, reg); in uss820dci_update_shared_1()
170 temp &= (keep_mask); in uss820dci_update_shared_1()
171 temp |= (set_mask); in uss820dci_update_shared_1()
172 USS820_WRITE_1(sc, reg, temp); in uss820dci_update_shared_1()
196 uint8_t temp; in uss820dci_pull_up() local
206 temp = USS820_READ_1(sc, USS820_MCSR); in uss820dci_pull_up()
207 temp |= USS820_MCSR_DPEN; in uss820dci_pull_up()
208 USS820_WRITE_1(sc, USS820_MCSR, temp); in uss820dci_pull_up()
215 uint8_t temp; in uss820dci_pull_down() local
[all …]
H A Davr32dci.c176 uint32_t temp; in avr32dci_mod_ctrl() local
178 temp = AVR32_READ_4(sc, AVR32_CTRL); in avr32dci_mod_ctrl()
179 temp |= set; in avr32dci_mod_ctrl()
180 temp &= ~clear; in avr32dci_mod_ctrl()
181 AVR32_WRITE_4(sc, AVR32_CTRL, temp); in avr32dci_mod_ctrl()
187 uint32_t temp; in avr32dci_mod_ien() local
189 temp = AVR32_READ_4(sc, AVR32_IEN); in avr32dci_mod_ien()
190 temp |= set; in avr32dci_mod_ien()
191 temp &= ~clear; in avr32dci_mod_ien()
192 AVR32_WRITE_4(sc, AVR32_IEN, temp); in avr32dci_mod_ien()
[all …]
H A Datmegadci.c215 uint8_t temp; in atmegadci_wakeup_peer() local
221 temp = ATMEGA_READ_1(sc, ATMEGA_UDCON); in atmegadci_wakeup_peer()
222 ATMEGA_WRITE_1(sc, ATMEGA_UDCON, temp | ATMEGA_UDCON_RMWKUP); in atmegadci_wakeup_peer()
247 uint8_t temp; in atmegadci_setup_rx() local
256 temp = ATMEGA_READ_1(sc, ATMEGA_UEINTX); in atmegadci_setup_rx()
258 DPRINTFN(5, "UEINTX=0x%02x\n", temp); in atmegadci_setup_rx()
260 if (!(temp & ATMEGA_UEINTX_RXSTPI)) { in atmegadci_setup_rx()
317 if (temp & ATMEGA_UEINTX_RXSTPI) { in atmegadci_setup_rx()
332 uint8_t temp; in atmegadci_data_rx() local
348 temp = ATMEGA_READ_1(sc, ATMEGA_UEINTX); in atmegadci_data_rx()
[all …]
/freebsd/lib/libusb/
H A Dlibusb20_ugen20.c109 uint32_t temp = 0; in ugen20_path_convert_one() local
114 temp *= 10; in ugen20_path_convert_one()
115 temp += (*ptr - '0'); in ugen20_path_convert_one()
116 if (temp >= 1000000) { in ugen20_path_convert_one()
129 return (temp); in ugen20_path_convert_one()
521 int temp; in ugen20_get_config_index() local
523 if (ioctl(pdev->file_ctrl, IOUSB(USB_GET_CONFIG), &temp)) { in ugen20_get_config_index()
526 *pindex = temp; in ugen20_get_config_index()
534 int temp = cfg_index; in ugen20_set_config_index() local
539 if (ioctl(pdev->file_ctrl, IOUSB(USB_SET_CONFIG), &temp)) { in ugen20_set_config_index()
[all …]
H A Dlibusb20_desc.c354 uint8_t temp; in libusb20_me_encode() local
359 temp = *((const uint8_t *) in libusb20_me_encode()
361 buf[0] = temp; in libusb20_me_encode()
372 uint16_t temp; in libusb20_me_encode() local
378 temp = *((const uint16_t *) in libusb20_me_encode()
380 buf[1] = (temp >> 8) & 0xFF; in libusb20_me_encode()
381 buf[0] = temp & 0xFF; in libusb20_me_encode()
392 uint32_t temp; in libusb20_me_encode() local
397 temp = *((const uint32_t *) in libusb20_me_encode()
399 buf[3] = (temp >> 24) & 0xFF; in libusb20_me_encode()
[all …]
/freebsd/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_dec_stream.c141 } temp; member
164 * Fill s->temp by copying data starting from b->in[b->in_pos]. Caller
165 * must have set s->temp.pos to indicate how much data we are supposed
166 * to copy into s->temp.buf. Return true once s->temp.pos has reached
167 * s->temp.size.
172 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp()
174 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp()
176 s->temp.pos += copy_size; in fill_temp()
178 if (s->temp.pos == s->temp.size) { in fill_temp()
179 s->temp.pos = 0; in fill_temp()
[all …]
H A Dxz_dec_bcj.c75 } temp; member
395 * Flush pending filtered data from temp to the output buffer.
397 * data to the beginning of temp.
403 copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos); in bcj_flush()
404 memcpy(b->out + b->out_pos, s->temp.buf, copy_size); in bcj_flush()
407 s->temp.filtered -= copy_size; in bcj_flush()
408 s->temp.size -= copy_size; in bcj_flush()
409 memmove(s->temp.buf, s->temp.buf + copy_size, s->temp.size); in bcj_flush()
428 if (s->temp.filtered > 0) { in xz_dec_bcj_run()
430 if (s->temp.filtered > 0) in xz_dec_bcj_run()
[all …]
/freebsd/crypto/krb5/src/lib/crypto/builtin/des/
H A Df_tables.h63 * Take a look at its form and compare it to everything involving temp
82 * left, right and temp should be unsigned DES_INT32 values. left and right
95 * DES_SP_{EN,DE}CRYPT_ROUND(left, right, temp, kp);
96 * DES_SP_{EN,DE}CRYPT_ROUND(right, left, temp, kp);
104 #define DES_SP_ENCRYPT_ROUND(left, right, temp, kp) do { \ argument
105 (temp) = (((right) >> 11) | ((right) << 21)) ^ *(kp)++; \
106 (left) ^= SP[0][((temp) >> 24) & 0x3f] \
107 | SP[1][((temp) >> 16) & 0x3f] \
108 | SP[2][((temp) >> 8) & 0x3f] \
109 | SP[3][((temp) ) & 0x3f]; \
[all …]
/freebsd/sys/dev/aic7xxx/
H A Daic7xxx_93cx6.c107 uint8_t temp;
111 temp = sd->sd_MS ^ sd->sd_CS;
112 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); in send_seeprom_cmd()
117 temp ^= sd->sd_DO; in send_seeprom_cmd()
118 SEEPROM_OUTB(sd, temp); in send_seeprom_cmd()
120 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); in send_seeprom_cmd()
123 temp ^= sd->sd_DO; in send_seeprom_cmd()
133 uint8_t temp;
135 temp = sd->sd_MS;
136 SEEPROM_OUTB(sd, temp);
114 uint8_t temp; send_seeprom_cmd() local
140 uint8_t temp; reset_seeprom() local
162 uint8_t temp; ahc_read_seeprom() local
233 uint8_t temp; ahc_write_seeprom() local
[all...]
/freebsd/contrib/ntp/libntp/
H A Drefidsmear.c20 l_fp temp; in convertRefIDToLFP() local
26 temp.l_uf = (r << 10); /* 22 fractional bits */ in convertRefIDToLFP()
28 temp.l_ui = (r >> 22) & 0x3; in convertRefIDToLFP()
29 temp.l_ui |= ~(temp.l_ui & 2) + 1; in convertRefIDToLFP()
31 return temp; in convertRefIDToLFP()
38 uint32_t temp; in convertLFPToRefID() local
50 temp = (num.l_ui << 22) | (num.l_uf >> 10); in convertLFPToRefID()
53 temp |= UINT32_C(0xFE000000); in convertLFPToRefID()
55 // printf("%03d %08x: ", (temp >> 24) & 0xFF, (temp & 0x00FFFFFF) ); in convertLFPToRefID()
57 return htonl(temp); in convertLFPToRefID()
/freebsd/contrib/xz/src/liblzma/lz/
H A Dlz_encoder_hash.h64 const uint32_t temp = hash_table[cur[0]] ^ cur[1]; \
65 const uint32_t hash_2_value = temp & HASH_2_MASK; \
67 = (temp ^ ((uint32_t)(cur[2]) << 8)) & mf->hash_mask
70 const uint32_t temp = hash_table[cur[0]] ^ cur[1]; \
71 const uint32_t hash_2_value = temp & HASH_2_MASK; \
73 = (temp ^ ((uint32_t)(cur[2]) << 8)) & HASH_3_MASK; \
74 const uint32_t hash_value = (temp ^ ((uint32_t)(cur[2]) << 8) \
81 const uint32_t temp = hash_table[cur[0]] ^ cur[1]; \
82 const uint32_t hash_2_value = temp & HASH_2_MASK; \
84 = (temp ^ ((uint32_t)(cur[2]) << 8)) & HASH_3_MASK; \
[all …]
/freebsd/lib/virtual_oss/oss/
H A Doss.c83 int temp; in oss_open() local
101 temp = *pchannels; in oss_open()
102 bufsize /= temp; /* get buffer size per channel */ in oss_open()
104 err = ioctl(pbe->fd, SOUND_PCM_WRITE_CHANNELS, &temp); in oss_open()
105 } while (err < 0 && --temp > 0); in oss_open()
107 err = ioctl(pbe->fd, SOUND_PCM_READ_CHANNELS, &temp); in oss_open()
108 if (err < 0 || temp <= 0 || temp > *pchannels) { in oss_open()
109 warn("Could not set DSP channels: %d / %d", temp, *pchannels); in oss_open()
112 *pchannels = temp; in oss_open()
114 temp = samplerate; in oss_open()
[all …]
/freebsd/contrib/libedit/
H A Dfilecomplete.c73 char *temp; in fn_tilde_expand() local
81 temp = strdup(txt + 1); in fn_tilde_expand()
82 if (temp == NULL) in fn_tilde_expand()
87 temp = el_calloc(len, sizeof(*temp)); in fn_tilde_expand()
88 if (temp == NULL) in fn_tilde_expand()
90 (void)strlcpy(temp, txt + 1, len - 1); in fn_tilde_expand()
92 if (temp[0] == 0) { in fn_tilde_expand()
104 if (getpwnam_r(temp, &pwres, pwbuf, sizeof(pwbuf), &pass) != 0) in fn_tilde_expand()
107 pass = getpwnam_r(temp, &pwres, pwbuf, sizeof(pwbuf)); in fn_tilde_expand()
109 pass = getpwnam(temp); in fn_tilde_expand()
[all …]
/freebsd/crypto/openssl/crypto/bn/
H A Drsaz_exp.c262 BN_ULONG *temp = (BN_ULONG *)(table + 16 * 8 * 8 + 8 * 8);
269 temp[0] = 0 - m[0];
270 temp[1] = ~m[1];
271 temp[2] = ~m[2];
272 temp[3] = ~m[3];
273 temp[4] = ~m[4];
274 temp[5] = ~m[5];
275 temp[6] = ~m[6];
276 temp[7] = ~m[7];
277 rsaz_512_scatter4(table, temp, 0);
[all …]
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_diag_cnt.c97 uint32_t temp[NUM_OF_DIAG_PARAMS]; in mlx5_sysctl_params() local
105 temp[0] = diag_cnt->log_num_of_samples; in mlx5_sysctl_params()
106 temp[1] = diag_cnt->log_sample_period; in mlx5_sysctl_params()
107 temp[2] = diag_cnt->flag; in mlx5_sysctl_params()
108 temp[3] = diag_cnt->num_of_samples; in mlx5_sysctl_params()
109 temp[4] = diag_cnt->sample_index; in mlx5_sysctl_params()
111 err = SYSCTL_OUT(req, temp, sizeof(temp)); in mlx5_sysctl_params()
115 err = SYSCTL_IN(req, temp, sizeof(temp)); in mlx5_sysctl_params()
121 if (temp[0] > MLX5_CAP_DEBUG(dev, log_max_samples) || in mlx5_sysctl_params()
122 (1U << (MLX5_CAP_DEBUG(dev, log_max_samples) - temp[0])) < in mlx5_sysctl_params()
[all …]
/freebsd/sbin/nvmecontrol/modules/samsung/
H A Dsamsung.c68 struct samsung_log_extended_smart *temp = buf; in print_samsung_extended_smart() local
133 printf(" Lifetime Write Amplification Factor : %u\n", le32dec(&temp->lwaf)); in print_samsung_extended_smart()
134 printf(" Trailing Hour Write Amplification Factor : %u\n", le32dec(&temp->thwaf)); in print_samsung_extended_smart()
136 uint128_to_str(to128(temp->luw), cbuf, sizeof(cbuf))); in print_samsung_extended_smart()
138 uint128_to_str(to128(temp->lnw), cbuf, sizeof(cbuf))); in print_samsung_extended_smart()
140 uint128_to_str(to128(temp->lur), cbuf, sizeof(cbuf))); in print_samsung_extended_smart()
141 printf(" Lifetime Retired Block Count : %u\n", le32dec(&temp->lrbc)); in print_samsung_extended_smart()
143 print_temp_K(le16dec(&temp->ct)); in print_samsung_extended_smart()
144 printf(" Capacitor Health : %u\n", le16dec(&temp->ch)); in print_samsung_extended_smart()
145 printf(" Reserved Erase Block Count : %u\n", le32dec(&temp->luurb)); in print_samsung_extended_smart()
[all …]
/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmpmap.c295 struct snmp_oid2str *temp, *prev; in snmp_mapping_insert() local
307 SLIST_FOREACH(temp, headp, link) { in snmp_mapping_insert()
308 if ((rc = asn_compare_oid(&(entry->var), &(temp->var))) <= 0) in snmp_mapping_insert()
310 prev = temp; in snmp_mapping_insert()
317 if (strncmp(temp->string, entry->string, entry->strlen)) { in snmp_mapping_insert()
319 "mappings: old - %s, new - %s", temp->string, in snmp_mapping_insert()
330 SLIST_INSERT_AFTER(temp, entry, link); in snmp_mapping_insert()
500 struct snmp_index_entry *temp, *prev; in snmp_table_insert() local
513 SLIST_FOREACH(temp, &snmptoolctx->snmp_tablelist, link) { in snmp_table_insert()
514 if ((rc = asn_compare_oid(&(entry->var), &(temp->var))) <= 0) in snmp_table_insert()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dtt.c52 static void iwl_mvm_tt_temp_changed(struct iwl_mvm *mvm, u32 temp) in iwl_mvm_tt_temp_changed() argument
58 if (mvm->temperature == temp) in iwl_mvm_tt_temp_changed()
61 mvm->temperature = temp; in iwl_mvm_tt_temp_changed()
70 int temp; in iwl_mvm_temp_notif_parse() local
82 temp = le32_to_cpu(notif_v1->temp); in iwl_mvm_temp_notif_parse()
85 if (WARN_ON_ONCE(temp < 0)) in iwl_mvm_temp_notif_parse()
86 temp = 0; in iwl_mvm_temp_notif_parse()
88 IWL_DEBUG_TEMP(mvm, "DTS_MEASUREMENT_NOTIFICATION - %d\n", temp); in iwl_mvm_temp_notif_parse()
90 return temp; in iwl_mvm_temp_notif_parse()
98 int *temp = data; in iwl_mvm_temp_notif_wait() local
[all …]
/freebsd/sys/dev/qat/qat_common/
H A Dadf_clock.c90 u64 temp = 0; in measure_clock() local
105 temp = delta.tv_nsec; in measure_clock()
106 do_div(temp, NSEC_PER_USEC); in measure_clock()
108 delta_us = delta.tv_sec * USEC_PER_SEC + temp; in measure_clock()
130 temp = delta.tv_nsec; in measure_clock()
131 do_div(temp, NSEC_PER_USEC); in measure_clock()
133 delta_us = delta.tv_sec * USEC_PER_SEC + temp; in measure_clock()
144 temp = in measure_clock()
146 do_div(temp, NSEC_PER_USEC); in measure_clock()
147 delta_us = temp; in measure_clock()
[all …]
/freebsd/usr.sbin/makefs/
H A Dcd9660.c171 cd9660node *temp = ecalloc(1, sizeof(*temp)); in cd9660_allocate_cd9660node() local
173 TAILQ_INIT(&temp->cn_children); in cd9660_allocate_cd9660node()
174 temp->parent = temp->dot_record = temp->dot_dot_record = NULL; in cd9660_allocate_cd9660node()
175 temp->ptnext = temp->ptprev = temp->ptlast = NULL; in cd9660_allocate_cd9660node()
176 temp->node = NULL; in cd9660_allocate_cd9660node()
177 temp->isoDirRecord = NULL; in cd9660_allocate_cd9660node()
178 temp->isoExtAttributes = NULL; in cd9660_allocate_cd9660node()
179 temp->rr_real_parent = temp->rr_relocated = NULL; in cd9660_allocate_cd9660node()
180 temp->su_tail_data = NULL; in cd9660_allocate_cd9660node()
181 return temp; in cd9660_allocate_cd9660node()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mfd/
H A Drohm,bd96801-pmic.yaml102 regulator-temp-protection-kelvin = <1>;
103 regulator-temp-warn-kelvin = <0>;
113 regulator-temp-protection-kelvin = <1>;
114 regulator-temp-warn-kelvin = <1>;
124 regulator-temp-protection-kelvin = <1>;
125 regulator-temp-error-kelvin = <0>;
135 regulator-temp-protection-kelvin = <1>;
136 regulator-temp-error-kelvin = <0>;
146 regulator-temp-protection-kelvin = <1>;
147 regulator-temp-warn-kelvin = <0>;
[all …]

12345678910>>...55