Home
last modified time | relevance | path

Searched refs:board_id (Results 1 – 25 of 72) sorted by relevance

123

/drivers/mfd/
Dtqmx86.c114 static const char *tqmx86_board_id_to_name(u8 board_id, u8 sauc) in tqmx86_board_id_to_name() argument
116 switch (board_id) { in tqmx86_board_id_to_name()
150 static int tqmx86_board_id_to_clk_rate(struct device *dev, u8 board_id) in tqmx86_board_id_to_clk_rate() argument
152 switch (board_id) { in tqmx86_board_id_to_clk_rate()
172 board_id); in tqmx86_board_id_to_clk_rate()
179 u8 board_id, sauc, rev, i2c_det, io_ext_int_val; in tqmx86_probe() local
208 board_id = ioread8(io_base + TQMX86_REG_BOARD_ID); in tqmx86_probe()
210 board_name = tqmx86_board_id_to_name(board_id, sauc); in tqmx86_probe()
215 board_name, board_id, rev >> 4, rev & 0xf); in tqmx86_probe()
240 ocores_platform_data.clock_khz = tqmx86_board_id_to_clk_rate(dev, board_id); in tqmx86_probe()
/drivers/media/common/siano/
Dsms-cards.c259 int board_id = smscore_get_board_id(coredev); in sms_board_setup() local
260 struct sms_board *board = sms_get_board(board_id); in sms_board_setup()
262 switch (board_id) { in sms_board_setup()
281 int board_id = smscore_get_board_id(coredev); in sms_board_power() local
282 struct sms_board *board = sms_get_board(board_id); in sms_board_power()
284 switch (board_id) { in sms_board_power()
303 int board_id = smscore_get_board_id(coredev); in sms_board_led_feedback() local
304 struct sms_board *board = sms_get_board(board_id); in sms_board_led_feedback()
310 switch (board_id) { in sms_board_led_feedback()
326 int board_id = smscore_get_board_id(coredev); in sms_board_lna_control() local
[all …]
Dsmsir.c42 int board_id = smscore_get_board_id(coredev); in sms_ir_init() local
56 "SMS IR (%s)", sms_get_board(board_id)->name); in sms_ir_init()
75 dev->map_name = sms_get_board(board_id)->rc_codes; in sms_ir_init()
Dsmscoreapi.c391 core->board_id = id; in smscore_set_board_id()
404 return core->board_id; in smscore_get_board_id()
719 dev->board_id = SMS_BOARD_UNKNOWN; in smscore_register_device()
827 board = sms_get_board(coredev->board_id); in smscore_configure_board()
875 int board_id = smscore_get_board_id(coredev); in smscore_start_device() local
879 if (board_id != SMS_BOARD_UNKNOWN && mode == DEVICE_MODE_NONE) in smscore_start_device()
880 mode = sms_get_board(board_id)->default_mode; in smscore_start_device()
1101 int board_id = smscore_get_board_id(coredev); in smscore_get_fw_filename() local
1113 board_id, mode); in smscore_get_fw_filename()
1114 fw = sms_get_board(board_id)->fw; in smscore_get_fw_filename()
/drivers/media/usb/siano/
Dsmsusb.c244 static inline char *sms_get_fw_name(int mode, int board_id) in sms_get_fw_name() argument
246 char **fw = sms_get_board(board_id)->fw; in sms_get_fw_name()
250 static int smsusb1_load_firmware(struct usb_device *udev, int id, int board_id) in smsusb1_load_firmware() argument
258 id = sms_get_board(board_id)->default_mode; in smsusb1_load_firmware()
265 fw_filename = sms_get_fw_name(id, board_id); in smsusb1_load_firmware()
359 int board_id) in siano_media_device_register() argument
364 struct sms_board *board = sms_get_board(board_id); in siano_media_device_register()
388 static int smsusb_init_device(struct usb_interface *intf, int board_id) in smsusb_init_device() argument
424 params.device_type = sms_get_board(board_id)->type; in smsusb_init_device()
452 mdev = siano_media_device_register(dev, board_id); in smsusb_init_device()
[all …]
/drivers/ata/
Dsata_via.c594 static void svia_configure(struct pci_dev *pdev, int board_id, in svia_configure() argument
631 if ((board_id == vt6420 && vt6420_hotplug) || board_id == vt6421) { in svia_configure()
670 if (board_id == vt6420) { in svia_configure()
681 int board_id = (int) ent->driver_data; in svia_init_one() local
691 if (board_id == vt6421) in svia_init_one()
707 switch (board_id) { in svia_init_one()
728 svia_configure(pdev, board_id, hpriv); in svia_init_one()
731 if ((board_id == vt6420 && vt6420_hotplug) || board_id == vt6421) in svia_init_one()
Dsata_sil.c723 int board_id = ent->driver_data; in sil_init_one() local
724 struct ata_port_info pi = sil_port_info[board_id]; in sil_init_one()
735 if (board_id == sil_3114) in sil_init_one()
Dacard-ahci.c353 unsigned int board_id = ent->driver_data; in acard_ahci_init_one() local
354 struct ata_port_info pi = acard_ahci_port_info[board_id]; in acard_ahci_init_one()
/drivers/ipack/devices/
Dipoctal.c39 unsigned int board_id; member
47 unsigned int board_id; member
237 if (channel->board_id == IPACK1_DEVICE_ID_SBS_OCTAL_485) { in ipoctal_irq_channel()
286 ipoctal->board_id = ipoctal->dev->id_device; in ipoctal_inst_slot()
331 channel->board_id = ipoctal->board_id; in ipoctal_inst_slot()
470 if (channel->board_id == IPACK1_DEVICE_ID_SBS_OCTAL_485) { in ipoctal_write_tty()
548 switch (channel->board_id) { in ipoctal_set_termios()
/drivers/media/mmc/siano/
Dsmssdio.c241 int board_id; in smssdio_probe() local
245 board_id = id->driver_data; in smssdio_probe()
265 params.device_type = sms_get_board(board_id)->type; in smssdio_probe()
281 smscore_set_board_id(smsdev->coredev, board_id); in smssdio_probe()
/drivers/comedi/drivers/
Dadv_pci1724.c122 unsigned int board_id; in adv_pci1724_auto_attach() local
130 board_id = inl(dev->iobase + PCI1724_BOARD_ID_REG); in adv_pci1724_auto_attach()
132 board_id & PCI1724_BOARD_ID_MASK); in adv_pci1724_auto_attach()
/drivers/thermal/intel/
Dintel_pch_thermal.c162 enum pch_board_ids board_id = id->driver_data; in intel_pch_thermal_probe() local
236 ptd->tzd = thermal_zone_device_register_with_trips(board_names[board_id], in intel_pch_thermal_probe()
242 board_names[board_id]); in intel_pch_thermal_probe()
/drivers/mtd/parsers/
Dparser_imagetag.c45 STR_NULL_TERMINATE(buf->board_id); in bcm963xx_read_imagetag()
49 name, tag_offset, buf->tag_version, buf->board_id); in bcm963xx_read_imagetag()
/drivers/media/usb/go7007/
Dgo7007-i2c.c59 if (go->board_id == GO7007_BOARDID_ADLINK_MPG24) { in go7007_i2c_xfer()
119 if (go->board_id == GO7007_BOARDID_ADLINK_MPG24) { in go7007_i2c_xfer()
Dgo7007-usb.c1127 go->board_id = id->driver_info; in go7007_usb_probe()
1185 if ((go->board_id == GO7007_BOARDID_XMEN || in go7007_usb_probe()
1186 go->board_id == GO7007_BOARDID_XMEN_III) && in go7007_usb_probe()
1195 go->board_id = GO7007_BOARDID_ENDURA; in go7007_usb_probe()
1208 go->board_id = GO7007_BOARDID_ADLINK_MPG24; in go7007_usb_probe()
1223 if (go->board_id == GO7007_BOARDID_PX_TV402U) { in go7007_usb_probe()
Dgo7007-driver.c159 switch (go->board_id) { in go7007_init_encoder()
281 if (go->board_id == GO7007_BOARDID_ADS_USBAV_709) { in go7007_register_encoder()
300 if (go->board_id == GO7007_BOARDID_ADLINK_MPG24) in go7007_register_encoder()
/drivers/input/mouse/
Dsynaptics.c293 info->board_id = ((bid[0] & 0xfc) << 6) | bid[1]; in synaptics_query_modes()
466 } board_id; member
538 if (min_max_pnpid_table[i].board_id.min != ANY_BOARD_ID && in synaptics_apply_quirks()
539 info->board_id < min_max_pnpid_table[i].board_id.min) in synaptics_apply_quirks()
542 if (min_max_pnpid_table[i].board_id.max != ANY_BOARD_ID && in synaptics_apply_quirks()
543 info->board_id > min_max_pnpid_table[i].board_id.max) in synaptics_apply_quirks()
1596 info->ext_cap_10, info->board_id, info->firmware_id); in synaptics_init_ps2()
/drivers/net/wireless/ath/ath10k/
Dqmi.c616 qmi->board_info.board_id = resp->board_info.board_id; in ath10k_qmi_cap_send_sync_msg()
618 qmi->board_info.board_id = 0xFF; in ath10k_qmi_cap_send_sync_msg()
636 qmi->board_info.board_id, qmi->soc_info.soc_id); in ath10k_qmi_cap_send_sync_msg()
861 ar->id.qmi_board_id = qmi->board_info.board_id; in ath10k_qmi_fetch_board_file()
Dqmi.h38 u32 board_id; member
/drivers/net/wireless/ath/ath11k/
Dqmi.h112 u32 board_id; member
349 u32 board_id; member
/drivers/scsi/qla4xxx/
Dql4_attr.c200 return snprintf(buf, PAGE_SIZE, "0x%08X\n", ha->board_id); in qla4xxx_board_id_show()
320 static DEVICE_ATTR(board_id, S_IRUGO, qla4xxx_board_id_show, NULL);
/drivers/net/wireless/ath/ath12k/
Dqmi.h110 u32 board_id; member
402 u32 board_id; member
/drivers/scsi/
Dhpsa.c306 static int hpsa_lookup_board_id(struct pci_dev *pdev, u32 *board_id,
610 static int board_id_in_array(u32 a[], int nelems, u32 board_id) in board_id_in_array() argument
615 if (a[i] == board_id) in board_id_in_array()
620 static int ctlr_is_hard_resettable(u32 board_id) in ctlr_is_hard_resettable() argument
623 ARRAY_SIZE(unresettable_controller), board_id); in ctlr_is_hard_resettable()
626 static int ctlr_is_soft_resettable(u32 board_id) in ctlr_is_soft_resettable() argument
629 ARRAY_SIZE(soft_unresettable_controller), board_id); in ctlr_is_soft_resettable()
632 static int ctlr_is_resettable(u32 board_id) in ctlr_is_resettable() argument
634 return ctlr_is_hard_resettable(board_id) || in ctlr_is_resettable()
635 ctlr_is_soft_resettable(board_id); in ctlr_is_resettable()
[all …]
Dhpsa.h170 u32 board_id; member
667 u32 board_id; member
/drivers/net/ethernet/mellanox/mlx5/core/
Dfw.c86 memcpy(dev->board_id, in mlx5_query_board_id()
705 .psid = dev->board_id, in mlx5_firmware_flash()
706 .psid_size = strlen(dev->board_id), in mlx5_firmware_flash()

123