/drivers/gpu/drm/radeon/ |
D | vce_v1_0.c | 159 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/isdn/i4l/ |
D | isdn_audio.c | 263 int sign, in isdn_audio_linear2ulaw() local 269 sign = (sample >> 8) & 0x80; /* set aside the sign */ in isdn_audio_linear2ulaw() 270 if (sign != 0) in isdn_audio_linear2ulaw() 279 ulawbyte = ~(sign | (exponent << 4) | mantissa); in isdn_audio_linear2ulaw() 371 int sign; in isdn_audio_adpcm2xlaw() local 375 sign = (e >> (nbits - 1)) ? -1 : 1; in isdn_audio_adpcm2xlaw() 377 a += sign * ((e << 1) + 1) * d >> 1; in isdn_audio_adpcm2xlaw() 407 int sign, in isdn_audio_xlaw2adpcm() local 425 sign = (e >> (nbits - 1)) ? -1 : 1; in isdn_audio_xlaw2adpcm() 428 a += sign * ((e << 1) + 1) * d >> 1; in isdn_audio_xlaw2adpcm()
|
/drivers/staging/iio/meter/ |
D | ade7758_core.c | 641 .sign = 's', 653 .sign = 's', 666 .sign = 's', 679 .sign = 's', 692 .sign = 's', 704 .sign = 's', 716 .sign = 's', 729 .sign = 's', 742 .sign = 's', 755 .sign = 's', [all …]
|
/drivers/acpi/acpica/ |
D | utprint.c | 241 char sign; in acpi_ut_format_number() local 265 sign = '\0'; in acpi_ut_format_number() 268 sign = '-'; in acpi_ut_format_number() 272 sign = '+'; in acpi_ut_format_number() 275 sign = ' '; in acpi_ut_format_number() 306 if (sign) { in acpi_ut_format_number() 307 string = acpi_ut_bound_string_output(string, end, sign); in acpi_ut_format_number()
|
/drivers/iio/common/hid-sensors/ |
D | hid-sensor-attributes.c | 133 int sign = 1; in convert_from_vtf_format() local 137 sign = -1; in convert_from_vtf_format() 141 *val1 = sign * value * pow_10(exp); in convert_from_vtf_format() 146 *val1 = sign * (*val1); in convert_from_vtf_format() 148 *val2 = sign * (*val2); in convert_from_vtf_format() 155 int sign = 1; in convert_to_vtf_format() local 158 sign = -1; in convert_to_vtf_format() 165 if (sign < 0) in convert_to_vtf_format()
|
/drivers/iio/pressure/ |
D | st_pressure_core.c | 139 .sign = 's', 153 .sign = 's', 173 .sign = 's', 187 .sign = 's', 205 .sign = 's', 220 .sign = 's',
|
D | cros_ec_baro.c | 166 channel->scan_type.sign = 'u'; in cros_ec_baro_probe() 185 channel->scan_type.sign = 's'; in cros_ec_baro_probe()
|
/drivers/firmware/ |
D | iscsi_ibft_find.c | 46 char *sign; member 73 if (memcmp(virt, ibft_signs[i].sign, IBFT_SIGN_LEN) == in find_ibft_in_mem()
|
/drivers/iio/common/ssp_sensors/ |
D | ssp_iio_sensor.h | 13 .sign = 's',\ 27 .sign = 's', \
|
/drivers/isdn/mISDN/ |
D | dsp_audio.c | 124 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/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ptp.c | 217 c.u.ts.sign = (ppb < 0) ? 1 : 0; in cxgb4_ptp_adjfreq() 271 s64 sign = 1; in cxgb4_ptp_adjtime() local 275 sign = -1; in cxgb4_ptp_adjtime() 277 if (delta * sign > PTP_CLOCK_MAX_ADJTIME) { in cxgb4_ptp_adjtime() 285 c.u.ts.sign = (delta < 0) ? 1 : 0; in cxgb4_ptp_adjtime()
|
/drivers/iio/temperature/ |
D | maxim_thermocouple.c | 42 .sign = 's', 60 .sign = 's', 76 .sign = 's',
|
/drivers/iio/dummy/ |
D | iio_simple_dummy.c | 134 .sign = 'u', /* unsigned */ 173 .sign = 's', /* signed */ 191 .sign = 's', 218 .sign = 's', /* signed */
|
/drivers/iio/imu/ |
D | adis16400_core.c | 479 .sign = 'u', \ 505 .sign = 's', \ 525 .sign = 's', \ 544 .sign = 's', \ 570 .sign = 's', \ 589 .sign = 's', \ 607 .sign = 's', \ 660 .sign = 's',
|
/drivers/net/wireless/ath/ath9k/ |
D | hw.h | 841 #define totalIqCorrMeas meas2.sign 846 #define totalAdcDcOffsetIOddPhase meas0.sign 847 #define totalAdcDcOffsetIEvenPhase meas1.sign 848 #define totalAdcDcOffsetQOddPhase meas2.sign 849 #define totalAdcDcOffsetQEvenPhase meas3.sign 852 int32_t sign[AR5416_MAX_CHAINS]; member 856 int32_t sign[AR5416_MAX_CHAINS]; member 860 int32_t sign[AR5416_MAX_CHAINS]; member 864 int32_t sign[AR5416_MAX_CHAINS]; member
|
D | calib.c | 176 ah->meas0.sign[i] = 0; in ath9k_hw_reset_calibration() 177 ah->meas1.sign[i] = 0; in ath9k_hw_reset_calibration() 178 ah->meas2.sign[i] = 0; in ath9k_hw_reset_calibration() 179 ah->meas3.sign[i] = 0; in ath9k_hw_reset_calibration()
|
/drivers/net/usb/ |
D | cdc_mbim.c | 226 __le32 sign = cpu_to_le32(USB_CDC_MBIM_NDP16_IPS_SIGN); in cdc_mbim_tx_fixup() local 276 c = (u8 *)&sign; in cdc_mbim_tx_fixup() 282 sign = cpu_to_le32(USB_CDC_MBIM_NDP16_DSS_SIGN); in cdc_mbim_tx_fixup() 283 c = (u8 *)&sign; in cdc_mbim_tx_fixup() 294 skb_out = cdc_ncm_fill_tx_frame(dev, skb, sign); in cdc_mbim_tx_fixup()
|
D | cdc_ncm.c | 1060 …c_ncm_ndp16 *cdc_ncm_ndp(struct cdc_ncm_ctx *ctx, struct sk_buff *skb, __le32 sign, size_t reserve) in cdc_ncm_ndp() argument 1071 if (ctx->delayed_ndp16->dwSignature == sign) in cdc_ncm_ndp() 1085 if (ndp16->dwSignature == sign) in cdc_ncm_ndp() 1110 ndp16->dwSignature = sign; in cdc_ncm_ndp() 1116 cdc_ncm_fill_tx_frame(struct usbnet *dev, struct sk_buff *skb, __le32 sign) in cdc_ncm_fill_tx_frame() argument 1138 swap(sign, ctx->tx_rem_sign); in cdc_ncm_fill_tx_frame() 1201 sign = ctx->tx_rem_sign; in cdc_ncm_fill_tx_frame() 1210 ndp16 = cdc_ncm_ndp(ctx, skb_out, sign, skb->len + ctx->tx_modulus + ctx->tx_remainder); in cdc_ncm_fill_tx_frame() 1229 ctx->tx_rem_sign = sign; in cdc_ncm_fill_tx_frame()
|
/drivers/usb/misc/ |
D | cytherm.c | 145 int temp, sign; in show_temp() local 161 sign = buffer[1]; in show_temp() 165 return sprintf(buf, "%c%i.%i", sign ? '-' : '+', temp >> 1, in show_temp()
|
/drivers/iio/adc/ |
D | ti-adc161s626.c | 48 .sign = 's', 65 .sign = 's',
|
D | ad7266.c | 164 if (chan->scan_type.sign == 's') in ad7266_read_raw() 199 .sign = (_sign), \ 247 .sign = _sign, \
|
D | qcom-spmi-iadc.c | 441 int ret, sign, int_sense; in iadc_rsense_read() local 462 sign = (deviation & IADC_NOMINAL_RSENSE_SIGN_MASK) ? -1 : 1; in iadc_rsense_read() 468 int_sense += sign * deviation * IADC_INT_RSENSE_DEVIATION; in iadc_rsense_read()
|
/drivers/iio/chemical/ |
D | atlas-ph-sensor.c | 106 .sign = 'u', 133 .sign = 'u', \ 148 .sign = 'u', 175 .sign = 's',
|
/drivers/iio/humidity/ |
D | am2315.c | 54 .sign = 's', 66 .sign = 's',
|
/drivers/iio/light/ |
D | cros_ec_light_prox.c | 220 channel->scan_type.sign = 'u'; in cros_ec_light_prox_probe() 250 channel->scan_type.sign = 's'; in cros_ec_light_prox_probe()
|