Home
last modified time | relevance | path

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

/linux/drivers/media/usb/pvrusb2/
H A 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()
306 cp->input_mask = 0; in pvr2_channel_done()
333 if (cmsk == cp->input_mask) { in pvr2_channel_limit_inputs()
341 cp->input_mask = 0; in pvr2_channel_limit_inputs()
348 if (!p2->input_mask) continue; in pvr2_channel_limit_inputs()
349 tmsk &= p2->input_mask; in pvr2_channel_limit_inputs()
361 cp->input_mask = cmsk; in pvr2_channel_limit_inputs()
371 return cp->input_mask; in pvr2_channel_get_limited_inputs()
H A Dpvrusb2-v4l2.c930 unsigned int input_mask = 0; in pvr2_v4l2_open() local
962 input_mask = (1 << PVR2_CVAL_INPUT_RADIO); in pvr2_v4l2_open()
966 input_mask = ((1 << PVR2_CVAL_INPUT_RADIO) | in pvr2_v4l2_open()
971 ret = pvr2_channel_limit_inputs(&fhp->channel,input_mask); in pvr2_v4l2_open()
982 input_mask &= pvr2_hdw_get_input_available(hdw); in pvr2_v4l2_open()
984 for (idx = 0; idx < (sizeof(input_mask) << 3); idx++) { in pvr2_v4l2_open()
985 if (input_mask & (1UL << idx)) input_cnt++; in pvr2_v4l2_open()
999 for (idx = 0; idx < (sizeof(input_mask) << 3); idx++) { in pvr2_v4l2_open()
1000 if (!(input_mask & (1UL << idx))) continue; in pvr2_v4l2_open()
H A Dpvrusb2-context.h51 unsigned int input_mask; member
/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_fdir.c114 union txgbe_atr_input *input_mask) in txgbe_atr_compute_perfect_hash() argument
123 input->dword_stream[i] &= input_mask->dword_stream[i]; in txgbe_atr_compute_perfect_hash()
307 int txgbe_fdir_set_input_mask(struct wx *wx, union txgbe_atr_input *input_mask) in txgbe_fdir_set_input_mask() argument
322 if (input_mask->formatted.bkt_hash) in txgbe_fdir_set_input_mask()
326 switch (input_mask->formatted.vm_pool & 0x7F) { in txgbe_fdir_set_input_mask()
337 switch (input_mask->formatted.flow_type & TXGBE_ATR_L4TYPE_MASK) { in txgbe_fdir_set_input_mask()
340 if (input_mask->formatted.dst_port || in txgbe_fdir_set_input_mask()
341 input_mask->formatted.src_port) { in txgbe_fdir_set_input_mask()
363 switch ((__force u16)input_mask->formatted.flex_bytes & 0xFFFF) { in txgbe_fdir_set_input_mask()
377 fdirtcpm = ntohs(input_mask->formatted.dst_port); in txgbe_fdir_set_input_mask()
[all …]
H A Dtxgbe_fdir.h8 union txgbe_atr_input *input_mask);
10 int txgbe_fdir_set_input_mask(struct wx *wx, union txgbe_atr_input *input_mask);
/linux/drivers/gpio/
H A 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()
174 lp3943_gpio->input_mask &= ~BIT(offset); in lp3943_gpio_direction_output()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_82599.c1444 union ixgbe_atr_input *input_mask) in ixgbe_atr_compute_perfect_hash_82599() argument
1454 input->dword_stream[i] &= input_mask->dword_stream[i]; in ixgbe_atr_compute_perfect_hash_82599()
1500 static u32 ixgbe_get_fdirtcpm_82599(union ixgbe_atr_input *input_mask) in ixgbe_get_fdirtcpm_82599() argument
1502 u32 mask = ntohs(input_mask->formatted.dst_port); in ixgbe_get_fdirtcpm_82599()
1505 mask |= ntohs(input_mask->formatted.src_port); in ixgbe_get_fdirtcpm_82599()
1529 union ixgbe_atr_input *input_mask) in ixgbe_fdir_set_input_mask_82599() argument
1546 if (input_mask->formatted.bkt_hash) in ixgbe_fdir_set_input_mask_82599()
1550 switch (input_mask->formatted.vm_pool & 0x7F) { in ixgbe_fdir_set_input_mask_82599()
1561 switch (input_mask->formatted.flow_type & IXGBE_ATR_L4TYPE_MASK) { in ixgbe_fdir_set_input_mask_82599()
1564 if (input_mask->formatted.dst_port || in ixgbe_fdir_set_input_mask_82599()
[all …]
H A Dixgbe.h1000 union ixgbe_atr_input *input_mask);
/linux/include/uapi/linux/
H A Dinput.h126 struct input_mask { struct
218 #define EVIOCGMASK _IOR('E', 0x92, struct input_mask) /* Get event-masks */
241 #define EVIOCSMASK _IOW('E', 0x93, struct input_mask) /* Set event-masks */
/linux/drivers/input/
H A Devdev.c1034 struct input_mask mask; in evdev_do_ioctl()