Home
last modified time | relevance | path

Searched refs:input_mask (Results 1 – 9 of 9) 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.c928 unsigned int input_mask = 0; in pvr2_v4l2_open() local
960 input_mask = (1 << PVR2_CVAL_INPUT_RADIO); in pvr2_v4l2_open()
964 input_mask = ((1 << PVR2_CVAL_INPUT_RADIO) | in pvr2_v4l2_open()
969 ret = pvr2_channel_limit_inputs(&fhp->channel,input_mask); in pvr2_v4l2_open()
980 input_mask &= pvr2_hdw_get_input_available(hdw); in pvr2_v4l2_open()
982 for (idx = 0; idx < (sizeof(input_mask) << 3); idx++) { in pvr2_v4l2_open()
983 if (input_mask & (1UL << idx)) input_cnt++; in pvr2_v4l2_open()
997 for (idx = 0; idx < (sizeof(input_mask) << 3); idx++) { in pvr2_v4l2_open()
998 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.c105 * @input_mask: mask for the input bitstream
107 * This function serves two main purposes. First it applies the input_mask
114 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 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/include/uapi/linux/
H A Dinput.h126 struct input_mask { struct
193 * event type. The argument must be of type "struct input_mask" and
218 #define EVIOCGMASK _IOR('E', 0x92, struct input_mask) /* Get event-masks */
241 #define EVIOCSMASK _IOW('E', 0x93, struct input_mask) /* Set event-masks */
127 typeinput_mask global() argument
128 codes_sizeinput_mask global() argument
129 codes_ptrinput_mask global() argument
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe.h1002 union ixgbe_atr_input *input_mask);
/linux/drivers/input/
H A Devdev.c1034 struct input_mask mask; in evdev_do_ioctl()