Home
last modified time | relevance | path

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

12

/linux-5.19.10/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-5.19.10/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.c150 address = bitrev8((msg >> 7) & 0xf8); in ir_sharp_decode()
151 command = bitrev8((msg >> 2) & 0xff); in ir_sharp_decode()
197 raw = (((bitrev8(scancode >> 8) >> 3) << 8) & 0x1f00) | in ir_sharp_encode()
198 bitrev8(scancode); in ir_sharp_encode()
206 raw = (((bitrev8(scancode >> 8) >> 3) << 8) & 0x1f00) | in ir_sharp_encode()
207 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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/drivers/rtc/
Drtc-s35390a.c235 buf[i] = bitrev8(buf[i]); in s35390a_rtc_set_time()
258 buf[i] = bitrev8(buf[i]); in s35390a_rtc_read_time()
321 buf[i] = bitrev8(buf[i]); in s35390a_rtc_set_alarm()
357 buf[i] = bitrev8(buf[i]); in s35390a_rtc_read_alarm()
/linux-5.19.10/drivers/net/wan/
Dslic_ds26522.c43 data = bitrev8(data); in slic_write()
64 data = bitrev8(data); in slic_read()
/linux-5.19.10/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-5.19.10/drivers/video/fbdev/
Dtgafb.c715 mask |= bitrev8(data[j]) << (j * 8);
742 mask |= bitrev8(data[j+0]) << (0 * 8);
743 mask |= bitrev8(data[j+1]) << (1 * 8);
744 mask |= bitrev8(data[j+2]) << (2 * 8);
745 mask |= bitrev8(data[j+3]) << (3 * 8);
765 mask |= bitrev8(data[j]) << (j * 8);
792 mask |= bitrev8(data[j+0]) << (0 * 8);
793 mask |= bitrev8(data[j+1]) << (1 * 8);
812 u32 mask = bitrev8(data[0]);
814 mask |= bitrev8(data[1]) << 8;
/linux-5.19.10/drivers/iio/amplifiers/
Dad8366.c81 ch_a = bitrev8(ch_a & 0x3F); in ad8366_write()
82 ch_b = bitrev8(ch_b & 0x3F); in ad8366_write()
/linux-5.19.10/sound/soc/fsl/
Dfsl_spdif.c436 ch_status = (bitrev8(ctrl->ch_status[0]) << 16) | in spdif_write_channel_status()
437 (bitrev8(ctrl->ch_status[1]) << 8) | in spdif_write_channel_status()
438 bitrev8(ctrl->ch_status[2]); in spdif_write_channel_status()
443 ch_status = bitrev8(ctrl->ch_status[3]) << 16; in spdif_write_channel_status()
449 ch_status = (bitrev8(ctrl->ch_status[0]) << 24) | in spdif_write_channel_status()
450 (bitrev8(ctrl->ch_status[1]) << 16) | in spdif_write_channel_status()
451 (bitrev8(ctrl->ch_status[2]) << 8) | in spdif_write_channel_status()
452 bitrev8(ctrl->ch_status[3]); in spdif_write_channel_status()
/linux-5.19.10/drivers/media/usb/cx231xx/
Dcx231xx-input.c39 scancode = bitrev8(cmd); in get_key_isdbt()
/linux-5.19.10/include/linux/
Dbitrev.h98 #define bitrev8(x) \ macro
/linux-5.19.10/drivers/input/joystick/
Dzhenhua.c101 zhenhua->data[zhenhua->idx++] = bitrev8(data); in zhenhua_interrupt()
/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/net/wireless/purelifi/plfxlc/
Dfirmware.c97 fw_data[tbuf_idx] = bitrev8(fw_data[tbuf_idx]); in plfxlc_download_fpga()
/linux-5.19.10/drivers/fpga/
Daltera-ps-spi.c168 *buf = bitrev8(*buf); in rev_buf()
/linux-5.19.10/drivers/media/pci/solo6x10/
Dsolo6x10-enc.c153 bitrev8(vga_data[(*str << 4) | j]); in solo_osd_print()
/linux-5.19.10/drivers/media/usb/em28xx/
Dem28xx-input.c139 *scancode = (bitrev8(buf[1]) & 0x1f) << 8 | bitrev8(buf[0]) >> 2; in em28xx_get_key_em_haup()

12