Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/usb/pvrusb2/
Dpvrusb2-context.c251 if (!cp->input_mask) continue; in pvr2_context_reset_input_limits()
252 tmsk &= cp->input_mask; in pvr2_context_reset_input_limits()
314 cp->input_mask = 0; in pvr2_channel_done()
341 if (cmsk == cp->input_mask) { in pvr2_channel_limit_inputs()
349 cp->input_mask = 0; in pvr2_channel_limit_inputs()
356 if (!p2->input_mask) continue; in pvr2_channel_limit_inputs()
357 tmsk &= p2->input_mask; in pvr2_channel_limit_inputs()
369 cp->input_mask = cmsk; in pvr2_channel_limit_inputs()
379 return cp->input_mask; in pvr2_channel_get_limited_inputs()
Dpvrusb2-v4l2.c969 unsigned int input_mask = 0; in pvr2_v4l2_open() local
1001 input_mask = (1 << PVR2_CVAL_INPUT_RADIO); in pvr2_v4l2_open()
1005 input_mask = ((1 << PVR2_CVAL_INPUT_RADIO) | in pvr2_v4l2_open()
1010 ret = pvr2_channel_limit_inputs(&fhp->channel,input_mask); in pvr2_v4l2_open()
1021 input_mask &= pvr2_hdw_get_input_available(hdw); in pvr2_v4l2_open()
1023 for (idx = 0; idx < (sizeof(input_mask) << 3); idx++) { in pvr2_v4l2_open()
1024 if (input_mask & (1 << idx)) input_cnt++; in pvr2_v4l2_open()
1038 for (idx = 0; idx < (sizeof(input_mask) << 3); idx++) { in pvr2_v4l2_open()
1039 if (!(input_mask & (1 << idx))) continue; in pvr2_v4l2_open()
Dpvrusb2-context.h60 unsigned int input_mask; member
/Linux-v4.19/drivers/gpio/
Dgpio-lp3943.c45 u16 input_mask; /* 1 = GPIO is input direction, 0 = output */ member
82 lp3943_gpio->input_mask |= BIT(offset); in lp3943_gpio_direction_input()
147 if (lp3943_gpio->input_mask & BIT(offset)) in lp3943_gpio_get()
172 lp3943_gpio->input_mask &= ~BIT(offset); in lp3943_gpio_direction_output()
/Linux-v4.19/include/uapi/linux/
Dinput.h118 struct input_mask { struct
210 #define EVIOCGMASK _IOR('E', 0x92, struct input_mask) /* Get event-masks */
233 #define EVIOCSMASK _IOW('E', 0x93, struct input_mask) /* Set event-masks */
/Linux-v4.19/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.h889 union ixgbe_atr_input *input_mask);
/Linux-v4.19/drivers/input/
Devdev.c1071 struct input_mask mask; in evdev_do_ioctl()