Home
last modified time | relevance | path

Searched refs:chip_ver (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/media/tuners/
H A Dit913x.c17 u8 chip_ver:2; member
105 if (dev->chip_ver == 1) { in it913x_init()
398 dev->chip_ver = id->driver_data; in it913x_probe()
406 if (dev->chip_ver == 1) in it913x_probe()
408 else if (dev->chip_ver == 2) in it913x_probe()
415 dev_dbg(&pdev->dev, "chip_ver %u, role %u\n", dev->chip_ver, dev->role); in it913x_probe()
/linux/drivers/media/rc/
H A Dnuvoton-cir.h55 enum nvt_chip_ver chip_ver; member
76 enum nvt_chip_ver chip_ver; member
H A Dnuvoton-cir.c53 return nvt->chip_ver == NVT_W83667HG; in is_w83667hg()
383 if ((id & SIO_ID_MASK) == nvt_chips[i].chip_ver) { in nvt_find_chip()
384 nvt->chip_ver = nvt_chips[i].chip_ver; in nvt_find_chip()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c730 static inline int is_eth_imm(const struct sk_buff *skb, unsigned int chip_ver) in is_eth_imm() argument
735 chip_ver > CHELSIO_T5) { in is_eth_imm()
759 unsigned int chip_ver) in calc_tx_flits() argument
762 int hdrlen = is_eth_imm(skb, chip_ver); in calc_tx_flits()
782 if (skb->encapsulation && chip_ver > CHELSIO_T5) { in calc_tx_flits()
1503 unsigned int chip_ver; in cxgb4_eth_xmit() local
1547 chip_ver = CHELSIO_CHIP_VERSION(adap->params.chip); in cxgb4_eth_xmit()
1548 flits = calc_tx_flits(skb, chip_ver); in cxgb4_eth_xmit()
1560 if (is_eth_imm(skb, chip_ver)) in cxgb4_eth_xmit()
1563 if (skb->encapsulation && chip_ver > CHELSIO_T5) in cxgb4_eth_xmit()
[all …]
H A Dcxgb4_filter.c690 unsigned int chip_ver) in cxgb4_set_ftid() argument
702 if (chip_ver < CHELSIO_T6) in cxgb4_set_ftid()
731 unsigned int chip_ver) in cxgb4_clear_ftid() argument
737 if (chip_ver < CHELSIO_T6) in cxgb4_clear_ftid()
1534 unsigned int max_fidx, fidx, chip_ver; in __cxgb4_set_filter() local
1539 chip_ver = CHELSIO_CHIP_VERSION(adapter->params.chip); in __cxgb4_set_filter()
1585 if (chip_ver < CHELSIO_T6) in __cxgb4_set_filter()
1600 if (chip_ver < CHELSIO_T6) { in __cxgb4_set_filter()
1655 chip_ver); in __cxgb4_set_filter()
1729 chip_ver); in __cxgb4_set_filter()
[all …]
H A Dcudbg_lib_common.h28 u8 chip_ver; member
H A Dcxgb4_cudbg.c189 cudbg_hdr->chip_ver = adap->params.chip; in cxgb4_cudbg_collect()
H A Dcxgb4_debugfs.c1675 unsigned int chip_ver = CHELSIO_CHIP_VERSION(adap->params.chip); in mps_tcam_show() local
1677 if (chip_ver > CHELSIO_T5) { in mps_tcam_show()
1706 if (chip_ver > CHELSIO_T5) { in mps_tcam_show()
1767 if (chip_ver > CHELSIO_T5) in mps_tcam_show()
1812 if (chip_ver > CHELSIO_T5) { in mps_tcam_show()
1871 if (chip_ver > CHELSIO_T5) in mps_tcam_show()
H A Dcxgb4_main.c6607 int func, chip_ver; in init_one() local
6652 chip_ver = CHELSIO_CHIP_VERSION(chip); in init_one()
6653 func = chip_ver <= CHELSIO_T5 ? in init_one()
6816 if (chip_ver > CHELSIO_T5) { in init_one()
6915 if (chip_ver <= CHELSIO_T5 && in init_one()
6951 if (chip_ver <= CHELSIO_T5) { in init_one()
/linux/drivers/media/i2c/
H A Dsaa7115.c1708 char chip_ver[CHIP_VER_SIZE]; in saa711x_detect_chip() local
1718 chip_ver[i] = i2c_smbus_read_byte_data(client, 0); in saa711x_detect_chip()
1719 name[i] = (chip_ver[i] & 0x0f) + '0'; in saa711x_detect_chip()
1735 if (chip_ver[0] & 0xf0) { in saa711x_detect_chip()
1761 chip_id |= (chip_ver[i] & 0x80) ? 1 : 0; in saa711x_detect_chip()
1781 name, 16, chip_ver, client->addr << 1); in saa711x_detect_chip()
1795 name, 16, chip_ver, client->addr << 1); in saa711x_detect_chip()
1803 16, chip_ver, client->addr << 1); in saa711x_detect_chip()
/linux/drivers/net/dsa/realtek/
H A Drtl8365mb.c515 u32 chip_ver; member
527 .chip_ver = 0x0040,
538 .chip_ver = 0x00A0,
550 .chip_ver = 0x0020,
2075 u32 chip_ver; in rtl8365mb_detect() local
2079 ret = rtl8365mb_get_chip_id_and_ver(priv->map, &chip_id, &chip_ver); in rtl8365mb_detect()
2089 if (ci->chip_id == chip_id && ci->chip_ver == chip_ver) { in rtl8365mb_detect()
2098 chip_ver); in rtl8365mb_detect()
H A Drtl8366rb.c1047 u32 chip_ver = 0; in rtl8366rb_setup() local
1070 &chip_ver); in rtl8366rb_setup()
1077 chip_id, chip_ver & RTL8366RB_CHIP_VERSION_MASK); in rtl8366rb_setup()
1080 switch (chip_ver) { in rtl8366rb_setup()
1140 (chip_ver == 1) ? 0x0007 : 0x0003); in rtl8366rb_setup()
/linux/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf.h65 u8 chip_ver; member
H A Dmxl111sf.c191 if ((state->chip_id) && (state->chip_ver)) in mxl1x1sf_get_chip_info()
202 state->chip_ver = ver; in mxl1x1sf_get_chip_info()
/linux/drivers/input/touchscreen/
H A Dstmfts.c94 u8 chip_ver; member
421 return sprintf(buf, "%u\n", sdata->chip_ver); in stmfts_sysfs_chip_version()
546 sdata->chip_ver = reg[0]; in stmfts_power_on()
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dsge.c2270 unsigned int chip_ver = in t4vf_sge_alloc_rxq() local
2321 FW_IQ_CMD_FL0FBMIN_V(chip_ver <= CHELSIO_T5 in t4vf_sge_alloc_rxq()
2324 FW_IQ_CMD_FL0FBMAX_V((chip_ver <= CHELSIO_T5) ? in t4vf_sge_alloc_rxq()
2414 unsigned int chip_ver = CHELSIO_CHIP_VERSION(adapter->params.chip); in t4vf_sge_alloc_eth_txq() local
2459 cpu_to_be32(FW_EQ_ETH_CMD_FBMIN_V(chip_ver <= CHELSIO_T5 in t4vf_sge_alloc_eth_txq()
/linux/drivers/scsi/csiostor/
H A Dcsio_hw.h507 char chip_ver; member
H A Dcsio_hw.c2491 hw->chip_ver = (char)csio_rd_reg32(hw, PL_REV_A); in csio_hw_configure()