/Linux-v6.1/drivers/media/rc/ |
D | ir-rc6-decoder.c | 12 * RC6-0-16 (standard toggle bit in header) 13 * RC6-6A-20 (no toggle bit) 14 * RC6-6A-24 (no toggle bit) 15 * RC6-6A-32 (MCE version with toggle bit in body) 19 #define RC6_HEADER_NBITS 4 /* not including toggle bit */ 65 if (!data->toggle) in rc6_mode() 84 u8 toggle; in ir_rc6_decode() local 154 data->toggle = ev.pulse; in ir_rc6_decode() 215 toggle = data->toggle; in ir_rc6_decode() 217 dev_dbg(&dev->dev, "RC6(0) scancode 0x%04x (toggle: %u)\n", in ir_rc6_decode() [all …]
|
D | ir-rc5-decoder.c | 43 u8 toggle; in ir_rc5_decode() local 122 toggle = (data->bits & 0x20000) ? 1 : 0; in ir_rc5_decode() 136 toggle = (data->bits & 0x00800) ? 1 : 0; in ir_rc5_decode() 150 toggle = (data->bits & 0x01000) ? 1 : 0; in ir_rc5_decode() 158 scancode, protocol, toggle); in ir_rc5_decode() 160 rc_keydown(dev, protocol, scancode, toggle); in ir_rc5_decode()
|
D | ir-rcmm-decoder.c | 63 u8 toggle; in ir_rcmm_decode() local 151 toggle = !!(0x8000 & data->bits); in ir_rcmm_decode() 154 toggle = 0; in ir_rcmm_decode() 159 rc_keydown(dev, RC_PROTO_RCMM32, scancode, toggle); in ir_rcmm_decode()
|
/Linux-v6.1/Documentation/devicetree/bindings/iio/dac/ |
D | adi,ltc2688.yaml | 58 adi,toggle-mode: 60 Set the channel as a toggle enabled channel. Toggle operation enables 88 adi,toggle-dither-input: 91 only makes sense for toggle or dither enabled channels. If 92 @adi,toggle-mode is not set and this property is given, the channel is 104 adi,toggle-dither-input: [ clocks ] 133 adi,toggle-mode; 142 adi,toggle-dither-input = <2>;
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | sysfs-bus-iio-dac-ltc2688 | 61 Toggle enable. Write 1 to enable toggle or 0 to disable it. This is 65 - disable toggle operation; 67 - enable toggle operation. 75 specific to toggle enabled channels and refers to the DAC output 83 Performs a SW toggle. This attribute is specific to toggle 84 enabled channels and allows to toggle between out_voltageY_raw0
|
/Linux-v6.1/drivers/tty/ |
D | nozomi.c | 160 /* Two different toggle channels exist */ 191 * Toggle fields are valid if enabled is 0, 206 struct toggles toggle; member 255 /* This represents the toggle information */ 261 * Toggle fields are valid if enabled is 0, 271 struct toggles toggle; member 568 DBG3("toggle enabled: %d", dc->config_table.toggle.enabled); in dump_table() 569 DBG3("toggle up_mdm: %d", dc->config_table.toggle.mdm_ul); in dump_table() 570 DBG3("toggle dl_mdm: %d", dc->config_table.toggle.mdm_dl); in dump_table() 571 DBG3("toggle dl_dbg: %d", dc->config_table.toggle.diag_dl); in dump_table() [all …]
|
/Linux-v6.1/drivers/mailbox/ |
D | bcm-flexrm-mailbox.c | 335 static u64 flexrm_next_table_desc(u32 toggle, dma_addr_t next_addr) in flexrm_next_table_desc() argument 340 DESC_ENC(desc, toggle, NPTR_TOGGLE_SHIFT, NPTR_TOGGLE_MASK); in flexrm_next_table_desc() 346 static u64 flexrm_null_desc(u32 toggle) in flexrm_null_desc() argument 351 DESC_ENC(desc, toggle, NULL_TOGGLE_SHIFT, NULL_TOGGLE_MASK); in flexrm_null_desc() 378 static u64 flexrm_header_desc(u32 toggle, u32 startpkt, u32 endpkt, in flexrm_header_desc() argument 384 DESC_ENC(desc, toggle, HEADER_TOGGLE_SHIFT, HEADER_TOGGLE_MASK); in flexrm_header_desc() 395 u64 desc, void **desc_ptr, u32 *toggle, in flexrm_enqueue_desc() argument 422 * TOGGLE bit of the first HEADER will be set to invalid state to in flexrm_enqueue_desc() 425 * the TOGGLE bit of first HEADER after all descriptors are in flexrm_enqueue_desc() 432 _toggle = (nhpos == 0) ? !(*toggle) : (*toggle); in flexrm_enqueue_desc() [all …]
|
/Linux-v6.1/include/dt-bindings/pinctrl/ |
D | k210-fpioa.h | 204 #define K210_PCF_TIMER0_TOGGLE1 190 /* TIMER0 Toggle Output 1 */ 205 #define K210_PCF_TIMER0_TOGGLE2 191 /* TIMER0 Toggle Output 2 */ 206 #define K210_PCF_TIMER0_TOGGLE3 192 /* TIMER0 Toggle Output 3 */ 207 #define K210_PCF_TIMER0_TOGGLE4 193 /* TIMER0 Toggle Output 4 */ 208 #define K210_PCF_TIMER1_TOGGLE1 194 /* TIMER1 Toggle Output 1 */ 209 #define K210_PCF_TIMER1_TOGGLE2 195 /* TIMER1 Toggle Output 2 */ 210 #define K210_PCF_TIMER1_TOGGLE3 196 /* TIMER1 Toggle Output 3 */ 211 #define K210_PCF_TIMER1_TOGGLE4 197 /* TIMER1 Toggle Output 4 */ 212 #define K210_PCF_TIMER2_TOGGLE1 198 /* TIMER2 Toggle Output 1 */ 213 #define K210_PCF_TIMER2_TOGGLE2 199 /* TIMER2 Toggle Output 2 */ [all …]
|
/Linux-v6.1/drivers/input/misc/ |
D | keyspan_remote.c | 89 u8 toggle; member 118 int toggle; member 243 * toggle code, and stop. in keyspan_check_data() 292 message.toggle = 0; in keyspan_check_data() 296 message.toggle = 1; in keyspan_check_data() 301 "%s - Error in message, invalid toggle.\n", in keyspan_check_data() 317 "%s found valid message: system: %d, button: %d, toggle: %d\n", in keyspan_check_data() 318 __func__, message.system, message.button, message.toggle); in keyspan_check_data() 320 if (message.toggle != remote->toggle) { in keyspan_check_data() 323 remote->toggle = message.toggle; in keyspan_check_data() [all …]
|
/Linux-v6.1/drivers/media/i2c/ |
D | ir-kbd-i2c.c | 63 int start, range, toggle, dev, code, ircode, vendor; in get_key_haup_common() local 75 toggle = (buf[offset] >> 5) & 1; in get_key_haup_common() 89 ircode = (start << 12) | (toggle << 11) | (dev << 6) | code; in get_key_haup_common() 98 start, range, toggle, dev, code); in get_key_haup_common() 102 *ptoggle = toggle; in get_key_haup_common() 134 u32 *scancode, u8 *toggle) in get_key_haup() argument 136 return get_key_haup_common(ir, protocol, scancode, toggle, 3); in get_key_haup() 140 u32 *scancode, u8 *toggle) in get_key_haup_xvr() argument 155 return get_key_haup_common(ir, protocol, scancode, toggle, 6); in get_key_haup_xvr() 159 u32 *scancode, u8 *toggle) in get_key_pixelview() argument [all …]
|
/Linux-v6.1/drivers/net/ethernet/intel/igc/ |
D | igc_diag.c | 87 u32 i, toggle, b = false; in igc_reg_test() local 91 * tests. Some bits are read-only, some toggle, and some in igc_reg_test() 94 toggle = 0x6800D3; in igc_reg_test() 96 value = before & toggle; in igc_reg_test() 97 wr32(IGC_STATUS, toggle); in igc_reg_test() 98 after = rd32(IGC_STATUS) & toggle; in igc_reg_test()
|
/Linux-v6.1/drivers/staging/media/deprecated/saa7146/av7110/ |
D | av7110_ir.c | 26 u32 toggle; in av7110_ir_handler() local 36 toggle = ircom & 0x0800; in av7110_ir_handler() 42 toggle = ircom & 0x8000; in av7110_ir_handler() 58 toggle = ircom & 0x0800; in av7110_ir_handler() 67 rc_keydown(rcdev, proto, scancode, toggle != 0); in av7110_ir_handler()
|
/Linux-v6.1/Documentation/userspace-api/media/rc/ |
D | rc-protos.rst | 17 Other things can be encoded too. Some IR protocols encode a toggle bit; this 20 toggle bit will invert from one IR message to the next. 63 - Toggle bit 113 - Toggle bit 158 - Toggle bit 357 toggle bit. 365 as in the protocol. There is also a toggle bit. 373 as in the protocol. There is also a toggle bit. 390 for the Microsoft MCE variant (vendor = 0x800f). The toggle bit in the 391 protocol itself is ignored, and the 16th bit should be takes as the toggle
|
D | lirc-dev-intro.rst | 53 .. _lirc-scancode-flag-toggle: 71 The ``flags`` can have ``LIRC_SCANCODE_FLAG_TOGGLE`` set if the toggle 83 pressing the same button". The rc-5 and rc-6 protocols have a toggle bit. 84 When a button is released and pressed again, the toggle bit is inverted. 85 If the toggle bit is set, the ``LIRC_SCANCODE_FLAG_TOGGLE`` is set.
|
/Linux-v6.1/Documentation/devicetree/bindings/watchdog/ |
D | gpio-wdt.txt | 8 - toggle: Either a high-to-low or a low-to-high transition clears 19 to toggle the signal when the device is open and the timeout elapsed. 26 hw_algo = "toggle";
|
/Linux-v6.1/drivers/media/usb/dvb-usb/ |
D | nova-t-usb2.c | 74 u8 *buf, data, toggle, custom; in nova_t_rc_query() local 93 toggle = !!(raw & 0x800); in nova_t_rc_query() 97 deb_rc("raw key code 0x%02x, 0x%02x, 0x%02x to c: %02x d: %02x toggle: %d\n", in nova_t_rc_query() 98 buf[1], buf[2], buf[3], custom, data, toggle); in nova_t_rc_query() 109 if (st->old_toggle == toggle) { in nova_t_rc_query() 114 st->old_toggle = toggle; in nova_t_rc_query()
|
/Linux-v6.1/drivers/media/pci/saa7134/ |
D | saa7134-input.c | 106 u32 *scancode, u8 *toggle) in get_key_flydvb_trio() argument 156 *toggle = 0; in get_key_flydvb_trio() 162 u32 *scancode, u8 *toggle) in get_key_msi_tvanywhere_plus() argument 207 *toggle = 0; in get_key_msi_tvanywhere_plus() 213 u32 *scancode, u8 *toggle) in get_key_kworld_pc150u() argument 259 *toggle = 0; in get_key_kworld_pc150u() 264 u32 *scancode, u8 *toggle) in get_key_purpletv() argument 288 *toggle = 0; in get_key_purpletv() 293 u32 *scancode, u8 *toggle) in get_key_beholdm6xx() argument 325 *toggle = 0; in get_key_beholdm6xx() [all …]
|
/Linux-v6.1/drivers/usb/host/ |
D | fhci-sched.c | 88 td->toggle = !td->toggle; in fhci_transaction_confirm() 110 td->toggle = !td->toggle; in fhci_transaction_confirm() 161 /* calcalate data address,len and toggle and then add the transaction */ in add_packet() 162 if (td->toggle == USB_TD_TOGGLE_CARRY) in add_packet() 163 td->toggle = ed->toggle_carry; in add_packet() 240 ed->ep_addr, ed->mode, ed->speed, td->toggle)) { in add_packet() 703 int toggle = 0; in fhci_queue_urb() local 745 * OHCI handles the DATA toggle itself,we just use the USB in fhci_queue_urb() 746 * toggle bits in fhci_queue_urb() 750 toggle = USB_TD_TOGGLE_CARRY; in fhci_queue_urb() [all …]
|
D | fhci-mem.c | 87 enum fhci_ta_type type, int toggle, u8 *data, u32 len, in fhci_td_fill() argument 98 td->toggle = toggle; in fhci_td_fill()
|
/Linux-v6.1/drivers/usb/musb/ |
D | mediatek.c | 24 /* MediaTek controller toggle enable and status reg */ 266 /* Set TX/RX toggle enable */ in mtk_musb_init() 305 u16 toggle; in mtk_musb_get_toggle() local 307 toggle = musb_readw(musb->mregs, is_out ? MUSB_TXTOG : MUSB_RXTOG); in mtk_musb_get_toggle() 308 return toggle & (1 << epnum); in mtk_musb_get_toggle() 315 u16 value, toggle; in mtk_musb_set_toggle() local 317 toggle = usb_gettoggle(urb->dev, qh->epnum, is_out); in mtk_musb_set_toggle() 321 value |= toggle << epnum; in mtk_musb_set_toggle() 325 value |= toggle << epnum; in mtk_musb_set_toggle()
|
D | musb_cppi41.c | 57 u8 toggle; in save_rx_toggle() local 65 toggle = csr & MUSB_RXCSR_H_DATATOGGLE ? 1 : 0; in save_rx_toggle() 67 cppi41_channel->usb_toggle = toggle; in save_rx_toggle() 75 u8 toggle; in update_rx_toggle() local 84 toggle = csr & MUSB_RXCSR_H_DATATOGGLE ? 1 : 0; in update_rx_toggle() 88 * data toggle may reset from DATA1 to DATA0 during receiving data from in update_rx_toggle() 91 if (!toggle && toggle == cppi41_channel->usb_toggle) { in update_rx_toggle() 94 musb_dbg(musb, "Restoring DATA1 toggle."); in update_rx_toggle() 97 cppi41_channel->usb_toggle = toggle; in update_rx_toggle()
|
/Linux-v6.1/arch/sparc/include/uapi/asm/ |
D | display7seg.h | 23 * POINT - Toggle decimal point (0=absent 1=present) 24 * ALARM - Toggle alarm LED (0=green 1=red) 25 * FLIP - Toggle inverted mode (0=normal 1=flipped)
|
/Linux-v6.1/drivers/platform/x86/ |
D | msi-wmi.c | 43 WIND_KEY_TOUCHPAD = 0x08, /* Fn+F3 touchpad toggle */ 44 WIND_KEY_BLUETOOTH = 0x56, /* Fn+F11 Bluetooth toggle */ 45 WIND_KEY_CAMERA, /* Fn+F6 webcam toggle */ 46 WIND_KEY_WLAN = 0x5f, /* Fn+F11 Wi-Fi toggle */ 47 WIND_KEY_TURBO, /* Fn+F10 turbo mode toggle */ 48 WIND_KEY_ECO = 0x69, /* Fn+F10 ECO mode toggle */
|
/Linux-v6.1/drivers/media/pci/bt8xx/ |
D | bttv-input.c | 177 dprintk("code=%x, rc5=%x, start=%x, toggle=%x, address=%x, instr=%x\n", in bttv_rc5_decode() 188 u8 toggle, command, system; in bttv_rc5_timer_end() local 216 toggle = RC5_TOGGLE(rc5); in bttv_rc5_timer_end() 231 rc_keydown(ir->dev, RC_PROTO_RC5, scancode, toggle); in bttv_rc5_timer_end() 232 dprintk("scancode %x, toggle %x\n", scancode, toggle); in bttv_rc5_timer_end() 282 /* toggle GPIO pin 4 to reset the irq */ in bttv_rc5_irq() 324 u32 *scancode, u8 *toggle) in get_key_pv951() argument 357 *toggle = 0; in get_key_pv951()
|
/Linux-v6.1/drivers/iio/dac/ |
D | ltc2688.c | 222 * If in dither/toggle mode the dac should be updated by an in ltc2688_dac_code_write() 223 * external signal (or sw toggle) and not here. in ltc2688_dac_code_write() 597 * For toggle mode we only expose the symbol attr (sw_toggle) in case a TGPx is 773 if (fwnode_property_read_bool(child, "adi,toggle-mode")) { in ltc2688_channel_config() 775 /* assume sw toggle ABI */ in ltc2688_channel_config() 778 * Clear IIO_CHAN_INFO_RAW bit as toggle channels expose in ltc2688_channel_config() 800 ret = fwnode_property_read_u32(child, "adi,toggle-dither-input", in ltc2688_channel_config() 806 "toggle-dither-input inv value(%d)\n", in ltc2688_channel_config() 817 * 0 means software toggle which is the default mode. in ltc2688_channel_config() 824 * capable channel (unless toggle is already enabled). in ltc2688_channel_config() [all …]
|