Home
last modified time | relevance | path

Searched refs:type_mask (Results 1 – 16 of 16) sorted by relevance

/drivers/pci/
Dbus.c156 resource_size_t min, unsigned long type_mask, in pci_bus_alloc_from_region() argument
168 type_mask |= IORESOURCE_TYPE_BITS; in pci_bus_alloc_from_region()
177 if ((res->flags ^ r->flags) & type_mask) in pci_bus_alloc_from_region()
226 resource_size_t min, unsigned long type_mask, in pci_bus_alloc_resource() argument
238 type_mask, alignf, alignf_data, in pci_bus_alloc_resource()
244 type_mask, alignf, alignf_data, in pci_bus_alloc_resource()
250 type_mask, alignf, alignf_data, in pci_bus_alloc_resource()
Dsetup-bus.c772 unsigned long type_mask, in find_bus_resource_of_type() argument
781 if (r && (r->flags & type_mask) == type && !r->parent) in find_bus_resource_of_type()
783 if (r && (r->flags & type_mask) == type && !r_assigned) in find_bus_resource_of_type()
/drivers/hwmon/
Daspeed-pwm-tacho.c250 u32 type_mask; member
263 .type_mask = ASPEED_PTCR_CTRL_SET_PWMA_TYPE_MASK,
274 .type_mask = ASPEED_PTCR_CTRL_SET_PWMB_TYPE_MASK,
285 .type_mask = ASPEED_PTCR_CTRL_SET_PWMC_TYPE_MASK,
296 .type_mask = ASPEED_PTCR_CTRL_SET_PWMD_TYPE_MASK,
307 .type_mask = ASPEED_PTCR_CTRL_SET_PWME_TYPE_MASK,
318 .type_mask = ASPEED_PTCR_CTRL_SET_PWMF_TYPE_MASK,
329 .type_mask = ASPEED_PTCR_CTRL_SET_PWMG_TYPE_MASK,
340 .type_mask = ASPEED_PTCR_CTRL_SET_PWMH_TYPE_MASK,
417 pwm_port_params[pwm_port].type_mask, reg_value); in aspeed_set_pwm_port_type()
/drivers/media/tuners/
Dtuner-xc2028.c436 unsigned int type_mask = 0; in seek_firmware() local
454 type_mask = BASE_TYPES; in seek_firmware()
457 type_mask = SCODE_TYPES & ~HAS_IF; in seek_firmware()
459 type_mask = DTV_TYPES; in seek_firmware()
461 type_mask = STD_SPECIFIC_TYPES; in seek_firmware()
463 type &= type_mask; in seek_firmware()
466 type_mask = ~0; in seek_firmware()
470 if ((type == (priv->firm[i].type & type_mask)) && in seek_firmware()
480 if (type != (priv->firm[i].type & type_mask)) in seek_firmware()
/drivers/net/wireguard/
Dpeerlookup.c203 const enum index_hashtable_type type_mask, in wg_index_hashtable_lookup() argument
212 if (likely(iter_entry->type & type_mask)) in wg_index_hashtable_lookup()
Dpeerlookup.h61 const enum index_hashtable_type type_mask,
/drivers/gpu/drm/gma500/
Dframebuffer.h14 extern int gma_connector_clones(struct drm_device *dev, int type_mask);
Dpsb_intel_display.c550 int gma_connector_clones(struct drm_device *dev, int type_mask) in gma_connector_clones() argument
559 if (type_mask & (1 << gma_encoder->type)) in gma_connector_clones()
/drivers/media/cec/core/
Dcec-adap.c1663 u16 type_mask = 0; in __cec_s_log_addrs() local
1747 if (type_mask & (1 << log_addrs->log_addr_type[i])) { in __cec_s_log_addrs()
1751 type_mask |= 1 << log_addrs->log_addr_type[i]; in __cec_s_log_addrs()
1752 if ((type_mask & (1 << CEC_LOG_ADDR_TYPE_RECORD)) && in __cec_s_log_addrs()
1753 (type_mask & (1 << CEC_LOG_ADDR_TYPE_PLAYBACK))) { in __cec_s_log_addrs()
1788 if (!(type_mask & ((1 << CEC_LOG_ADDR_TYPE_AUDIOSYSTEM) | in __cec_s_log_addrs()
1793 if (!(type_mask & ((1 << CEC_LOG_ADDR_TYPE_PLAYBACK) | in __cec_s_log_addrs()
/drivers/acpi/arm64/
Diort.c448 u8 type_mask) in iort_node_map_id() argument
458 if (IORT_TYPE_MASK(node->type) & type_mask) { in iort_node_map_id()
513 struct acpi_iort_node *node, u32 *id_out, u8 type_mask, in iort_node_map_platform_id() argument
530 if (!(IORT_TYPE_MASK(parent->type) & type_mask)) in iort_node_map_platform_id()
531 parent = iort_node_map_id(parent, id, id_out, type_mask); in iort_node_map_platform_id()
/drivers/scsi/lpfc/
Dlpfc_bsg.h49 uint32_t type_mask; member
Dlpfc_bsg.c59 uint32_t type_mask; member
863 evt->type_mask = ev_mask; in lpfc_bsg_event_new()
967 if (!(evt->type_mask & FC_REG_CT_EVENT) || in lpfc_bsg_ct_unsol_event()
1229 ev_mask = ((uint32_t)(unsigned long)event_req->type_mask & in lpfc_bsg_hba_set_event()
/drivers/net/ethernet/mscc/
Docelot_vcap.c349 u32 val, msk, type, type_mask = 0xf, i, count; in is2_entry_set() local
601 type_mask = IS2_TYPE_MASK_IP_ANY; in is2_entry_set()
622 type_mask = 0; in is2_entry_set()
634 vcap_key_set(vcap, &data, VCAP_IS2_TYPE, type, type_mask); in is2_entry_set()
/drivers/pci/hotplug/
Dacpiphp_glue.c731 unsigned long type_mask = IORESOURCE_IO | IORESOURCE_MEM; in acpiphp_sanitize_bus() local
736 if ((res->flags & type_mask) && !res->start && in acpiphp_sanitize_bus()
/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c735 u32 type_mask; in get_queue_type() local
737 type_mask = MLX5_CAP_DEV_VDPA_EMULATION(ndev->mvdev.mdev, virtio_queue_type); in get_queue_type()
740 if (type_mask & MLX5_VIRTIO_EMULATION_CAP_VIRTIO_QUEUE_TYPE_PACKED) in get_queue_type()
743 WARN_ON(!(type_mask & MLX5_VIRTIO_EMULATION_CAP_VIRTIO_QUEUE_TYPE_SPLIT)); in get_queue_type()
/drivers/net/ethernet/sfc/
Def10.c3438 u16 type, type_mask; member
3482 if ((type & ~info->type_mask) == info->type) in efx_ef10_mtd_probe_partition()