/kernel/linux/linux-6.6/drivers/extcon/ |
H A D | extcon.c | 331 cable = &edev->cables[index]; in is_extcon_property_capability() 356 struct extcon_cable *cable = &edev->cables[index]; in init_property() 664 cable = &edev->cables[index]; in extcon_get_property() 731 cable = &edev->cables[index]; in extcon_set_property() 850 cable = &edev->cables[index]; in extcon_set_property_capability() 1084 * extcon_alloc_cables() - alloc the cables for extcon device 1085 * @edev: extcon device which has cables 1101 edev->cables = kcalloc(edev->max_supported, sizeof(*edev->cables), in extcon_alloc_cables() 1103 if (!edev->cables) in extcon_alloc_cables() [all...] |
H A D | extcon-fsa9480.c | 207 u64 cables = cable_types[dev]; in fsa9480_handle_change() local 209 while (cables) { in fsa9480_handle_change() 210 int cable = fls64(cables) - 1; in fsa9480_handle_change() 213 cables &= ~BIT_ULL(cable); in fsa9480_handle_change() 235 /* handle detached cables first */ in fsa9480_detect_dev()
|
H A D | extcon.h | 14 * @mutually_exclusive: Array of mutually exclusive set of cables that cannot 16 * ending with 0 or be NULL (no mutually exclusive cables). 32 * @max_supported: Internal value to store the number of cables. 35 * @cables: Sysfs subdirectories. Each represents one cable. 60 struct extcon_cable *cables; member
|
/kernel/linux/linux-5.10/drivers/extcon/ |
H A D | extcon.c | 329 cable = &edev->cables[index]; in is_extcon_property_capability() 354 struct extcon_cable *cable = &edev->cables[index]; in init_property() 673 cable = &edev->cables[index]; in extcon_get_property() 740 cable = &edev->cables[index]; in extcon_set_property() 856 cable = &edev->cables[index]; in extcon_set_property_capability() 1119 "exceed the maximum number of supported cables\n"); in extcon_dev_register() 1139 edev->cables = kcalloc(edev->max_supported, in extcon_dev_register() 1142 if (!edev->cables) { in extcon_dev_register() 1147 cable = &edev->cables[index]; in extcon_dev_register() 1152 cable = &edev->cables[inde in extcon_dev_register() [all...] |
H A D | extcon-fsa9480.c | 207 u64 cables = cable_types[dev]; in fsa9480_handle_change() local 209 while (cables) { in fsa9480_handle_change() 210 int cable = fls64(cables) - 1; in fsa9480_handle_change() 213 cables &= ~BIT_ULL(cable); in fsa9480_handle_change() 235 /* handle detached cables first */ in fsa9480_detect_dev()
|
H A D | extcon.h | 14 * @mutually_exclusive: Array of mutually exclusive set of cables that cannot 17 * cables). For example, if it is { 0x7, 0x30, 0}, then, 31 * @max_supported: Internal value to store the number of cables. 34 * @cables: Sysfs subdirectories. Each represents one cable. 58 struct extcon_cable *cables; member
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | charger-manager.c | 1027 * state of charger cables for enabling or disabling charger(regulator) and 1053 struct charger_cable *cable = &charger->cables[j]; in charger_manager_register_extcon() 1370 struct charger_cable *cables; in of_cm_parse_desc() local 1376 /* charger cables */ in of_cm_parse_desc() 1379 cables = devm_kcalloc(dev, in of_cm_parse_desc() 1381 sizeof(*cables), in of_cm_parse_desc() 1383 if (!cables) { in of_cm_parse_desc() 1388 chg_regs->cables = cables; in of_cm_parse_desc() 1392 "cm-cable-name", &cables in of_cm_parse_desc() [all...] |
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | charger-manager.c | 1024 * state of charger cables for enabling or disabling charger(regulator) and 1050 struct charger_cable *cable = &charger->cables[j]; in charger_manager_register_extcon() 1367 struct charger_cable *cables; in of_cm_parse_desc() local 1373 /* charger cables */ in of_cm_parse_desc() 1376 cables = devm_kcalloc(dev, in of_cm_parse_desc() 1378 sizeof(*cables), in of_cm_parse_desc() 1380 if (!cables) { in of_cm_parse_desc() 1385 chg_regs->cables = cables; in of_cm_parse_desc() 1389 "cm-cable-name", &cables in of_cm_parse_desc() [all...] |
/kernel/linux/linux-5.10/include/linux/power/ |
H A D | charger-manager.h | 88 * @cables: 89 * the array of charger cables to enable/disable charger 92 * in the array of charger cables is attached/detached. 93 * @num_cables: the number of charger cables. 112 struct charger_cable *cables; member
|
/kernel/linux/linux-6.6/include/linux/power/ |
H A D | charger-manager.h | 88 * @cables: 89 * the array of charger cables to enable/disable charger 92 * in the array of charger cables is attached/detached. 93 * @num_cables: the number of charger cables. 112 struct charger_cable *cables; member
|
/kernel/linux/linux-5.10/sound/drivers/ |
H A D | aloop.c | 133 struct loopback_cable *cables[MAX_PCM_SUBSTREAMS][2]; member 999 cable = loopback->cables[substream->number][dev]; in free_cable() 1013 loopback->cables[substream->number][dev] = NULL; in free_cable() 1202 cable = loopback->cables[substream->number][dev]; in loopback_open() 1215 loopback->cables[substream->number][dev] = cable; in loopback_open() 1418 cable = loopback->cables[kcontrol->id.subdevice][kcontrol->id.device ^ 1]; in loopback_active_get() 1631 struct loopback_cable *cable = loopback->cables[sub][num]; in print_substream_info()
|
/kernel/linux/linux-6.6/sound/drivers/ |
H A D | aloop.c | 132 struct loopback_cable *cables[MAX_PCM_SUBSTREAMS][2]; member 998 cable = loopback->cables[substream->number][dev]; in free_cable() 1012 loopback->cables[substream->number][dev] = NULL; in free_cable() 1201 cable = loopback->cables[substream->number][dev]; in loopback_open() 1214 loopback->cables[substream->number][dev] = cable; in loopback_open() 1417 cable = loopback->cables[kcontrol->id.subdevice][kcontrol->id.device ^ 1]; in loopback_active_get() 1630 struct loopback_cable *cable = loopback->cables[sub][num]; in print_substream_info()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | pvr2fb.c | 116 static struct pvr2_params cables[] = { variable 842 pvr2_get_param_name(cables, cable_type, 3), in pvr2fb_common_init() 1052 cable_type = pvr2_get_param_val(cables, cable_arg, 3); in pvr2fb_setup()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | pvr2fb.c | 117 static struct pvr2_params cables[] = { variable 846 pvr2_get_param_name(cables, cable_type, 3), in pvr2fb_common_init() 1060 cable_type = pvr2_get_param_val(cables, cable_arg, 3); in pvr2fb_setup()
|