Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/pci/
Dbus.c179 resource_size_t min, unsigned long type_mask, in pci_bus_alloc_from_region() argument
188 type_mask |= IORESOURCE_TYPE_BITS; in pci_bus_alloc_from_region()
197 if ((res->flags ^ r->flags) & type_mask) in pci_bus_alloc_from_region()
250 resource_size_t min, unsigned long type_mask, in pci_bus_alloc_resource() argument
259 type_mask, alignf, alignf_data, in pci_bus_alloc_resource()
265 type_mask, alignf, alignf_data, in pci_bus_alloc_resource()
271 type_mask, alignf, alignf_data, in pci_bus_alloc_resource()
Dsetup-bus.c781 unsigned long type_mask, in find_bus_resource_of_type() argument
789 if (r && (r->flags & type_mask) == type && !r->parent) in find_bus_resource_of_type()
791 if (r && (r->flags & type_mask) == type && !r_assigned) in find_bus_resource_of_type()
/linux-6.12.1/drivers/power/reset/
Dat91-sama5d2_shdwc.c83 u32 type_mask; member
273 .type_mask = AT91_DDRSDRC_MD
290 .type_mask = AT91_DDRSDRC_MD
386 if (at91_shdwc->rcfg->ddrc.type_mask) { in at91_shdwc_probe()
404 at91_shdwc->rcfg->ddrc.type_mask; in at91_shdwc_probe()
/linux-6.12.1/drivers/hwmon/
Daspeed-pwm-tacho.c251 u32 type_mask; member
264 .type_mask = ASPEED_PTCR_CTRL_SET_PWMA_TYPE_MASK,
275 .type_mask = ASPEED_PTCR_CTRL_SET_PWMB_TYPE_MASK,
286 .type_mask = ASPEED_PTCR_CTRL_SET_PWMC_TYPE_MASK,
297 .type_mask = ASPEED_PTCR_CTRL_SET_PWMD_TYPE_MASK,
308 .type_mask = ASPEED_PTCR_CTRL_SET_PWME_TYPE_MASK,
319 .type_mask = ASPEED_PTCR_CTRL_SET_PWMF_TYPE_MASK,
330 .type_mask = ASPEED_PTCR_CTRL_SET_PWMG_TYPE_MASK,
341 .type_mask = ASPEED_PTCR_CTRL_SET_PWMH_TYPE_MASK,
418 pwm_port_params[pwm_port].type_mask, reg_value); in aspeed_set_pwm_port_type()
/linux-6.12.1/include/net/bluetooth/
Dhci_sock.h51 unsigned long type_mask; member
57 __u32 type_mask; member
/linux-6.12.1/fs/afs/
Dserver_list.c33 unsigned int type_mask = 1 << volume->type; in afs_alloc_server_list() local
44 if (!(vldb->fs_mask[i] & type_mask)) in afs_alloc_server_list()
75 if (!(vldb->fs_mask[i] & type_mask)) in afs_alloc_server_list()
Dvolume.c200 unsigned long type_mask = 1UL << params->type; in afs_create_volume() local
215 if (!(vldb->flags & type_mask)) in afs_create_volume()
/linux-6.12.1/drivers/gpu/drm/gma500/
Dframebuffer.h14 extern int gma_connector_clones(struct drm_device *dev, int type_mask);
Dpsb_intel_display.c541 int gma_connector_clones(struct drm_device *dev, int type_mask) in gma_connector_clones() argument
551 if (type_mask & (1 << gma_encoder->type)) in gma_connector_clones()
/linux-6.12.1/drivers/media/tuners/
Dxc2028.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()
/linux-6.12.1/drivers/gpio/
Dgpio-pcie-idio-24.c161 const unsigned int type_mask = COS_ENABLE_BOTH << index; in idio_24_handle_mask_sync() local
169 type = (mask_buf == mask_buf_def) ? ~type_mask : idio24gpio->irq_type; in idio_24_handle_mask_sync()
171 ret = regmap_update_bits(idio24gpio->map, IDIO_24_COS_ENABLE, type_mask, type); in idio_24_handle_mask_sync()
/linux-6.12.1/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,
/linux-6.12.1/drivers/net/ethernet/wangxun/ngbe/
Dngbe_main.c53 u16 type_mask = 0, val; in ngbe_init_type_code() local
56 type_mask = (u16)(wx->subsystem_device_id & NGBE_OEM_MASK); in ngbe_init_type_code()
67 type_mask == NGBE_SUBID_OCP_CARD) ? 1 : 0; in ngbe_init_type_code()
69 switch (type_mask) { in ngbe_init_type_code()
/linux-6.12.1/net/bluetooth/
Dhci_sock.c135 __u32 type_mask; member
175 if (!test_bit(flt_type, &flt->type_mask)) in is_filtered_packet()
1971 uf.type_mask = f->type_mask; in hci_sock_setsockopt_old()
1982 uf.type_mask &= hci_sec_filter.type_mask; in hci_sock_setsockopt_old()
1990 f->type_mask = uf.type_mask; in hci_sock_setsockopt_old()
2100 uf.type_mask = f->type_mask; in hci_sock_getsockopt_old()
/linux-6.12.1/sound/pci/mixart/
Dmixart_core.h108 u32 type_mask; member
117 u32 type_mask; member
/linux-6.12.1/drivers/media/cec/core/
Dcec-adap.c1786 u16 type_mask = 0; in __cec_s_log_addrs() local
1875 if (type_mask & (1 << log_addrs->log_addr_type[i])) { in __cec_s_log_addrs()
1879 type_mask |= 1 << log_addrs->log_addr_type[i]; in __cec_s_log_addrs()
1880 if ((type_mask & (1 << CEC_LOG_ADDR_TYPE_RECORD)) && in __cec_s_log_addrs()
1881 (type_mask & (1 << CEC_LOG_ADDR_TYPE_PLAYBACK))) { in __cec_s_log_addrs()
1916 if (!(type_mask & ((1 << CEC_LOG_ADDR_TYPE_AUDIOSYSTEM) | in __cec_s_log_addrs()
1921 if (!(type_mask & ((1 << CEC_LOG_ADDR_TYPE_PLAYBACK) | in __cec_s_log_addrs()
/linux-6.12.1/drivers/acpi/arm64/
Diort.c457 u8 type_mask) in iort_node_map_id() argument
467 if (IORT_TYPE_MASK(node->type) & type_mask) { in iort_node_map_id()
522 struct acpi_iort_node *node, u32 *id_out, u8 type_mask, in iort_node_map_platform_id() argument
539 if (!(IORT_TYPE_MASK(parent->type) & type_mask)) in iort_node_map_platform_id()
540 parent = iort_node_map_id(parent, id, id_out, type_mask); in iort_node_map_platform_id()
/linux-6.12.1/drivers/scsi/lpfc/
Dlpfc_bsg.h48 uint32_t type_mask; member
Dlpfc_bsg.c59 uint32_t type_mask; member
839 evt->type_mask = ev_mask; in lpfc_bsg_event_new()
922 if (!(evt->type_mask & FC_REG_CT_EVENT) || in lpfc_bsg_ct_unsol_event()
1189 ev_mask = ((uint32_t)(unsigned long)event_req->type_mask & in lpfc_bsg_hba_set_event()
/linux-6.12.1/drivers/pci/hotplug/
Dacpiphp_glue.c740 unsigned long type_mask = IORESOURCE_IO | IORESOURCE_MEM; in acpiphp_sanitize_bus() local
745 if ((res->flags & type_mask) && !res->start && in acpiphp_sanitize_bus()
/linux-6.12.1/drivers/net/ethernet/mscc/
Docelot_vcap.c350 u32 val, msk, type, type_mask = 0xf, i, count; in is2_entry_set() local
602 type_mask = IS2_TYPE_MASK_IP_ANY; in is2_entry_set()
623 type_mask = 0; in is2_entry_set()
635 vcap_key_set(vcap, &data, VCAP_IS2_TYPE, type, type_mask); in is2_entry_set()
/linux-6.12.1/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c823 u32 type_mask; in get_queue_type() local
825 type_mask = MLX5_CAP_DEV_VDPA_EMULATION(ndev->mvdev.mdev, virtio_queue_type); in get_queue_type()
828 if (type_mask & MLX5_VIRTIO_EMULATION_CAP_VIRTIO_QUEUE_TYPE_SPLIT) in get_queue_type()
831 WARN_ON(!(type_mask & MLX5_VIRTIO_EMULATION_CAP_VIRTIO_QUEUE_TYPE_PACKED)); in get_queue_type()
/linux-6.12.1/drivers/scsi/elx/libefc_sli/
Dsli4.c3339 reg_fcfi->rq_cfg[i].type_mask = rq_cfg[i].type_mask; in sli_cmd_reg_fcfi()
3368 reg_fcfi_mrq->rq_cfg[i].type_mask = rq_cfg[i].type_mask; in sli_cmd_reg_fcfi_mrq()
Dsli4.h2436 u8 type_mask; member
2492 u8 type_mask; member

12