/linux-master/drivers/thunderbolt/ |
H A D | trace.h | 21 #define tb_cfg_type_name(type) { type, #type } 83 static inline const char *show_data(struct trace_seq *p, u8 type, argument 92 switch (type) { 123 TP_PROTO(int index, u8 type, const void *data, size_t size), 124 TP_ARGS(index, type, data, size), 127 __field(u8, type) 133 __entry->type = type; [all...] |
/linux-master/drivers/media/tuners/ |
H A D | xc2028.c | 77 unsigned int type; member in struct:firmware_description 85 unsigned int type; member in struct:firmware_properties 176 static void dump_firm_type_and_int_freq(unsigned int type, u16 int_freq) argument 178 if (type & BASE) 180 if (type & INIT1) 182 if (type & F8MHZ) 184 if (type & MTS) 186 if (type & D2620) 188 if (type & D2633) 190 if (type 345 __u32 type, size; local 431 seek_firmware(struct dvb_frontend *fe, unsigned int type, v4l2_std_id *id) argument 542 load_firmware(struct dvb_frontend *fe, unsigned int type, v4l2_std_id *id) argument 653 load_scode(struct dvb_frontend *fe, unsigned int type, v4l2_std_id *id, __u16 int_freq, int scode) argument 717 check_firmware(struct dvb_frontend *fe, unsigned int type, v4l2_std_id std, __u16 int_freq) argument 1008 generic_set_freq(struct dvb_frontend *fe, u32 freq , enum v4l2_tuner_type new_type, unsigned int type, v4l2_std_id std, u16 int_freq) argument 1161 unsigned int type=0; local 1195 unsigned int type = 0; local [all...] |
/linux-master/arch/powerpc/math-emu/ |
H A D | math.c | 234 int type = 0; local 241 case LFS: func = lfs; type = D; break; 242 case LFSU: func = lfs; type = DU; break; 243 case LFD: func = lfd; type = D; break; 244 case LFDU: func = lfd; type = DU; break; 245 case STFS: func = stfs; type = D; break; 246 case STFSU: func = stfs; type = DU; break; 247 case STFD: func = stfd; type = D; break; 248 case STFDU: func = stfd; type = DU; break; 252 case LFSX: func = lfs; type [all...] |
/linux-master/kernel/events/ |
H A D | hw_breakpoint.c | 62 static struct bp_cpuinfo *get_bp_info(int cpu, enum bp_type_idx type) argument 64 return per_cpu_ptr(bp_cpuinfo + type, cpu); 172 static inline int hw_breakpoint_slots_cached(int type) { return hw_breakpoint_slots(type); } argument 180 static inline int hw_breakpoint_slots_cached(int type) argument 182 return __nr_bp_slots[type]; 186 bp_slots_histogram_alloc(struct bp_slots_histogram *hist, enum bp_type_idx type) argument 188 hist->count = kcalloc(hw_breakpoint_slots_cached(type), sizeof(*hist->count), GFP_KERNEL); 249 bp_slots_histogram_max(struct bp_slots_histogram *hist, enum bp_type_idx type) argument 251 for (int i = hw_breakpoint_slots_cached(type) 265 bp_slots_histogram_max_merge(struct bp_slots_histogram *hist1, struct bp_slots_histogram *hist2, enum bp_type_idx type) argument 302 max_task_bp_pinned(int cpu, enum bp_type_idx type) argument 322 task_bp_pinned(int cpu, struct perf_event *bp, enum bp_type_idx type) argument 370 max_bp_pinned_slots(struct perf_event *bp, enum bp_type_idx type) argument 409 toggle_bp_slot(struct perf_event *bp, bool enable, enum bp_type_idx type, int weight) argument 574 enum bp_type_idx type; local 609 enum bp_type_idx type; local [all...] |
/linux-master/net/llc/ |
H A D | llc_s_ev.c | 27 return ev->type == LLC_SAP_EV_TYPE_SIMPLE && 36 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_CMD(pdu) && 45 return ev->type == LLC_SAP_EV_TYPE_PRIM && 55 return ev->type == LLC_SAP_EV_TYPE_PRIM && 65 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_CMD(pdu) && 75 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_RSP(pdu) && 84 return ev->type == LLC_SAP_EV_TYPE_PRIM && 94 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_CMD(pdu) && 104 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_RSP(pdu) && 113 return ev->type [all...] |
/linux-master/include/uapi/linux/ |
H A D | dccp.h | 18 * @dccph_type - packet type, see DCCP_PKT_ prefixed macros 118 static inline unsigned int dccp_packet_hdr_len(const __u8 type) argument 120 if (type == DCCP_PKT_DATA) 122 if (type == DCCP_PKT_DATAACK || 123 type == DCCP_PKT_ACK || 124 type == DCCP_PKT_SYNC || 125 type == DCCP_PKT_SYNCACK || 126 type == DCCP_PKT_CLOSE || 127 type == DCCP_PKT_CLOSEREQ) 129 if (type [all...] |
/linux-master/drivers/media/pci/ivtv/ |
H A D | ivtv-routing.c | 54 u32 type; local 59 type = itv->card->video_inputs[inp].video_type; 61 if (type == IVTV_CARD_INPUT_VID_TUNER) { 63 } else if (type < IVTV_CARD_INPUT_COMPOSITE1) { 74 if (type == IVTV_CARD_INPUT_VID_TUNER || 75 type >= IVTV_CARD_INPUT_COMPOSITE1) { 90 if (type > IVTV_CARD_INPUT_VID_TUNER && 91 type < IVTV_CARD_INPUT_COMPOSITE1) { 99 if (type == IVTV_CARD_INPUT_VID_TUNER || 100 itv->card->type [all...] |
/linux-master/drivers/rapidio/ |
H A D | rio-access.c | 26 * @type: C type of value argument 32 #define RIO_LOP_READ(size,type,len) \ 34 (struct rio_mport *mport, u32 offset, type *value) \ 40 *value = (type)data; \ 47 * @type: C type of value argument 53 #define RIO_LOP_WRITE(size,type,len) \ 55 (struct rio_mport *mport, u32 offset, type value) \ 78 * @type [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | gk104.c | 38 for (i = 0; order[i].type != NVKM_SUBDEV_NR; i++) { 39 if (!nvkm_device_subdev(dev, order[i].type, order[i].inst)) 50 for (i = 0; order[i].type != NVKM_SUBDEV_NR; i++) { 51 if (!nvkm_device_subdev(dev, order[i].type, order[i].inst)) 67 for (i = 0; order[i].type != NVKM_SUBDEV_NR; i++) { 68 if (!nvkm_device_subdev(dev, order[i].type, order[i].inst)) 110 enum nvkm_subdev_type type, int inst, 120 nvkm_therm_ctor(&therm->base, device, type, inst, func); 128 gk104_therm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_therm **ptherm) argument 130 return gk104_therm_new_(&gk104_therm_func, device, type, ins 109 gk104_therm_new_(const struct nvkm_therm_func *func, struct nvkm_device *device, enum nvkm_subdev_type type, int inst, const struct gk104_clkgate_engine_info *clkgate_order, const struct gf100_idle_filter *idle_filter, struct nvkm_therm **ptherm) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dmub/src/ |
H A D | dmub_srv_stat.c | 57 notify->type = DMUB_NOTIFICATION_NO_DATA; 66 notify->type = DMUB_NOTIFICATION_NO_DATA; 71 switch (cmd.cmd_common.header.type) { 73 notify->type = DMUB_NOTIFICATION_AUX_REPLY; 81 notify->type = DMUB_NOTIFICATION_HPD; 84 notify->type = DMUB_NOTIFICATION_HPD_IRQ; 91 notify->type = DMUB_NOTIFICATION_SET_CONFIG_REPLY; 96 notify->type = DMUB_NOTIFICATION_DPIA_NOTIFICATION; 99 if (cmd.dpia_notification.payload.header.type == DPIA_NOTIFY__BW_ALLOCATION) { 117 notify->type [all...] |
/linux-master/include/uapi/sound/ |
H A D | firewire.h | 20 unsigned int type; /* SNDRV_FIREWIRE_EVENT_xxx */ member in struct:snd_firewire_event_common 24 unsigned int type; member in struct:snd_firewire_event_lock_status 29 unsigned int type; member in struct:snd_firewire_event_dice_notification 45 unsigned int type; member in struct:snd_firewire_event_efw_response 50 unsigned int type; member in struct:snd_firewire_event_digi00x_message 55 unsigned int type; member in struct:snd_firewire_event_motu_notification 66 unsigned int type; member in struct:snd_firewire_event_tascam_control 71 unsigned int type; member in struct:snd_firewire_event_motu_register_dsp_change 80 * @type: Fixed to SNDRV_FIREWIRE_EVENT_FF400_MESSAGE. 92 unsigned int type; member in struct:snd_firewire_event_ff400_message 131 unsigned int type; /* SNDRV_FIREWIRE_TYPE_xxx */ member in struct:snd_firewire_get_info [all...] |
/linux-master/arch/riscv/kernel/ |
H A D | cacheinfo.c | 26 static struct cacheinfo *get_cacheinfo(u32 level, enum cache_type type) argument 43 if (this_leaf->level == level && this_leaf->type == type) 50 uintptr_t get_cache_size(u32 level, enum cache_type type) argument 52 struct cacheinfo *this_leaf = get_cacheinfo(level, type); 57 uintptr_t get_cache_geometry(u32 level, enum cache_type type) argument 59 struct cacheinfo *this_leaf = get_cacheinfo(level, type); 68 enum cache_type type, unsigned int level) 71 this_leaf->type = type; 66 ci_leaf_init(struct cacheinfo *this_leaf, struct device_node *node, enum cache_type type, unsigned int level) argument [all...] |
/linux-master/include/media/ |
H A D | v4l2-async.h | 22 * enum v4l2_async_match_type - type of asynchronous subdevice logic to be used 39 * @type: type of match that will be used 54 enum v4l2_async_match_type type; member in struct:v4l2_async_match_desc 68 * @match: struct of match type and per-bus type matching data sets 187 * @type: Type of the driver's async sub-device or connection struct. The 195 #define v4l2_async_nf_add_fwnode(notifier, fwnode, type) \ 196 ((type *)__v4l2_async_nf_add_fwnode(notifier, fwnode, sizeof(type))) [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/top/ |
H A D | gk104.c | 34 u32 data, type, inst; local 41 type = ~0; 67 type = (data & 0x7ffffffc) >> 2; 74 /* Translate engine type to NVKM engine identifier. */ 75 #define I_(T,I) do { info->type = (T); info->inst = (I); } while(0) 77 switch (type) { 101 "reset %2d\n", type, inst, 102 info->type == NVKM_SUBDEV_NR ? "????????" : nvkm_subdev_type[info->type], 117 gk104_top_new(struct nvkm_device *device, enum nvkm_subdev_type type, in argument [all...] |
H A D | ga100.c | 32 u32 data, type, inst; local 39 type = ~0; 50 type = (data & 0x3f000000) >> 24; 70 /* Translate engine type to NVKM engine identifier. */ 71 #define I_(T,I) do { info->type = (T); info->inst = (I); } while(0) 73 switch (type) { 90 "runlist %6x engine %2d reset %2d\n", type, inst, 91 info->type == NVKM_SUBDEV_NR ? "????????" : nvkm_subdev_type[info->type], 106 ga100_top_new(struct nvkm_device *device, enum nvkm_subdev_type type, in argument [all...] |
/linux-master/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_pfvf_mbox.h | 98 u64 type:2; member in struct:octep_pfvf_mbox_word::__anon1412 104 u64 type:2; member in struct:octep_pfvf_mbox_word::__anon1413 111 u64 type:2; member in struct:octep_pfvf_mbox_word::__anon1414 117 u64 type:2; member in struct:octep_pfvf_mbox_word::__anon1415 123 u64 type:2; member in struct:octep_pfvf_mbox_word::__anon1416 129 u64 type:2; member in struct:octep_pfvf_mbox_word::__anon1417 135 u64 type:2; member in struct:octep_pfvf_mbox_word::__anon1418 141 u64 type:2; member in struct:octep_pfvf_mbox_word::__anon1419 147 u64 type:2; member in struct:octep_pfvf_mbox_word::__anon1420 156 u64 type member in struct:octep_pfvf_mbox_word::__anon1421 [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_osdep.h | 39 #define ice_debug(hw, type, fmt, args...) \ 42 #define ice_debug_array(hw, type, rowsize, groupsize, buf, len) \ 47 #define ice_debug(hw, type, fmt, args...) \ 49 if ((type) & (hw)->debug_mask) \ 54 #define ice_debug_array(hw, type, rowsize, groupsize, buf, len) \ 56 if ((type) & (hw)->debug_mask) \ 63 #define ice_debug_array(hw, type, rowsize, groupsize, buf, len) \ 66 if ((type) & (hw_l)->debug_mask) { \ 71 ice_debug(hw_l, type, "0x%04X %16ph\n",\ 74 ice_debug(hw_l, type, " [all...] |
/linux-master/tools/include/linux/ |
H A D | kernel.h | 32 * @type: the type of the container struct this is embedded in. 36 #define container_of(ptr, type, member) ({ \ 37 const typeof(((type *)0)->member) * __mptr = (ptr); \ 38 (type *)((char *)__mptr - offsetof(type, member)); }) 57 #define max_t(type, x, y) max((type)x, (type)y) 58 #define min_t(type, [all...] |
/linux-master/drivers/media/common/siano/ |
H A D | sms-cards.c | 15 .type = SMS_UNKNOWN_TYPE, 20 .type = SMS_STELLAR, 25 .type = SMS_NOVA_A0, 30 .type = SMS_NOVA_B0, 35 .type = SMS_VEGA, 40 .type = SMS_STELLAR, 46 .type = SMS_NOVA_A0, 52 .type = SMS_NOVA_B0, 58 .type = SMS_NOVA_B0, 73 .type [all...] |
/linux-master/drivers/firmware/ |
H A D | memmap.c | 33 const char *type; /* type of the memory range */ member in struct:firmware_map_entry 48 firmware_map_find_entry(u64 start, u64 end, const char *type); 61 static struct memmap_attribute memmap_type_attr = __ATTR_RO(type); 133 * @type: Type of the memory range. 143 const char *type, 150 entry->type = type; 209 * @type: Type of the memory range. 219 firmware_map_find_entry_in_list(u64 start, u64 end, const char *type, argument 142 firmware_map_add_entry(u64 start, u64 end, const char *type, struct firmware_map_entry *entry) argument 246 firmware_map_find_entry(u64 start, u64 end, const char *type) argument 263 firmware_map_find_entry_bootmem(u64 start, u64 end, const char *type) argument 282 firmware_map_add_hotplug(u64 start, u64 end, const char *type) argument 324 firmware_map_add_early(u64 start, u64 end, const char *type) argument 346 firmware_map_remove(u64 start, u64 end, const char *type) argument [all...] |
/linux-master/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs-pri.h | 228 * @type: @RTRS_MSG_INFO_REQ 232 __le16 type; member in struct:rtrs_msg_info_req 239 * @type: @RTRS_MSG_INFO_RSP 244 __le16 type; member in struct:rtrs_msg_info_rsp 252 * @type: @RTRS_MSG_RKEY_RSP 257 __le16 type; member in struct:rtrs_msg_rkey_rsp 264 * @type: always @RTRS_MSG_READ 270 __le16 type; member in struct:rtrs_msg_rdma_read 279 * @type: always @RTRS_MSG_WRITE 283 __le16 type; member in struct:rtrs_msg_rdma_write 292 __le16 type; member in struct:rtrs_msg_rdma_hdr 335 rtrs_to_imm(u32 type, u32 payload) argument 343 rtrs_from_imm(u32 imm, u32 *type, u32 *payload) argument 356 enum rtrs_imm_type type; local [all...] |
/linux-master/drivers/power/supply/ |
H A D | power_supply_hwmon.c | 85 power_supply_hwmon_to_property(enum hwmon_sensor_types type, argument 88 switch (type) { 100 static bool power_supply_hwmon_is_a_label(enum hwmon_sensor_types type, argument 103 return type == hwmon_temp && attr == hwmon_temp_label; 123 enum hwmon_sensor_types type, int channel) 125 const struct hwmon_type_attr_list *attr_list = &ps_type_attrs[type]; 129 int prop = power_supply_hwmon_to_property(type, 139 static bool power_supply_hwmon_is_writable(enum hwmon_sensor_types type, argument 142 switch (type) { 159 enum hwmon_sensor_types type, 121 power_supply_hwmon_has_input( const struct power_supply_hwmon *psyhw, enum hwmon_sensor_types type, int channel) argument 158 power_supply_hwmon_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, int channel) argument 183 power_supply_hwmon_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, const char **str) argument 206 power_supply_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) argument 250 power_supply_hwmon_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_ipp.h | 190 #define IPP_REG_FIELD_LIST(type) \ 191 type CURSOR_UPDATE_LOCK; \ 192 type CURSOR_EN; \ 193 type CURSOR_X_POSITION; \ 194 type CURSOR_Y_POSITION; \ 195 type CURSOR_HOT_SPOT_X; \ 196 type CURSOR_HOT_SPOT_Y; \ 197 type CURSOR_MODE; \ 198 type CURSOR_2X_MAGNIFY; \ 199 type CUR_INV_TRANS_CLAM [all...] |
/linux-master/include/linux/ |
H A D | percpu-defs.h | 86 #define DECLARE_PER_CPU_SECTION(type, name, sec) \ 88 extern __PCPU_ATTRS(sec) __typeof__(type) name 90 #define DEFINE_PER_CPU_SECTION(type, name, sec) \ 94 extern __PCPU_ATTRS(sec) __typeof__(type) name; \ 95 __PCPU_ATTRS(sec) __weak __typeof__(type) name 100 #define DECLARE_PER_CPU_SECTION(type, name, sec) \ 101 extern __PCPU_ATTRS(sec) __typeof__(type) name 103 #define DEFINE_PER_CPU_SECTION(type, name, sec) \ 104 __PCPU_ATTRS(sec) __typeof__(type) name 111 #define DECLARE_PER_CPU(type, nam [all...] |
/linux-master/drivers/acpi/acpica/ |
H A D | nssearch.c | 23 acpi_object_type type, 32 * type - Object type to match 61 acpi_object_type type, 78 acpi_ut_get_type_name(type))); 110 acpi_ut_get_type_name(node->type), 130 acpi_ut_get_type_name(type), 143 * type - Object type to match 165 acpi_object_type type, 59 acpi_ns_search_one_scope(u32 target_name, struct acpi_namespace_node *parent_node, acpi_object_type type, struct acpi_namespace_node **return_node) argument 163 acpi_ns_search_parent_tree(u32 target_name, struct acpi_namespace_node *node, acpi_object_type type, struct acpi_namespace_node **return_node) argument 251 acpi_ns_search_and_enter(u32 target_name, struct acpi_walk_state *walk_state, struct acpi_namespace_node *node, acpi_interpreter_mode interpreter_mode, acpi_object_type type, u32 flags, struct acpi_namespace_node **return_node) argument [all...] |