Home
last modified time | relevance | path

Searched refs:input_mask (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/
Dpvrusb2-context.c242 if (!cp->input_mask) continue; in pvr2_context_reset_input_limits()
243 tmsk &= cp->input_mask; in pvr2_context_reset_input_limits()
305 cp->input_mask = 0; in pvr2_channel_done()
332 if (cmsk == cp->input_mask) { in pvr2_channel_limit_inputs()
340 cp->input_mask = 0; in pvr2_channel_limit_inputs()
347 if (!p2->input_mask) continue; in pvr2_channel_limit_inputs()
348 tmsk &= p2->input_mask; in pvr2_channel_limit_inputs()
360 cp->input_mask = cmsk; in pvr2_channel_limit_inputs()
370 return cp->input_mask; in pvr2_channel_get_limited_inputs()
Dpvrusb2-v4l2.c956 unsigned int input_mask = 0; in pvr2_v4l2_open() local
988 input_mask = (1 << PVR2_CVAL_INPUT_RADIO); in pvr2_v4l2_open()
992 input_mask = ((1 << PVR2_CVAL_INPUT_RADIO) | in pvr2_v4l2_open()
997 ret = pvr2_channel_limit_inputs(&fhp->channel,input_mask); in pvr2_v4l2_open()
1008 input_mask &= pvr2_hdw_get_input_available(hdw); in pvr2_v4l2_open()
1010 for (idx = 0; idx < (sizeof(input_mask) << 3); idx++) { in pvr2_v4l2_open()
1011 if (input_mask & (1UL << idx)) input_cnt++; in pvr2_v4l2_open()
1025 for (idx = 0; idx < (sizeof(input_mask) << 3); idx++) { in pvr2_v4l2_open()
1026 if (!(input_mask & (1UL << idx))) continue; in pvr2_v4l2_open()
Dpvrusb2-context.h51 unsigned int input_mask; member
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-lp3943.c42 u16 input_mask; /* 1 = GPIO is input direction, 0 = output */ member
79 lp3943_gpio->input_mask |= BIT(offset); in lp3943_gpio_direction_input()
144 if (lp3943_gpio->input_mask & BIT(offset)) in lp3943_gpio_get()
169 lp3943_gpio->input_mask &= ~BIT(offset); in lp3943_gpio_direction_output()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82599.c1435 union ixgbe_atr_input *input_mask) in ixgbe_atr_compute_perfect_hash_82599() argument
1445 input->dword_stream[i] &= input_mask->dword_stream[i]; in ixgbe_atr_compute_perfect_hash_82599()
1491 static u32 ixgbe_get_fdirtcpm_82599(union ixgbe_atr_input *input_mask) in ixgbe_get_fdirtcpm_82599() argument
1493 u32 mask = ntohs(input_mask->formatted.dst_port); in ixgbe_get_fdirtcpm_82599()
1496 mask |= ntohs(input_mask->formatted.src_port); in ixgbe_get_fdirtcpm_82599()
1521 union ixgbe_atr_input *input_mask) in ixgbe_fdir_set_input_mask_82599() argument
1538 if (input_mask->formatted.bkt_hash) in ixgbe_fdir_set_input_mask_82599()
1542 switch (input_mask->formatted.vm_pool & 0x7F) { in ixgbe_fdir_set_input_mask_82599()
1552 switch (input_mask->formatted.flow_type & IXGBE_ATR_L4TYPE_MASK) { in ixgbe_fdir_set_input_mask_82599()
1555 if (input_mask->formatted.dst_port || in ixgbe_fdir_set_input_mask_82599()
[all …]
Dixgbe.h900 union ixgbe_atr_input *input_mask);
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dinput.h69 struct input_mask { struct
99 #define EVIOCGMASK _IOR('E', 0x92, struct input_mask)
100 #define EVIOCSMASK _IOW('E', 0x93, struct input_mask)
/kernel/linux/linux-5.10/include/uapi/linux/
Dinput.h123 struct input_mask { struct
215 #define EVIOCGMASK _IOR('E', 0x92, struct input_mask) /* Get event-masks */
238 #define EVIOCSMASK _IOW('E', 0x93, struct input_mask) /* Set event-masks */
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dinput.h58 struct input_mask { struct
88 #define EVIOCGMASK _IOR('E', 0x92, struct input_mask)
89 #define EVIOCSMASK _IOW('E', 0x93, struct input_mask)
/kernel/linux/linux-5.10/drivers/input/
Devdev.c1036 struct input_mask mask; in evdev_do_ioctl()