Home
last modified time | relevance | path

Searched refs:bitrev8 (Results 1 – 25 of 46) sorted by relevance

12

/linux-6.6.21/drivers/media/rc/img-ir/
Dimg-ir-nec.c30 request->scancode = bitrev8(addr) << 24 | in img_ir_nec_scancode()
31 bitrev8(addr_inv) << 16 | in img_ir_nec_scancode()
32 bitrev8(data) << 8 | in img_ir_nec_scancode()
33 bitrev8(data_inv); in img_ir_nec_scancode()
81 addr = bitrev8(in->data >> 24); in img_ir_nec_filter()
82 addr_m = bitrev8(in->mask >> 24); in img_ir_nec_filter()
83 addr_inv = bitrev8(in->data >> 16); in img_ir_nec_filter()
84 addr_inv_m = bitrev8(in->mask >> 16); in img_ir_nec_filter()
85 data = bitrev8(in->data >> 8); in img_ir_nec_filter()
86 data_m = bitrev8(in->mask >> 8); in img_ir_nec_filter()
[all …]
/linux-6.6.21/drivers/media/rc/
Dir-sony-decoder.c119 device = bitrev8((data->bits << 3) & 0xF8); in ir_sony_decode()
121 function = bitrev8((data->bits >> 4) & 0xFE); in ir_sony_decode()
128 device = bitrev8((data->bits >> 0) & 0xFF); in ir_sony_decode()
130 function = bitrev8((data->bits >> 7) & 0xFE); in ir_sony_decode()
137 device = bitrev8((data->bits >> 5) & 0xF8); in ir_sony_decode()
138 subdevice = bitrev8((data->bits >> 0) & 0xFF); in ir_sony_decode()
139 function = bitrev8((data->bits >> 12) & 0xFE); in ir_sony_decode()
Dir-sharp-decoder.c152 address = bitrev8((msg >> 7) & 0xf8); in ir_sharp_decode()
153 command = bitrev8((msg >> 2) & 0xff); in ir_sharp_decode()
199 raw = (((bitrev8(scancode >> 8) >> 3) << 8) & 0x1f00) | in ir_sharp_encode()
200 bitrev8(scancode); in ir_sharp_encode()
208 raw = (((bitrev8(scancode >> 8) >> 3) << 8) & 0x1f00) | in ir_sharp_encode()
209 bitrev8(~scancode); in ir_sharp_encode()
Dwinbond-cir.c707 mask[1] = bitrev8(mask_sc); in wbcir_shutdown()
709 mask[3] = bitrev8(mask_sc >> 8); in wbcir_shutdown()
712 match[1] = bitrev8(wake_sc); in wbcir_shutdown()
714 match[3] = bitrev8(wake_sc >> 8); in wbcir_shutdown()
721 mask[1] = bitrev8(mask_sc); in wbcir_shutdown()
723 mask[2] = bitrev8(mask_sc >> 8); in wbcir_shutdown()
724 mask[3] = bitrev8(mask_sc >> 16); in wbcir_shutdown()
726 match[1] = bitrev8(wake_sc); in wbcir_shutdown()
728 match[2] = bitrev8(wake_sc >> 8); in wbcir_shutdown()
729 match[3] = bitrev8(wake_sc >> 16); in wbcir_shutdown()
[all …]
Dir-jvc-decoder.c129 scancode = (bitrev8((data->bits >> 8) & 0xff) << 8) | in ir_jvc_decode()
130 (bitrev8((data->bits >> 0) & 0xff) << 0); in ir_jvc_decode()
193 u32 raw = (bitrev8((scancode >> 8) & 0xff) << 8) | in ir_jvc_encode()
194 (bitrev8((scancode >> 0) & 0xff) << 0); in ir_jvc_encode()
Dir-sanyo-decoder.c143 command = bitrev8((data->bits >> 8) & 0xff); in ir_sanyo_decode()
144 not_command = bitrev8((data->bits >> 0) & 0xff); in ir_sanyo_decode()
198 ((bitrev8(scancode) & 0xff) << 8) | in ir_sanyo_encode()
199 (bitrev8(~scancode) & 0xff); in ir_sanyo_encode()
Dir-nec-decoder.c142 address = bitrev8((data->bits >> 24) & 0xff); in ir_nec_decode()
143 not_address = bitrev8((data->bits >> 16) & 0xff); in ir_nec_decode()
144 command = bitrev8((data->bits >> 8) & 0xff); in ir_nec_decode()
145 not_command = bitrev8((data->bits >> 0) & 0xff); in ir_nec_decode()
/linux-6.6.21/drivers/video/fbdev/nvidia/
Dnv_local.h105 a[0] = bitrev8(a[0]); \
106 a[1] = bitrev8(a[1]); \
107 a[2] = bitrev8(a[2]); \
108 a[3] = bitrev8(a[3]); \
/linux-6.6.21/drivers/isdn/mISDN/
Ddsp_audio.c145 dsp_audio_alaw_to_s32[i] = alaw2linear(bitrev8((u8)i)); in dsp_audio_generate_law_tables()
148 dsp_audio_ulaw_to_s32[i] = ulaw2linear(bitrev8((u8)i)); in dsp_audio_generate_law_tables()
167 bitrev8(linear2ulaw(i)); in dsp_audio_generate_s2law_table()
173 bitrev8(linear2alaw(i)); in dsp_audio_generate_s2law_table()
/linux-6.6.21/drivers/net/fddi/skfp/
Ddrvfbi.c286 bitrev8(inp(ADDR(B2_MAC_0+i))); in read_address()
301 smc->hw.fddi_home_addr.a[i] = bitrev8(mac_addr[i]); in read_address()
309 bitrev8(smc->hw.fddi_phys_addr.a[i]); in read_address()
538 bia_addr->a[i] = bitrev8(smc->hw.fddi_phys_addr.a[i]); in driver_get_bia()
/linux-6.6.21/drivers/rtc/
Drtc-s35390a.c235 buf[i] = bitrev8(buf[i]); in s35390a_rtc_set_time()
256 buf[i] = bitrev8(buf[i]); in s35390a_rtc_read_time()
319 buf[i] = bitrev8(buf[i]); in s35390a_rtc_set_alarm()
355 buf[i] = bitrev8(buf[i]); in s35390a_rtc_read_alarm()
/linux-6.6.21/drivers/net/wan/
Dslic_ds26522.c43 data = bitrev8(data); in slic_write()
64 data = bitrev8(data); in slic_read()
/linux-6.6.21/drivers/isdn/hardware/mISDN/
Disdnhdlc.c165 hdlc->cbin = bitrev8(*src++); in isdnhdlc_decode()
393 *dst++ = bitrev8(hdlc->ffvalue); in isdnhdlc_encode()
583 *dst++ = bitrev8(hdlc->cbin); in isdnhdlc_encode()
605 *dst++ = bitrev8(hdlc->cbin); in isdnhdlc_encode()
/linux-6.6.21/drivers/video/fbdev/
Dtgafb.c725 mask |= bitrev8(data[j]) << (j * 8);
752 mask |= bitrev8(data[j+0]) << (0 * 8);
753 mask |= bitrev8(data[j+1]) << (1 * 8);
754 mask |= bitrev8(data[j+2]) << (2 * 8);
755 mask |= bitrev8(data[j+3]) << (3 * 8);
775 mask |= bitrev8(data[j]) << (j * 8);
802 mask |= bitrev8(data[j+0]) << (0 * 8);
803 mask |= bitrev8(data[j+1]) << (1 * 8);
822 u32 mask = bitrev8(data[0]);
824 mask |= bitrev8(data[1]) << 8;
/linux-6.6.21/drivers/iio/amplifiers/
Dad8366.c87 ch_a = bitrev8(ch_a & 0x3F); in ad8366_write()
88 ch_b = bitrev8(ch_b & 0x3F); in ad8366_write()
/linux-6.6.21/sound/soc/fsl/
Dfsl_spdif.c453 ch_status = (bitrev8(ctrl->ch_status[0]) << 16) | in spdif_write_channel_status()
454 (bitrev8(ctrl->ch_status[1]) << 8) | in spdif_write_channel_status()
455 bitrev8(ctrl->ch_status[2]); in spdif_write_channel_status()
460 ch_status = bitrev8(ctrl->ch_status[3]) << 16; in spdif_write_channel_status()
466 ch_status = (bitrev8(ctrl->ch_status[0]) << 24) | in spdif_write_channel_status()
467 (bitrev8(ctrl->ch_status[1]) << 16) | in spdif_write_channel_status()
468 (bitrev8(ctrl->ch_status[2]) << 8) | in spdif_write_channel_status()
469 bitrev8(ctrl->ch_status[3]); in spdif_write_channel_status()
/linux-6.6.21/drivers/media/usb/cx231xx/
Dcx231xx-input.c39 scancode = bitrev8(cmd); in get_key_isdbt()
/linux-6.6.21/include/linux/
Dbitrev.h98 #define bitrev8(x) \ macro
/linux-6.6.21/lib/
Dpacking.c40 *to_write = bitrev8(*to_write) >> (8 - box_bit_width); in adjust_for_msb_right_quirk()
/linux-6.6.21/drivers/input/joystick/
Dzhenhua.c98 zhenhua->data[zhenhua->idx++] = bitrev8(data); in zhenhua_interrupt()
/linux-6.6.21/drivers/hwmon/
Dsht15.c187 u8 crc = bitrev8(data->val_status & 0x0F); in sht15_crc8()
468 dev_checksum = bitrev8(sht15_read_byte(data)); in sht15_update_status()
849 dev_checksum = bitrev8(sht15_read_byte(data)); in sht15_bh_read_data()
/linux-6.6.21/drivers/net/ethernet/apple/
Dmacmace.c231 u8 v = bitrev8(addr[j<<4]); in mace_probe()
237 checksum ^= bitrev8(addr[j<<4]); in mace_probe()
/linux-6.6.21/drivers/net/wireless/purelifi/plfxlc/
Dfirmware.c97 fw_data[tbuf_idx] = bitrev8(fw_data[tbuf_idx]); in plfxlc_download_fpga()
/linux-6.6.21/drivers/fpga/
Daltera-ps-spi.c168 *buf = bitrev8(*buf); in rev_buf()
/linux-6.6.21/drivers/media/pci/solo6x10/
Dsolo6x10-enc.c153 bitrev8(vga_data[(*str << 4) | j]); in solo_osd_print()

12