Home
last modified time | relevance | path

Searched refs:sign (Results 1 – 25 of 223) sorted by relevance

123456789

/drivers/gpu/drm/radeon/
Dvce_v1_0.c160 struct vce_v1_0_fw_signature *sign = (void*)rdev->vce_fw->data; in vce_v1_0_load_fw() local
181 for (i = 0; i < le32_to_cpu(sign->num); ++i) { in vce_v1_0_load_fw()
182 if (le32_to_cpu(sign->val[i].chip_id) == chip_id) in vce_v1_0_load_fw()
186 if (i == le32_to_cpu(sign->num)) in vce_v1_0_load_fw()
190 data[0] = sign->val[i].nonce[0]; in vce_v1_0_load_fw()
191 data[1] = sign->val[i].nonce[1]; in vce_v1_0_load_fw()
192 data[2] = sign->val[i].nonce[2]; in vce_v1_0_load_fw()
193 data[3] = sign->val[i].nonce[3]; in vce_v1_0_load_fw()
194 data[4] = cpu_to_le32(le32_to_cpu(sign->len) + 64); in vce_v1_0_load_fw()
197 memcpy(&data[16], &sign[1], rdev->vce_fw->size - sizeof(*sign)); in vce_v1_0_load_fw()
[all …]
/drivers/firmware/efi/libstub/
Dvsprintf.c195 unsigned long long get_number(int sign, int qualifier, va_list *ap) in get_number() argument
197 if (sign) { in get_number()
310 char sign; in vsnprintf() local
376 sign = 0; in vsnprintf()
449 sign = get_sign(&num, flags); in vsnprintf()
450 if (sign) in vsnprintf()
494 if (sign) in vsnprintf()
495 PUTC(sign); in vsnprintf()
/drivers/acpi/acpica/
Dutprint.c207 char sign; in acpi_ut_format_number() local
231 sign = '\0'; in acpi_ut_format_number()
234 sign = '-'; in acpi_ut_format_number()
238 sign = '+'; in acpi_ut_format_number()
241 sign = ' '; in acpi_ut_format_number()
272 if (sign) { in acpi_ut_format_number()
273 string = acpi_ut_bound_string_output(string, end, sign); in acpi_ut_format_number()
/drivers/iio/accel/
Dcros_ec_accel_legacy.c67 st->sign[i]; in cros_ec_accel_legacy_read_cmd()
192 .sign = 's', \
234 state->sign[CROS_EC_SENSOR_X] = -1; in cros_ec_accel_legacy_probe()
235 state->sign[CROS_EC_SENSOR_Z] = -1; in cros_ec_accel_legacy_probe()
/drivers/iio/common/hid-sensors/
Dhid-sensor-attributes.c112 int sign = 1; in convert_from_vtf_format() local
116 sign = -1; in convert_from_vtf_format()
120 *val1 = sign * value * int_pow(10, exp); in convert_from_vtf_format()
125 *val1 = sign * (*val1); in convert_from_vtf_format()
127 *val2 = sign * (*val2); in convert_from_vtf_format()
135 int sign = 1; in convert_to_vtf_format() local
138 sign = -1; in convert_to_vtf_format()
148 if (sign < 0) in convert_to_vtf_format()
/drivers/iio/pressure/
Dst_pressure_core.c130 .sign = 's',
144 .sign = 's',
164 .sign = 's',
178 .sign = 's',
196 .sign = 's',
211 .sign = 's',
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ptp.c218 c.u.ts.sign = (ppb < 0) ? 1 : 0; in cxgb4_ptp_adjfreq()
250 c.u.ts.sign = (delta < 0) ? 1 : 0; in cxgb4_ptp_fineadjtime()
275 s64 sign = 1; in cxgb4_ptp_adjtime() local
279 sign = -1; in cxgb4_ptp_adjtime()
281 if (delta * sign > PTP_CLOCK_MAX_ADJTIME) { in cxgb4_ptp_adjtime()
289 c.u.ts.sign = (delta < 0) ? 1 : 0; in cxgb4_ptp_adjtime()
/drivers/firmware/
Discsi_ibft_find.c38 char *sign; member
76 if (memcmp(virt, ibft_signs[i].sign, IBFT_SIGN_LEN) == in reserve_ibft_region()
/drivers/input/joystick/
Dadc-joystick.c37 bool sign; in adc_joystick_handle() local
45 sign = tolower(joy->chans[i].channel->scan_type.sign) == 's'; in adc_joystick_handle()
70 if (sign) in adc_joystick_handle()
/drivers/iio/common/ssp_sensors/
Dssp_iio_sensor.h13 .sign = 's',\
27 .sign = 's', \
/drivers/isdn/mISDN/
Ddsp_audio.c124 int sign, exponent, mantissa; in linear2ulaw() local
128 sign = (sample >> 8) & 0x80; /* set aside the sign */ in linear2ulaw()
129 if (sign != 0) in linear2ulaw()
136 ulawbyte = ~(sign | (exponent << 4) | mantissa); in linear2ulaw()
/drivers/iio/chemical/
Datlas-sensor.c122 .sign = 'u',
149 .sign = 'u', \
164 .sign = 'u',
191 .sign = 's',
208 .sign = 'u',
232 .sign = 's',
/drivers/gpu/drm/nouveau/dispnv50/
Dbase907c.c126 bool sign = in & BIT_ULL(63); in csc_drm_to_base() local
131 return (1 << 18) - (sign ? 0 : 1); in csc_drm_to_base()
134 if (sign) in csc_drm_to_base()
/drivers/iio/temperature/
Dmaxim_thermocouple.c49 .sign = 's',
68 .sign = 's',
84 .sign = 's',
/drivers/iio/dummy/
Diio_simple_dummy.c131 .sign = 'u', /* unsigned */
170 .sign = 's', /* signed */
188 .sign = 's',
215 .sign = 's', /* signed */
/drivers/iio/light/
Dsi1133.c247 u8 input_fraction, s8 sign, in si1133_calculate_output() argument
275 return sign * x1 * x2 * y1 * y2; in si1133_calculate_output()
287 s8 sign; in si1133_calc_polynomial() local
292 sign = -1; in si1133_calc_polynomial()
294 sign = 1; in si1133_calc_polynomial()
301 sign * coeffs->mag << SI1133_LUX_OUTPUT_FRACTION; in si1133_calc_polynomial()
305 input_fraction, sign, in si1133_calc_polynomial()
/drivers/net/wireless/ath/ath9k/
Dhw.h847 #define totalIqCorrMeas meas2.sign
852 #define totalAdcDcOffsetIOddPhase meas0.sign
853 #define totalAdcDcOffsetIEvenPhase meas1.sign
854 #define totalAdcDcOffsetQOddPhase meas2.sign
855 #define totalAdcDcOffsetQEvenPhase meas3.sign
858 int32_t sign[AR5416_MAX_CHAINS]; member
862 int32_t sign[AR5416_MAX_CHAINS]; member
866 int32_t sign[AR5416_MAX_CHAINS]; member
870 int32_t sign[AR5416_MAX_CHAINS]; member
Dcalib.c183 ah->meas0.sign[i] = 0; in ath9k_hw_reset_calibration()
184 ah->meas1.sign[i] = 0; in ath9k_hw_reset_calibration()
185 ah->meas2.sign[i] = 0; in ath9k_hw_reset_calibration()
186 ah->meas3.sign[i] = 0; in ath9k_hw_reset_calibration()
/drivers/gpu/drm/amd/display/dc/calcs/
Dcustom_float.c57 *negative = format->sign; in build_custom_float()
174 if (negative && format->sign) in setup_custom_float()
/drivers/iio/adc/
Dingenic-adc.c457 .sign = 'u',
468 .sign = 'u',
479 .sign = 'u',
490 .sign = 'u',
501 .sign = 'u',
512 .sign = 'u',
/drivers/net/wireless/mediatek/mt76/
Dmt76x02_eeprom.h141 bool sign = val & BIT(size - 1); in mt76x02_sign_extend() local
145 return sign ? val : -val; in mt76x02_sign_extend()
/drivers/net/usb/
Dcdc_mbim.c225 __le32 sign = cpu_to_le32(USB_CDC_MBIM_NDP16_IPS_SIGN); in cdc_mbim_tx_fixup() local
275 c = (u8 *)&sign; in cdc_mbim_tx_fixup()
281 sign = cpu_to_le32(USB_CDC_MBIM_NDP16_DSS_SIGN); in cdc_mbim_tx_fixup()
282 c = (u8 *)&sign; in cdc_mbim_tx_fixup()
293 skb_out = cdc_ncm_fill_tx_frame(dev, skb, sign); in cdc_mbim_tx_fixup()
Dcdc_ncm.c1088 …ncm_ndp16 *cdc_ncm_ndp16(struct cdc_ncm_ctx *ctx, struct sk_buff *skb, __le32 sign, size_t reserve) in cdc_ncm_ndp16() argument
1099 if (ctx->delayed_ndp16->dwSignature == sign) in cdc_ncm_ndp16()
1113 if (ndp16->dwSignature == sign) in cdc_ncm_ndp16()
1138 ndp16->dwSignature = sign; in cdc_ncm_ndp16()
1143 …ncm_ndp32 *cdc_ncm_ndp32(struct cdc_ncm_ctx *ctx, struct sk_buff *skb, __le32 sign, size_t reserve) in cdc_ncm_ndp32() argument
1154 if (ctx->delayed_ndp32->dwSignature == sign) in cdc_ncm_ndp32()
1168 if (ndp32->dwSignature == sign) in cdc_ncm_ndp32()
1193 ndp32->dwSignature = sign; in cdc_ncm_ndp32()
1199 cdc_ncm_fill_tx_frame(struct usbnet *dev, struct sk_buff *skb, __le32 sign) in cdc_ncm_fill_tx_frame() argument
1230 swap(sign, ctx->tx_rem_sign); in cdc_ncm_fill_tx_frame()
[all …]
/drivers/iio/imu/
Dadis16400.c671 .sign = 'u', \
697 .sign = 's', \
717 .sign = 's', \
736 .sign = 's', \
762 .sign = 's', \
781 .sign = 's', \
799 .sign = 's', \
852 .sign = 's',
/drivers/usb/misc/
Dcytherm.c125 int temp, sign; in temp_show() local
141 sign = buffer[1]; in temp_show()
145 return sprintf(buf, "%c%i.%i", sign ? '-' : '+', temp >> 1, in temp_show()

123456789