/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | rxon.c | 518 int slot0 = 300, slot1 = 0; in iwlagn_set_pan_params() local 567 slot1 = bcnint - slot0; in iwlagn_set_pan_params() 573 slot1 = IWL_MIN_SLOT_TIME; in iwlagn_set_pan_params() 576 slot1 = dtim * bcnint * 3 - IWL_MIN_SLOT_TIME; in iwlagn_set_pan_params() 581 slot1 = max_t(int, 1, ctx_pan->vif->bss_conf.dtim_period) * in iwlagn_set_pan_params() 583 slot1 = max_t(int, DEFAULT_BEACON_INTERVAL, slot1); in iwlagn_set_pan_params() 586 slot0 = slot1 * 3 - IWL_MIN_SLOT_TIME; in iwlagn_set_pan_params() 587 slot1 = IWL_MIN_SLOT_TIME; in iwlagn_set_pan_params() 592 cmd.slots[1].width = cpu_to_le16(slot1); in iwlagn_set_pan_params() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | rxon.c | 513 int slot0 = 300, slot1 = 0; in iwlagn_set_pan_params() local 562 slot1 = bcnint - slot0; in iwlagn_set_pan_params() 568 slot1 = IWL_MIN_SLOT_TIME; in iwlagn_set_pan_params() 571 slot1 = dtim * bcnint * 3 - IWL_MIN_SLOT_TIME; in iwlagn_set_pan_params() 576 slot1 = max_t(int, 1, ctx_pan->vif->bss_conf.dtim_period) * in iwlagn_set_pan_params() 578 slot1 = max_t(int, DEFAULT_BEACON_INTERVAL, slot1); in iwlagn_set_pan_params() 581 slot0 = slot1 * 3 - IWL_MIN_SLOT_TIME; in iwlagn_set_pan_params() 582 slot1 = IWL_MIN_SLOT_TIME; in iwlagn_set_pan_params() 587 cmd.slots[1].width = cpu_to_le16(slot1); in iwlagn_set_pan_params() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/ |
H A D | test_multitouch.py | 630 slot1 = self.get_slot(uhdev, t1, 1) 641 assert evdev.slots[slot1][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == -1 657 assert evdev.slots[slot1][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == 1 658 assert evdev.slots[slot1][libevdev.EV_ABS.ABS_MT_POSITION_X] == 150 659 assert evdev.slots[slot1][libevdev.EV_ABS.ABS_MT_POSITION_Y] == 200 668 assert evdev.slots[slot1][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == 1 684 assert evdev.slots[slot1][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == -1 706 slot1 = self.get_slot(uhdev, t1, 1) 712 assert evdev.slots[slot1][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == 1 713 assert evdev.slots[slot1][libevde [all...] |
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | shpchp.h | 190 volatile u32 slot1; member 207 SLOT1 = offsetof(struct ctrl_reg, slot1),
|
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A D | shpchp.h | 190 volatile u32 slot1; member 207 SLOT1 = offsetof(struct ctrl_reg, slot1),
|
/kernel/linux/linux-5.10/sound/soc/fsl/ |
H A D | fsl_easrc.c | 867 struct fsl_easrc_slot *slot0, *slot1; in fsl_easrc_config_slot() local 876 slot1 = &easrc_priv->slot[i][1]; in fsl_easrc_config_slot() 878 if (slot0->busy && slot1->busy) { in fsl_easrc_config_slot() 881 (slot1->busy && slot1->ctx_index == ctx->index)) { in fsl_easrc_config_slot() 885 slotb = slot1; in fsl_easrc_config_slot() 887 } else if (!slot1->busy) { in fsl_easrc_config_slot() 888 slota = slot1; in fsl_easrc_config_slot()
|
/kernel/linux/linux-6.6/sound/soc/fsl/ |
H A D | fsl_easrc.c | 867 struct fsl_easrc_slot *slot0, *slot1; in fsl_easrc_config_slot() local 876 slot1 = &easrc_priv->slot[i][1]; in fsl_easrc_config_slot() 878 if (slot0->busy && slot1->busy) { in fsl_easrc_config_slot() 881 (slot1->busy && slot1->ctx_index == ctx->index)) { in fsl_easrc_config_slot() 885 slotb = slot1; in fsl_easrc_config_slot() 887 } else if (!slot1->busy) { in fsl_easrc_config_slot() 888 slota = slot1; in fsl_easrc_config_slot()
|
/kernel/linux/linux-5.10/drivers/iio/health/ |
H A D | max30102.c | 189 #define MAX30102_MODE_CONTROL_LED_SLOTS(slot2, slot1) \ 190 ((slot2 << MAX30102_REG_MODE_CONTROL_SLOT_SHIFT) | slot1)
|
/kernel/linux/linux-6.6/drivers/iio/health/ |
H A D | max30102.c | 189 #define MAX30102_MODE_CONTROL_LED_SLOTS(slot2, slot1) \ 190 ((slot2 << MAX30102_REG_MODE_CONTROL_SLOT_SHIFT) | slot1)
|
/kernel/linux/linux-5.10/net/tipc/ |
H A D | node.c | 843 int *slot1 = &n->active_links[1]; in __tipc_node_link_up() local 874 *slot1 = bearer_id; in __tipc_node_link_up() 886 *slot1 = bearer_id; in __tipc_node_link_up() 891 *slot1 = bearer_id; in __tipc_node_link_up() 969 int *slot1 = &n->active_links[1]; in __tipc_node_link_down() local 988 *slot1 = INVALID_BEARER_ID; in __tipc_node_link_down() 1001 *slot1 = i; in __tipc_node_link_down() 1004 *slot1 = i; in __tipc_node_link_down()
|
/kernel/linux/linux-6.6/net/tipc/ |
H A D | node.c | 862 int *slot1 = &n->active_links[1]; in __tipc_node_link_up() local 893 *slot1 = bearer_id; in __tipc_node_link_up() 905 *slot1 = bearer_id; in __tipc_node_link_up() 910 *slot1 = bearer_id; in __tipc_node_link_up() 996 int *slot1 = &n->active_links[1]; in __tipc_node_link_down() local 1015 *slot1 = INVALID_BEARER_ID; in __tipc_node_link_down() 1028 *slot1 = i; in __tipc_node_link_down() 1031 *slot1 = i; in __tipc_node_link_down()
|
/kernel/linux/linux-5.10/drivers/net/can/ |
H A D | grcan.c | 42 #define GRCAN_RESERVE_SIZE(slot1, slot2) (((slot2) - (slot1)) / 4 - 1)
|
/kernel/linux/linux-6.6/drivers/net/can/ |
H A D | grcan.c | 44 #define GRCAN_RESERVE_SIZE(slot1, slot2) (((slot2) - (slot1)) / 4 - 1)
|