| /kernel/linux/linux-6.6/drivers/hid/ |
| H A D | hid-ntrig.c | 115 report->field[0]->report_count < 1) in ntrig_get_mode() 120 return (int)report->field[0]->value[0]; in ntrig_get_mode() 455 struct hid_field *field, struct hid_usage *usage, in ntrig_input_mapping() 461 if (field->physical) in ntrig_input_mapping() 471 field->logical_minimum, in ntrig_input_mapping() 472 field->logical_maximum, 0, 0); in ntrig_input_mapping() 476 field->logical_maximum - in ntrig_input_mapping() 477 field->logical_minimum; in ntrig_input_mapping() 479 field->physical_maximum - in ntrig_input_mapping() 480 field in ntrig_input_mapping() 454 ntrig_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ntrig_input_mapping() argument 545 ntrig_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ntrig_input_mapped() argument 566 ntrig_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) ntrig_event() argument [all...] |
| H A D | hid-plantronics.c | 37 #define PLT_ALLOW_CONSUMER (field->application == HID_CP_CONSUMERCONTROL && \ 52 struct hid_field *field, in plantronics_input_mapping() 61 if (field->application == HID_GD_JOYSTICK) in plantronics_input_mapping() 85 /* only map if the field is in the device's primary vendor page */ in plantronics_input_mapping() 86 else if (!((field->application ^ plt_type) & HID_USAGE_PAGE)) { in plantronics_input_mapping() 110 usage->hid, field->application); in plantronics_input_mapping() 116 usage->hid, field->application, mapped_key); in plantronics_input_mapping() 120 static int plantronics_event(struct hid_device *hdev, struct hid_field *field, in plantronics_event() argument 50 plantronics_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) plantronics_input_mapping() argument
|
| /kernel/linux/linux-6.6/scripts/gcc-plugins/ |
| H A D | randomize_layout_plugin.c | 277 static bool is_flexible_array(const_tree field) in is_flexible_array() argument 282 fieldtype = TREE_TYPE(field); in is_flexible_array() 301 tree field; in relayout_struct() local 335 for (field = TYPE_FIELDS(type), i = 0; field; field = TREE_CHAIN(field), i++) { in relayout_struct() 336 gcc_assert(TREE_CODE(field) == FIELD_DECL); in relayout_struct() 337 newtree[i] = field; in relayout_struct() 352 * set up a bogus anonymous struct field designe in relayout_struct() 394 get_field_type(const_tree field) get_field_type() argument 411 const_tree field; is_pure_ops_struct() local 461 tree lastval, lastidx, field, init, type, flexsize; update_decl_size() local 593 tree field, val; check_bad_casts_in_constructor() local 596 FOR_EACH_CONSTRUCTOR_ELT(CONSTRUCTOR_ELTS(init), idx, field, val) { check_bad_casts_in_constructor() local [all...] |
| H A D | structleak_plugin.c | 76 static tree get_field_type(tree field) in get_field_type() argument 78 return strip_array_types(TREE_TYPE(field)); in get_field_type() 83 tree field; in is_userspace_type() local 85 for (field = TYPE_FIELDS(type); field; field = TREE_CHAIN(field)) { in is_userspace_type() 86 tree fieldtype = get_field_type(field); in is_userspace_type() 93 if (lookup_attribute("user", DECL_ATTRIBUTES(field))) in is_userspace_type()
|
| /kernel/linux/linux-6.6/drivers/usb/cdns3/ |
| H A D | cdnsp-ring.c | 84 return TRB_TYPE_NOOP_LE32(trb->generic.field[3]); in cdnsp_trb_is_noop() 115 trb->generic.field[0] = 0; in cdnsp_trb_to_noop() 116 trb->generic.field[1] = 0; in cdnsp_trb_to_noop() 117 trb->generic.field[2] = 0; in cdnsp_trb_to_noop() 119 trb->generic.field[3] &= cpu_to_le32(TRB_CYCLE); in cdnsp_trb_to_noop() 120 trb->generic.field[3] |= cpu_to_le32(TRB_TYPE(noop_type)); in cdnsp_trb_to_noop() 194 chain = le32_to_cpu(ring->enqueue->generic.field[3]) & TRB_CHAIN; in cdnsp_inc_enq() 516 trb->generic.field[3] ^= cpu_to_le32(TRB_CYCLE); in cdnsp_td_to_noop() 796 if (GET_COMP_CODE(le32_to_cpu(event->generic.field[2])) != COMP_SUCCESS) in cdnsp_handle_port_status() 799 port_id = GET_PORT_ID(le32_to_cpu(event->generic.field[ in cdnsp_handle_port_status() 1864 u32 field, length_field, remainder; cdnsp_queue_bulk_tx() local 2014 u32 field, length_field, zlp = 0; cdnsp_queue_ctrl_tx() local 2212 u32 field, length_field; cdnsp_queue_isoc_tx() local [all...] |
| /kernel/linux/linux-5.10/scripts/gcc-plugins/ |
| H A D | structleak_plugin.c | 78 static tree get_field_type(tree field) in get_field_type() argument 80 return strip_array_types(TREE_TYPE(field)); in get_field_type() 85 tree field; in is_userspace_type() local 87 for (field = TYPE_FIELDS(type); field; field = TREE_CHAIN(field)) { in is_userspace_type() 88 tree fieldtype = get_field_type(field); in is_userspace_type() 95 if (lookup_attribute("user", DECL_ATTRIBUTES(field))) in is_userspace_type()
|
| /kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-l2c.c | 51 uint32_t field; in cvmx_l2c_get_core_way_partition() local 62 * bit offset of the UMSK[] field in the L2C_SPAR register. in cvmx_l2c_get_core_way_partition() 64 field = (core & 0x3) * 8; in cvmx_l2c_get_core_way_partition() 67 * Return the UMSK[] field from the appropriate L2C_SPAR in cvmx_l2c_get_core_way_partition() 73 return (cvmx_read_csr(CVMX_L2C_SPAR0) & (0xFF << field)) >> field; in cvmx_l2c_get_core_way_partition() 75 return (cvmx_read_csr(CVMX_L2C_SPAR1) & (0xFF << field)) >> field; in cvmx_l2c_get_core_way_partition() 77 return (cvmx_read_csr(CVMX_L2C_SPAR2) & (0xFF << field)) >> field; in cvmx_l2c_get_core_way_partition() 86 uint32_t field; cvmx_l2c_set_core_way_partition() local 121 mask << field); cvmx_l2c_set_core_way_partition() local 126 mask << field); cvmx_l2c_set_core_way_partition() local 131 mask << field); cvmx_l2c_set_core_way_partition() local 136 mask << field); cvmx_l2c_set_core_way_partition() local [all...] |
| /kernel/linux/linux-6.6/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-l2c.c | 51 uint32_t field; in cvmx_l2c_get_core_way_partition() local 62 * bit offset of the UMSK[] field in the L2C_SPAR register. in cvmx_l2c_get_core_way_partition() 64 field = (core & 0x3) * 8; in cvmx_l2c_get_core_way_partition() 67 * Return the UMSK[] field from the appropriate L2C_SPAR in cvmx_l2c_get_core_way_partition() 73 return (cvmx_read_csr(CVMX_L2C_SPAR0) & (0xFF << field)) >> field; in cvmx_l2c_get_core_way_partition() 75 return (cvmx_read_csr(CVMX_L2C_SPAR1) & (0xFF << field)) >> field; in cvmx_l2c_get_core_way_partition() 77 return (cvmx_read_csr(CVMX_L2C_SPAR2) & (0xFF << field)) >> field; in cvmx_l2c_get_core_way_partition() 86 uint32_t field; cvmx_l2c_set_core_way_partition() local 121 mask << field); cvmx_l2c_set_core_way_partition() local 126 mask << field); cvmx_l2c_set_core_way_partition() local 131 mask << field); cvmx_l2c_set_core_way_partition() local 136 mask << field); cvmx_l2c_set_core_way_partition() local [all...] |
| /kernel/linux/linux-5.10/drivers/staging/rtl8192e/ |
| H A D | rtl819x_BAProc.c | 144 DelbaParamSet.field.Initiator = (TxRxSelect == TX_DIR) ? 1 : 0; in rtllib_DELBA() 145 DelbaParamSet.field.TID = pBA->BaParamSet.field.TID; in rtllib_DELBA() 263 (u8)(pBaParamSet->field.TID), RX_DIR, true)) { in rtllib_rx_ADDBAReq() 270 if (pBaParamSet->field.BAPolicy == BA_POLICY_DELAYED) { in rtllib_rx_ADDBAReq() 287 pBA->BaParamSet.field.BufferSize = 1; in rtllib_rx_ADDBAReq() 289 pBA->BaParamSet.field.BufferSize = 32; in rtllib_rx_ADDBAReq() 303 BA.BaParamSet.field.BAPolicy = BA_POLICY_IMMEDIATE; in rtllib_rx_ADDBAReq() 349 (u8)(pBaParamSet->field.TID), TX_DIR, false)) { in rtllib_rx_ADDBARsp() 380 if (pBaParamSet->field in rtllib_rx_ADDBARsp() [all...] |
| /kernel/linux/linux-6.6/drivers/staging/rtl8192e/ |
| H A D | rtl819x_BAProc.c | 142 DelbaParamSet.field.initiator = (TxRxSelect == TX_DIR) ? 1 : 0; in rtllib_DELBA() 143 DelbaParamSet.field.tid = pBA->ba_param_set.field.tid; in rtllib_DELBA() 257 (u8)(pBaParamSet->field.tid), RX_DIR, true)) { in rtllib_rx_ADDBAReq() 264 if (pBaParamSet->field.ba_policy == BA_POLICY_DELAYED) { in rtllib_rx_ADDBAReq() 281 pBA->ba_param_set.field.buffer_size = 1; in rtllib_rx_ADDBAReq() 283 pBA->ba_param_set.field.buffer_size = 32; in rtllib_rx_ADDBAReq() 297 BA.ba_param_set.field.ba_policy = BA_POLICY_IMMEDIATE; in rtllib_rx_ADDBAReq() 341 (u8)(pBaParamSet->field.tid), TX_DIR, false)) { in rtllib_rx_ADDBARsp() 370 if (pBaParamSet->field in rtllib_rx_ADDBARsp() [all...] |
| /kernel/linux/linux-5.10/drivers/scsi/bnx2i/ |
| H A D | bnx2i.h | 134 #define GET_STATS_64(__hba, dst, field) \ 137 dst->field##_lo = __hba->stats.field##_lo; \ 138 dst->field##_hi = __hba->stats.field##_hi; \ 142 #define ADD_STATS_64(__hba, field, len) \ 145 if (__hba->stats.field##_lo + len < \ 146 __hba->stats.field##_lo) \ 147 __hba->stats.field##_hi++; \ 148 __hba->stats.field##_l [all...] |
| /kernel/linux/linux-6.6/drivers/scsi/bnx2i/ |
| H A D | bnx2i.h | 134 #define GET_STATS_64(__hba, dst, field) \ 137 dst->field##_lo = __hba->stats.field##_lo; \ 138 dst->field##_hi = __hba->stats.field##_hi; \ 142 #define ADD_STATS_64(__hba, field, len) \ 145 if (__hba->stats.field##_lo + len < \ 146 __hba->stats.field##_lo) \ 147 __hba->stats.field##_hi++; \ 148 __hba->stats.field##_l [all...] |
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dmub/src/ |
| H A D | dmub_dcn21.c | 45 #define DMUB_SF(reg, field) FD_MASK(reg, field), 49 #define DMUB_SF(reg, field) FD_SHIFT(reg, field),
|
| /kernel/linux/linux-5.10/net/mptcp/ |
| H A D | mib.h | 36 enum linux_mptcp_mib_field field) in MPTCP_INC_STATS() 39 SNMP_INC_STATS(net->mib.mptcp_statistics, field); in MPTCP_INC_STATS() 43 enum linux_mptcp_mib_field field) in __MPTCP_INC_STATS() 46 __SNMP_INC_STATS(net->mib.mptcp_statistics, field); in __MPTCP_INC_STATS() 35 MPTCP_INC_STATS(struct net *net, enum linux_mptcp_mib_field field) MPTCP_INC_STATS() argument 42 __MPTCP_INC_STATS(struct net *net, enum linux_mptcp_mib_field field) __MPTCP_INC_STATS() argument
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dmub/src/ |
| H A D | dmub_dcn314.c | 55 #define DMUB_SF(reg, field) FD_MASK(reg, field), 59 #define DMUB_SF(reg, field) FD_SHIFT(reg, field),
|
| H A D | dmub_dcn315.c | 55 #define DMUB_SF(reg, field) FD_MASK(reg, field), 59 #define DMUB_SF(reg, field) FD_SHIFT(reg, field),
|
| H A D | dmub_dcn316.c | 55 #define DMUB_SF(reg, field) FD_MASK(reg, field), 59 #define DMUB_SF(reg, field) FD_SHIFT(reg, field),
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_nix.c | 432 struct nix_lso_format field = {0}; in nix_setup_lso_tso_l3() local 434 /* IP's Length field */ in nix_setup_lso_tso_l3() 435 field.layer = NIX_TXLAYER_OL3; in nix_setup_lso_tso_l3() 436 /* In ipv4, length field is at offset 2 bytes, for ipv6 it's 4 */ in nix_setup_lso_tso_l3() 437 field.offset = v4 ? 2 : 4; in nix_setup_lso_tso_l3() 438 field.sizem1 = 1; /* i.e 2 bytes */ in nix_setup_lso_tso_l3() 439 field.alg = NIX_LSOALG_ADD_PAYLEN; in nix_setup_lso_tso_l3() 442 *(u64 *)&field); in nix_setup_lso_tso_l3() 444 /* No ID field in IPv6 header */ in nix_setup_lso_tso_l3() 448 /* IP's ID field */ in nix_setup_lso_tso_l3() 461 struct nix_lso_format field = {0}; nix_setup_lso_tso_l4() local 2336 struct nix_rx_flowkey_alg *field; set_flowkey_fields() local 2564 u64 field[FIELDS_PER_ALG]; reserve_flowkey_alg_idx() local [all...] |
| /kernel/linux/linux-5.10/include/net/ |
| H A D | ipv6.h | 29 * NextHeader field of IPv6 header 206 #define _DEVINC(net, statname, mod, idev, field) \ 210 mod##SNMP_INC_STATS64((_idev)->stats.statname, (field));\ 211 mod##SNMP_INC_STATS64((net)->mib.statname##_statistics, (field));\ 215 #define _DEVINCATOMIC(net, statname, mod, idev, field) \ 219 SNMP_INC_STATS_ATOMIC_LONG((_idev)->stats.statname##dev, (field)); \ 220 mod##SNMP_INC_STATS((net)->mib.statname##_statistics, (field));\ 224 #define _DEVINC_ATOMIC_ATOMIC(net, statname, idev, field) \ 228 SNMP_INC_STATS_ATOMIC_LONG((_idev)->stats.statname##dev, (field)); \ 229 SNMP_INC_STATS_ATOMIC_LONG((net)->mib.statname##_statistics, (field));\ [all...] |
| /kernel/linux/linux-6.6/include/net/ |
| H A D | ipv6.h | 31 * NextHeader field of IPv6 header 220 #define _DEVINC(net, statname, mod, idev, field) \ 224 mod##SNMP_INC_STATS64((_idev)->stats.statname, (field));\ 225 mod##SNMP_INC_STATS64((net)->mib.statname##_statistics, (field));\ 229 #define _DEVINCATOMIC(net, statname, mod, idev, field) \ 233 SNMP_INC_STATS_ATOMIC_LONG((_idev)->stats.statname##dev, (field)); \ 234 mod##SNMP_INC_STATS((net)->mib.statname##_statistics, (field));\ 238 #define _DEVINC_ATOMIC_ATOMIC(net, statname, idev, field) \ 242 SNMP_INC_STATS_ATOMIC_LONG((_idev)->stats.statname##dev, (field)); \ 243 SNMP_INC_STATS_ATOMIC_LONG((net)->mib.statname##_statistics, (field));\ [all...] |
| /kernel/linux/linux-5.10/drivers/media/common/saa7146/ |
| H A D | saa7146_hlp.c | 213 static int calculate_v_scale_registers(struct saa7146_dev *dev, enum v4l2_field field, in calculate_v_scale_registers() argument 233 or scaling is between 1/2 and 1/4 (if only one field is used) */ in calculate_v_scale_registers() 235 if (V4L2_FIELD_HAS_BOTH(field)) { in calculate_v_scale_registers() 239 } else if (field == V4L2_FIELD_TOP in calculate_v_scale_registers() 240 || field == V4L2_FIELD_ALTERNATE in calculate_v_scale_registers() 241 || field == V4L2_FIELD_BOTTOM) { in calculate_v_scale_registers() 339 struct saa7146_video_dma *vdma2, u32* clip_format, u32* arbtr_ctrl, enum v4l2_field field) in calculate_clipping_registers_rect() 458 /* set clipping-mode. this depends on the field(s) used */ in calculate_clipping_registers_rect() 460 if (V4L2_FIELD_HAS_BOTH(field)) { in calculate_clipping_registers_rect() 487 enum v4l2_field field in saa7146_set_clipping_rect() local 338 calculate_clipping_registers_rect(struct saa7146_dev *dev, struct saa7146_fh *fh, struct saa7146_video_dma *vdma2, u32* clip_format, u32* arbtr_ctrl, enum v4l2_field field) calculate_clipping_registers_rect() argument 524 saa7146_set_window(struct saa7146_dev *dev, int width, int height, enum v4l2_field field) saa7146_set_window() argument 560 saa7146_set_position(struct saa7146_dev *dev, int w_x, int w_y, int w_height, enum v4l2_field field, u32 pixelformat) saa7146_set_position() argument 712 enum v4l2_field field = buf->fmt->field; calculate_video_dma_grab_packed() local 836 enum v4l2_field field = buf->fmt->field; calculate_video_dma_grab_planar() local [all...] |
| /kernel/linux/linux-5.10/Documentation/sphinx/ |
| H A D | maintainers_include.py | 55 # Field letter to field name mapping. 93 # Look for and record field letter to field name mappings: 112 # Flush pending field content. 121 # Render a subsystem field as: 124 field, details = line.split(':', 1) 129 if field in ['F', 'N', 'X', 'K']: 134 # Comma separate email field continuations. 135 if field == field_prev and field_prev in ['M', 'R', 'L']: 138 # Do not repeat field name [all...] |
| /kernel/linux/linux-6.6/Documentation/sphinx/ |
| H A D | maintainers_include.py | 55 # Field letter to field name mapping. 91 # Look for and record field letter to field name mappings: 110 # Flush pending field content. 119 # Render a subsystem field as: 122 field, details = line.split(':', 1) 127 if field in ['F', 'N', 'X', 'K']: 132 # Comma separate email field continuations. 133 if field == field_prev and field_prev in ['M', 'R', 'L']: 136 # Do not repeat field name [all...] |
| /kernel/linux/linux-5.10/drivers/hid/ |
| H A D | hid-plantronics.c | 37 #define PLT_ALLOW_CONSUMER (field->application == HID_CP_CONSUMERCONTROL && \ 52 struct hid_field *field, in plantronics_input_mapping() 61 if (field->application == HID_GD_JOYSTICK) in plantronics_input_mapping() 85 /* only map if the field is in the device's primary vendor page */ in plantronics_input_mapping() 86 else if (!((field->application ^ plt_type) & HID_USAGE_PAGE)) { in plantronics_input_mapping() 110 usage->hid, field->application); in plantronics_input_mapping() 116 usage->hid, field->application, mapped_key); in plantronics_input_mapping() 120 static int plantronics_event(struct hid_device *hdev, struct hid_field *field, in plantronics_event() argument 50 plantronics_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) plantronics_input_mapping() argument
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
| H A D | tc_counters.c | 400 #define TCV2_HDR_PTR(pkt, field) \ 401 ((void)BUILD_BUG_ON_ZERO(ERF_SC_PACKETISER_HEADER_##field##_LBN & 7), \ 402 (pkt) + ERF_SC_PACKETISER_HEADER_##field##_LBN / 8) 403 #define TCV2_HDR_BYTE(pkt, field) \ 404 ((void)BUILD_BUG_ON_ZERO(ERF_SC_PACKETISER_HEADER_##field##_WIDTH != 8),\ 405 *TCV2_HDR_PTR(pkt, field)) 406 #define TCV2_HDR_WORD(pkt, field) \ 407 ((void)BUILD_BUG_ON_ZERO(ERF_SC_PACKETISER_HEADER_##field##_WIDTH != 16),\ 408 (void)BUILD_BUG_ON_ZERO(ERF_SC_PACKETISER_HEADER_##field##_LBN & 15), \ 409 *(__force const __le16 *)TCV2_HDR_PTR(pkt, field)) 416 efx_tc_read48(const __le16 *field) efx_tc_read48() argument [all...] |