Home
last modified time | relevance | path

Searched refs:secondary (Results 1 - 25 of 124) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/ide/
H A Dide-generic.c43 static void ide_generic_check_pci_legacy_iobases(int *primary, int *secondary) in ide_generic_check_pci_legacy_iobases() argument
53 *secondary = 1; in ide_generic_check_pci_legacy_iobases()
59 *primary = *secondary = 1; in ide_generic_check_pci_legacy_iobases()
68 *secondary = 1; in ide_generic_check_pci_legacy_iobases()
81 int i, rc = 0, primary = 0, secondary = 0; in ide_generic_init() local
83 ide_generic_check_pci_legacy_iobases(&primary, &secondary); in ide_generic_init()
92 if (secondary == 0) in ide_generic_init()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dcoex.c271 struct ieee80211_chanctx_conf *secondary; member
312 swap(data->primary, data->secondary); in iwl_mvm_bt_coex_tcm_based_ci()
388 data->secondary = data->primary; in iwl_mvm_bt_notif_iterator()
404 data->secondary = data->primary; in iwl_mvm_bt_notif_iterator()
407 /* there is low latency vif - we will be secondary */ in iwl_mvm_bt_notif_iterator()
408 data->secondary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
413 else if (data->secondary == chanctx_conf) in iwl_mvm_bt_notif_iterator()
424 else if (!data->secondary) in iwl_mvm_bt_notif_iterator()
425 /* if secondary is not NULL, it might be a GO */ in iwl_mvm_bt_notif_iterator()
426 data->secondary in iwl_mvm_bt_notif_iterator()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
H A Dpanel-sharp-lq101r1sx01.c344 struct mipi_dsi_device *secondary = NULL; in sharp_panel_probe() local
356 secondary = of_find_mipi_dsi_device_by_node(np); in sharp_panel_probe()
359 if (!secondary) in sharp_panel_probe()
364 if (secondary) { in sharp_panel_probe()
367 put_device(&secondary->dev); in sharp_panel_probe()
373 sharp->link2 = secondary; in sharp_panel_probe()
378 put_device(&secondary->dev); in sharp_panel_probe()
385 if (secondary) in sharp_panel_probe()
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/
H A Dpanel-sharp-lq101r1sx01.c344 struct mipi_dsi_device *secondary = NULL; in sharp_panel_probe() local
356 secondary = of_find_mipi_dsi_device_by_node(np); in sharp_panel_probe()
359 if (!secondary) in sharp_panel_probe()
364 if (secondary) { in sharp_panel_probe()
367 put_device(&secondary->dev); in sharp_panel_probe()
373 sharp->link2 = secondary; in sharp_panel_probe()
378 put_device(&secondary->dev); in sharp_panel_probe()
385 if (secondary) in sharp_panel_probe()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A Dkexec.c20 void pseries_kexec_cpu_down(int crash_shutdown, int secondary) in pseries_kexec_cpu_down() argument
59 if (!secondary) in pseries_kexec_cpu_down()
62 xics_kexec_teardown_cpu(secondary); in pseries_kexec_cpu_down()
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Dkexec.c20 void pseries_kexec_cpu_down(int crash_shutdown, int secondary) in pseries_kexec_cpu_down() argument
59 if (!secondary) in pseries_kexec_cpu_down()
62 xics_kexec_teardown_cpu(secondary); in pseries_kexec_cpu_down()
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dcoex.c216 struct ieee80211_chanctx_conf *secondary; member
257 swap(data->primary, data->secondary); in iwl_mvm_bt_coex_tcm_based_ci()
337 data->secondary = data->primary; in iwl_mvm_bt_notif_per_link()
353 data->secondary = data->primary; in iwl_mvm_bt_notif_per_link()
356 /* there is low latency vif - we will be secondary */ in iwl_mvm_bt_notif_per_link()
357 data->secondary = chanctx_conf; in iwl_mvm_bt_notif_per_link()
363 else if (data->secondary == chanctx_conf) in iwl_mvm_bt_notif_per_link()
374 else if (!data->secondary) in iwl_mvm_bt_notif_per_link()
375 /* if secondary is not NULL, it might be a GO */ in iwl_mvm_bt_notif_per_link()
376 data->secondary in iwl_mvm_bt_notif_per_link()
[all...]
/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_acpi.c154 unsigned short primary, secondary; in inv_mpu_acpi_create_mux_client() local
157 &secondary); in inv_mpu_acpi_create_mux_client()
158 if (!ret && secondary) { in inv_mpu_acpi_create_mux_client()
161 info.addr = secondary; in inv_mpu_acpi_create_mux_client()
170 return 0; /* no secondary addr, which is OK */ in inv_mpu_acpi_create_mux_client()
/kernel/linux/linux-6.6/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_acpi.c153 unsigned short primary, secondary; in inv_mpu_acpi_create_mux_client() local
156 &secondary); in inv_mpu_acpi_create_mux_client()
157 if (!ret && secondary) { in inv_mpu_acpi_create_mux_client()
160 info.addr = secondary; in inv_mpu_acpi_create_mux_client()
169 return 0; /* no secondary addr, which is OK */ in inv_mpu_acpi_create_mux_client()
/kernel/linux/linux-6.6/kernel/irq/
H A Dmanage.c197 if (action->secondary && action->secondary->thread) in irq_set_thread_affinity()
198 set_bit(IRQTF_AFFINITY, &action->secondary->thread_flags); in irq_set_thread_affinity()
1256 struct irqaction *secondary = action->secondary; in irq_wake_secondary() local
1258 if (WARN_ON_ONCE(!secondary)) in irq_wake_secondary()
1262 __irq_wake_thread(desc, secondary); in irq_wake_secondary()
1385 * secondary action. in irq_setup_forced_threading()
1388 /* Allocate the secondary action */ in irq_setup_forced_threading()
1389 new->secondary in irq_setup_forced_threading()
1456 setup_irq_thread(struct irqaction *new, unsigned int irq, bool secondary) setup_irq_thread() argument
[all...]
/kernel/linux/linux-5.10/drivers/base/
H A Dproperty.c53 !IS_ERR_OR_NULL(fwnode->secondary)) in fwnode_property_present()
54 ret = fwnode_call_bool_op(fwnode->secondary, property_present, in fwnode_property_present()
239 !IS_ERR_OR_NULL(fwnode->secondary)) in fwnode_property_read_int_array()
241 fwnode->secondary, property_read_int_array, propname, in fwnode_property_read_int_array()
378 !IS_ERR_OR_NULL(fwnode->secondary)) in fwnode_property_read_string_array()
379 ret = fwnode_call_int_op(fwnode->secondary, in fwnode_property_read_string_array()
526 if (is_software_node(fwnode->secondary)) { in device_remove_properties()
527 fwnode_remove_software_node(fwnode->secondary); in device_remove_properties()
723 /* When no more children in primary, continue with secondary */ in device_get_next_child_node()
724 if (fwnode && !IS_ERR_OR_NULL(fwnode->secondary)) in device_get_next_child_node()
[all...]
/kernel/linux/linux-5.10/kernel/irq/
H A Dmanage.c1156 struct irqaction *secondary = action->secondary; in irq_wake_secondary() local
1158 if (WARN_ON_ONCE(!secondary)) in irq_wake_secondary()
1162 __irq_wake_thread(desc, secondary); in irq_wake_secondary()
1283 * secondary action. in irq_setup_forced_threading()
1286 /* Allocate the secondary action */ in irq_setup_forced_threading()
1287 new->secondary = kzalloc(sizeof(struct irqaction), GFP_KERNEL); in irq_setup_forced_threading()
1288 if (!new->secondary) in irq_setup_forced_threading()
1290 new->secondary->handler = irq_forced_secondary_handler; in irq_setup_forced_threading()
1291 new->secondary in irq_setup_forced_threading()
1354 setup_irq_thread(struct irqaction *new, unsigned int irq, bool secondary) setup_irq_thread() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp_cmds.c17 __le16 secondary; member
54 nspi->secondary = le16_to_cpu(ni->secondary); in __nfp_nsp_identify()
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp_cmds.c17 __le16 secondary; member
54 nspi->secondary = le16_to_cpu(ni->secondary); in __nfp_nsp_identify()
/kernel/linux/linux-5.10/arch/x86/pci/
H A Dacpi.c197 info->start_bus = (u8)root->secondary.start; in setup_mcfg_map()
198 info->end_bus = (u8)root->secondary.end; in setup_mcfg_map()
247 int busnum = root->secondary.start; in pci_acpi_root_get_node()
297 int busnum = ci->root->secondary.start; in pci_acpi_root_prepare_resources()
329 int busnum = root->secondary.start; in pci_acpi_scan_root()
/kernel/linux/linux-6.6/arch/x86/pci/
H A Dacpi.c281 info->start_bus = (u8)root->secondary.start; in setup_mcfg_map()
282 info->end_bus = (u8)root->secondary.end; in setup_mcfg_map()
331 int busnum = root->secondary.start; in pci_acpi_root_get_node()
381 int busnum = ci->root->secondary.start; in pci_acpi_root_prepare_resources()
414 int busnum = root->secondary.start; in pci_acpi_scan_root()
/kernel/linux/linux-5.10/drivers/clk/
H A Dclk-stm32f4.c22 * The index of these clocks is the secondary index of DT bindings
844 * Converts the primary and secondary indices (as they appear in DT) to an
847 static int stm32f4_rcc_lookup_clk_idx(u8 primary, u8 secondary) in stm32f4_rcc_lookup_clk_idx() argument
852 if (WARN_ON(secondary >= stm32fx_end_primary_clk)) in stm32f4_rcc_lookup_clk_idx()
854 return secondary; in stm32f4_rcc_lookup_clk_idx()
860 if (WARN_ON(secondary >= BITS_PER_BYTE * sizeof(table) || in stm32f4_rcc_lookup_clk_idx()
861 0 == (table[BIT_ULL_WORD(secondary)] & in stm32f4_rcc_lookup_clk_idx()
862 BIT_ULL_MASK(secondary)))) in stm32f4_rcc_lookup_clk_idx()
866 table[BIT_ULL_WORD(secondary)] &= in stm32f4_rcc_lookup_clk_idx()
867 GENMASK_ULL(secondary in stm32f4_rcc_lookup_clk_idx()
1809 unsigned int secondary; stm32f4_rcc_init() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/
H A Dclk-stm32f4.c22 * The index of these clocks is the secondary index of DT bindings
844 * Converts the primary and secondary indices (as they appear in DT) to an
847 static int stm32f4_rcc_lookup_clk_idx(u8 primary, u8 secondary) in stm32f4_rcc_lookup_clk_idx() argument
852 if (WARN_ON(secondary >= stm32fx_end_primary_clk)) in stm32f4_rcc_lookup_clk_idx()
854 return secondary; in stm32f4_rcc_lookup_clk_idx()
860 if (WARN_ON(secondary >= BITS_PER_BYTE * sizeof(table) || in stm32f4_rcc_lookup_clk_idx()
861 0 == (table[BIT_ULL_WORD(secondary)] & in stm32f4_rcc_lookup_clk_idx()
862 BIT_ULL_MASK(secondary)))) in stm32f4_rcc_lookup_clk_idx()
866 table[BIT_ULL_WORD(secondary)] &= in stm32f4_rcc_lookup_clk_idx()
867 GENMASK_ULL(secondary in stm32f4_rcc_lookup_clk_idx()
1810 unsigned int secondary; stm32f4_rcc_init() local
[all...]
/kernel/linux/linux-6.6/drivers/base/
H A Dproperty.c68 return fwnode_call_bool_op(fwnode->secondary, property_present, propname); in fwnode_property_present()
271 return fwnode_call_int_op(fwnode->secondary, property_read_int_array, propname, in fwnode_property_read_int_array()
426 return fwnode_call_int_op(fwnode->secondary, property_read_string_array, propname, in fwnode_property_read_string_array()
538 if (IS_ERR_OR_NULL(fwnode->secondary)) in fwnode_property_get_reference_args()
541 return fwnode_call_int_op(fwnode->secondary, get_reference_args, prop, nargs_prop, in fwnode_property_get_reference_args()
808 /* When no more children in primary, continue with secondary */ in device_get_next_child_node()
809 return fwnode_get_next_child_node(fwnode->secondary, child); in device_get_next_child_node()
1054 * an endpoint from fwnode->secondary, then we need to use the secondary in fwnode_graph_get_next_endpoint()
1070 ep = fwnode_graph_get_next_endpoint(parent->secondary, NUL in fwnode_graph_get_next_endpoint()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/85xx/
H A Dsmp.c206 * A secondary core could be in a spinloop in the bootpage in smp_85xx_start_cpu()
259 * to above 4G, otherwise the secondary core can not get in smp_85xx_start_cpu()
369 void mpc85xx_smp_kexec_cpu_down(int crash_shutdown, int secondary) in mpc85xx_smp_kexec_cpu_down() argument
373 if (secondary) { in mpc85xx_smp_kexec_cpu_down()
387 void mpc85xx_smp_kexec_cpu_down(int crash_shutdown, int secondary) in mpc85xx_smp_kexec_cpu_down() argument
399 mpic_teardown_this_cpu(secondary); in mpc85xx_smp_kexec_cpu_down()
404 * even if it's a secondary thread. If that's the case, in mpc85xx_smp_kexec_cpu_down()
457 printk(KERN_ERR "Unable to bring down secondary cpu(s)"); in mpc85xx_smp_machine_kexec()
/kernel/linux/linux-6.6/arch/powerpc/platforms/85xx/
H A Dsmp.c206 * A secondary core could be in a spinloop in the bootpage in smp_85xx_start_cpu()
259 * to above 4G, otherwise the secondary core can not get in smp_85xx_start_cpu()
369 static void mpc85xx_smp_kexec_cpu_down(int crash_shutdown, int secondary) in mpc85xx_smp_kexec_cpu_down() argument
373 if (secondary) { in mpc85xx_smp_kexec_cpu_down()
387 static void mpc85xx_smp_kexec_cpu_down(int crash_shutdown, int secondary) in mpc85xx_smp_kexec_cpu_down() argument
399 mpic_teardown_this_cpu(secondary); in mpc85xx_smp_kexec_cpu_down()
404 * even if it's a secondary thread. If that's the case, in mpc85xx_smp_kexec_cpu_down()
457 printk(KERN_ERR "Unable to bring down secondary cpu(s)"); in mpc85xx_smp_machine_kexec()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/
H A Dfw.c201 * the card and make sure it responds. For the secondary firmware take
207 int secondary) in symbol_dl_image()
223 if (secondary) { in symbol_dl_image()
246 if (secondary) { in symbol_dl_image()
266 /* hermes_reset() should return 0 with the secondary firmware */ in symbol_dl_image()
267 if (secondary && ret != 0) in symbol_dl_image()
321 /* Load secondary firmware */ in symbol_dl_firmware()
205 symbol_dl_image(struct orinoco_private *priv, const struct fw_info *fw, const unsigned char *image, const void *end, int secondary) symbol_dl_image() argument
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/orinoco/
H A Dfw.c201 * the card and make sure it responds. For the secondary firmware take
207 int secondary) in symbol_dl_image()
223 if (secondary) { in symbol_dl_image()
246 if (secondary) { in symbol_dl_image()
266 /* hermes_reset() should return 0 with the secondary firmware */ in symbol_dl_image()
267 if (secondary && ret != 0) in symbol_dl_image()
321 /* Load secondary firmware */ in symbol_dl_firmware()
205 symbol_dl_image(struct orinoco_private *priv, const struct fw_info *fw, const unsigned char *image, const void *end, int secondary) symbol_dl_image() argument
/kernel/linux/linux-5.10/drivers/acpi/
H A Dpci_root.c551 root->secondary.flags = IORESOURCE_BUS; in acpi_pci_root_add()
552 status = try_get_root_bridge_busnr(handle, &root->secondary); in acpi_pci_root_add()
560 root->secondary.end = 0xFF; in acpi_pci_root_add()
562 FW_BUG "no secondary bus range in _CRS\n"); in acpi_pci_root_add()
566 root->secondary.start = bus; in acpi_pci_root_add()
568 root->secondary.start = 0; in acpi_pci_root_add()
589 root->segment, &root->secondary); in acpi_pci_root_add()
611 root->segment, (unsigned int)root->secondary.start); in acpi_pci_root_add()
882 int ret, busnum = root->secondary.start; in acpi_pci_root_create()
906 pci_add_resource(&info->resources, &root->secondary); in acpi_pci_root_create()
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Dpci_root.c670 root->secondary.flags = IORESOURCE_BUS; in acpi_pci_root_add()
671 status = try_get_root_bridge_busnr(handle, &root->secondary); in acpi_pci_root_add()
679 root->secondary.end = 0xFF; in acpi_pci_root_add()
681 FW_BUG "no secondary bus range in _CRS\n"); in acpi_pci_root_add()
685 root->secondary.start = bus; in acpi_pci_root_add()
687 root->secondary.start = 0; in acpi_pci_root_add()
708 root->segment, &root->secondary); in acpi_pci_root_add()
737 root->segment, (unsigned int)root->secondary.start); in acpi_pci_root_add()
1006 int ret, busnum = root->secondary.start; in acpi_pci_root_create()
1030 pci_add_resource(&info->resources, &root->secondary); in acpi_pci_root_create()
[all...]

Completed in 23 milliseconds

12345